// AUTO-GENERATED by mizan — do not edit

import { mizanCall } from '@mizan/base'

{% if !type_imports.is_empty() -%}
import type { {{ type_imports|join(", ") }} } from '../types'

{% endif -%}
{% if has_input -%}
export function call{{ pascal }}(args: {{ input_type }}): Promise<{{ output_type }}> {
    return mizanCall('{{ name }}', args)
}
{% else -%}
export function call{{ pascal }}(): Promise<{{ output_type }}> {
    return mizanCall('{{ name }}', {})
}
{% endif %}
