Interface operations

interface operations {
    agentPublish: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    approve_all_live_channels?: boolean;
                    approve_automations_only?: boolean;
                    approve_routing_switch?: boolean;
                    configuration_version: number;
                    customer_confirmed: true;
                    deployment_id?: string;
                    draft_revision_id: null
                    | string;
                    project_id?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id?: string;
                        deployment_id?: string;
                        object?: "hosted_agent_publish";
                        project_id?: string;
                        published_changes?: string[];
                        status?: "live"
                        | "waiting_for_channel";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    agentPublishReviewRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: { project_id?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        agent_id?: null
                        | string;
                        agent_name?: null | string;
                        blockers?: string[];
                        changes?: string[];
                        configuration_version?: null | number;
                        deployments?: {
                            approvals_required?: ((...) | (...))[];
                            channel_connected?: boolean;
                            channel_id?: string;
                            channel_name?: null | string;
                            id?: string;
                            phone_number?: null | string;
                            platform?: string;
                            status?: "live" | "draft" | "paused";
                        }[];
                        draft_revision_id?: null
                        | string;
                        has_unpublished_changes?: boolean;
                        live_since?: null | string;
                        object?: "hosted_agent_publish_review";
                        project_id?: string;
                        publishable?: boolean;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    broadcastsCancel: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    broadcastsCreate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    category: "UTILITY"
                    | "MARKETING";
                    channelId: string;
                    fallbackLanguage: string;
                    name: string;
                    templateName: string;
                    variants: {
                        language: string;
                        parameterMappings: { [key: string]: unknown }[];
                        templateId: string;
                    }[];
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        canceled_at?: null
                        | string;
                        category: "marketing" | "utility";
                        channel_id?: string;
                        completed_at?: null | string;
                        counts: { [key: string]: number };
                        created_at?: string;
                        failure?: null | { code?: null | string; message?: null | string };
                        fallback_language?: string;
                        id: string;
                        name: string;
                        object: "broadcast";
                        schedule_timezone?: null | string;
                        scheduled_at?: null | string;
                        started_at?: null | string;
                        status:
                            | "completed"
                            | "ready"
                            | "draft"
                            | "preparing"
                            | "scheduled"
                            | "sending"
                            | "canceled"
                            | "failed";
                        template_name?: string;
                        updated_at?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    broadcastsDelete: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    broadcastsDuplicate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "201": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    broadcastsGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        canceled_at?: null
                        | string;
                        category: "marketing" | "utility";
                        channel_id?: string;
                        completed_at?: null | string;
                        counts: { [key: string]: number };
                        created_at?: string;
                        failure?: null | { code?: null | string; message?: null | string };
                        fallback_language?: string;
                        id: string;
                        name: string;
                        object: "broadcast";
                        schedule_timezone?: null | string;
                        scheduled_at?: null | string;
                        started_at?: null | string;
                        status:
                            | "completed"
                            | "ready"
                            | "draft"
                            | "preparing"
                            | "scheduled"
                            | "sending"
                            | "canceled"
                            | "failed";
                        template_name?: string;
                        updated_at?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    broadcastsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    broadcastsListRecipients: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    broadcastsPrepareAudience: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    contactIds?: string[];
                    excludeContactIds?: string[];
                    filter?: { [key: string]: unknown };
                    importId?: string;
                };
            };
        };
        responses: {
            "202": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    broadcastsSchedule: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": { scheduledAt: string; timezone: string };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    broadcastsSend: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "202": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentAllowlistCreate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody: {
            content: { "application/json": { consumer_phone_number: string } };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentAllowlistDelete: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentAllowlistList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentBusinessInfoDelete: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentBusinessInfoGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentBusinessInfoReplace: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody: {
            content: { "application/json": { [key: string]: unknown } };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentCapabilitiesGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentConnectorLogs: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentConnectorRefreshTools: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentConnectorRotateApiKey: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query: { business_agent_id: string };
        };
        requestBody: {
            content: {
                "application/json": { api_key_config: { [key: string]: unknown } };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentConnectorRotateCertificate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query: { business_agent_id: string };
        };
        requestBody: {
            content: {
                "application/json": {
                    ca_certificate?: string;
                    client_certificate: string;
                    client_key: string;
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentConnectorRotateOAuth: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query: { business_agent_id: string };
        };
        requestBody: {
            content: {
                "application/json": {
                    oauth_config: {
                        client_id: string;
                        client_secret: string;
                        scopes_to_request: string[];
                        token_url: string;
                    };
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentConnectorsCreate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    business_agent_id: string;
                    config?: { [key: string]: unknown };
                    name: string;
                    status?: string;
                    type: string;
                } & { [key: string]: unknown };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        business_agent_id: string;
                        config?: null
                        | { [key: string]: unknown };
                        created_at: string;
                        id: string;
                        meta_connector_id?: null | string;
                        name: string;
                        object: "business_agent_connector";
                        status: string;
                        tools?: {
                            backing_flow_id?: null | string;
                            backing_function_id?: null | string;
                            backing_function_version_id: null | string;
                            backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                            connector_id: string;
                            created_at: string;
                            description?: null | string;
                            id: string;
                            input_schema?: null | { [key: string]: unknown };
                            meta_tool_id?: null | string;
                            name: string;
                            object: "business_agent_connector_tool";
                            updated_at: string;
                        }[];
                        type: string;
                        updated_at: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentConnectorsDelete: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        deleted: boolean;
                        id: string;
                        meta_deleted: boolean;
                        object: "business_agent_connector";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentConnectorsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: { business_agent_id?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { has_more?: boolean; object: "list" } & {
                        data?: {
                            business_agent_id: string;
                            config?: null | { [key: ...]: ... };
                            created_at: string;
                            id: string;
                            meta_connector_id?: null | string;
                            name: string;
                            object: "business_agent_connector";
                            status: string;
                            tools?: (...)[];
                            type: string;
                            updated_at: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentConnectorsRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        business_agent_id: string;
                        config?: null
                        | { [key: string]: unknown };
                        created_at: string;
                        id: string;
                        meta_connector_id?: null | string;
                        name: string;
                        object: "business_agent_connector";
                        status: string;
                        tools?: {
                            backing_flow_id?: null | string;
                            backing_function_id?: null | string;
                            backing_function_version_id: null | string;
                            backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                            connector_id: string;
                            created_at: string;
                            description?: null | string;
                            id: string;
                            input_schema?: null | { [key: string]: unknown };
                            meta_tool_id?: null | string;
                            name: string;
                            object: "business_agent_connector_tool";
                            updated_at: string;
                        }[];
                        type: string;
                        updated_at: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentConnectorsUpdate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    config?: { [key: string]: unknown };
                    name?: string;
                    status?: string;
                    type?: string;
                } & { [key: string]: unknown };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        business_agent_id: string;
                        config?: null
                        | { [key: string]: unknown };
                        created_at: string;
                        id: string;
                        meta_connector_id?: null | string;
                        name: string;
                        object: "business_agent_connector";
                        status: string;
                        tools?: {
                            backing_flow_id?: null | string;
                            backing_function_id?: null | string;
                            backing_function_version_id: null | string;
                            backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                            connector_id: string;
                            created_at: string;
                            description?: null | string;
                            id: string;
                            input_schema?: null | { [key: string]: unknown };
                            meta_tool_id?: null | string;
                            name: string;
                            object: "business_agent_connector_tool";
                            updated_at: string;
                        }[];
                        type: string;
                        updated_at: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentConnectorToolRun: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string; toolId: string };
            query: { business_agent_id: string };
        };
        requestBody: {
            content: {
                "application/json": { arguments: { [key: string]: unknown } };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentConnectorToolsCreate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    backing_flow_id?: string;
                    backing_function_id?: string;
                    backing_type: "FLOW"
                    | "API_ENDPOINT"
                    | "NOOP"
                    | "HOSTED_FUNCTION";
                    config?: { [key: string]: unknown };
                    description?: string;
                    input_schema?: { [key: string]: unknown };
                    name: string;
                } & { [key: string]: unknown };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        backing_flow_id?: null
                        | string;
                        backing_function_id?: null | string;
                        backing_function_version_id: null | string;
                        backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                        connector_id: string;
                        created_at: string;
                        description?: null | string;
                        id: string;
                        input_schema?: null | { [key: string]: unknown };
                        meta_tool_id?: null | string;
                        name: string;
                        object: "business_agent_connector_tool";
                        updated_at: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentConnectorToolsDelete: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string; toolId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        deleted: boolean;
                        id: string;
                        meta_deleted: boolean;
                        object: "business_agent_connector_tool";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentConnectorToolsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { has_more?: boolean; object: "list" } & {
                        data?: {
                            backing_flow_id?: null | string;
                            backing_function_id?: null | string;
                            backing_function_version_id: null | string;
                            backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                            connector_id: string;
                            created_at: string;
                            description?: null | string;
                            id: string;
                            input_schema?: null | { [key: ...]: ... };
                            meta_tool_id?: null | string;
                            name: string;
                            object: "business_agent_connector_tool";
                            updated_at: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentConnectorToolsRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string; toolId: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        backing_flow_id?: null
                        | string;
                        backing_function_id?: null | string;
                        backing_function_version_id: null | string;
                        backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                        connector_id: string;
                        created_at: string;
                        description?: null | string;
                        id: string;
                        input_schema?: null | { [key: string]: unknown };
                        meta_tool_id?: null | string;
                        name: string;
                        object: "business_agent_connector_tool";
                        updated_at: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentConnectorToolsUpdate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string; toolId: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    backing_flow_id?: null
                    | string;
                    backing_function_id?: null | string;
                    backing_type?: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                    config?: { [key: string]: unknown };
                    description?: null | string;
                    input_schema?: null | { [key: string]: unknown };
                    name?: string;
                } & { [key: string]: unknown };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        backing_flow_id?: null
                        | string;
                        backing_function_id?: null | string;
                        backing_function_version_id: null | string;
                        backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                        connector_id: string;
                        created_at: string;
                        description?: null | string;
                        id: string;
                        input_schema?: null | { [key: string]: unknown };
                        meta_tool_id?: null | string;
                        name: string;
                        object: "business_agent_connector_tool";
                        updated_at: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentDeploymentsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: { business_agent_id?: string; cursor?: string; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentDeploymentsRollback: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentEvalReview: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentEventsCreate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody: {
            content: { "application/json": { [key: string]: unknown } };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentEventsGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { eventId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentFaqCreate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody: {
            content: { "application/json": { [key: string]: unknown } };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentFaqDelete: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentFaqGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentFaqList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentFaqUpdate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody: {
            content: { "application/json": { [key: string]: unknown } };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentFilesDelete: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentFilesGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentFilesList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentFilesUpload: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentRemoteWritesInspect: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: {
                limit?: number;
                operation_id?: string;
                starting_after?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentRemoteWritesResolve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { operation_id: string };
        };
        requestBody: {
            content: {
                "application/json": {
                    action: "adopt"
                    | "resolve";
                    approved: true;
                    remote_id: string;
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentsApply: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    channel_id: string;
                    enabled?: boolean;
                    handoff?: { [key: string]: unknown };
                    knowledge?: { [key: string]: unknown };
                    language?: string;
                    persona?: string;
                } & { [key: string]: unknown };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id: string;
                        created_at: string;
                        eligibility?: null
                        | { [key: string]: unknown };
                        error_message?: null | string;
                        id: string;
                        meta_agent_id?: null | string;
                        object: "business_agent";
                        project_id: string;
                        settings?: null | { [key: string]: unknown };
                        status: "DRAFT" | "PROVISIONING" | "ACTIVE" | "DISABLED" | "ERROR";
                        updated_at: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        channel_id: string;
                        created_at: string;
                        eligibility?: null
                        | { [key: string]: unknown };
                        error_message?: null | string;
                        id: string;
                        meta_agent_id?: null | string;
                        object: "business_agent";
                        project_id: string;
                        settings?: null | { [key: string]: unknown };
                        status: "DRAFT" | "PROVISIONING" | "ACTIVE" | "DISABLED" | "ERROR";
                        updated_at: string;
                    };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentsEligibility: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { channel_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id: string;
                        eligibility: { [key: string]: unknown };
                        object: "business_agent_eligibility";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentSettingsRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        business_agent_id: string;
                        object: "business_agent_settings";
                        settings: { [key: string]: unknown };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentSettingsUpdate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    enabled?: boolean;
                    handoff?: { [key: string]: unknown };
                    knowledge?: { [key: string]: unknown };
                    language?: string;
                    persona?: string;
                } & { [key: string]: unknown };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        business_agent_id: string;
                        object: "business_agent_settings";
                        settings: { [key: string]: unknown };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentsEval: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: {
                business_agent_id: string;
                operation?: "cases" | "run" | "details" | "summary" | "jobs" | "job";
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        business_agent_id: string;
                        object: "business_agent_eval";
                        result: { [key: string]: unknown };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentsEvalStart: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody: {
            content: { "application/json": { [key: string]: unknown } };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentSkillsCreate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody: {
            content: {
                "application/json": {
                    description?: string;
                    skill?: string;
                    title?: string;
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentSkillsDelete: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { skillId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentSkillsGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { skillId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentSkillsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentSkillsUpdate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { skillId: string };
            query: { business_agent_id: string };
        };
        requestBody: {
            content: {
                "application/json": {
                    description?: string;
                    skill?: string;
                    title?: string;
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: { channel_id?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { has_more?: boolean; object: "list" } & {
                        data?: {
                            channel_id: string;
                            created_at: string;
                            eligibility?: null | { [key: ...]: ... };
                            error_message?: null | string;
                            id: string;
                            meta_agent_id?: null | string;
                            object: "business_agent";
                            project_id: string;
                            settings?: null | { [key: ...]: ... };
                            status: "DRAFT" | "PROVISIONING" | "ACTIVE" | "DISABLED" | "ERROR";
                            updated_at: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentsTest: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    business_agent_id: string;
                    conversation_id?: string;
                    user_msg: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        business_agent_id: string;
                        object: "business_agent_test";
                        result: { [key: string]: unknown };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentsThreadControl: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    action: "take"
                    | "release"
                    | "pass";
                    business_agent_id?: string;
                    channel_id: string;
                    contact_id: string;
                    metadata?: string;
                    pass_to_meta?: boolean;
                    reason?: string;
                    to: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        business_agent_id?: null
                        | string;
                        channel_id: string;
                        contact_id: string;
                        created_at: string;
                        id: string;
                        meta_result?: { messaging_product?: string; request_id?: string } & {
                            [key: string]: unknown;
                        };
                        meta_thread_id?: null
                        | string;
                        object: "thread_control_state";
                        observation?: "local";
                        operation_id?: string;
                        owner:
                            | "META_AGENT"
                            | "WABERY"
                            | "BUSINESS_INBOX"
                            | "UNKNOWN"
                            | "PENDING";
                        project_id: string;
                        reason?: null
                        | string;
                        replayed?: boolean;
                        updated_at: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "500": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentsThreadControlGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { channel_id: string; contact_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        business_agent_id?: null
                        | string;
                        channel_id: string;
                        contact_id: string;
                        created_at: string;
                        id: string;
                        meta_result?: { messaging_product?: string; request_id?: string } & {
                            [key: string]: unknown;
                        };
                        meta_thread_id?: null
                        | string;
                        object: "thread_control_state";
                        observation?: "local";
                        operation_id?: string;
                        owner:
                            | "META_AGENT"
                            | "WABERY"
                            | "BUSINESS_INBOX"
                            | "UNKNOWN"
                            | "PENDING";
                        project_id: string;
                        reason?: null
                        | string;
                        replayed?: boolean;
                        updated_at: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    businessAgentUiSkillCreate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody: {
            content: { "application/json": { [key: string]: unknown } };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentUiSkillDelete: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentUiSkillGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentUiSkillList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentUiSkillUpdate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody: {
            content: { "application/json": { [key: string]: unknown } };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentWebsiteCreate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody: {
            content: { "application/json": { [key: string]: unknown } };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentWebsiteDelete: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentWebsiteGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentWebsiteList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query: { business_agent_id: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    businessAgentWebsiteUpdate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { remoteId: string };
            query: { business_agent_id: string };
        };
        requestBody: {
            content: { "application/json": { [key: string]: unknown } };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    channelsGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id?: string;
                        display_name?: null
                        | string;
                        id?: string;
                        is_sandbox?: boolean;
                        number_mode?: string;
                        object?: "channel";
                        phone_number?: null | string;
                        platform?:
                            | "WHATSAPP"
                            | "INSTAGRAM"
                            | "MESSENGER"
                            | "SMS"
                            | "TELEGRAM"
                            | "EMAIL";
                        publish_readiness?: | null
                        | {
                            account_review_status?: null
                            | string;
                            blockers?: (
                                | "CHANNEL_NOT_CONNECTED"
                                | "MISSING_WABA"
                                | "MISSING_CHANNEL_CREDENTIALS"
                                | "META_ACCOUNT_STATUS_UNKNOWN"
                                | "BUSINESS_NOT_VERIFIED"
                                | "ACCOUNT_NOT_APPROVED"
                                | "PHONE_NOT_CONNECTED"
                                | "PHONE_STATUS_UNKNOWN"
                                | "PAYMENT_STATUS_UNKNOWN"
                                | "NO_PAYMENT_METHOD"
                                | "WHATSAPP_SENDER_NOT_READY"
                                | "SANDBOX_TEMPLATES_NOT_SUPPORTED"
                            )[];
                            business_verification_status?: null
                            | string;
                            can_publish_flows?: boolean;
                            can_submit_templates?: boolean;
                            mode?: "sandbox" | "dedicated";
                            phone_number_status?: null | string;
                        };
                        routing_mode?: "AGENT"
                        | "EXTERNAL";
                        routing_warning?: null | string;
                        status?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    channelsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { has_more?: boolean; object: "list" } & {
                        data?: {
                            channel_id?: string;
                            display_name?: null | string;
                            id?: string;
                            is_sandbox?: boolean;
                            number_mode?: string;
                            object?: "channel";
                            phone_number?: null | string;
                            platform?:
                                | "WHATSAPP"
                                | "INSTAGRAM"
                                | "MESSENGER"
                                | "SMS"
                                | "TELEGRAM"
                                | "EMAIL";
                            publish_readiness?: | null
                            | {
                                account_review_status?: ...;
                                blockers?: ...;
                                business_verification_status?: ...;
                                can_publish_flows?: ...;
                                can_submit_templates?: ...;
                                mode?: ...;
                                phone_number_status?: ...;
                            };
                            routing_mode?: "AGENT"
                            | "EXTERNAL";
                            routing_warning?: null | string;
                            status?: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    channelsUpdate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": { routing_mode?: "AGENT"
                | "EXTERNAL" };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id?: string;
                        display_name?: null
                        | string;
                        id?: string;
                        is_sandbox?: boolean;
                        number_mode?: string;
                        object?: "channel";
                        phone_number?: null | string;
                        platform?:
                            | "WHATSAPP"
                            | "INSTAGRAM"
                            | "MESSENGER"
                            | "SMS"
                            | "TELEGRAM"
                            | "EMAIL";
                        publish_readiness?: | null
                        | {
                            account_review_status?: null
                            | string;
                            blockers?: (
                                | "CHANNEL_NOT_CONNECTED"
                                | "MISSING_WABA"
                                | "MISSING_CHANNEL_CREDENTIALS"
                                | "META_ACCOUNT_STATUS_UNKNOWN"
                                | "BUSINESS_NOT_VERIFIED"
                                | "ACCOUNT_NOT_APPROVED"
                                | "PHONE_NOT_CONNECTED"
                                | "PHONE_STATUS_UNKNOWN"
                                | "PAYMENT_STATUS_UNKNOWN"
                                | "NO_PAYMENT_METHOD"
                                | "WHATSAPP_SENDER_NOT_READY"
                                | "SANDBOX_TEMPLATES_NOT_SUPPORTED"
                            )[];
                            business_verification_status?: null
                            | string;
                            can_publish_flows?: boolean;
                            can_submit_templates?: boolean;
                            mode?: "sandbox" | "dedicated";
                            phone_number_status?: null | string;
                        };
                        routing_mode?: "AGENT"
                        | "EXTERNAL";
                        routing_warning?: null | string;
                        status?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    channelsWhatsAppManagementGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query: {
                after?: string;
                allocation_id?: string;
                before?: string;
                fields?: string;
                format?: "PNG" | "SVG";
                include_sip_credentials?: boolean;
                limit?: number;
                operation:
                    | "business_profile"
                    | "commerce_settings"
                    | "qr_codes"
                    | "qr_code"
                    | "webhook_subscriptions"
                    | "phone_number"
                    | "phone_numbers"
                    | "waba"
                    | "owned_wabas"
                    | "shared_wabas"
                    | "assigned_users"
                    | "analytics"
                    | "credit_lines"
                    | "credit_line_allocation"
                    | "calling_settings"
                    | "call_permissions"
                    | "blocked_users";
                qr_code_id?: string;
                recipient?: string;
                user_wa_id?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    channelsWhatsAppManagementMutate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    input?: { [key: string]: unknown };
                    operation:
                        | "update_business_profile"
                        | "update_commerce_settings"
                        | "create_qr_code"
                        | "update_qr_code"
                        | "delete_qr_code"
                        | "delete_media"
                        | "register_phone"
                        | "deregister_phone"
                        | "request_verification_code"
                        | "verify_code"
                        | "set_two_step_verification"
                        | "subscribe_webhooks"
                        | "unsubscribe_webhooks"
                        | "override_webhook_callback"
                        | "assign_waba_user"
                        | "unassign_waba_user"
                        | "update_calling_settings"
                        | "manage_call"
                        | "block_users"
                        | "unblock_users";
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    channelsWhatsAppUsernameDelete: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id: string;
                        last_checked_at: string;
                        object: "whatsapp_username";
                        status: null
                        | "approved"
                        | "reserved";
                        username: null | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    channelsWhatsAppUsernameGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id: string;
                        last_checked_at: string;
                        object: "whatsapp_username";
                        status: null
                        | "approved"
                        | "reserved";
                        username: null | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    channelsWhatsAppUsernameSet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    transfer_action?: "none"
                    | "force_transfer";
                    username: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id: string;
                        last_checked_at: string;
                        object: "whatsapp_username";
                        status: null
                        | "approved"
                        | "reserved";
                        username: null | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    channelsWhatsAppUsernameSuggestionsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id: string;
                        data: string[];
                        object: "list";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    configApply: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    $schema?: string;
                    automations: {
                        active?: boolean;
                        key: string;
                        name: string;
                        steps: (
                            | { send_reply: { buttons?: (...)
                            | (...); text: string } }
                            | { delay: { minutes: number } }
                            | {
                                wait_reply: {
                                    options?: (...) | (...);
                                    timeout_hours?: (...) | (...);
                                };
                            }
                            | { pause_replies: { reason?: (...)
                            | (...) } }
                            | {
                                send_flow: {
                                    body_text?: (...) | (...);
                                    flow: string;
                                    flow_cta?: (...) | (...);
                                    footer_text?: (...) | (...);
                                    header_text?: (...) | (...);
                                };
                            }
                            | {
                                run_function: {
                                    function: string;
                                    reply_field?: (...)
                                    | (...);
                                    result_mode?: (...) | (...) | (...) | (...);
                                    variable_name?: (...) | (...);
                                };
                            }
                        )[];
                        trigger: {
                            keywords?: string[];
                            match_mode?: "EXACT"
                            | "CONTAINS"
                            | "CONTAINS_WORD";
                            type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                        };
                    }[];
                    business_agent?: {
                        channel_id?: string;
                        connectors?: { [key: string]: unknown }[];
                        enabled: boolean;
                        faqs?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                        operation_id: string;
                        settings: {
                            enabled?: boolean;
                            handoff?: { [key: string]: unknown };
                            knowledge?: { [key: string]: unknown };
                            language?: string;
                            persona?: string;
                        } & { [key: string]: unknown };
                        skills?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                        ui_skills?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                        websites?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                    };
                    flows: {
                        agent_id?: string;
                        data_exchange_url?: null
                        | string;
                        description?: string;
                        draft?: { entryScreenId?: string; screens?: (...)[] } & {
                            [key: string]: unknown;
                        };
                        flow_json?: { screens?: (...)[]; version?: string } & {
                            [key: string]: unknown;
                        };
                        key: string;
                        locale?: string;
                        name: string;
                        project_id?: string;
                        runtime_mode?: "STATIC"
                        | "DATA_EXCHANGE";
                    }[];
                    hosted_agents?: {
                        allowed_topics: string[];
                        channel_ids: string[];
                        conversation_messages?: {
                            cannot_listen?: string;
                            clarification: string;
                            farewell: string;
                            greeting: string;
                            out_of_scope: string;
                        };
                        fallback: {
                            automation_id?: string;
                            message?: string;
                            policy: "SILENT"
                            | "CLARIFICATION"
                            | "HUMAN_HANDOFF"
                            | "AUTOMATION";
                        };
                        instructions: string;
                        key: string;
                        knowledge: {
                            content?: string;
                            title: string;
                            type: "TEXT"
                            | "FAQ"
                            | "URL";
                            url?: string;
                        }[];
                        language: string;
                        max_input_chars: number;
                        max_output_tokens: number;
                        max_run_cost_micros: number;
                        model: string;
                        monthly_budget_micros: number;
                        name: string;
                        project_id?: string;
                        purpose?: string;
                        status?: "DRAFT"
                        | "DISABLED";
                    }[];
                    project_id?: string;
                    require_opt_in?: boolean;
                    version?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        applied?: {
                            hosted_agents?: {
                                action_required?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                ai_enabled: boolean;
                                id: string;
                                key?: (...) | (...);
                                project_id: string;
                                runtime_mode: (...) | (...) | (...);
                                status?: (...) | (...);
                            }[];
                        };
                        config?: {
                            $schema?: string;
                            automations: {
                                active?: boolean;
                                key: string;
                                name: string;
                                steps: ((...) | (...) | (...) | (...) | (...) | (...))[];
                                trigger: {
                                    keywords?: (...) | (...);
                                    match_mode?: (...) | (...) | (...) | (...);
                                    type: (...) | (...) | (...);
                                };
                            }[];
                            business_agent?: {
                                channel_id?: string;
                                connectors?: (...)[];
                                enabled: boolean;
                                faqs?: (...)[];
                                operation_id: string;
                                settings: {
                                    enabled?: ...;
                                    handoff?: ...;
                                    knowledge?: ...;
                                    language?: ...;
                                    persona?: ...;
                                } & { [key: ...]: ... };
                                skills?: (...)[];
                                ui_skills?: (...)[];
                                websites?: (...)[];
                            };
                            flows: {
                                agent_id?: string;
                                data_exchange_url?: null
                                | string;
                                description?: string;
                                draft?: (...) & (...);
                                flow_json?: (...) & (...);
                                key: string;
                                locale?: string;
                                name: string;
                                project_id?: string;
                                runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                            }[];
                            hosted_agents?: {
                                allowed_topics: (...)[];
                                channel_ids: (...)[];
                                conversation_messages?: (...) | (...);
                                fallback: { automation_id?: ...; message?: ...; policy: ... };
                                instructions: string;
                                key: string;
                                knowledge: (...)[];
                                language: string;
                                max_input_chars: number;
                                max_output_tokens: number;
                                max_run_cost_micros: number;
                                model: string;
                                monthly_budget_micros: number;
                                name: string;
                                project_id?: (...) | (...);
                                purpose?: (...) | (...);
                                status?: (...) | (...) | (...);
                            }[];
                            project_id?: string;
                            require_opt_in?: boolean;
                            version?: string;
                        };
                        diff: {
                            action?: "delete"
                            | "create"
                            | "update"
                            | "unchanged";
                            details?: string[];
                            key?: string;
                            requiresActivation?: boolean;
                            risk?: "low" | "medium" | "high";
                            type?:
                                | "business_agent"
                                | "business_agent_connector"
                                | "flow"
                                | "project"
                                | "hosted_agent"
                                | "hosted_agent_assignment"
                                | "hosted_agent_knowledge"
                                | "automation"
                                | "webhook"
                                | "business_agent_tool";
                        }[];
                        issues: {
                            message?: string;
                            path?: string;
                            severity?: "warning"
                            | "error";
                        }[];
                        object: "config_apply";
                        valid: boolean;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        applied?: {
                            hosted_agents?: {
                                action_required?: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                ai_enabled: boolean;
                                id: string;
                                key?: (...) | (...);
                                project_id: string;
                                runtime_mode: (...) | (...) | (...);
                                status?: (...) | (...);
                            }[];
                        };
                        config?: {
                            $schema?: string;
                            automations: {
                                active?: boolean;
                                key: string;
                                name: string;
                                steps: ((...) | (...) | (...) | (...) | (...) | (...))[];
                                trigger: {
                                    keywords?: (...) | (...);
                                    match_mode?: (...) | (...) | (...) | (...);
                                    type: (...) | (...) | (...);
                                };
                            }[];
                            business_agent?: {
                                channel_id?: string;
                                connectors?: (...)[];
                                enabled: boolean;
                                faqs?: (...)[];
                                operation_id: string;
                                settings: {
                                    enabled?: ...;
                                    handoff?: ...;
                                    knowledge?: ...;
                                    language?: ...;
                                    persona?: ...;
                                } & { [key: ...]: ... };
                                skills?: (...)[];
                                ui_skills?: (...)[];
                                websites?: (...)[];
                            };
                            flows: {
                                agent_id?: string;
                                data_exchange_url?: null
                                | string;
                                description?: string;
                                draft?: (...) & (...);
                                flow_json?: (...) & (...);
                                key: string;
                                locale?: string;
                                name: string;
                                project_id?: string;
                                runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                            }[];
                            hosted_agents?: {
                                allowed_topics: (...)[];
                                channel_ids: (...)[];
                                conversation_messages?: (...) | (...);
                                fallback: { automation_id?: ...; message?: ...; policy: ... };
                                instructions: string;
                                key: string;
                                knowledge: (...)[];
                                language: string;
                                max_input_chars: number;
                                max_output_tokens: number;
                                max_run_cost_micros: number;
                                model: string;
                                monthly_budget_micros: number;
                                name: string;
                                project_id?: (...) | (...);
                                purpose?: (...) | (...);
                                status?: (...) | (...) | (...);
                            }[];
                            project_id?: string;
                            require_opt_in?: boolean;
                            version?: string;
                        };
                        diff: {
                            action?: "delete"
                            | "create"
                            | "update"
                            | "unchanged";
                            details?: string[];
                            key?: string;
                            requiresActivation?: boolean;
                            risk?: "low" | "medium" | "high";
                            type?:
                                | "business_agent"
                                | "business_agent_connector"
                                | "flow"
                                | "project"
                                | "hosted_agent"
                                | "hosted_agent_assignment"
                                | "hosted_agent_knowledge"
                                | "automation"
                                | "webhook"
                                | "business_agent_tool";
                        }[];
                        issues: {
                            message?: string;
                            path?: string;
                            severity?: "warning"
                            | "error";
                        }[];
                        object: "config_apply";
                        valid: boolean;
                    };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    configDiff: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    $schema?: string;
                    automations: {
                        active?: boolean;
                        key: string;
                        name: string;
                        steps: (
                            | { send_reply: { buttons?: (...)
                            | (...); text: string } }
                            | { delay: { minutes: number } }
                            | {
                                wait_reply: {
                                    options?: (...) | (...);
                                    timeout_hours?: (...) | (...);
                                };
                            }
                            | { pause_replies: { reason?: (...)
                            | (...) } }
                            | {
                                send_flow: {
                                    body_text?: (...) | (...);
                                    flow: string;
                                    flow_cta?: (...) | (...);
                                    footer_text?: (...) | (...);
                                    header_text?: (...) | (...);
                                };
                            }
                            | {
                                run_function: {
                                    function: string;
                                    reply_field?: (...)
                                    | (...);
                                    result_mode?: (...) | (...) | (...) | (...);
                                    variable_name?: (...) | (...);
                                };
                            }
                        )[];
                        trigger: {
                            keywords?: string[];
                            match_mode?: "EXACT"
                            | "CONTAINS"
                            | "CONTAINS_WORD";
                            type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                        };
                    }[];
                    business_agent?: {
                        channel_id?: string;
                        connectors?: { [key: string]: unknown }[];
                        enabled: boolean;
                        faqs?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                        operation_id: string;
                        settings: {
                            enabled?: boolean;
                            handoff?: { [key: string]: unknown };
                            knowledge?: { [key: string]: unknown };
                            language?: string;
                            persona?: string;
                        } & { [key: string]: unknown };
                        skills?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                        ui_skills?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                        websites?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                    };
                    flows: {
                        agent_id?: string;
                        data_exchange_url?: null
                        | string;
                        description?: string;
                        draft?: { entryScreenId?: string; screens?: (...)[] } & {
                            [key: string]: unknown;
                        };
                        flow_json?: { screens?: (...)[]; version?: string } & {
                            [key: string]: unknown;
                        };
                        key: string;
                        locale?: string;
                        name: string;
                        project_id?: string;
                        runtime_mode?: "STATIC"
                        | "DATA_EXCHANGE";
                    }[];
                    hosted_agents?: {
                        allowed_topics: string[];
                        channel_ids: string[];
                        conversation_messages?: {
                            cannot_listen?: string;
                            clarification: string;
                            farewell: string;
                            greeting: string;
                            out_of_scope: string;
                        };
                        fallback: {
                            automation_id?: string;
                            message?: string;
                            policy: "SILENT"
                            | "CLARIFICATION"
                            | "HUMAN_HANDOFF"
                            | "AUTOMATION";
                        };
                        instructions: string;
                        key: string;
                        knowledge: {
                            content?: string;
                            title: string;
                            type: "TEXT"
                            | "FAQ"
                            | "URL";
                            url?: string;
                        }[];
                        language: string;
                        max_input_chars: number;
                        max_output_tokens: number;
                        max_run_cost_micros: number;
                        model: string;
                        monthly_budget_micros: number;
                        name: string;
                        project_id?: string;
                        purpose?: string;
                        status?: "DRAFT"
                        | "DISABLED";
                    }[];
                    project_id?: string;
                    require_opt_in?: boolean;
                    version?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        diff: {
                            action?: "delete"
                            | "create"
                            | "update"
                            | "unchanged";
                            details?: string[];
                            key?: string;
                            requiresActivation?: boolean;
                            risk?: "low" | "medium" | "high";
                            type?:
                                | "business_agent"
                                | "business_agent_connector"
                                | "flow"
                                | "project"
                                | "hosted_agent"
                                | "hosted_agent_assignment"
                                | "hosted_agent_knowledge"
                                | "automation"
                                | "webhook"
                                | "business_agent_tool";
                        }[];
                        issues: {
                            message?: string;
                            path?: string;
                            severity?: "warning"
                            | "error";
                        }[];
                        object: "config_diff";
                        valid: boolean;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        diff: {
                            action?: "delete"
                            | "create"
                            | "update"
                            | "unchanged";
                            details?: string[];
                            key?: string;
                            requiresActivation?: boolean;
                            risk?: "low" | "medium" | "high";
                            type?:
                                | "business_agent"
                                | "business_agent_connector"
                                | "flow"
                                | "project"
                                | "hosted_agent"
                                | "hosted_agent_assignment"
                                | "hosted_agent_knowledge"
                                | "automation"
                                | "webhook"
                                | "business_agent_tool";
                        }[];
                        issues: {
                            message?: string;
                            path?: string;
                            severity?: "warning"
                            | "error";
                        }[];
                        object: "config_diff";
                        valid: boolean;
                    };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    configRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        config?: {
                            $schema?: string;
                            automations: {
                                active?: boolean;
                                key: string;
                                name: string;
                                steps: ((...) | (...) | (...) | (...) | (...) | (...))[];
                                trigger: {
                                    keywords?: (...) | (...);
                                    match_mode?: (...) | (...) | (...) | (...);
                                    type: (...) | (...) | (...);
                                };
                            }[];
                            business_agent?: {
                                channel_id?: string;
                                connectors?: (...)[];
                                enabled: boolean;
                                faqs?: (...)[];
                                operation_id: string;
                                settings: {
                                    enabled?: ...;
                                    handoff?: ...;
                                    knowledge?: ...;
                                    language?: ...;
                                    persona?: ...;
                                } & { [key: ...]: ... };
                                skills?: (...)[];
                                ui_skills?: (...)[];
                                websites?: (...)[];
                            };
                            flows: {
                                agent_id?: string;
                                data_exchange_url?: null
                                | string;
                                description?: string;
                                draft?: (...) & (...);
                                flow_json?: (...) & (...);
                                key: string;
                                locale?: string;
                                name: string;
                                project_id?: string;
                                runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                            }[];
                            hosted_agents?: {
                                allowed_topics: (...)[];
                                channel_ids: (...)[];
                                conversation_messages?: (...) | (...);
                                fallback: { automation_id?: ...; message?: ...; policy: ... };
                                instructions: string;
                                key: string;
                                knowledge: (...)[];
                                language: string;
                                max_input_chars: number;
                                max_output_tokens: number;
                                max_run_cost_micros: number;
                                model: string;
                                monthly_budget_micros: number;
                                name: string;
                                project_id?: (...) | (...);
                                purpose?: (...) | (...);
                                status?: (...) | (...) | (...);
                            }[];
                            project_id?: string;
                            require_opt_in?: boolean;
                            version?: string;
                        };
                        object?: "wabery_config";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    configSchema: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    configValidate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    $schema?: string;
                    automations: {
                        active?: boolean;
                        key: string;
                        name: string;
                        steps: (
                            | { send_reply: { buttons?: (...)
                            | (...); text: string } }
                            | { delay: { minutes: number } }
                            | {
                                wait_reply: {
                                    options?: (...) | (...);
                                    timeout_hours?: (...) | (...);
                                };
                            }
                            | { pause_replies: { reason?: (...)
                            | (...) } }
                            | {
                                send_flow: {
                                    body_text?: (...) | (...);
                                    flow: string;
                                    flow_cta?: (...) | (...);
                                    footer_text?: (...) | (...);
                                    header_text?: (...) | (...);
                                };
                            }
                            | {
                                run_function: {
                                    function: string;
                                    reply_field?: (...)
                                    | (...);
                                    result_mode?: (...) | (...) | (...) | (...);
                                    variable_name?: (...) | (...);
                                };
                            }
                        )[];
                        trigger: {
                            keywords?: string[];
                            match_mode?: "EXACT"
                            | "CONTAINS"
                            | "CONTAINS_WORD";
                            type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                        };
                    }[];
                    business_agent?: {
                        channel_id?: string;
                        connectors?: { [key: string]: unknown }[];
                        enabled: boolean;
                        faqs?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                        operation_id: string;
                        settings: {
                            enabled?: boolean;
                            handoff?: { [key: string]: unknown };
                            knowledge?: { [key: string]: unknown };
                            language?: string;
                            persona?: string;
                        } & { [key: string]: unknown };
                        skills?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                        ui_skills?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                        websites?: {
                            key: string;
                            remote_id?: string;
                            value: { [key: string]: unknown };
                        }[];
                    };
                    flows: {
                        agent_id?: string;
                        data_exchange_url?: null
                        | string;
                        description?: string;
                        draft?: { entryScreenId?: string; screens?: (...)[] } & {
                            [key: string]: unknown;
                        };
                        flow_json?: { screens?: (...)[]; version?: string } & {
                            [key: string]: unknown;
                        };
                        key: string;
                        locale?: string;
                        name: string;
                        project_id?: string;
                        runtime_mode?: "STATIC"
                        | "DATA_EXCHANGE";
                    }[];
                    hosted_agents?: {
                        allowed_topics: string[];
                        channel_ids: string[];
                        conversation_messages?: {
                            cannot_listen?: string;
                            clarification: string;
                            farewell: string;
                            greeting: string;
                            out_of_scope: string;
                        };
                        fallback: {
                            automation_id?: string;
                            message?: string;
                            policy: "SILENT"
                            | "CLARIFICATION"
                            | "HUMAN_HANDOFF"
                            | "AUTOMATION";
                        };
                        instructions: string;
                        key: string;
                        knowledge: {
                            content?: string;
                            title: string;
                            type: "TEXT"
                            | "FAQ"
                            | "URL";
                            url?: string;
                        }[];
                        language: string;
                        max_input_chars: number;
                        max_output_tokens: number;
                        max_run_cost_micros: number;
                        model: string;
                        monthly_budget_micros: number;
                        name: string;
                        project_id?: string;
                        purpose?: string;
                        status?: "DRAFT"
                        | "DISABLED";
                    }[];
                    project_id?: string;
                    require_opt_in?: boolean;
                    version?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        config?: {
                            $schema?: string;
                            automations: {
                                active?: boolean;
                                key: string;
                                name: string;
                                steps: ((...) | (...) | (...) | (...) | (...) | (...))[];
                                trigger: {
                                    keywords?: (...) | (...);
                                    match_mode?: (...) | (...) | (...) | (...);
                                    type: (...) | (...) | (...);
                                };
                            }[];
                            business_agent?: {
                                channel_id?: string;
                                connectors?: (...)[];
                                enabled: boolean;
                                faqs?: (...)[];
                                operation_id: string;
                                settings: {
                                    enabled?: ...;
                                    handoff?: ...;
                                    knowledge?: ...;
                                    language?: ...;
                                    persona?: ...;
                                } & { [key: ...]: ... };
                                skills?: (...)[];
                                ui_skills?: (...)[];
                                websites?: (...)[];
                            };
                            flows: {
                                agent_id?: string;
                                data_exchange_url?: null
                                | string;
                                description?: string;
                                draft?: (...) & (...);
                                flow_json?: (...) & (...);
                                key: string;
                                locale?: string;
                                name: string;
                                project_id?: string;
                                runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                            }[];
                            hosted_agents?: {
                                allowed_topics: (...)[];
                                channel_ids: (...)[];
                                conversation_messages?: (...) | (...);
                                fallback: { automation_id?: ...; message?: ...; policy: ... };
                                instructions: string;
                                key: string;
                                knowledge: (...)[];
                                language: string;
                                max_input_chars: number;
                                max_output_tokens: number;
                                max_run_cost_micros: number;
                                model: string;
                                monthly_budget_micros: number;
                                name: string;
                                project_id?: (...) | (...);
                                purpose?: (...) | (...);
                                status?: (...) | (...) | (...);
                            }[];
                            project_id?: string;
                            require_opt_in?: boolean;
                            version?: string;
                        };
                        issues: {
                            message?: string;
                            path?: string;
                            severity?: "warning"
                            | "error";
                        }[];
                        object: "config_validation";
                        valid: boolean;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        config?: {
                            $schema?: string;
                            automations: {
                                active?: boolean;
                                key: string;
                                name: string;
                                steps: ((...) | (...) | (...) | (...) | (...) | (...))[];
                                trigger: {
                                    keywords?: (...) | (...);
                                    match_mode?: (...) | (...) | (...) | (...);
                                    type: (...) | (...) | (...);
                                };
                            }[];
                            business_agent?: {
                                channel_id?: string;
                                connectors?: (...)[];
                                enabled: boolean;
                                faqs?: (...)[];
                                operation_id: string;
                                settings: {
                                    enabled?: ...;
                                    handoff?: ...;
                                    knowledge?: ...;
                                    language?: ...;
                                    persona?: ...;
                                } & { [key: ...]: ... };
                                skills?: (...)[];
                                ui_skills?: (...)[];
                                websites?: (...)[];
                            };
                            flows: {
                                agent_id?: string;
                                data_exchange_url?: null
                                | string;
                                description?: string;
                                draft?: (...) & (...);
                                flow_json?: (...) & (...);
                                key: string;
                                locale?: string;
                                name: string;
                                project_id?: string;
                                runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                            }[];
                            hosted_agents?: {
                                allowed_topics: (...)[];
                                channel_ids: (...)[];
                                conversation_messages?: (...) | (...);
                                fallback: { automation_id?: ...; message?: ...; policy: ... };
                                instructions: string;
                                key: string;
                                knowledge: (...)[];
                                language: string;
                                max_input_chars: number;
                                max_output_tokens: number;
                                max_run_cost_micros: number;
                                model: string;
                                monthly_budget_micros: number;
                                name: string;
                                project_id?: (...) | (...);
                                purpose?: (...) | (...);
                                status?: (...) | (...) | (...);
                            }[];
                            project_id?: string;
                            require_opt_in?: boolean;
                            version?: string;
                        };
                        issues: {
                            message?: string;
                            path?: string;
                            severity?: "warning"
                            | "error";
                        }[];
                        object: "config_validation";
                        valid: boolean;
                    };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactImportsCreate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "multipart/form-data": {
                    consent?: string;
                    defaults?: string;
                    file: string;
                    mapping: string;
                };
            };
        };
        responses: {
            "202": {
                content: {
                    "application/json": {
                        created_count?: number;
                        error_count?: number;
                        errors_available?: boolean;
                        filename: string;
                        id: string;
                        object: "contact_import";
                        processed_rows?: number;
                        skipped_count?: number;
                        status: string;
                        total_rows?: number;
                        updated_count?: number;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactImportsDownloadErrors: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { [key: string]: unknown };
                    "text/csv": string;
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactImportsGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        created_count?: number;
                        error_count?: number;
                        errors_available?: boolean;
                        filename: string;
                        id: string;
                        object: "contact_import";
                        processed_rows?: number;
                        skipped_count?: number;
                        status: string;
                        total_rows?: number;
                        updated_count?: number;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactImportsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactsAddConsent: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "201": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactsCreate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    metadata?: { [key: string]: unknown };
                    name?: string;
                    opt_in?: {
                        categories?: (
                            "UTILITY"
                            | "MARKETING"
                            | "AUTHENTICATION"
                            | "GENERAL"
                        )[];
                        consent_text?: string;
                        evidence?: { [key: string]: unknown };
                        method?: string;
                        occurred_at?: string;
                        source?: string;
                    };
                    phone: string;
                    preferred_language?: string;
                    project_id?: string;
                    reference_id?: string;
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        channel?: {
                            channel_id?: string;
                            display_name?: null
                            | string;
                            id?: string;
                            is_sandbox?: boolean;
                            number_mode?: string;
                            object?: "channel";
                            phone_number?: null | string;
                            platform?:
                                | "WHATSAPP"
                                | "INSTAGRAM"
                                | "MESSENGER"
                                | "SMS"
                                | "TELEGRAM"
                                | "EMAIL";
                            publish_readiness?: | null
                            | {
                                account_review_status?: null
                                | string;
                                blockers?: (...)[];
                                business_verification_status?: null | string;
                                can_publish_flows?: boolean;
                                can_submit_templates?: boolean;
                                mode?: "sandbox" | "dedicated";
                                phone_number_status?: null | string;
                            };
                            routing_mode?: "AGENT"
                            | "EXTERNAL";
                            routing_warning?: null | string;
                            status?: string;
                        };
                        channel_id?: string;
                        contact_id: string;
                        id: string;
                        object: "contact";
                        phone?: null
                        | string;
                        preferred_language?: null | string;
                        project_id?: string;
                        reference_id?: null | string;
                        status?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactsDelete: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: { erase?: boolean };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        deleted: true;
                        deleted_data_types?: string[];
                        erased: boolean;
                        id: string;
                        object: "contact";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: { limit?: number; starting_after?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { has_more?: boolean; object: "list" } & {
                        data?: {
                            channel?: {
                                channel_id?: ...;
                                display_name?: ...;
                                id?: ...;
                                is_sandbox?: ...;
                                number_mode?: ...;
                                object?: ...;
                                phone_number?: ...;
                                platform?: ...;
                                publish_readiness?: ...;
                                routing_mode?: ...;
                                routing_warning?: ...;
                                status?: ...;
                            };
                            channel_id?: string;
                            contact_id: string;
                            id: string;
                            object: "contact";
                            phone?: null
                            | string;
                            preferred_language?: null | string;
                            project_id?: string;
                            reference_id?: null | string;
                            status?: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactsRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel?: {
                            channel_id?: string;
                            display_name?: null
                            | string;
                            id?: string;
                            is_sandbox?: boolean;
                            number_mode?: string;
                            object?: "channel";
                            phone_number?: null | string;
                            platform?:
                                | "WHATSAPP"
                                | "INSTAGRAM"
                                | "MESSENGER"
                                | "SMS"
                                | "TELEGRAM"
                                | "EMAIL";
                            publish_readiness?: | null
                            | {
                                account_review_status?: null
                                | string;
                                blockers?: (...)[];
                                business_verification_status?: null | string;
                                can_publish_flows?: boolean;
                                can_submit_templates?: boolean;
                                mode?: "sandbox" | "dedicated";
                                phone_number_status?: null | string;
                            };
                            routing_mode?: "AGENT"
                            | "EXTERNAL";
                            routing_warning?: null | string;
                            status?: string;
                        };
                        channel_id?: string;
                        contact_id: string;
                        id: string;
                        object: "contact";
                        phone?: null
                        | string;
                        preferred_language?: null | string;
                        project_id?: string;
                        reference_id?: null | string;
                        status?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactsSuppress: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "201": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    contactsUpdate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    metadata?: { [key: string]: unknown };
                    preferred_language?: null | string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel?: {
                            channel_id?: string;
                            display_name?: null
                            | string;
                            id?: string;
                            is_sandbox?: boolean;
                            number_mode?: string;
                            object?: "channel";
                            phone_number?: null | string;
                            platform?:
                                | "WHATSAPP"
                                | "INSTAGRAM"
                                | "MESSENGER"
                                | "SMS"
                                | "TELEGRAM"
                                | "EMAIL";
                            publish_readiness?: | null
                            | {
                                account_review_status?: null
                                | string;
                                blockers?: (...)[];
                                business_verification_status?: null | string;
                                can_publish_flows?: boolean;
                                can_submit_templates?: boolean;
                                mode?: "sandbox" | "dedicated";
                                phone_number_status?: null | string;
                            };
                            routing_mode?: "AGENT"
                            | "EXTERNAL";
                            routing_warning?: null | string;
                            status?: string;
                        };
                        channel_id?: string;
                        contact_id: string;
                        id: string;
                        object: "contact";
                        phone?: null
                        | string;
                        preferred_language?: null | string;
                        project_id?: string;
                        reference_id?: null | string;
                        status?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    conversationMessagesList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: {
                limit?: number;
                order?: "asc" | "desc";
                recipient_type?: "individual" | "group";
                starting_after?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data?: {
                            channel_id?: string;
                            contact_id?: string;
                            content?: null
                            | string;
                            conversation_id?: null | string;
                            direction?: "inbound" | "outbound";
                            failure?:
                                | null
                                | {
                                    code?: (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                    fbtrace_id?: (...) | (...) | (...);
                                    http_status?: (...) | (...) | (...);
                                    message?: (...) | (...);
                                    occurred_at?: (...) | (...);
                                    provider?: (...) | (...) | (...);
                                    subcode?: (...) | (...) | (...) | (...);
                                    summary?: (...) | (...);
                                    title?: (...) | (...) | (...);
                                    type?: (...) | (...) | (...);
                                };
                            id?: string;
                            media?: | null
                            | {
                                access_policy?: (...)
                                | (...);
                                accessible?: (...) | (...) | (...);
                                error_code?: (...) | (...) | (...);
                                expires_at?: (...) | (...) | (...);
                                file_name?: (...) | (...) | (...);
                                file_size?: (...) | (...) | (...);
                                mime_type?: (...) | (...) | (...);
                                note?: (...) | (...) | (...);
                                provider?: (...) | (...) | (...) | (...) | (...);
                                provider_media_id?: (...) | (...) | (...);
                                status?: (...) | (...) | (...) | (...);
                                type?: (...) | (...) | (...);
                                url?: (...) | (...) | (...);
                                whatsapp_media_id?: (...) | (...) | (...);
                            };
                            message_id?: string;
                            object?: "message";
                            platform_message_id?: null
                            | string;
                            status?: string;
                            timestamp?: string;
                            type?: string;
                        }[];
                        has_more?: boolean;
                        media_policy?: {
                            default_signed_url_ttl_seconds?: number;
                            free_retention_hours?: number;
                            inbound_access?: string;
                            inbound_accessible?: boolean;
                            note?: string;
                            paid_retention_days?: number;
                        };
                        object?: "list";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    conversationsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: {
                active?: boolean;
                contact_id?: string;
                limit?: number;
                recipient_type?: "individual" | "group" | "all";
                starting_after?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data?: {
                            contact_id?: string;
                            conversation_id?: string;
                            created_at?: string;
                            id?: string;
                            is_active?: boolean;
                            last_channel_id?: null
                            | string;
                            last_message_at?: null | string;
                            name?: null | string;
                            object?: "conversation";
                            phone?: null | string;
                            reference_id?: null | string;
                            started_at?: string;
                            updated_at?: string;
                        }[];
                        has_more?: boolean;
                        object?: "list";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    conversationsRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: { recipient_type?: "individual" | "group" };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        contact_id?: string;
                        conversation_id?: string;
                        created_at?: string;
                        id?: string;
                        is_active?: boolean;
                        last_channel_id?: null
                        | string;
                        last_message_at?: null | string;
                        name?: null | string;
                        object?: "conversation";
                        phone?: null | string;
                        reference_id?: null | string;
                        started_at?: string;
                        updated_at?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    conversationsSetHandoff: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    action: "hold"
                    | "resume";
                    reason?: null | string;
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { [key: string]: unknown } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    dispatchesList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: {
                contact_id?: string;
                flow_id?: string;
                limit?: number;
                starting_after?: string;
                status?: "SENT" | "COMPLETED" | "EXPIRED";
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { has_more?: boolean; object: "list" } & {
                        data?: {
                            agent_id?: string;
                            channel_id?: string;
                            completed_at?: null | string;
                            contact_id?: null | string;
                            conversation_id?: null | string;
                            created_at?: string;
                            expires_at?: string;
                            flow_id?: string;
                            flow_token?: string;
                            id?: string;
                            object?: "flow_dispatch";
                            status?: "SENT" | "COMPLETED" | "EXPIRED";
                            to?: null | string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    dispatchesRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { flow_token: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        agent_id?: string;
                        channel_id?: string;
                        completed_at?: null
                        | string;
                        contact_id?: null | string;
                        conversation_id?: null | string;
                        created_at?: string;
                        expires_at?: string;
                        flow_id?: string;
                        flow_token?: string;
                        id?: string;
                        object?: "flow_dispatch";
                        status?: "SENT" | "COMPLETED" | "EXPIRED";
                        to?: null | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    flowsDelete: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        deleted: true;
                        id: string;
                        meta_deleted?: boolean;
                        meta_error?: null
                        | string;
                        object: "flow";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    flowsEvents: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: { limit?: number; starting_after?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data?: {
                            created_at: string;
                            data?: null
                            | { [key: string]: unknown };
                            id: string;
                            level: "info" | "error" | "warn";
                            message?: null | string;
                            object: "flow_event";
                            submission_id?: null | string;
                            type: string;
                        }[];
                        has_more?: boolean;
                        object?: "list";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    flowsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { has_more?: boolean; object: "list" } & {
                        data?: {
                            agent_id?: string;
                            config_key?: null | string;
                            created_at?: string;
                            description?: null | string;
                            field_schema?: null | (...)[];
                            flow_json?: null | { [key: ...]: ... };
                            id?: string;
                            last_synced_at?: null | string;
                            locale?: null | string;
                            meta_flow_id?: null | string;
                            meta_status?: null | string;
                            meta_status_reason?: null | string;
                            meta_waba_id?: null | string;
                            name?: string;
                            object?: "flow";
                            published_version?: null | number;
                            runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                            status?: "DRAFT" | "PUBLISHED" | "DEPRECATED";
                            updated_at?: string;
                            validation_errors?: null | (...)[];
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    flowsPublish: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "202": {
                content: {
                    "application/json": {
                        flow_id: string;
                        job_id: string;
                        meta_status?: null
                        | string;
                        object: "flow_publish";
                        status: "queued";
                        version?: number;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "412": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    flowsRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: { include?: string; refresh?: "true" };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        agent_id?: string;
                        config_key?: null
                        | string;
                        created_at?: string;
                        description?: null | string;
                        field_schema?: null | { [key: string]: unknown }[];
                        flow_json?: null | { [key: string]: unknown };
                        id?: string;
                        last_synced_at?: null | string;
                        locale?: null | string;
                        meta_flow_id?: null | string;
                        meta_status?: null | string;
                        meta_status_reason?: null | string;
                        meta_waba_id?: null | string;
                        name?: string;
                        object?: "flow";
                        published_version?: null | number;
                        runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                        status?: "DRAFT" | "PUBLISHED" | "DEPRECATED";
                        updated_at?: string;
                        validation_errors?: null | { [key: string]: unknown }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    flowsSend: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    body_text?: string;
                    channel_id: string;
                    contact_id?: string;
                    conversation_id?: string;
                    first_screen?: string;
                    flow_cta?: string;
                    footer_text?: string;
                    header_text?: string;
                    screen_data?: { [key: string]: unknown };
                    to?: string;
                };
            };
        };
        responses: {
            "202": {
                content: {
                    "application/json": {
                        contact_id?: null
                        | string;
                        conversation_id?: null | string;
                        flow_id: string;
                        flow_token: string;
                        id: string;
                        locale?: null | string;
                        object: "flow_dispatch";
                        status: "queued";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    flowsSendByConfigKey: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    body_text?: string;
                    channel_id: string;
                    config_key: string;
                    contact_id?: string;
                    conversation_id?: string;
                    first_screen?: string;
                    flow_cta?: string;
                    footer_text?: string;
                    header_text?: string;
                    locale?: string;
                    screen_data?: { [key: string]: unknown };
                    to?: string;
                };
            };
        };
        responses: {
            "202": {
                content: {
                    "application/json": {
                        contact_id?: null
                        | string;
                        conversation_id?: null | string;
                        flow_id: string;
                        flow_token: string;
                        id: string;
                        locale?: null | string;
                        object: "flow_dispatch";
                        status: "queued";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    functionsCreate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    egress_allowed_hosts?: string[];
                    name: string;
                    slug: string;
                    trigger_type: "KEYWORD"
                    | "WELCOME"
                    | "ANY_MESSAGE";
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        active_version_id: null
                        | string;
                        created_at: string;
                        egress_allowed_hosts: string[];
                        expose_as_mcp_tool: boolean;
                        id: string;
                        input_schema?: null | { [key: string]: unknown };
                        is_active: boolean;
                        name: string;
                        object: "hosted_function";
                        runtime: "PLAIN" | "WFP";
                        script_name: string;
                        slug: string;
                        source?: null | string;
                        trigger_type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                        updated_at: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    functionsDelete: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        deleted?: boolean;
                        id?: string;
                        object?: "hosted_function";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    functionsDeploy: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: { content: { "application/json": { source: string } } };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        bytes?: number;
                        diagnostics?: string[];
                        function_id?: string;
                        object?: "function_deploy";
                        status?: "ok" | "error";
                        version_id?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    functionsGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active_version_id: null
                        | string;
                        created_at: string;
                        egress_allowed_hosts: string[];
                        expose_as_mcp_tool: boolean;
                        id: string;
                        input_schema?: null | { [key: string]: unknown };
                        is_active: boolean;
                        name: string;
                        object: "hosted_function";
                        runtime: "PLAIN" | "WFP";
                        script_name: string;
                        slug: string;
                        source?: null | string;
                        trigger_type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                        updated_at: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    functionsInvoke: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    arguments?: { [key: string]: unknown };
                    contact_id?: string;
                    contact_phone?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        error?: string;
                        function_id?: string;
                        object?: "function_invoke";
                        result?: unknown;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    functionsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { has_more?: boolean; object: "list" } & {
                        data?: {
                            active_version_id: null | string;
                            created_at: string;
                            egress_allowed_hosts: string[];
                            expose_as_mcp_tool: boolean;
                            id: string;
                            input_schema?: null | { [key: ...]: ... };
                            is_active: boolean;
                            name: string;
                            object: "hosted_function";
                            runtime: "PLAIN" | "WFP";
                            script_name: string;
                            slug: string;
                            source?: null | string;
                            trigger_type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                            updated_at: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    functionsLogs: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { has_more?: boolean; object: "list" } & {
                        data?: {
                            cpu_ms?: null | number;
                            error?: null | string;
                            event_type?: string;
                            id?: string;
                            logs?: unknown;
                            started_at?: string;
                            status?: string;
                            sub_requests?: null | number;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    functionsTest: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    contact?: { id: string; name?: string; phone: string };
                    text?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        error?: string;
                        function_id?: string;
                        object?: "function_test";
                        result?: unknown;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    functionsUpdate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    egress_allowed_hosts?: string[];
                    expose_as_mcp_tool?: boolean;
                    input_schema?: { [key: string]: unknown };
                    is_active?: boolean;
                    name?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        active_version_id: null
                        | string;
                        created_at: string;
                        egress_allowed_hosts: string[];
                        expose_as_mcp_tool: boolean;
                        id: string;
                        input_schema?: null | { [key: string]: unknown };
                        is_active: boolean;
                        name: string;
                        object: "hosted_function";
                        runtime: "PLAIN" | "WFP";
                        script_name: string;
                        slug: string;
                        source?: null | string;
                        trigger_type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                        updated_at: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    getIdentity: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        api_key: {
                            display?: null
                            | string;
                            id?: string;
                            name?: null | string;
                            prefix?: null | string;
                            scopes?: string[];
                        };
                        api_version?: string;
                        object: "identity";
                        organization: { id?: string; name?: null
                        | string };
                        plan?: null | string;
                        project: { id?: string; name?: null | string };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsCreate: {
        parameters: {
            cookie?: undefined;
            header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    description?: string;
                    join_approval_mode?: "auto_approve"
                    | "approval_required";
                    subject: string;
                };
            };
        };
        responses: {
            "202": {
                content: {
                    "application/json": | {
                        channel_id: string;
                        group_id: null
                        | string;
                        idempotent_replay?: boolean;
                        object: "whatsapp_group_operation";
                        operation: "delete" | "create" | "update";
                        request_id: null | string;
                        status: "pending";
                    }
                    | {
                        idempotency_key: string;
                        object: "api_operation";
                        reconciliation: "provider"
                        | "local_persistence";
                        status: "processing";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsDelete: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string; group_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "202": {
                content: {
                    "application/json": {
                        channel_id: string;
                        group_id: null
                        | string;
                        idempotent_replay?: boolean;
                        object: "whatsapp_group_operation";
                        operation: "delete" | "create" | "update";
                        request_id: null | string;
                        status: "pending";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsInviteLinkReset: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string; group_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id: string;
                        group_id: string;
                        invite_link: string;
                        object: "whatsapp_group_invite_link";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsInviteLinkRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string; group_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id: string;
                        group_id: string;
                        invite_link: string;
                        object: "whatsapp_group_invite_link";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsJoinRequestsApprove: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string; group_id: string };
            query?: undefined;
        };
        requestBody: {
            content: { "application/json": { join_requests: string[] } };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        approved_join_requests?: string[];
                        failed_join_requests?: Record<string, never>[];
                        rejected_join_requests?: string[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsJoinRequestsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string; group_id: string };
            query?: {
                after?: string;
                before?: string;
                ending_before?: string;
                limit?: number;
                starting_after?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id?: string;
                        group_id?: string;
                        has_more?: boolean;
                        join_requests?: {
                            created_at?: null
                            | string;
                            creation_timestamp?: null | number;
                            group_id?: string;
                            id: string;
                            join_request_id: string;
                            parent_user_id?: string;
                            user_id?: string;
                            username?: string;
                            wa_id?: string;
                        }[];
                        next_cursor?: null
                        | string;
                        object?: "whatsapp_group_join_requests";
                        paging?: {
                            cursors?: { after?: ...; before?: ... } & { [key: ...]: ... };
                            next?: string;
                        } & { [key: string]: unknown };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsJoinRequestsReject: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string; group_id: string };
            query?: undefined;
        };
        requestBody: {
            content: { "application/json": { join_requests: string[] } };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        approved_join_requests?: string[];
                        failed_join_requests?: Record<string, never>[];
                        rejected_join_requests?: string[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string };
            query?: {
                after?: string;
                before?: string;
                ending_before?: string;
                limit?: number;
                starting_after?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data?: {
                            channel_id: string;
                            created_at?: null
                            | string;
                            creation_timestamp?: null | number;
                            description?: null | string;
                            group_id?: string;
                            id: string;
                            invite_link?: null | string;
                            join_approval_mode: null | "auto_approve" | "approval_required";
                            object: "whatsapp_group";
                            participants: {
                                id: string;
                                id_type: (...) | (...);
                                name?: (...) | (...) | (...);
                                parent_user_id?: (...) | (...) | (...);
                                phone?: (...) | (...) | (...);
                                user?: (...) | (...);
                                user_id: (...) | (...);
                                username?: (...) | (...) | (...);
                                wa_id: (...) | (...);
                            }[];
                            subject: null
                            | string;
                            suspended: null | boolean;
                            total_participant_count: null | number;
                        }[];
                        has_more?: boolean;
                        next_cursor?: null
                        | string;
                        object?: "list";
                        paging?: {
                            cursors?: { after?: ...; before?: ... } & { [key: ...]: ... };
                            next?: string;
                        } & { [key: string]: unknown };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsParticipantsRemove: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string; group_id: string };
            query?: undefined;
        };
        requestBody: {
            content: { "application/json": { participants: string[] } };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        failed_participants?: {
                            errors?: Record<(...), (...)>[];
                            input?: string;
                            user_id?: string;
                        }[];
                        removed_participants?: string[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string; group_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id: string;
                        created_at?: null
                        | string;
                        creation_timestamp?: null | number;
                        description?: null | string;
                        group_id?: string;
                        id: string;
                        invite_link?: null | string;
                        join_approval_mode: null | "auto_approve" | "approval_required";
                        object: "whatsapp_group";
                        participants: {
                            id: string;
                            id_type: "user_id" | "wa_id";
                            name?: null | string;
                            parent_user_id?: null | string;
                            phone?: null | string;
                            user?: string;
                            user_id: null | string;
                            username?: null | string;
                            wa_id: null | string;
                        }[];
                        subject: null
                        | string;
                        suspended: null | boolean;
                        total_participant_count: null | number;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    groupsSettingsUpdate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { channel_id: string; group_id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": { description?: string; subject?: string };
                "multipart/form-data": {
                    description?: string;
                    profile_picture_file: string;
                    subject?: string;
                };
            };
        };
        responses: {
            "202": {
                content: {
                    "application/json": {
                        channel_id: string;
                        group_id: null
                        | string;
                        idempotent_replay?: boolean;
                        object: "whatsapp_group_operation";
                        operation: "delete" | "create" | "update";
                        request_id: null | string;
                        status: "pending";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    limitsRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        monthly_quota?: {
                            period?: string;
                            requests: number;
                            scope?: "api_key";
                        };
                        object?: "public_api_limits";
                        rate_limit?: {
                            requests: number;
                            scope?: "api_key";
                            window_seconds: number;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit"?: number;
                    "RateLimit-Remaining"?: number;
                    "RateLimit-Reset"?: number;
                    "Retry-After"?: number;
                    "X-Wabery-Limit-Type"?: "rate_limit"
                    | "monthly_quota";
                    [name: string]: unknown;
                };
            };
        };
    };
    messagesGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id?: string;
                        contact_id?: string;
                        content?: null
                        | string;
                        conversation_id?: null | string;
                        direction?: "inbound" | "outbound";
                        failure?:
                            | null
                            | {
                                code?: null
                                | string
                                | number;
                                fbtrace_id?: null | string;
                                http_status?: null | number;
                                message?: string;
                                occurred_at?: string;
                                provider?: "meta" | "wabery";
                                subcode?: null | string | number;
                                summary?: string;
                                title?: null | string;
                                type?: null | string;
                            };
                        id?: string;
                        media?: | null
                        | {
                            access_policy?: string;
                            accessible?: boolean;
                            error_code?: null
                            | string;
                            expires_at?: null | string;
                            file_name?: null | string;
                            file_size?: null | number;
                            mime_type?: null | string;
                            note?: null | string;
                            provider?: null | "whatsapp" | "instagram" | "messenger";
                            provider_media_id?: null | string;
                            status?: "expired" | "available" | "unavailable";
                            type?: null | string;
                            url?: null | string;
                            whatsapp_media_id?: null | string;
                        };
                        message_id?: string;
                        object?: "message";
                        platform_message_id?: null
                        | string;
                        status?: string;
                        timestamp?: string;
                        type?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    messagesSend: {
        parameters: {
            cookie?: undefined;
            header?: { "Idempotency-Key"?: string; "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    channel_id: string;
                    contacts?: { [key: string]: unknown }[];
                    conversation_id?: string;
                    group_id?: string;
                    idempotency_key?: string;
                    interactive?: { [key: string]: unknown };
                    location?: {
                        address?: string;
                        latitude: number;
                        longitude: number;
                        name?: string;
                    };
                    media?: { type?: "document" | "image" | "video" | "audio" | undefined; link?: string | undefined; id?: string | undefined; caption?: string | undefined; filename?: string | undefined; } & ({ ...; } | { ...; });
                    pin?: | { expiration_days: number; message_id: string; type: "pin" }
                    | { message_id: string; type: "unpin" };
                    reaction?: { emoji: string; message_id: string };
                    reply_to?: string;
                    sticker?: { id?: string | undefined; link?: string | undefined; } & ({ id: string; link?: undefined; } | { link: string; id?: undefined; });
                    template?: {
                        components?: { [key: string]: unknown }[];
                        id?: string;
                        language?: string;
                        name?: string;
                    };
                    text?: string;
                    to?: string;
                };
            };
        };
        responses: {
            "202": {
                content: {
                    "application/json": {
                        contact_id: string;
                        conversation_id: string;
                        id: string;
                        idempotency_key: string;
                        object: "message";
                        status: "queued";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    "X-Wabery-Limit-Type"?: | "rate_limit"
                    | "monthly_quota"
                    | "message_pair_rate_limit";
                    [name: string]: unknown;
                };
            };
            "503": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { "Retry-After": number; [name: string]: unknown };
            };
        };
    };
    onboardingHandoffsCreate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    connection_mode?: "NEW_CLOUD_API"
                    | "BUSINESS_APP_COEXISTENCE";
                    display_name?: string;
                    project_id?: string;
                    type: "connect_whatsapp";
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        channel_id?: null
                        | string;
                        completed_at?: null | string;
                        connection_mode?: string;
                        created_at?: string;
                        expires_at?: string;
                        id?: string;
                        object?: "onboarding_handoff";
                        project_id?: string;
                        status?: "pending" | "completed" | "expired" | "revoked";
                        type?: "connect_whatsapp";
                    } & { url?: string };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    onboardingHandoffsRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        channel_id?: null
                        | string;
                        completed_at?: null | string;
                        connection_mode?: string;
                        created_at?: string;
                        expires_at?: string;
                        id?: string;
                        object?: "onboarding_handoff";
                        project_id?: string;
                        status?: "pending" | "completed" | "expired" | "revoked";
                        type?: "connect_whatsapp";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    onboardingRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: { project_id?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        next_step?: null
                        | string;
                        object?: "onboarding";
                        project_id?: string;
                        project_name?: string;
                        routing_mode?: "AGENT" | "EXTERNAL";
                        status?: "live" | "in_progress";
                        steps?: {
                            actor?: "agent" | "customer";
                            api?: string[];
                            customer_link?: null | string;
                            details?: string[];
                            handoff?:
                                | null
                                | {
                                    channel_id?: (...)
                                    | (...)
                                    | (...);
                                    completed_at?: (...) | (...) | (...);
                                    connection_mode?: (...) | (...);
                                    created_at?: (...) | (...);
                                    expires_at?: (...) | (...);
                                    id?: (...) | (...);
                                    object?: (...) | (...);
                                    project_id?: (...) | (...);
                                    status?: (...) | (...) | (...) | (...) | (...);
                                    type?: (...) | (...);
                                };
                            id?: | "connect_whatsapp"
                            | "runtime"
                            | "sandbox_test"
                            | "publish_agent"
                            | "go_live";
                            instructions?: string;
                            status?: "blocked"
                            | "done"
                            | "todo"
                            | "waiting_on_customer";
                            title?: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    projectsGet: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: { refresh?: boolean };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        automatic_read_receipts?: boolean;
                        channel_id?: null
                        | string;
                        created_at?: string;
                        description?: null | string;
                        enrollment_channel?:
                            | null
                            | {
                                channel_id?: string;
                                display_name?: null
                                | string;
                                id?: string;
                                is_sandbox?: boolean;
                                number_mode?: string;
                                object?: "channel";
                                phone_number?: null | string;
                                platform?:
                                    | "WHATSAPP"
                                    | "INSTAGRAM"
                                    | "MESSENGER"
                                    | "SMS"
                                    | "TELEGRAM"
                                    | "EMAIL";
                                publish_readiness?: | null
                                | {
                                    account_review_status?: null
                                    | string;
                                    blockers?: (...)[];
                                    business_verification_status?: null | string;
                                    can_publish_flows?: boolean;
                                    can_submit_templates?: boolean;
                                    mode?: "sandbox" | "dedicated";
                                    phone_number_status?: null | string;
                                };
                                routing_mode?: "AGENT"
                                | "EXTERNAL";
                                routing_warning?: null | string;
                                status?: string;
                            };
                        flow_count?: number;
                        id?: string;
                        join_code?: string;
                        name?: string;
                        object?: "project";
                        participant_count?: number;
                        project_id?: string;
                        publish_readiness?: | null
                        | {
                            account_review_status?: null
                            | string;
                            blockers?: (
                                | "CHANNEL_NOT_CONNECTED"
                                | "MISSING_WABA"
                                | "MISSING_CHANNEL_CREDENTIALS"
                                | "META_ACCOUNT_STATUS_UNKNOWN"
                                | "BUSINESS_NOT_VERIFIED"
                                | "ACCOUNT_NOT_APPROVED"
                                | "PHONE_NOT_CONNECTED"
                                | "PHONE_STATUS_UNKNOWN"
                                | "PAYMENT_STATUS_UNKNOWN"
                                | "NO_PAYMENT_METHOD"
                                | "WHATSAPP_SENDER_NOT_READY"
                                | "SANDBOX_TEMPLATES_NOT_SUPPORTED"
                            )[];
                            business_verification_status?: null
                            | string;
                            can_publish_flows?: boolean;
                            can_submit_templates?: boolean;
                            mode?: "sandbox" | "dedicated";
                            phone_number_status?: null | string;
                        };
                        require_opt_in?: boolean;
                        routing_mode?: string;
                        updated_at?: string;
                        webhook_secret?: null
                        | string;
                        webhook_signing_enabled?: boolean;
                        webhook_url?: null | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    projectsGetReadiness: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: { requirements?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        agent_runtime: {
                            action_required?: | null
                            | "CREATE_AGENT"
                            | "SELECT_AI_MODEL"
                            | "ADD_PAYMENT_METHOD"
                            | "ADD_FUNDS";
                            ai_enabled: boolean;
                            available_balance_micros: number;
                            has_useful_automations: boolean;
                            mode: "ai_ready"
                            | "automations_only"
                            | "not_operational";
                            runtime_model?: null | string;
                            selected_model?: null | string;
                        };
                        capabilities?: {
                            [key: string]: {
                                message?: string;
                                status?: | "warning"
                                | "blocked"
                                | "ready"
                                | "testable"
                                | "not_applicable";
                            };
                        };
                        dedicated_channel?: | null
                        | {
                            channel_id?: string;
                            display_name?: null
                            | string;
                            id?: string;
                            is_sandbox?: boolean;
                            number_mode?: string;
                            object?: "channel";
                            phone_number?: null | string;
                            platform?:
                                | "WHATSAPP"
                                | "INSTAGRAM"
                                | "MESSENGER"
                                | "SMS"
                                | "TELEGRAM"
                                | "EMAIL";
                            publish_readiness?: | null
                            | {
                                account_review_status?: null
                                | string;
                                blockers?: (...)[];
                                business_verification_status?: null | string;
                                can_publish_flows?: boolean;
                                can_submit_templates?: boolean;
                                mode?: "sandbox" | "dedicated";
                                phone_number_status?: null | string;
                            };
                            routing_mode?: "AGENT"
                            | "EXTERNAL";
                            routing_warning?: null | string;
                            status?: string;
                        };
                        effective_channel?: | null
                        | {
                            channel_id?: string;
                            display_name?: null
                            | string;
                            id?: string;
                            is_sandbox?: boolean;
                            number_mode?: string;
                            object?: "channel";
                            phone_number?: null | string;
                            platform?:
                                | "WHATSAPP"
                                | "INSTAGRAM"
                                | "MESSENGER"
                                | "SMS"
                                | "TELEGRAM"
                                | "EMAIL";
                            publish_readiness?: | null
                            | {
                                account_review_status?: null
                                | string;
                                blockers?: (...)[];
                                business_verification_status?: null | string;
                                can_publish_flows?: boolean;
                                can_submit_templates?: boolean;
                                mode?: "sandbox" | "dedicated";
                                phone_number_status?: null | string;
                            };
                            routing_mode?: "AGENT"
                            | "EXTERNAL";
                            routing_warning?: null | string;
                            status?: string;
                        };
                        issues?: {
                            area?: string;
                            code?: string;
                            message?: string;
                            next_steps?: string[];
                            severity?: "info"
                            | "warning"
                            | "blocked";
                            title?: string;
                        }[];
                        next_steps?: string[];
                        object: "project_readiness";
                        overall_status?: string;
                        production_inbound_ready?: boolean;
                        project_id: string;
                        project_name?: string;
                        requirements?: string[];
                        sandbox_channel?: | null
                        | {
                            channel_id?: string;
                            display_name?: null
                            | string;
                            id?: string;
                            is_sandbox?: boolean;
                            number_mode?: string;
                            object?: "channel";
                            phone_number?: null | string;
                            platform?:
                                | "WHATSAPP"
                                | "INSTAGRAM"
                                | "MESSENGER"
                                | "SMS"
                                | "TELEGRAM"
                                | "EMAIL";
                            publish_readiness?: | null
                            | {
                                account_review_status?: null
                                | string;
                                blockers?: (...)[];
                                business_verification_status?: null | string;
                                can_publish_flows?: boolean;
                                can_submit_templates?: boolean;
                                mode?: "sandbox" | "dedicated";
                                phone_number_status?: null | string;
                            };
                            routing_mode?: "AGENT"
                            | "EXTERNAL";
                            routing_warning?: null | string;
                            status?: string;
                        };
                        sandbox_testable?: boolean;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    projectsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data?: {
                            automatic_read_receipts?: boolean;
                            channel_id?: null
                            | string;
                            created_at?: string;
                            description?: null | string;
                            enrollment_channel?:
                                | null
                                | {
                                    channel_id?: (...)
                                    | (...);
                                    display_name?: (...) | (...) | (...);
                                    id?: (...) | (...);
                                    is_sandbox?: (...) | (...) | (...);
                                    number_mode?: (...) | (...);
                                    object?: (...) | (...);
                                    phone_number?: (...) | (...) | (...);
                                    platform?: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                    publish_readiness?: (...) | (...) | (...);
                                    routing_mode?: (...) | (...) | (...);
                                    routing_warning?: (...) | (...) | (...);
                                    status?: (...) | (...);
                                };
                            flow_count?: number;
                            id?: string;
                            join_code?: string;
                            name?: string;
                            object?: "project";
                            participant_count?: number;
                            project_id?: string;
                            publish_readiness?: | null
                            | {
                                account_review_status?: (...)
                                | (...)
                                | (...);
                                blockers?: (...) | (...);
                                business_verification_status?: (...) | (...) | (...);
                                can_publish_flows?: (...) | (...) | (...);
                                can_submit_templates?: (...) | (...) | (...);
                                mode?: (...) | (...) | (...);
                                phone_number_status?: (...) | (...) | (...);
                            };
                            require_opt_in?: boolean;
                            routing_mode?: string;
                            updated_at?: string;
                            webhook_secret?: null
                            | string;
                            webhook_signing_enabled?: boolean;
                            webhook_url?: null | string;
                        }[];
                        object?: "list";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    projectsRotateWebhookSecret: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: {
            content: { "application/json": { webhook_secret?: string } };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        object: "project_webhook_secret";
                        project_id: string;
                        webhook_secret: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    projectsUpdate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: { refresh?: boolean };
        };
        requestBody: {
            content: {
                "application/json": {
                    automatic_read_receipts?: boolean;
                    description?: null
                    | string;
                    group_webhook_events_enabled?: boolean;
                    name?: string;
                    require_opt_in?: boolean;
                    routing_mode?: "AGENT" | "EXTERNAL";
                    webhook_secret?: string;
                    webhook_signing_enabled?: boolean;
                    webhook_url?: null | string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        automatic_read_receipts?: boolean;
                        channel_id?: null
                        | string;
                        created_at?: string;
                        description?: null | string;
                        enrollment_channel?:
                            | null
                            | {
                                channel_id?: string;
                                display_name?: null
                                | string;
                                id?: string;
                                is_sandbox?: boolean;
                                number_mode?: string;
                                object?: "channel";
                                phone_number?: null | string;
                                platform?:
                                    | "WHATSAPP"
                                    | "INSTAGRAM"
                                    | "MESSENGER"
                                    | "SMS"
                                    | "TELEGRAM"
                                    | "EMAIL";
                                publish_readiness?: | null
                                | {
                                    account_review_status?: null
                                    | string;
                                    blockers?: (...)[];
                                    business_verification_status?: null | string;
                                    can_publish_flows?: boolean;
                                    can_submit_templates?: boolean;
                                    mode?: "sandbox" | "dedicated";
                                    phone_number_status?: null | string;
                                };
                                routing_mode?: "AGENT"
                                | "EXTERNAL";
                                routing_warning?: null | string;
                                status?: string;
                            };
                        flow_count?: number;
                        id?: string;
                        join_code?: string;
                        name?: string;
                        object?: "project";
                        participant_count?: number;
                        project_id?: string;
                        publish_readiness?: | null
                        | {
                            account_review_status?: null
                            | string;
                            blockers?: (
                                | "CHANNEL_NOT_CONNECTED"
                                | "MISSING_WABA"
                                | "MISSING_CHANNEL_CREDENTIALS"
                                | "META_ACCOUNT_STATUS_UNKNOWN"
                                | "BUSINESS_NOT_VERIFIED"
                                | "ACCOUNT_NOT_APPROVED"
                                | "PHONE_NOT_CONNECTED"
                                | "PHONE_STATUS_UNKNOWN"
                                | "PAYMENT_STATUS_UNKNOWN"
                                | "NO_PAYMENT_METHOD"
                                | "WHATSAPP_SENDER_NOT_READY"
                                | "SANDBOX_TEMPLATES_NOT_SUPPORTED"
                            )[];
                            business_verification_status?: null
                            | string;
                            can_publish_flows?: boolean;
                            can_submit_templates?: boolean;
                            mode?: "sandbox" | "dedicated";
                            phone_number_status?: null | string;
                        };
                        require_opt_in?: boolean;
                        routing_mode?: string;
                        updated_at?: string;
                        webhook_secret?: null
                        | string;
                        webhook_signing_enabled?: boolean;
                        webhook_url?: null | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    registrationIntentsCreate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    customer_reference?: string;
                    metadata?: { [key: string]: unknown };
                    project_id?: string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        expires_at: string;
                        id: string;
                        mode?: "test"
                        | "live";
                        object: "registration_intent";
                        prefilled_message?: string;
                        status?: "PENDING";
                        token: string;
                        wa_link: string;
                        whatsapp_number?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    registrationIntentsRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        expires_at?: string;
                        id?: string;
                        joined_at?: null
                        | string;
                        object?: "registration_intent";
                        rejection_reason?: null | string;
                        status?: "PENDING" | "EXPIRED" | "REJECTED" | "JOINED";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    submissionsList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: {
                agent_id?: string;
                flow_id?: string;
                limit?: number;
                starting_after?: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data?: {
                            agent_id?: string;
                            contact_id?: null
                            | string;
                            conversation_id?: null | string;
                            created_at?: string;
                            flow_id?: string;
                            flow_token?: string;
                            from?: null | string;
                            id?: string;
                            object?: "flow_submission";
                            status?: "RECEIVED" | "VALIDATED" | "REJECTED" | "FORWARDED";
                            submission?: { [key: string]: unknown };
                        }[];
                        has_more?: boolean;
                        object?: "list";
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    templatesCreate: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    category: "UTILITY"
                    | "MARKETING"
                    | "AUTHENTICATION";
                    channel_id: string;
                    components: { [key: string]: unknown }[];
                    language: string;
                    name: string;
                    parameter_format?: "POSITIONAL" | "NAMED";
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        approved_at?: null
                        | string;
                        category?: string;
                        channel_id?: string;
                        components?: { [key: string]: unknown };
                        created_at?: string;
                        id?: string;
                        language?: string;
                        last_synced_at?: null | string;
                        meta_template_id?: null | string;
                        name?: string;
                        object?: "whatsapp_template";
                        rejected_at?: null | string;
                        rejection_reason?: null | string;
                        status?: string;
                        submitted_at?: string;
                        updated_at?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "412": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
            "502": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    templatesList: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path?: undefined;
            query?: { channel_id?: string; status?: string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": { has_more?: boolean; object: "list" } & {
                        data?: {
                            approved_at?: null | string;
                            category?: string;
                            channel_id?: string;
                            components?: { [key: ...]: ... };
                            created_at?: string;
                            id?: string;
                            language?: string;
                            last_synced_at?: null | string;
                            meta_template_id?: null | string;
                            name?: string;
                            object?: "whatsapp_template";
                            rejected_at?: null | string;
                            rejection_reason?: null | string;
                            status?: string;
                            submitted_at?: string;
                            updated_at?: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
    templatesRetrieve: {
        parameters: {
            cookie?: undefined;
            header?: { "Wabery-Version"?: "2026-06-18" };
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        approved_at?: null
                        | string;
                        category?: string;
                        channel_id?: string;
                        components?: { [key: string]: unknown };
                        created_at?: string;
                        id?: string;
                        language?: string;
                        last_synced_at?: null | string;
                        meta_template_id?: null | string;
                        name?: string;
                        object?: "whatsapp_template";
                        rejected_at?: null | string;
                        rejection_reason?: null | string;
                        status?: string;
                        submitted_at?: string;
                        updated_at?: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: { [name: string]: unknown };
            };
            "429": {
                content: {
                    "application/json": {
                        error: string;
                        issues?: { [key: string]: unknown };
                        message?: string;
                        request_id?: string;
                        required_scope?: string;
                    } & { [key: string]: unknown };
                    "application/problem+json": {
                        code?: string;
                        detail?: string;
                        instance?: string;
                        status: number;
                        title: string;
                        type: string;
                    } & { [key: string]: unknown };
                };
                headers: {
                    "RateLimit-Limit": number;
                    "RateLimit-Remaining": number;
                    "RateLimit-Reset": number;
                    "Retry-After": number;
                    [name: string]: unknown;
                };
            };
        };
    };
}

Properties

agentPublish agentPublishReviewRetrieve broadcastsCancel broadcastsCreate broadcastsDelete broadcastsDuplicate broadcastsGet broadcastsList broadcastsListRecipients broadcastsPrepareAudience broadcastsSchedule broadcastsSend businessAgentAllowlistCreate businessAgentAllowlistDelete businessAgentAllowlistList businessAgentBusinessInfoDelete businessAgentBusinessInfoGet businessAgentBusinessInfoReplace businessAgentCapabilitiesGet businessAgentConnectorLogs businessAgentConnectorRefreshTools businessAgentConnectorRotateApiKey businessAgentConnectorRotateCertificate businessAgentConnectorRotateOAuth businessAgentConnectorsCreate businessAgentConnectorsDelete businessAgentConnectorsList businessAgentConnectorsRetrieve businessAgentConnectorsUpdate businessAgentConnectorToolRun businessAgentConnectorToolsCreate businessAgentConnectorToolsDelete businessAgentConnectorToolsList businessAgentConnectorToolsRetrieve businessAgentConnectorToolsUpdate businessAgentDeploymentsList businessAgentDeploymentsRollback businessAgentEvalReview businessAgentEventsCreate businessAgentEventsGet businessAgentFaqCreate businessAgentFaqDelete businessAgentFaqGet businessAgentFaqList businessAgentFaqUpdate businessAgentFilesDelete businessAgentFilesGet businessAgentFilesList businessAgentFilesUpload businessAgentRemoteWritesInspect businessAgentRemoteWritesResolve businessAgentsApply businessAgentsEligibility businessAgentSettingsRetrieve businessAgentSettingsUpdate businessAgentsEval businessAgentsEvalStart businessAgentSkillsCreate businessAgentSkillsDelete businessAgentSkillsGet businessAgentSkillsList businessAgentSkillsUpdate businessAgentsList businessAgentsTest businessAgentsThreadControl businessAgentsThreadControlGet businessAgentUiSkillCreate businessAgentUiSkillDelete businessAgentUiSkillGet businessAgentUiSkillList businessAgentUiSkillUpdate businessAgentWebsiteCreate businessAgentWebsiteDelete businessAgentWebsiteGet businessAgentWebsiteList businessAgentWebsiteUpdate channelsGet channelsList channelsUpdate channelsWhatsAppManagementGet channelsWhatsAppManagementMutate channelsWhatsAppUsernameDelete channelsWhatsAppUsernameGet channelsWhatsAppUsernameSet channelsWhatsAppUsernameSuggestionsList configApply configDiff configRetrieve configSchema configValidate contactImportsCreate contactImportsDownloadErrors contactImportsGet contactImportsList contactsAddConsent contactsCreate contactsDelete contactsList contactsRetrieve contactsSuppress contactsUpdate conversationMessagesList conversationsList conversationsRetrieve conversationsSetHandoff dispatchesList dispatchesRetrieve flowsDelete flowsEvents flowsList flowsPublish flowsRetrieve flowsSend flowsSendByConfigKey functionsCreate functionsDelete functionsDeploy functionsGet functionsInvoke functionsList functionsLogs functionsTest functionsUpdate getIdentity groupsCreate groupsDelete groupsInviteLinkReset groupsInviteLinkRetrieve groupsJoinRequestsApprove groupsJoinRequestsList groupsJoinRequestsReject groupsList groupsParticipantsRemove groupsRetrieve groupsSettingsUpdate limitsRetrieve messagesGet messagesSend onboardingHandoffsCreate onboardingHandoffsRetrieve onboardingRetrieve projectsGet projectsGetReadiness projectsList projectsRotateWebhookSecret projectsUpdate registrationIntentsCreate registrationIntentsRetrieve submissionsList templatesCreate templatesList templatesRetrieve

Properties

agentPublish: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                approve_all_live_channels?: boolean;
                approve_automations_only?: boolean;
                approve_routing_switch?: boolean;
                configuration_version: number;
                customer_confirmed: true;
                deployment_id?: string;
                draft_revision_id: null
                | string;
                project_id?: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id?: string;
                    deployment_id?: string;
                    object?: "hosted_agent_publish";
                    project_id?: string;
                    published_changes?: string[];
                    status?: "live"
                    | "waiting_for_channel";
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
agentPublishReviewRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: { project_id?: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    agent_id?: null
                    | string;
                    agent_name?: null | string;
                    blockers?: string[];
                    changes?: string[];
                    configuration_version?: null | number;
                    deployments?: {
                        approvals_required?: ((...) | (...))[];
                        channel_connected?: boolean;
                        channel_id?: string;
                        channel_name?: null | string;
                        id?: string;
                        phone_number?: null | string;
                        platform?: string;
                        status?: "live" | "draft" | "paused";
                    }[];
                    draft_revision_id?: null
                    | string;
                    has_unpublished_changes?: boolean;
                    live_since?: null | string;
                    object?: "hosted_agent_publish_review";
                    project_id?: string;
                    publishable?: boolean;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
broadcastsCancel: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
broadcastsCreate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                category: "UTILITY"
                | "MARKETING";
                channelId: string;
                fallbackLanguage: string;
                name: string;
                templateName: string;
                variants: {
                    language: string;
                    parameterMappings: { [key: string]: unknown }[];
                    templateId: string;
                }[];
            };
        };
    };
    responses: {
        "201": {
            content: {
                "application/json": {
                    canceled_at?: null
                    | string;
                    category: "marketing" | "utility";
                    channel_id?: string;
                    completed_at?: null | string;
                    counts: { [key: string]: number };
                    created_at?: string;
                    failure?: null | { code?: null | string; message?: null | string };
                    fallback_language?: string;
                    id: string;
                    name: string;
                    object: "broadcast";
                    schedule_timezone?: null | string;
                    scheduled_at?: null | string;
                    started_at?: null | string;
                    status:
                        | "completed"
                        | "ready"
                        | "draft"
                        | "preparing"
                        | "scheduled"
                        | "sending"
                        | "canceled"
                        | "failed";
                    template_name?: string;
                    updated_at?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
broadcastsDelete: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
broadcastsDuplicate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "201": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
broadcastsGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    canceled_at?: null
                    | string;
                    category: "marketing" | "utility";
                    channel_id?: string;
                    completed_at?: null | string;
                    counts: { [key: string]: number };
                    created_at?: string;
                    failure?: null | { code?: null | string; message?: null | string };
                    fallback_language?: string;
                    id: string;
                    name: string;
                    object: "broadcast";
                    schedule_timezone?: null | string;
                    scheduled_at?: null | string;
                    started_at?: null | string;
                    status:
                        | "completed"
                        | "ready"
                        | "draft"
                        | "preparing"
                        | "scheduled"
                        | "sending"
                        | "canceled"
                        | "failed";
                    template_name?: string;
                    updated_at?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
broadcastsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
broadcastsListRecipients: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
broadcastsPrepareAudience: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                contactIds?: string[];
                excludeContactIds?: string[];
                filter?: { [key: string]: unknown };
                importId?: string;
            };
        };
    };
    responses: {
        "202": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
broadcastsSchedule: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": { scheduledAt: string; timezone: string };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
broadcastsSend: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "202": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentAllowlistCreate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody: {
        content: { "application/json": { consumer_phone_number: string } };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentAllowlistDelete: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentAllowlistList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentBusinessInfoDelete: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentBusinessInfoGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentBusinessInfoReplace: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody: {
        content: { "application/json": { [key: string]: unknown } };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentCapabilitiesGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentConnectorLogs: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentConnectorRefreshTools: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentConnectorRotateApiKey: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query: { business_agent_id: string };
    };
    requestBody: {
        content: {
            "application/json": { api_key_config: { [key: string]: unknown } };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentConnectorRotateCertificate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query: { business_agent_id: string };
    };
    requestBody: {
        content: {
            "application/json": {
                ca_certificate?: string;
                client_certificate: string;
                client_key: string;
            };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentConnectorRotateOAuth: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query: { business_agent_id: string };
    };
    requestBody: {
        content: {
            "application/json": {
                oauth_config: {
                    client_id: string;
                    client_secret: string;
                    scopes_to_request: string[];
                    token_url: string;
                };
            };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentConnectorsCreate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                business_agent_id: string;
                config?: { [key: string]: unknown };
                name: string;
                status?: string;
                type: string;
            } & { [key: string]: unknown };
        };
    };
    responses: {
        "201": {
            content: {
                "application/json": {
                    business_agent_id: string;
                    config?: null
                    | { [key: string]: unknown };
                    created_at: string;
                    id: string;
                    meta_connector_id?: null | string;
                    name: string;
                    object: "business_agent_connector";
                    status: string;
                    tools?: {
                        backing_flow_id?: null | string;
                        backing_function_id?: null | string;
                        backing_function_version_id: null | string;
                        backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                        connector_id: string;
                        created_at: string;
                        description?: null | string;
                        id: string;
                        input_schema?: null | { [key: string]: unknown };
                        meta_tool_id?: null | string;
                        name: string;
                        object: "business_agent_connector_tool";
                        updated_at: string;
                    }[];
                    type: string;
                    updated_at: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentConnectorsDelete: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    deleted: boolean;
                    id: string;
                    meta_deleted: boolean;
                    object: "business_agent_connector";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentConnectorsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: { business_agent_id?: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { has_more?: boolean; object: "list" } & {
                    data?: {
                        business_agent_id: string;
                        config?: null | { [key: ...]: ... };
                        created_at: string;
                        id: string;
                        meta_connector_id?: null | string;
                        name: string;
                        object: "business_agent_connector";
                        status: string;
                        tools?: (...)[];
                        type: string;
                        updated_at: string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentConnectorsRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    business_agent_id: string;
                    config?: null
                    | { [key: string]: unknown };
                    created_at: string;
                    id: string;
                    meta_connector_id?: null | string;
                    name: string;
                    object: "business_agent_connector";
                    status: string;
                    tools?: {
                        backing_flow_id?: null | string;
                        backing_function_id?: null | string;
                        backing_function_version_id: null | string;
                        backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                        connector_id: string;
                        created_at: string;
                        description?: null | string;
                        id: string;
                        input_schema?: null | { [key: string]: unknown };
                        meta_tool_id?: null | string;
                        name: string;
                        object: "business_agent_connector_tool";
                        updated_at: string;
                    }[];
                    type: string;
                    updated_at: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentConnectorsUpdate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                config?: { [key: string]: unknown };
                name?: string;
                status?: string;
                type?: string;
            } & { [key: string]: unknown };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    business_agent_id: string;
                    config?: null
                    | { [key: string]: unknown };
                    created_at: string;
                    id: string;
                    meta_connector_id?: null | string;
                    name: string;
                    object: "business_agent_connector";
                    status: string;
                    tools?: {
                        backing_flow_id?: null | string;
                        backing_function_id?: null | string;
                        backing_function_version_id: null | string;
                        backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                        connector_id: string;
                        created_at: string;
                        description?: null | string;
                        id: string;
                        input_schema?: null | { [key: string]: unknown };
                        meta_tool_id?: null | string;
                        name: string;
                        object: "business_agent_connector_tool";
                        updated_at: string;
                    }[];
                    type: string;
                    updated_at: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentConnectorToolRun: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string; toolId: string };
        query: { business_agent_id: string };
    };
    requestBody: {
        content: {
            "application/json": { arguments: { [key: string]: unknown } };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentConnectorToolsCreate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                backing_flow_id?: string;
                backing_function_id?: string;
                backing_type: "FLOW"
                | "API_ENDPOINT"
                | "NOOP"
                | "HOSTED_FUNCTION";
                config?: { [key: string]: unknown };
                description?: string;
                input_schema?: { [key: string]: unknown };
                name: string;
            } & { [key: string]: unknown };
        };
    };
    responses: {
        "201": {
            content: {
                "application/json": {
                    backing_flow_id?: null
                    | string;
                    backing_function_id?: null | string;
                    backing_function_version_id: null | string;
                    backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                    connector_id: string;
                    created_at: string;
                    description?: null | string;
                    id: string;
                    input_schema?: null | { [key: string]: unknown };
                    meta_tool_id?: null | string;
                    name: string;
                    object: "business_agent_connector_tool";
                    updated_at: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentConnectorToolsDelete: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string; toolId: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    deleted: boolean;
                    id: string;
                    meta_deleted: boolean;
                    object: "business_agent_connector_tool";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentConnectorToolsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { has_more?: boolean; object: "list" } & {
                    data?: {
                        backing_flow_id?: null | string;
                        backing_function_id?: null | string;
                        backing_function_version_id: null | string;
                        backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                        connector_id: string;
                        created_at: string;
                        description?: null | string;
                        id: string;
                        input_schema?: null | { [key: ...]: ... };
                        meta_tool_id?: null | string;
                        name: string;
                        object: "business_agent_connector_tool";
                        updated_at: string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentConnectorToolsRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string; toolId: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    backing_flow_id?: null
                    | string;
                    backing_function_id?: null | string;
                    backing_function_version_id: null | string;
                    backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                    connector_id: string;
                    created_at: string;
                    description?: null | string;
                    id: string;
                    input_schema?: null | { [key: string]: unknown };
                    meta_tool_id?: null | string;
                    name: string;
                    object: "business_agent_connector_tool";
                    updated_at: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentConnectorToolsUpdate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string; toolId: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                backing_flow_id?: null
                | string;
                backing_function_id?: null | string;
                backing_type?: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                config?: { [key: string]: unknown };
                description?: null | string;
                input_schema?: null | { [key: string]: unknown };
                name?: string;
            } & { [key: string]: unknown };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    backing_flow_id?: null
                    | string;
                    backing_function_id?: null | string;
                    backing_function_version_id: null | string;
                    backing_type: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION";
                    connector_id: string;
                    created_at: string;
                    description?: null | string;
                    id: string;
                    input_schema?: null | { [key: string]: unknown };
                    meta_tool_id?: null | string;
                    name: string;
                    object: "business_agent_connector_tool";
                    updated_at: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentDeploymentsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: { business_agent_id?: string; cursor?: string; limit?: number };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentDeploymentsRollback: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentEvalReview: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentEventsCreate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody: {
        content: { "application/json": { [key: string]: unknown } };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentEventsGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { eventId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentFaqCreate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody: {
        content: { "application/json": { [key: string]: unknown } };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentFaqDelete: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentFaqGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentFaqList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentFaqUpdate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody: {
        content: { "application/json": { [key: string]: unknown } };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentFilesDelete: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentFilesGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentFilesList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentFilesUpload: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentRemoteWritesInspect: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: { limit?: number; operation_id?: string; starting_after?: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentRemoteWritesResolve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { operation_id: string };
    };
    requestBody: {
        content: {
            "application/json": {
                action: "adopt"
                | "resolve";
                approved: true;
                remote_id: string;
            };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentsApply: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                channel_id: string;
                enabled?: boolean;
                handoff?: { [key: string]: unknown };
                knowledge?: { [key: string]: unknown };
                language?: string;
                persona?: string;
            } & { [key: string]: unknown };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id: string;
                    created_at: string;
                    eligibility?: null
                    | { [key: string]: unknown };
                    error_message?: null | string;
                    id: string;
                    meta_agent_id?: null | string;
                    object: "business_agent";
                    project_id: string;
                    settings?: null | { [key: string]: unknown };
                    status: "DRAFT" | "PROVISIONING" | "ACTIVE" | "DISABLED" | "ERROR";
                    updated_at: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    channel_id: string;
                    created_at: string;
                    eligibility?: null
                    | { [key: string]: unknown };
                    error_message?: null | string;
                    id: string;
                    meta_agent_id?: null | string;
                    object: "business_agent";
                    project_id: string;
                    settings?: null | { [key: string]: unknown };
                    status: "DRAFT" | "PROVISIONING" | "ACTIVE" | "DISABLED" | "ERROR";
                    updated_at: string;
                };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentsEligibility: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { channel_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id: string;
                    eligibility: { [key: string]: unknown };
                    object: "business_agent_eligibility";
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentSettingsRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    business_agent_id: string;
                    object: "business_agent_settings";
                    settings: { [key: string]: unknown };
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentSettingsUpdate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                enabled?: boolean;
                handoff?: { [key: string]: unknown };
                knowledge?: { [key: string]: unknown };
                language?: string;
                persona?: string;
            } & { [key: string]: unknown };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    business_agent_id: string;
                    object: "business_agent_settings";
                    settings: { [key: string]: unknown };
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentsEval: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: {
            business_agent_id: string;
            operation?: "cases" | "run" | "details" | "summary" | "jobs" | "job";
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    business_agent_id: string;
                    object: "business_agent_eval";
                    result: { [key: string]: unknown };
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentsEvalStart: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody: {
        content: { "application/json": { [key: string]: unknown } };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentSkillsCreate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody: {
        content: {
            "application/json": {
                description?: string;
                skill?: string;
                title?: string;
            };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentSkillsDelete: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { skillId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentSkillsGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { skillId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentSkillsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentSkillsUpdate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { skillId: string };
        query: { business_agent_id: string };
    };
    requestBody: {
        content: {
            "application/json": {
                description?: string;
                skill?: string;
                title?: string;
            };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: { channel_id?: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { has_more?: boolean; object: "list" } & {
                    data?: {
                        channel_id: string;
                        created_at: string;
                        eligibility?: null | { [key: ...]: ... };
                        error_message?: null | string;
                        id: string;
                        meta_agent_id?: null | string;
                        object: "business_agent";
                        project_id: string;
                        settings?: null | { [key: ...]: ... };
                        status: "DRAFT" | "PROVISIONING" | "ACTIVE" | "DISABLED" | "ERROR";
                        updated_at: string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentsTest: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                business_agent_id: string;
                conversation_id?: string;
                user_msg: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    business_agent_id: string;
                    object: "business_agent_test";
                    result: { [key: string]: unknown };
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentsThreadControl: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                action: "take"
                | "release"
                | "pass";
                business_agent_id?: string;
                channel_id: string;
                contact_id: string;
                metadata?: string;
                pass_to_meta?: boolean;
                reason?: string;
                to: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    business_agent_id?: null
                    | string;
                    channel_id: string;
                    contact_id: string;
                    created_at: string;
                    id: string;
                    meta_result?: { messaging_product?: string; request_id?: string } & {
                        [key: string]: unknown;
                    };
                    meta_thread_id?: null
                    | string;
                    object: "thread_control_state";
                    observation?: "local";
                    operation_id?: string;
                    owner:
                        | "META_AGENT"
                        | "WABERY"
                        | "BUSINESS_INBOX"
                        | "UNKNOWN"
                        | "PENDING";
                    project_id: string;
                    reason?: null
                    | string;
                    replayed?: boolean;
                    updated_at: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "500": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentsThreadControlGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { channel_id: string; contact_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    business_agent_id?: null
                    | string;
                    channel_id: string;
                    contact_id: string;
                    created_at: string;
                    id: string;
                    meta_result?: { messaging_product?: string; request_id?: string } & {
                        [key: string]: unknown;
                    };
                    meta_thread_id?: null
                    | string;
                    object: "thread_control_state";
                    observation?: "local";
                    operation_id?: string;
                    owner:
                        | "META_AGENT"
                        | "WABERY"
                        | "BUSINESS_INBOX"
                        | "UNKNOWN"
                        | "PENDING";
                    project_id: string;
                    reason?: null
                    | string;
                    replayed?: boolean;
                    updated_at: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
businessAgentUiSkillCreate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody: {
        content: { "application/json": { [key: string]: unknown } };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentUiSkillDelete: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentUiSkillGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentUiSkillList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentUiSkillUpdate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody: {
        content: { "application/json": { [key: string]: unknown } };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentWebsiteCreate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody: {
        content: { "application/json": { [key: string]: unknown } };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentWebsiteDelete: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentWebsiteGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentWebsiteList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query: { business_agent_id: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
businessAgentWebsiteUpdate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { remoteId: string };
        query: { business_agent_id: string };
    };
    requestBody: {
        content: { "application/json": { [key: string]: unknown } };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
channelsGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id?: string;
                    display_name?: null
                    | string;
                    id?: string;
                    is_sandbox?: boolean;
                    number_mode?: string;
                    object?: "channel";
                    phone_number?: null | string;
                    platform?:
                        | "WHATSAPP"
                        | "INSTAGRAM"
                        | "MESSENGER"
                        | "SMS"
                        | "TELEGRAM"
                        | "EMAIL";
                    publish_readiness?: | null
                    | {
                        account_review_status?: null
                        | string;
                        blockers?: (
                            | "CHANNEL_NOT_CONNECTED"
                            | "MISSING_WABA"
                            | "MISSING_CHANNEL_CREDENTIALS"
                            | "META_ACCOUNT_STATUS_UNKNOWN"
                            | "BUSINESS_NOT_VERIFIED"
                            | "ACCOUNT_NOT_APPROVED"
                            | "PHONE_NOT_CONNECTED"
                            | "PHONE_STATUS_UNKNOWN"
                            | "PAYMENT_STATUS_UNKNOWN"
                            | "NO_PAYMENT_METHOD"
                            | "WHATSAPP_SENDER_NOT_READY"
                            | "SANDBOX_TEMPLATES_NOT_SUPPORTED"
                        )[];
                        business_verification_status?: null
                        | string;
                        can_publish_flows?: boolean;
                        can_submit_templates?: boolean;
                        mode?: "sandbox" | "dedicated";
                        phone_number_status?: null | string;
                    };
                    routing_mode?: "AGENT"
                    | "EXTERNAL";
                    routing_warning?: null | string;
                    status?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
channelsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { has_more?: boolean; object: "list" } & {
                    data?: {
                        channel_id?: string;
                        display_name?: null | string;
                        id?: string;
                        is_sandbox?: boolean;
                        number_mode?: string;
                        object?: "channel";
                        phone_number?: null | string;
                        platform?:
                            | "WHATSAPP"
                            | "INSTAGRAM"
                            | "MESSENGER"
                            | "SMS"
                            | "TELEGRAM"
                            | "EMAIL";
                        publish_readiness?: | null
                        | {
                            account_review_status?: ...;
                            blockers?: ...;
                            business_verification_status?: ...;
                            can_publish_flows?: ...;
                            can_submit_templates?: ...;
                            mode?: ...;
                            phone_number_status?: ...;
                        };
                        routing_mode?: "AGENT"
                        | "EXTERNAL";
                        routing_warning?: null | string;
                        status?: string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
channelsUpdate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": { routing_mode?: "AGENT"
            | "EXTERNAL" };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id?: string;
                    display_name?: null
                    | string;
                    id?: string;
                    is_sandbox?: boolean;
                    number_mode?: string;
                    object?: "channel";
                    phone_number?: null | string;
                    platform?:
                        | "WHATSAPP"
                        | "INSTAGRAM"
                        | "MESSENGER"
                        | "SMS"
                        | "TELEGRAM"
                        | "EMAIL";
                    publish_readiness?: | null
                    | {
                        account_review_status?: null
                        | string;
                        blockers?: (
                            | "CHANNEL_NOT_CONNECTED"
                            | "MISSING_WABA"
                            | "MISSING_CHANNEL_CREDENTIALS"
                            | "META_ACCOUNT_STATUS_UNKNOWN"
                            | "BUSINESS_NOT_VERIFIED"
                            | "ACCOUNT_NOT_APPROVED"
                            | "PHONE_NOT_CONNECTED"
                            | "PHONE_STATUS_UNKNOWN"
                            | "PAYMENT_STATUS_UNKNOWN"
                            | "NO_PAYMENT_METHOD"
                            | "WHATSAPP_SENDER_NOT_READY"
                            | "SANDBOX_TEMPLATES_NOT_SUPPORTED"
                        )[];
                        business_verification_status?: null
                        | string;
                        can_publish_flows?: boolean;
                        can_submit_templates?: boolean;
                        mode?: "sandbox" | "dedicated";
                        phone_number_status?: null | string;
                    };
                    routing_mode?: "AGENT"
                    | "EXTERNAL";
                    routing_warning?: null | string;
                    status?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
channelsWhatsAppManagementGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query: {
            after?: string;
            allocation_id?: string;
            before?: string;
            fields?: string;
            format?: "PNG" | "SVG";
            include_sip_credentials?: boolean;
            limit?: number;
            operation:
                | "business_profile"
                | "commerce_settings"
                | "qr_codes"
                | "qr_code"
                | "webhook_subscriptions"
                | "phone_number"
                | "phone_numbers"
                | "waba"
                | "owned_wabas"
                | "shared_wabas"
                | "assigned_users"
                | "analytics"
                | "credit_lines"
                | "credit_line_allocation"
                | "calling_settings"
                | "call_permissions"
                | "blocked_users";
            qr_code_id?: string;
            recipient?: string;
            user_wa_id?: string;
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
channelsWhatsAppManagementMutate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                input?: { [key: string]: unknown };
                operation:
                    | "update_business_profile"
                    | "update_commerce_settings"
                    | "create_qr_code"
                    | "update_qr_code"
                    | "delete_qr_code"
                    | "delete_media"
                    | "register_phone"
                    | "deregister_phone"
                    | "request_verification_code"
                    | "verify_code"
                    | "set_two_step_verification"
                    | "subscribe_webhooks"
                    | "unsubscribe_webhooks"
                    | "override_webhook_callback"
                    | "assign_waba_user"
                    | "unassign_waba_user"
                    | "update_calling_settings"
                    | "manage_call"
                    | "block_users"
                    | "unblock_users";
            };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
channelsWhatsAppUsernameDelete: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id: string;
                    last_checked_at: string;
                    object: "whatsapp_username";
                    status: null
                    | "approved"
                    | "reserved";
                    username: null | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
channelsWhatsAppUsernameGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id: string;
                    last_checked_at: string;
                    object: "whatsapp_username";
                    status: null
                    | "approved"
                    | "reserved";
                    username: null | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
channelsWhatsAppUsernameSet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                transfer_action?: "none"
                | "force_transfer";
                username: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id: string;
                    last_checked_at: string;
                    object: "whatsapp_username";
                    status: null
                    | "approved"
                    | "reserved";
                    username: null | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
channelsWhatsAppUsernameSuggestionsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id: string;
                    data: string[];
                    object: "list";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
configApply: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                $schema?: string;
                automations: {
                    active?: boolean;
                    key: string;
                    name: string;
                    steps: (
                        | { send_reply: { buttons?: (...)
                        | (...); text: string } }
                        | { delay: { minutes: number } }
                        | {
                            wait_reply: {
                                options?: (...) | (...);
                                timeout_hours?: (...) | (...);
                            };
                        }
                        | { pause_replies: { reason?: (...)
                        | (...) } }
                        | {
                            send_flow: {
                                body_text?: (...) | (...);
                                flow: string;
                                flow_cta?: (...) | (...);
                                footer_text?: (...) | (...);
                                header_text?: (...) | (...);
                            };
                        }
                        | {
                            run_function: {
                                function: string;
                                reply_field?: (...)
                                | (...);
                                result_mode?: (...) | (...) | (...) | (...);
                                variable_name?: (...) | (...);
                            };
                        }
                    )[];
                    trigger: {
                        keywords?: string[];
                        match_mode?: "EXACT"
                        | "CONTAINS"
                        | "CONTAINS_WORD";
                        type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                    };
                }[];
                business_agent?: {
                    channel_id?: string;
                    connectors?: { [key: string]: unknown }[];
                    enabled: boolean;
                    faqs?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                    operation_id: string;
                    settings: {
                        enabled?: boolean;
                        handoff?: { [key: string]: unknown };
                        knowledge?: { [key: string]: unknown };
                        language?: string;
                        persona?: string;
                    } & { [key: string]: unknown };
                    skills?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                    ui_skills?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                    websites?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                };
                flows: {
                    agent_id?: string;
                    data_exchange_url?: null
                    | string;
                    description?: string;
                    draft?: { entryScreenId?: string; screens?: (...)[] } & {
                        [key: string]: unknown;
                    };
                    flow_json?: { screens?: (...)[]; version?: string } & {
                        [key: string]: unknown;
                    };
                    key: string;
                    locale?: string;
                    name: string;
                    project_id?: string;
                    runtime_mode?: "STATIC"
                    | "DATA_EXCHANGE";
                }[];
                hosted_agents?: {
                    allowed_topics: string[];
                    channel_ids: string[];
                    conversation_messages?: {
                        cannot_listen?: string;
                        clarification: string;
                        farewell: string;
                        greeting: string;
                        out_of_scope: string;
                    };
                    fallback: {
                        automation_id?: string;
                        message?: string;
                        policy: "SILENT"
                        | "CLARIFICATION"
                        | "HUMAN_HANDOFF"
                        | "AUTOMATION";
                    };
                    instructions: string;
                    key: string;
                    knowledge: {
                        content?: string;
                        title: string;
                        type: "TEXT"
                        | "FAQ"
                        | "URL";
                        url?: string;
                    }[];
                    language: string;
                    max_input_chars: number;
                    max_output_tokens: number;
                    max_run_cost_micros: number;
                    model: string;
                    monthly_budget_micros: number;
                    name: string;
                    project_id?: string;
                    purpose?: string;
                    status?: "DRAFT"
                    | "DISABLED";
                }[];
                project_id?: string;
                require_opt_in?: boolean;
                version?: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    applied?: {
                        hosted_agents?: {
                            action_required?: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            ai_enabled: boolean;
                            id: string;
                            key?: (...) | (...);
                            project_id: string;
                            runtime_mode: (...) | (...) | (...);
                            status?: (...) | (...);
                        }[];
                    };
                    config?: {
                        $schema?: string;
                        automations: {
                            active?: boolean;
                            key: string;
                            name: string;
                            steps: ((...) | (...) | (...) | (...) | (...) | (...))[];
                            trigger: {
                                keywords?: (...) | (...);
                                match_mode?: (...) | (...) | (...) | (...);
                                type: (...) | (...) | (...);
                            };
                        }[];
                        business_agent?: {
                            channel_id?: string;
                            connectors?: (...)[];
                            enabled: boolean;
                            faqs?: (...)[];
                            operation_id: string;
                            settings: {
                                enabled?: ...;
                                handoff?: ...;
                                knowledge?: ...;
                                language?: ...;
                                persona?: ...;
                            } & { [key: ...]: ... };
                            skills?: (...)[];
                            ui_skills?: (...)[];
                            websites?: (...)[];
                        };
                        flows: {
                            agent_id?: string;
                            data_exchange_url?: null
                            | string;
                            description?: string;
                            draft?: (...) & (...);
                            flow_json?: (...) & (...);
                            key: string;
                            locale?: string;
                            name: string;
                            project_id?: string;
                            runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                        }[];
                        hosted_agents?: {
                            allowed_topics: (...)[];
                            channel_ids: (...)[];
                            conversation_messages?: (...) | (...);
                            fallback: { automation_id?: ...; message?: ...; policy: ... };
                            instructions: string;
                            key: string;
                            knowledge: (...)[];
                            language: string;
                            max_input_chars: number;
                            max_output_tokens: number;
                            max_run_cost_micros: number;
                            model: string;
                            monthly_budget_micros: number;
                            name: string;
                            project_id?: (...) | (...);
                            purpose?: (...) | (...);
                            status?: (...) | (...) | (...);
                        }[];
                        project_id?: string;
                        require_opt_in?: boolean;
                        version?: string;
                    };
                    diff: {
                        action?: "delete"
                        | "create"
                        | "update"
                        | "unchanged";
                        details?: string[];
                        key?: string;
                        requiresActivation?: boolean;
                        risk?: "low" | "medium" | "high";
                        type?:
                            | "business_agent"
                            | "business_agent_connector"
                            | "flow"
                            | "project"
                            | "hosted_agent"
                            | "hosted_agent_assignment"
                            | "hosted_agent_knowledge"
                            | "automation"
                            | "webhook"
                            | "business_agent_tool";
                    }[];
                    issues: {
                        message?: string;
                        path?: string;
                        severity?: "warning"
                        | "error";
                    }[];
                    object: "config_apply";
                    valid: boolean;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    applied?: {
                        hosted_agents?: {
                            action_required?: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            ai_enabled: boolean;
                            id: string;
                            key?: (...) | (...);
                            project_id: string;
                            runtime_mode: (...) | (...) | (...);
                            status?: (...) | (...);
                        }[];
                    };
                    config?: {
                        $schema?: string;
                        automations: {
                            active?: boolean;
                            key: string;
                            name: string;
                            steps: ((...) | (...) | (...) | (...) | (...) | (...))[];
                            trigger: {
                                keywords?: (...) | (...);
                                match_mode?: (...) | (...) | (...) | (...);
                                type: (...) | (...) | (...);
                            };
                        }[];
                        business_agent?: {
                            channel_id?: string;
                            connectors?: (...)[];
                            enabled: boolean;
                            faqs?: (...)[];
                            operation_id: string;
                            settings: {
                                enabled?: ...;
                                handoff?: ...;
                                knowledge?: ...;
                                language?: ...;
                                persona?: ...;
                            } & { [key: ...]: ... };
                            skills?: (...)[];
                            ui_skills?: (...)[];
                            websites?: (...)[];
                        };
                        flows: {
                            agent_id?: string;
                            data_exchange_url?: null
                            | string;
                            description?: string;
                            draft?: (...) & (...);
                            flow_json?: (...) & (...);
                            key: string;
                            locale?: string;
                            name: string;
                            project_id?: string;
                            runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                        }[];
                        hosted_agents?: {
                            allowed_topics: (...)[];
                            channel_ids: (...)[];
                            conversation_messages?: (...) | (...);
                            fallback: { automation_id?: ...; message?: ...; policy: ... };
                            instructions: string;
                            key: string;
                            knowledge: (...)[];
                            language: string;
                            max_input_chars: number;
                            max_output_tokens: number;
                            max_run_cost_micros: number;
                            model: string;
                            monthly_budget_micros: number;
                            name: string;
                            project_id?: (...) | (...);
                            purpose?: (...) | (...);
                            status?: (...) | (...) | (...);
                        }[];
                        project_id?: string;
                        require_opt_in?: boolean;
                        version?: string;
                    };
                    diff: {
                        action?: "delete"
                        | "create"
                        | "update"
                        | "unchanged";
                        details?: string[];
                        key?: string;
                        requiresActivation?: boolean;
                        risk?: "low" | "medium" | "high";
                        type?:
                            | "business_agent"
                            | "business_agent_connector"
                            | "flow"
                            | "project"
                            | "hosted_agent"
                            | "hosted_agent_assignment"
                            | "hosted_agent_knowledge"
                            | "automation"
                            | "webhook"
                            | "business_agent_tool";
                    }[];
                    issues: {
                        message?: string;
                        path?: string;
                        severity?: "warning"
                        | "error";
                    }[];
                    object: "config_apply";
                    valid: boolean;
                };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
configDiff: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                $schema?: string;
                automations: {
                    active?: boolean;
                    key: string;
                    name: string;
                    steps: (
                        | { send_reply: { buttons?: (...)
                        | (...); text: string } }
                        | { delay: { minutes: number } }
                        | {
                            wait_reply: {
                                options?: (...) | (...);
                                timeout_hours?: (...) | (...);
                            };
                        }
                        | { pause_replies: { reason?: (...)
                        | (...) } }
                        | {
                            send_flow: {
                                body_text?: (...) | (...);
                                flow: string;
                                flow_cta?: (...) | (...);
                                footer_text?: (...) | (...);
                                header_text?: (...) | (...);
                            };
                        }
                        | {
                            run_function: {
                                function: string;
                                reply_field?: (...)
                                | (...);
                                result_mode?: (...) | (...) | (...) | (...);
                                variable_name?: (...) | (...);
                            };
                        }
                    )[];
                    trigger: {
                        keywords?: string[];
                        match_mode?: "EXACT"
                        | "CONTAINS"
                        | "CONTAINS_WORD";
                        type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                    };
                }[];
                business_agent?: {
                    channel_id?: string;
                    connectors?: { [key: string]: unknown }[];
                    enabled: boolean;
                    faqs?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                    operation_id: string;
                    settings: {
                        enabled?: boolean;
                        handoff?: { [key: string]: unknown };
                        knowledge?: { [key: string]: unknown };
                        language?: string;
                        persona?: string;
                    } & { [key: string]: unknown };
                    skills?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                    ui_skills?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                    websites?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                };
                flows: {
                    agent_id?: string;
                    data_exchange_url?: null
                    | string;
                    description?: string;
                    draft?: { entryScreenId?: string; screens?: (...)[] } & {
                        [key: string]: unknown;
                    };
                    flow_json?: { screens?: (...)[]; version?: string } & {
                        [key: string]: unknown;
                    };
                    key: string;
                    locale?: string;
                    name: string;
                    project_id?: string;
                    runtime_mode?: "STATIC"
                    | "DATA_EXCHANGE";
                }[];
                hosted_agents?: {
                    allowed_topics: string[];
                    channel_ids: string[];
                    conversation_messages?: {
                        cannot_listen?: string;
                        clarification: string;
                        farewell: string;
                        greeting: string;
                        out_of_scope: string;
                    };
                    fallback: {
                        automation_id?: string;
                        message?: string;
                        policy: "SILENT"
                        | "CLARIFICATION"
                        | "HUMAN_HANDOFF"
                        | "AUTOMATION";
                    };
                    instructions: string;
                    key: string;
                    knowledge: {
                        content?: string;
                        title: string;
                        type: "TEXT"
                        | "FAQ"
                        | "URL";
                        url?: string;
                    }[];
                    language: string;
                    max_input_chars: number;
                    max_output_tokens: number;
                    max_run_cost_micros: number;
                    model: string;
                    monthly_budget_micros: number;
                    name: string;
                    project_id?: string;
                    purpose?: string;
                    status?: "DRAFT"
                    | "DISABLED";
                }[];
                project_id?: string;
                require_opt_in?: boolean;
                version?: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    diff: {
                        action?: "delete"
                        | "create"
                        | "update"
                        | "unchanged";
                        details?: string[];
                        key?: string;
                        requiresActivation?: boolean;
                        risk?: "low" | "medium" | "high";
                        type?:
                            | "business_agent"
                            | "business_agent_connector"
                            | "flow"
                            | "project"
                            | "hosted_agent"
                            | "hosted_agent_assignment"
                            | "hosted_agent_knowledge"
                            | "automation"
                            | "webhook"
                            | "business_agent_tool";
                    }[];
                    issues: {
                        message?: string;
                        path?: string;
                        severity?: "warning"
                        | "error";
                    }[];
                    object: "config_diff";
                    valid: boolean;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    diff: {
                        action?: "delete"
                        | "create"
                        | "update"
                        | "unchanged";
                        details?: string[];
                        key?: string;
                        requiresActivation?: boolean;
                        risk?: "low" | "medium" | "high";
                        type?:
                            | "business_agent"
                            | "business_agent_connector"
                            | "flow"
                            | "project"
                            | "hosted_agent"
                            | "hosted_agent_assignment"
                            | "hosted_agent_knowledge"
                            | "automation"
                            | "webhook"
                            | "business_agent_tool";
                    }[];
                    issues: {
                        message?: string;
                        path?: string;
                        severity?: "warning"
                        | "error";
                    }[];
                    object: "config_diff";
                    valid: boolean;
                };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
configRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    config?: {
                        $schema?: string;
                        automations: {
                            active?: boolean;
                            key: string;
                            name: string;
                            steps: ((...) | (...) | (...) | (...) | (...) | (...))[];
                            trigger: {
                                keywords?: (...) | (...);
                                match_mode?: (...) | (...) | (...) | (...);
                                type: (...) | (...) | (...);
                            };
                        }[];
                        business_agent?: {
                            channel_id?: string;
                            connectors?: (...)[];
                            enabled: boolean;
                            faqs?: (...)[];
                            operation_id: string;
                            settings: {
                                enabled?: ...;
                                handoff?: ...;
                                knowledge?: ...;
                                language?: ...;
                                persona?: ...;
                            } & { [key: ...]: ... };
                            skills?: (...)[];
                            ui_skills?: (...)[];
                            websites?: (...)[];
                        };
                        flows: {
                            agent_id?: string;
                            data_exchange_url?: null
                            | string;
                            description?: string;
                            draft?: (...) & (...);
                            flow_json?: (...) & (...);
                            key: string;
                            locale?: string;
                            name: string;
                            project_id?: string;
                            runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                        }[];
                        hosted_agents?: {
                            allowed_topics: (...)[];
                            channel_ids: (...)[];
                            conversation_messages?: (...) | (...);
                            fallback: { automation_id?: ...; message?: ...; policy: ... };
                            instructions: string;
                            key: string;
                            knowledge: (...)[];
                            language: string;
                            max_input_chars: number;
                            max_output_tokens: number;
                            max_run_cost_micros: number;
                            model: string;
                            monthly_budget_micros: number;
                            name: string;
                            project_id?: (...) | (...);
                            purpose?: (...) | (...);
                            status?: (...) | (...) | (...);
                        }[];
                        project_id?: string;
                        require_opt_in?: boolean;
                        version?: string;
                    };
                    object?: "wabery_config";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
configSchema: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
configValidate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                $schema?: string;
                automations: {
                    active?: boolean;
                    key: string;
                    name: string;
                    steps: (
                        | { send_reply: { buttons?: (...)
                        | (...); text: string } }
                        | { delay: { minutes: number } }
                        | {
                            wait_reply: {
                                options?: (...) | (...);
                                timeout_hours?: (...) | (...);
                            };
                        }
                        | { pause_replies: { reason?: (...)
                        | (...) } }
                        | {
                            send_flow: {
                                body_text?: (...) | (...);
                                flow: string;
                                flow_cta?: (...) | (...);
                                footer_text?: (...) | (...);
                                header_text?: (...) | (...);
                            };
                        }
                        | {
                            run_function: {
                                function: string;
                                reply_field?: (...)
                                | (...);
                                result_mode?: (...) | (...) | (...) | (...);
                                variable_name?: (...) | (...);
                            };
                        }
                    )[];
                    trigger: {
                        keywords?: string[];
                        match_mode?: "EXACT"
                        | "CONTAINS"
                        | "CONTAINS_WORD";
                        type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                    };
                }[];
                business_agent?: {
                    channel_id?: string;
                    connectors?: { [key: string]: unknown }[];
                    enabled: boolean;
                    faqs?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                    operation_id: string;
                    settings: {
                        enabled?: boolean;
                        handoff?: { [key: string]: unknown };
                        knowledge?: { [key: string]: unknown };
                        language?: string;
                        persona?: string;
                    } & { [key: string]: unknown };
                    skills?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                    ui_skills?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                    websites?: {
                        key: string;
                        remote_id?: string;
                        value: { [key: string]: unknown };
                    }[];
                };
                flows: {
                    agent_id?: string;
                    data_exchange_url?: null
                    | string;
                    description?: string;
                    draft?: { entryScreenId?: string; screens?: (...)[] } & {
                        [key: string]: unknown;
                    };
                    flow_json?: { screens?: (...)[]; version?: string } & {
                        [key: string]: unknown;
                    };
                    key: string;
                    locale?: string;
                    name: string;
                    project_id?: string;
                    runtime_mode?: "STATIC"
                    | "DATA_EXCHANGE";
                }[];
                hosted_agents?: {
                    allowed_topics: string[];
                    channel_ids: string[];
                    conversation_messages?: {
                        cannot_listen?: string;
                        clarification: string;
                        farewell: string;
                        greeting: string;
                        out_of_scope: string;
                    };
                    fallback: {
                        automation_id?: string;
                        message?: string;
                        policy: "SILENT"
                        | "CLARIFICATION"
                        | "HUMAN_HANDOFF"
                        | "AUTOMATION";
                    };
                    instructions: string;
                    key: string;
                    knowledge: {
                        content?: string;
                        title: string;
                        type: "TEXT"
                        | "FAQ"
                        | "URL";
                        url?: string;
                    }[];
                    language: string;
                    max_input_chars: number;
                    max_output_tokens: number;
                    max_run_cost_micros: number;
                    model: string;
                    monthly_budget_micros: number;
                    name: string;
                    project_id?: string;
                    purpose?: string;
                    status?: "DRAFT"
                    | "DISABLED";
                }[];
                project_id?: string;
                require_opt_in?: boolean;
                version?: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    config?: {
                        $schema?: string;
                        automations: {
                            active?: boolean;
                            key: string;
                            name: string;
                            steps: ((...) | (...) | (...) | (...) | (...) | (...))[];
                            trigger: {
                                keywords?: (...) | (...);
                                match_mode?: (...) | (...) | (...) | (...);
                                type: (...) | (...) | (...);
                            };
                        }[];
                        business_agent?: {
                            channel_id?: string;
                            connectors?: (...)[];
                            enabled: boolean;
                            faqs?: (...)[];
                            operation_id: string;
                            settings: {
                                enabled?: ...;
                                handoff?: ...;
                                knowledge?: ...;
                                language?: ...;
                                persona?: ...;
                            } & { [key: ...]: ... };
                            skills?: (...)[];
                            ui_skills?: (...)[];
                            websites?: (...)[];
                        };
                        flows: {
                            agent_id?: string;
                            data_exchange_url?: null
                            | string;
                            description?: string;
                            draft?: (...) & (...);
                            flow_json?: (...) & (...);
                            key: string;
                            locale?: string;
                            name: string;
                            project_id?: string;
                            runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                        }[];
                        hosted_agents?: {
                            allowed_topics: (...)[];
                            channel_ids: (...)[];
                            conversation_messages?: (...) | (...);
                            fallback: { automation_id?: ...; message?: ...; policy: ... };
                            instructions: string;
                            key: string;
                            knowledge: (...)[];
                            language: string;
                            max_input_chars: number;
                            max_output_tokens: number;
                            max_run_cost_micros: number;
                            model: string;
                            monthly_budget_micros: number;
                            name: string;
                            project_id?: (...) | (...);
                            purpose?: (...) | (...);
                            status?: (...) | (...) | (...);
                        }[];
                        project_id?: string;
                        require_opt_in?: boolean;
                        version?: string;
                    };
                    issues: {
                        message?: string;
                        path?: string;
                        severity?: "warning"
                        | "error";
                    }[];
                    object: "config_validation";
                    valid: boolean;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    config?: {
                        $schema?: string;
                        automations: {
                            active?: boolean;
                            key: string;
                            name: string;
                            steps: ((...) | (...) | (...) | (...) | (...) | (...))[];
                            trigger: {
                                keywords?: (...) | (...);
                                match_mode?: (...) | (...) | (...) | (...);
                                type: (...) | (...) | (...);
                            };
                        }[];
                        business_agent?: {
                            channel_id?: string;
                            connectors?: (...)[];
                            enabled: boolean;
                            faqs?: (...)[];
                            operation_id: string;
                            settings: {
                                enabled?: ...;
                                handoff?: ...;
                                knowledge?: ...;
                                language?: ...;
                                persona?: ...;
                            } & { [key: ...]: ... };
                            skills?: (...)[];
                            ui_skills?: (...)[];
                            websites?: (...)[];
                        };
                        flows: {
                            agent_id?: string;
                            data_exchange_url?: null
                            | string;
                            description?: string;
                            draft?: (...) & (...);
                            flow_json?: (...) & (...);
                            key: string;
                            locale?: string;
                            name: string;
                            project_id?: string;
                            runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                        }[];
                        hosted_agents?: {
                            allowed_topics: (...)[];
                            channel_ids: (...)[];
                            conversation_messages?: (...) | (...);
                            fallback: { automation_id?: ...; message?: ...; policy: ... };
                            instructions: string;
                            key: string;
                            knowledge: (...)[];
                            language: string;
                            max_input_chars: number;
                            max_output_tokens: number;
                            max_run_cost_micros: number;
                            model: string;
                            monthly_budget_micros: number;
                            name: string;
                            project_id?: (...) | (...);
                            purpose?: (...) | (...);
                            status?: (...) | (...) | (...);
                        }[];
                        project_id?: string;
                        require_opt_in?: boolean;
                        version?: string;
                    };
                    issues: {
                        message?: string;
                        path?: string;
                        severity?: "warning"
                        | "error";
                    }[];
                    object: "config_validation";
                    valid: boolean;
                };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactImportsCreate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "multipart/form-data": {
                consent?: string;
                defaults?: string;
                file: string;
                mapping: string;
            };
        };
    };
    responses: {
        "202": {
            content: {
                "application/json": {
                    created_count?: number;
                    error_count?: number;
                    errors_available?: boolean;
                    filename: string;
                    id: string;
                    object: "contact_import";
                    processed_rows?: number;
                    skipped_count?: number;
                    status: string;
                    total_rows?: number;
                    updated_count?: number;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactImportsDownloadErrors: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { [key: string]: unknown };
                "text/csv": string;
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactImportsGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    created_count?: number;
                    error_count?: number;
                    errors_available?: boolean;
                    filename: string;
                    id: string;
                    object: "contact_import";
                    processed_rows?: number;
                    skipped_count?: number;
                    status: string;
                    total_rows?: number;
                    updated_count?: number;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactImportsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactsAddConsent: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "201": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactsCreate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                metadata?: { [key: string]: unknown };
                name?: string;
                opt_in?: {
                    categories?: (
                        "UTILITY"
                        | "MARKETING"
                        | "AUTHENTICATION"
                        | "GENERAL"
                    )[];
                    consent_text?: string;
                    evidence?: { [key: string]: unknown };
                    method?: string;
                    occurred_at?: string;
                    source?: string;
                };
                phone: string;
                preferred_language?: string;
                project_id?: string;
                reference_id?: string;
            };
        };
    };
    responses: {
        "201": {
            content: {
                "application/json": {
                    channel?: {
                        channel_id?: string;
                        display_name?: null
                        | string;
                        id?: string;
                        is_sandbox?: boolean;
                        number_mode?: string;
                        object?: "channel";
                        phone_number?: null | string;
                        platform?:
                            | "WHATSAPP"
                            | "INSTAGRAM"
                            | "MESSENGER"
                            | "SMS"
                            | "TELEGRAM"
                            | "EMAIL";
                        publish_readiness?: | null
                        | {
                            account_review_status?: null
                            | string;
                            blockers?: (...)[];
                            business_verification_status?: null | string;
                            can_publish_flows?: boolean;
                            can_submit_templates?: boolean;
                            mode?: "sandbox" | "dedicated";
                            phone_number_status?: null | string;
                        };
                        routing_mode?: "AGENT"
                        | "EXTERNAL";
                        routing_warning?: null | string;
                        status?: string;
                    };
                    channel_id?: string;
                    contact_id: string;
                    id: string;
                    object: "contact";
                    phone?: null
                    | string;
                    preferred_language?: null | string;
                    project_id?: string;
                    reference_id?: null | string;
                    status?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactsDelete: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: { erase?: boolean };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    deleted: true;
                    deleted_data_types?: string[];
                    erased: boolean;
                    id: string;
                    object: "contact";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: { limit?: number; starting_after?: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { has_more?: boolean; object: "list" } & {
                    data?: {
                        channel?: {
                            channel_id?: ...;
                            display_name?: ...;
                            id?: ...;
                            is_sandbox?: ...;
                            number_mode?: ...;
                            object?: ...;
                            phone_number?: ...;
                            platform?: ...;
                            publish_readiness?: ...;
                            routing_mode?: ...;
                            routing_warning?: ...;
                            status?: ...;
                        };
                        channel_id?: string;
                        contact_id: string;
                        id: string;
                        object: "contact";
                        phone?: null
                        | string;
                        preferred_language?: null | string;
                        project_id?: string;
                        reference_id?: null | string;
                        status?: string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactsRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel?: {
                        channel_id?: string;
                        display_name?: null
                        | string;
                        id?: string;
                        is_sandbox?: boolean;
                        number_mode?: string;
                        object?: "channel";
                        phone_number?: null | string;
                        platform?:
                            | "WHATSAPP"
                            | "INSTAGRAM"
                            | "MESSENGER"
                            | "SMS"
                            | "TELEGRAM"
                            | "EMAIL";
                        publish_readiness?: | null
                        | {
                            account_review_status?: null
                            | string;
                            blockers?: (...)[];
                            business_verification_status?: null | string;
                            can_publish_flows?: boolean;
                            can_submit_templates?: boolean;
                            mode?: "sandbox" | "dedicated";
                            phone_number_status?: null | string;
                        };
                        routing_mode?: "AGENT"
                        | "EXTERNAL";
                        routing_warning?: null | string;
                        status?: string;
                    };
                    channel_id?: string;
                    contact_id: string;
                    id: string;
                    object: "contact";
                    phone?: null
                    | string;
                    preferred_language?: null | string;
                    project_id?: string;
                    reference_id?: null | string;
                    status?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactsSuppress: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "201": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
contactsUpdate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                metadata?: { [key: string]: unknown };
                preferred_language?: null | string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel?: {
                        channel_id?: string;
                        display_name?: null
                        | string;
                        id?: string;
                        is_sandbox?: boolean;
                        number_mode?: string;
                        object?: "channel";
                        phone_number?: null | string;
                        platform?:
                            | "WHATSAPP"
                            | "INSTAGRAM"
                            | "MESSENGER"
                            | "SMS"
                            | "TELEGRAM"
                            | "EMAIL";
                        publish_readiness?: | null
                        | {
                            account_review_status?: null
                            | string;
                            blockers?: (...)[];
                            business_verification_status?: null | string;
                            can_publish_flows?: boolean;
                            can_submit_templates?: boolean;
                            mode?: "sandbox" | "dedicated";
                            phone_number_status?: null | string;
                        };
                        routing_mode?: "AGENT"
                        | "EXTERNAL";
                        routing_warning?: null | string;
                        status?: string;
                    };
                    channel_id?: string;
                    contact_id: string;
                    id: string;
                    object: "contact";
                    phone?: null
                    | string;
                    preferred_language?: null | string;
                    project_id?: string;
                    reference_id?: null | string;
                    status?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
conversationMessagesList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: {
            limit?: number;
            order?: "asc" | "desc";
            recipient_type?: "individual" | "group";
            starting_after?: string;
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data?: {
                        channel_id?: string;
                        contact_id?: string;
                        content?: null
                        | string;
                        conversation_id?: null | string;
                        direction?: "inbound" | "outbound";
                        failure?:
                            | null
                            | {
                                code?: (...)
                                | (...)
                                | (...)
                                | (...);
                                fbtrace_id?: (...) | (...) | (...);
                                http_status?: (...) | (...) | (...);
                                message?: (...) | (...);
                                occurred_at?: (...) | (...);
                                provider?: (...) | (...) | (...);
                                subcode?: (...) | (...) | (...) | (...);
                                summary?: (...) | (...);
                                title?: (...) | (...) | (...);
                                type?: (...) | (...) | (...);
                            };
                        id?: string;
                        media?: | null
                        | {
                            access_policy?: (...)
                            | (...);
                            accessible?: (...) | (...) | (...);
                            error_code?: (...) | (...) | (...);
                            expires_at?: (...) | (...) | (...);
                            file_name?: (...) | (...) | (...);
                            file_size?: (...) | (...) | (...);
                            mime_type?: (...) | (...) | (...);
                            note?: (...) | (...) | (...);
                            provider?: (...) | (...) | (...) | (...) | (...);
                            provider_media_id?: (...) | (...) | (...);
                            status?: (...) | (...) | (...) | (...);
                            type?: (...) | (...) | (...);
                            url?: (...) | (...) | (...);
                            whatsapp_media_id?: (...) | (...) | (...);
                        };
                        message_id?: string;
                        object?: "message";
                        platform_message_id?: null
                        | string;
                        status?: string;
                        timestamp?: string;
                        type?: string;
                    }[];
                    has_more?: boolean;
                    media_policy?: {
                        default_signed_url_ttl_seconds?: number;
                        free_retention_hours?: number;
                        inbound_access?: string;
                        inbound_accessible?: boolean;
                        note?: string;
                        paid_retention_days?: number;
                    };
                    object?: "list";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
conversationsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: {
            active?: boolean;
            contact_id?: string;
            limit?: number;
            recipient_type?: "individual" | "group" | "all";
            starting_after?: string;
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data?: {
                        contact_id?: string;
                        conversation_id?: string;
                        created_at?: string;
                        id?: string;
                        is_active?: boolean;
                        last_channel_id?: null
                        | string;
                        last_message_at?: null | string;
                        name?: null | string;
                        object?: "conversation";
                        phone?: null | string;
                        reference_id?: null | string;
                        started_at?: string;
                        updated_at?: string;
                    }[];
                    has_more?: boolean;
                    object?: "list";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
conversationsRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: { recipient_type?: "individual" | "group" };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    contact_id?: string;
                    conversation_id?: string;
                    created_at?: string;
                    id?: string;
                    is_active?: boolean;
                    last_channel_id?: null
                    | string;
                    last_message_at?: null | string;
                    name?: null | string;
                    object?: "conversation";
                    phone?: null | string;
                    reference_id?: null | string;
                    started_at?: string;
                    updated_at?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
conversationsSetHandoff: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                action: "hold"
                | "resume";
                reason?: null | string;
            };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { [key: string]: unknown } };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
dispatchesList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: {
            contact_id?: string;
            flow_id?: string;
            limit?: number;
            starting_after?: string;
            status?: "SENT" | "COMPLETED" | "EXPIRED";
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { has_more?: boolean; object: "list" } & {
                    data?: {
                        agent_id?: string;
                        channel_id?: string;
                        completed_at?: null | string;
                        contact_id?: null | string;
                        conversation_id?: null | string;
                        created_at?: string;
                        expires_at?: string;
                        flow_id?: string;
                        flow_token?: string;
                        id?: string;
                        object?: "flow_dispatch";
                        status?: "SENT" | "COMPLETED" | "EXPIRED";
                        to?: null | string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
dispatchesRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { flow_token: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    agent_id?: string;
                    channel_id?: string;
                    completed_at?: null
                    | string;
                    contact_id?: null | string;
                    conversation_id?: null | string;
                    created_at?: string;
                    expires_at?: string;
                    flow_id?: string;
                    flow_token?: string;
                    id?: string;
                    object?: "flow_dispatch";
                    status?: "SENT" | "COMPLETED" | "EXPIRED";
                    to?: null | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
flowsDelete: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    deleted: true;
                    id: string;
                    meta_deleted?: boolean;
                    meta_error?: null
                    | string;
                    object: "flow";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
flowsEvents: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: { limit?: number; starting_after?: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data?: {
                        created_at: string;
                        data?: null
                        | { [key: string]: unknown };
                        id: string;
                        level: "info" | "error" | "warn";
                        message?: null | string;
                        object: "flow_event";
                        submission_id?: null | string;
                        type: string;
                    }[];
                    has_more?: boolean;
                    object?: "list";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
flowsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { has_more?: boolean; object: "list" } & {
                    data?: {
                        agent_id?: string;
                        config_key?: null | string;
                        created_at?: string;
                        description?: null | string;
                        field_schema?: null | (...)[];
                        flow_json?: null | { [key: ...]: ... };
                        id?: string;
                        last_synced_at?: null | string;
                        locale?: null | string;
                        meta_flow_id?: null | string;
                        meta_status?: null | string;
                        meta_status_reason?: null | string;
                        meta_waba_id?: null | string;
                        name?: string;
                        object?: "flow";
                        published_version?: null | number;
                        runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                        status?: "DRAFT" | "PUBLISHED" | "DEPRECATED";
                        updated_at?: string;
                        validation_errors?: null | (...)[];
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
flowsPublish: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "202": {
            content: {
                "application/json": {
                    flow_id: string;
                    job_id: string;
                    meta_status?: null
                    | string;
                    object: "flow_publish";
                    status: "queued";
                    version?: number;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "412": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
flowsRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: { include?: string; refresh?: "true" };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    agent_id?: string;
                    config_key?: null
                    | string;
                    created_at?: string;
                    description?: null | string;
                    field_schema?: null | { [key: string]: unknown }[];
                    flow_json?: null | { [key: string]: unknown };
                    id?: string;
                    last_synced_at?: null | string;
                    locale?: null | string;
                    meta_flow_id?: null | string;
                    meta_status?: null | string;
                    meta_status_reason?: null | string;
                    meta_waba_id?: null | string;
                    name?: string;
                    object?: "flow";
                    published_version?: null | number;
                    runtime_mode?: "STATIC" | "DATA_EXCHANGE";
                    status?: "DRAFT" | "PUBLISHED" | "DEPRECATED";
                    updated_at?: string;
                    validation_errors?: null | { [key: string]: unknown }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
flowsSend: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                body_text?: string;
                channel_id: string;
                contact_id?: string;
                conversation_id?: string;
                first_screen?: string;
                flow_cta?: string;
                footer_text?: string;
                header_text?: string;
                screen_data?: { [key: string]: unknown };
                to?: string;
            };
        };
    };
    responses: {
        "202": {
            content: {
                "application/json": {
                    contact_id?: null
                    | string;
                    conversation_id?: null | string;
                    flow_id: string;
                    flow_token: string;
                    id: string;
                    locale?: null | string;
                    object: "flow_dispatch";
                    status: "queued";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
flowsSendByConfigKey: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                body_text?: string;
                channel_id: string;
                config_key: string;
                contact_id?: string;
                conversation_id?: string;
                first_screen?: string;
                flow_cta?: string;
                footer_text?: string;
                header_text?: string;
                locale?: string;
                screen_data?: { [key: string]: unknown };
                to?: string;
            };
        };
    };
    responses: {
        "202": {
            content: {
                "application/json": {
                    contact_id?: null
                    | string;
                    conversation_id?: null | string;
                    flow_id: string;
                    flow_token: string;
                    id: string;
                    locale?: null | string;
                    object: "flow_dispatch";
                    status: "queued";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
functionsCreate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                egress_allowed_hosts?: string[];
                name: string;
                slug: string;
                trigger_type: "KEYWORD"
                | "WELCOME"
                | "ANY_MESSAGE";
            };
        };
    };
    responses: {
        "201": {
            content: {
                "application/json": {
                    active_version_id: null
                    | string;
                    created_at: string;
                    egress_allowed_hosts: string[];
                    expose_as_mcp_tool: boolean;
                    id: string;
                    input_schema?: null | { [key: string]: unknown };
                    is_active: boolean;
                    name: string;
                    object: "hosted_function";
                    runtime: "PLAIN" | "WFP";
                    script_name: string;
                    slug: string;
                    source?: null | string;
                    trigger_type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                    updated_at: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
functionsDelete: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    deleted?: boolean;
                    id?: string;
                    object?: "hosted_function";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
functionsDeploy: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: { content: { "application/json": { source: string } } };
    responses: {
        "200": {
            content: {
                "application/json": {
                    bytes?: number;
                    diagnostics?: string[];
                    function_id?: string;
                    object?: "function_deploy";
                    status?: "ok" | "error";
                    version_id?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
functionsGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    active_version_id: null
                    | string;
                    created_at: string;
                    egress_allowed_hosts: string[];
                    expose_as_mcp_tool: boolean;
                    id: string;
                    input_schema?: null | { [key: string]: unknown };
                    is_active: boolean;
                    name: string;
                    object: "hosted_function";
                    runtime: "PLAIN" | "WFP";
                    script_name: string;
                    slug: string;
                    source?: null | string;
                    trigger_type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                    updated_at: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
functionsInvoke: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: {
        content: {
            "application/json": {
                arguments?: { [key: string]: unknown };
                contact_id?: string;
                contact_phone?: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    error?: string;
                    function_id?: string;
                    object?: "function_invoke";
                    result?: unknown;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
functionsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { has_more?: boolean; object: "list" } & {
                    data?: {
                        active_version_id: null | string;
                        created_at: string;
                        egress_allowed_hosts: string[];
                        expose_as_mcp_tool: boolean;
                        id: string;
                        input_schema?: null | { [key: ...]: ... };
                        is_active: boolean;
                        name: string;
                        object: "hosted_function";
                        runtime: "PLAIN" | "WFP";
                        script_name: string;
                        slug: string;
                        source?: null | string;
                        trigger_type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                        updated_at: string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
functionsLogs: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { has_more?: boolean; object: "list" } & {
                    data?: {
                        cpu_ms?: null | number;
                        error?: null | string;
                        event_type?: string;
                        id?: string;
                        logs?: unknown;
                        started_at?: string;
                        status?: string;
                        sub_requests?: null | number;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
functionsTest: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: {
        content: {
            "application/json": {
                contact?: { id: string; name?: string; phone: string };
                text?: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    error?: string;
                    function_id?: string;
                    object?: "function_test";
                    result?: unknown;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
functionsUpdate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                egress_allowed_hosts?: string[];
                expose_as_mcp_tool?: boolean;
                input_schema?: { [key: string]: unknown };
                is_active?: boolean;
                name?: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    active_version_id: null
                    | string;
                    created_at: string;
                    egress_allowed_hosts: string[];
                    expose_as_mcp_tool: boolean;
                    id: string;
                    input_schema?: null | { [key: string]: unknown };
                    is_active: boolean;
                    name: string;
                    object: "hosted_function";
                    runtime: "PLAIN" | "WFP";
                    script_name: string;
                    slug: string;
                    source?: null | string;
                    trigger_type: "KEYWORD" | "WELCOME" | "ANY_MESSAGE";
                    updated_at: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
getIdentity: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    api_key: {
                        display?: null
                        | string;
                        id?: string;
                        name?: null | string;
                        prefix?: null | string;
                        scopes?: string[];
                    };
                    api_version?: string;
                    object: "identity";
                    organization: { id?: string; name?: null
                    | string };
                    plan?: null | string;
                    project: { id?: string; name?: null | string };
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsCreate: {
    parameters: {
        cookie?: undefined;
        header: { "Idempotency-Key": string; "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                description?: string;
                join_approval_mode?: "auto_approve"
                | "approval_required";
                subject: string;
            };
        };
    };
    responses: {
        "202": {
            content: {
                "application/json": | {
                    channel_id: string;
                    group_id: null
                    | string;
                    idempotent_replay?: boolean;
                    object: "whatsapp_group_operation";
                    operation: "delete" | "create" | "update";
                    request_id: null | string;
                    status: "pending";
                }
                | {
                    idempotency_key: string;
                    object: "api_operation";
                    reconciliation: "provider"
                    | "local_persistence";
                    status: "processing";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsDelete: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string; group_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "202": {
            content: {
                "application/json": {
                    channel_id: string;
                    group_id: null
                    | string;
                    idempotent_replay?: boolean;
                    object: "whatsapp_group_operation";
                    operation: "delete" | "create" | "update";
                    request_id: null | string;
                    status: "pending";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsInviteLinkReset: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string; group_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id: string;
                    group_id: string;
                    invite_link: string;
                    object: "whatsapp_group_invite_link";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsInviteLinkRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string; group_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id: string;
                    group_id: string;
                    invite_link: string;
                    object: "whatsapp_group_invite_link";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsJoinRequestsApprove: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string; group_id: string };
        query?: undefined;
    };
    requestBody: {
        content: { "application/json": { join_requests: string[] } };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    approved_join_requests?: string[];
                    failed_join_requests?: Record<string, never>[];
                    rejected_join_requests?: string[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsJoinRequestsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string; group_id: string };
        query?: {
            after?: string;
            before?: string;
            ending_before?: string;
            limit?: number;
            starting_after?: string;
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id?: string;
                    group_id?: string;
                    has_more?: boolean;
                    join_requests?: {
                        created_at?: null
                        | string;
                        creation_timestamp?: null | number;
                        group_id?: string;
                        id: string;
                        join_request_id: string;
                        parent_user_id?: string;
                        user_id?: string;
                        username?: string;
                        wa_id?: string;
                    }[];
                    next_cursor?: null
                    | string;
                    object?: "whatsapp_group_join_requests";
                    paging?: {
                        cursors?: { after?: ...; before?: ... } & { [key: ...]: ... };
                        next?: string;
                    } & { [key: string]: unknown };
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsJoinRequestsReject: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string; group_id: string };
        query?: undefined;
    };
    requestBody: {
        content: { "application/json": { join_requests: string[] } };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    approved_join_requests?: string[];
                    failed_join_requests?: Record<string, never>[];
                    rejected_join_requests?: string[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string };
        query?: {
            after?: string;
            before?: string;
            ending_before?: string;
            limit?: number;
            starting_after?: string;
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data?: {
                        channel_id: string;
                        created_at?: null
                        | string;
                        creation_timestamp?: null | number;
                        description?: null | string;
                        group_id?: string;
                        id: string;
                        invite_link?: null | string;
                        join_approval_mode: null | "auto_approve" | "approval_required";
                        object: "whatsapp_group";
                        participants: {
                            id: string;
                            id_type: (...) | (...);
                            name?: (...) | (...) | (...);
                            parent_user_id?: (...) | (...) | (...);
                            phone?: (...) | (...) | (...);
                            user?: (...) | (...);
                            user_id: (...) | (...);
                            username?: (...) | (...) | (...);
                            wa_id: (...) | (...);
                        }[];
                        subject: null
                        | string;
                        suspended: null | boolean;
                        total_participant_count: null | number;
                    }[];
                    has_more?: boolean;
                    next_cursor?: null
                    | string;
                    object?: "list";
                    paging?: {
                        cursors?: { after?: ...; before?: ... } & { [key: ...]: ... };
                        next?: string;
                    } & { [key: string]: unknown };
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsParticipantsRemove: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string; group_id: string };
        query?: undefined;
    };
    requestBody: {
        content: { "application/json": { participants: string[] } };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    failed_participants?: {
                        errors?: Record<(...), (...)>[];
                        input?: string;
                        user_id?: string;
                    }[];
                    removed_participants?: string[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string; group_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id: string;
                    created_at?: null
                    | string;
                    creation_timestamp?: null | number;
                    description?: null | string;
                    group_id?: string;
                    id: string;
                    invite_link?: null | string;
                    join_approval_mode: null | "auto_approve" | "approval_required";
                    object: "whatsapp_group";
                    participants: {
                        id: string;
                        id_type: "user_id" | "wa_id";
                        name?: null | string;
                        parent_user_id?: null | string;
                        phone?: null | string;
                        user?: string;
                        user_id: null | string;
                        username?: null | string;
                        wa_id: null | string;
                    }[];
                    subject: null
                    | string;
                    suspended: null | boolean;
                    total_participant_count: null | number;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
groupsSettingsUpdate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { channel_id: string; group_id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": { description?: string; subject?: string };
            "multipart/form-data": {
                description?: string;
                profile_picture_file: string;
                subject?: string;
            };
        };
    };
    responses: {
        "202": {
            content: {
                "application/json": {
                    channel_id: string;
                    group_id: null
                    | string;
                    idempotent_replay?: boolean;
                    object: "whatsapp_group_operation";
                    operation: "delete" | "create" | "update";
                    request_id: null | string;
                    status: "pending";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
limitsRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    monthly_quota?: {
                        period?: string;
                        requests: number;
                        scope?: "api_key";
                    };
                    object?: "public_api_limits";
                    rate_limit?: {
                        requests: number;
                        scope?: "api_key";
                        window_seconds: number;
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit"?: number;
                "RateLimit-Remaining"?: number;
                "RateLimit-Reset"?: number;
                "Retry-After"?: number;
                "X-Wabery-Limit-Type"?: "rate_limit"
                | "monthly_quota";
                [name: string]: unknown;
            };
        };
    };
}
messagesGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id?: string;
                    contact_id?: string;
                    content?: null
                    | string;
                    conversation_id?: null | string;
                    direction?: "inbound" | "outbound";
                    failure?:
                        | null
                        | {
                            code?: null
                            | string
                            | number;
                            fbtrace_id?: null | string;
                            http_status?: null | number;
                            message?: string;
                            occurred_at?: string;
                            provider?: "meta" | "wabery";
                            subcode?: null | string | number;
                            summary?: string;
                            title?: null | string;
                            type?: null | string;
                        };
                    id?: string;
                    media?: | null
                    | {
                        access_policy?: string;
                        accessible?: boolean;
                        error_code?: null
                        | string;
                        expires_at?: null | string;
                        file_name?: null | string;
                        file_size?: null | number;
                        mime_type?: null | string;
                        note?: null | string;
                        provider?: null | "whatsapp" | "instagram" | "messenger";
                        provider_media_id?: null | string;
                        status?: "expired" | "available" | "unavailable";
                        type?: null | string;
                        url?: null | string;
                        whatsapp_media_id?: null | string;
                    };
                    message_id?: string;
                    object?: "message";
                    platform_message_id?: null
                    | string;
                    status?: string;
                    timestamp?: string;
                    type?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
messagesSend: {
    parameters: {
        cookie?: undefined;
        header?: { "Idempotency-Key"?: string; "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                channel_id: string;
                contacts?: { [key: string]: unknown }[];
                conversation_id?: string;
                group_id?: string;
                idempotency_key?: string;
                interactive?: { [key: string]: unknown };
                location?: {
                    address?: string;
                    latitude: number;
                    longitude: number;
                    name?: string;
                };
                media?: { type?: "document" | "image" | "video" | "audio" | undefined; link?: string | undefined; id?: string | undefined; caption?: string | undefined; filename?: string | undefined; } & ({ ...; } | { ...; });
                pin?: | { expiration_days: number; message_id: string; type: "pin" }
                | { message_id: string; type: "unpin" };
                reaction?: { emoji: string; message_id: string };
                reply_to?: string;
                sticker?: { id?: string | undefined; link?: string | undefined; } & ({ id: string; link?: undefined; } | { link: string; id?: undefined; });
                template?: {
                    components?: { [key: string]: unknown }[];
                    id?: string;
                    language?: string;
                    name?: string;
                };
                text?: string;
                to?: string;
            };
        };
    };
    responses: {
        "202": {
            content: {
                "application/json": {
                    contact_id: string;
                    conversation_id: string;
                    id: string;
                    idempotency_key: string;
                    object: "message";
                    status: "queued";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                "X-Wabery-Limit-Type"?: | "rate_limit"
                | "monthly_quota"
                | "message_pair_rate_limit";
                [name: string]: unknown;
            };
        };
        "503": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { "Retry-After": number; [name: string]: unknown };
        };
    };
}
onboardingHandoffsCreate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                connection_mode?: "NEW_CLOUD_API"
                | "BUSINESS_APP_COEXISTENCE";
                display_name?: string;
                project_id?: string;
                type: "connect_whatsapp";
            };
        };
    };
    responses: {
        "201": {
            content: {
                "application/json": {
                    channel_id?: null
                    | string;
                    completed_at?: null | string;
                    connection_mode?: string;
                    created_at?: string;
                    expires_at?: string;
                    id?: string;
                    object?: "onboarding_handoff";
                    project_id?: string;
                    status?: "pending" | "completed" | "expired" | "revoked";
                    type?: "connect_whatsapp";
                } & { url?: string };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
onboardingHandoffsRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    channel_id?: null
                    | string;
                    completed_at?: null | string;
                    connection_mode?: string;
                    created_at?: string;
                    expires_at?: string;
                    id?: string;
                    object?: "onboarding_handoff";
                    project_id?: string;
                    status?: "pending" | "completed" | "expired" | "revoked";
                    type?: "connect_whatsapp";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
onboardingRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: { project_id?: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    next_step?: null
                    | string;
                    object?: "onboarding";
                    project_id?: string;
                    project_name?: string;
                    routing_mode?: "AGENT" | "EXTERNAL";
                    status?: "live" | "in_progress";
                    steps?: {
                        actor?: "agent" | "customer";
                        api?: string[];
                        customer_link?: null | string;
                        details?: string[];
                        handoff?:
                            | null
                            | {
                                channel_id?: (...)
                                | (...)
                                | (...);
                                completed_at?: (...) | (...) | (...);
                                connection_mode?: (...) | (...);
                                created_at?: (...) | (...);
                                expires_at?: (...) | (...);
                                id?: (...) | (...);
                                object?: (...) | (...);
                                project_id?: (...) | (...);
                                status?: (...) | (...) | (...) | (...) | (...);
                                type?: (...) | (...);
                            };
                        id?: | "connect_whatsapp"
                        | "runtime"
                        | "sandbox_test"
                        | "publish_agent"
                        | "go_live";
                        instructions?: string;
                        status?: "blocked"
                        | "done"
                        | "todo"
                        | "waiting_on_customer";
                        title?: string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
projectsGet: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: { refresh?: boolean };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    automatic_read_receipts?: boolean;
                    channel_id?: null
                    | string;
                    created_at?: string;
                    description?: null | string;
                    enrollment_channel?:
                        | null
                        | {
                            channel_id?: string;
                            display_name?: null
                            | string;
                            id?: string;
                            is_sandbox?: boolean;
                            number_mode?: string;
                            object?: "channel";
                            phone_number?: null | string;
                            platform?:
                                | "WHATSAPP"
                                | "INSTAGRAM"
                                | "MESSENGER"
                                | "SMS"
                                | "TELEGRAM"
                                | "EMAIL";
                            publish_readiness?: | null
                            | {
                                account_review_status?: null
                                | string;
                                blockers?: (...)[];
                                business_verification_status?: null | string;
                                can_publish_flows?: boolean;
                                can_submit_templates?: boolean;
                                mode?: "sandbox" | "dedicated";
                                phone_number_status?: null | string;
                            };
                            routing_mode?: "AGENT"
                            | "EXTERNAL";
                            routing_warning?: null | string;
                            status?: string;
                        };
                    flow_count?: number;
                    id?: string;
                    join_code?: string;
                    name?: string;
                    object?: "project";
                    participant_count?: number;
                    project_id?: string;
                    publish_readiness?: | null
                    | {
                        account_review_status?: null
                        | string;
                        blockers?: (
                            | "CHANNEL_NOT_CONNECTED"
                            | "MISSING_WABA"
                            | "MISSING_CHANNEL_CREDENTIALS"
                            | "META_ACCOUNT_STATUS_UNKNOWN"
                            | "BUSINESS_NOT_VERIFIED"
                            | "ACCOUNT_NOT_APPROVED"
                            | "PHONE_NOT_CONNECTED"
                            | "PHONE_STATUS_UNKNOWN"
                            | "PAYMENT_STATUS_UNKNOWN"
                            | "NO_PAYMENT_METHOD"
                            | "WHATSAPP_SENDER_NOT_READY"
                            | "SANDBOX_TEMPLATES_NOT_SUPPORTED"
                        )[];
                        business_verification_status?: null
                        | string;
                        can_publish_flows?: boolean;
                        can_submit_templates?: boolean;
                        mode?: "sandbox" | "dedicated";
                        phone_number_status?: null | string;
                    };
                    require_opt_in?: boolean;
                    routing_mode?: string;
                    updated_at?: string;
                    webhook_secret?: null
                    | string;
                    webhook_signing_enabled?: boolean;
                    webhook_url?: null | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
projectsGetReadiness: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: { requirements?: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    agent_runtime: {
                        action_required?: | null
                        | "CREATE_AGENT"
                        | "SELECT_AI_MODEL"
                        | "ADD_PAYMENT_METHOD"
                        | "ADD_FUNDS";
                        ai_enabled: boolean;
                        available_balance_micros: number;
                        has_useful_automations: boolean;
                        mode: "ai_ready"
                        | "automations_only"
                        | "not_operational";
                        runtime_model?: null | string;
                        selected_model?: null | string;
                    };
                    capabilities?: {
                        [key: string]: {
                            message?: string;
                            status?: | "warning"
                            | "blocked"
                            | "ready"
                            | "testable"
                            | "not_applicable";
                        };
                    };
                    dedicated_channel?: | null
                    | {
                        channel_id?: string;
                        display_name?: null
                        | string;
                        id?: string;
                        is_sandbox?: boolean;
                        number_mode?: string;
                        object?: "channel";
                        phone_number?: null | string;
                        platform?:
                            | "WHATSAPP"
                            | "INSTAGRAM"
                            | "MESSENGER"
                            | "SMS"
                            | "TELEGRAM"
                            | "EMAIL";
                        publish_readiness?: | null
                        | {
                            account_review_status?: null
                            | string;
                            blockers?: (...)[];
                            business_verification_status?: null | string;
                            can_publish_flows?: boolean;
                            can_submit_templates?: boolean;
                            mode?: "sandbox" | "dedicated";
                            phone_number_status?: null | string;
                        };
                        routing_mode?: "AGENT"
                        | "EXTERNAL";
                        routing_warning?: null | string;
                        status?: string;
                    };
                    effective_channel?: | null
                    | {
                        channel_id?: string;
                        display_name?: null
                        | string;
                        id?: string;
                        is_sandbox?: boolean;
                        number_mode?: string;
                        object?: "channel";
                        phone_number?: null | string;
                        platform?:
                            | "WHATSAPP"
                            | "INSTAGRAM"
                            | "MESSENGER"
                            | "SMS"
                            | "TELEGRAM"
                            | "EMAIL";
                        publish_readiness?: | null
                        | {
                            account_review_status?: null
                            | string;
                            blockers?: (...)[];
                            business_verification_status?: null | string;
                            can_publish_flows?: boolean;
                            can_submit_templates?: boolean;
                            mode?: "sandbox" | "dedicated";
                            phone_number_status?: null | string;
                        };
                        routing_mode?: "AGENT"
                        | "EXTERNAL";
                        routing_warning?: null | string;
                        status?: string;
                    };
                    issues?: {
                        area?: string;
                        code?: string;
                        message?: string;
                        next_steps?: string[];
                        severity?: "info"
                        | "warning"
                        | "blocked";
                        title?: string;
                    }[];
                    next_steps?: string[];
                    object: "project_readiness";
                    overall_status?: string;
                    production_inbound_ready?: boolean;
                    project_id: string;
                    project_name?: string;
                    requirements?: string[];
                    sandbox_channel?: | null
                    | {
                        channel_id?: string;
                        display_name?: null
                        | string;
                        id?: string;
                        is_sandbox?: boolean;
                        number_mode?: string;
                        object?: "channel";
                        phone_number?: null | string;
                        platform?:
                            | "WHATSAPP"
                            | "INSTAGRAM"
                            | "MESSENGER"
                            | "SMS"
                            | "TELEGRAM"
                            | "EMAIL";
                        publish_readiness?: | null
                        | {
                            account_review_status?: null
                            | string;
                            blockers?: (...)[];
                            business_verification_status?: null | string;
                            can_publish_flows?: boolean;
                            can_submit_templates?: boolean;
                            mode?: "sandbox" | "dedicated";
                            phone_number_status?: null | string;
                        };
                        routing_mode?: "AGENT"
                        | "EXTERNAL";
                        routing_warning?: null | string;
                        status?: string;
                    };
                    sandbox_testable?: boolean;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
projectsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data?: {
                        automatic_read_receipts?: boolean;
                        channel_id?: null
                        | string;
                        created_at?: string;
                        description?: null | string;
                        enrollment_channel?:
                            | null
                            | {
                                channel_id?: (...)
                                | (...);
                                display_name?: (...) | (...) | (...);
                                id?: (...) | (...);
                                is_sandbox?: (...) | (...) | (...);
                                number_mode?: (...) | (...);
                                object?: (...) | (...);
                                phone_number?: (...) | (...) | (...);
                                platform?: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                publish_readiness?: (...) | (...) | (...);
                                routing_mode?: (...) | (...) | (...);
                                routing_warning?: (...) | (...) | (...);
                                status?: (...) | (...);
                            };
                        flow_count?: number;
                        id?: string;
                        join_code?: string;
                        name?: string;
                        object?: "project";
                        participant_count?: number;
                        project_id?: string;
                        publish_readiness?: | null
                        | {
                            account_review_status?: (...)
                            | (...)
                            | (...);
                            blockers?: (...) | (...);
                            business_verification_status?: (...) | (...) | (...);
                            can_publish_flows?: (...) | (...) | (...);
                            can_submit_templates?: (...) | (...) | (...);
                            mode?: (...) | (...) | (...);
                            phone_number_status?: (...) | (...) | (...);
                        };
                        require_opt_in?: boolean;
                        routing_mode?: string;
                        updated_at?: string;
                        webhook_secret?: null
                        | string;
                        webhook_signing_enabled?: boolean;
                        webhook_url?: null | string;
                    }[];
                    object?: "list";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
projectsRotateWebhookSecret: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: {
        content: { "application/json": { webhook_secret?: string } };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    object: "project_webhook_secret";
                    project_id: string;
                    webhook_secret: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
projectsUpdate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: { refresh?: boolean };
    };
    requestBody: {
        content: {
            "application/json": {
                automatic_read_receipts?: boolean;
                description?: null
                | string;
                group_webhook_events_enabled?: boolean;
                name?: string;
                require_opt_in?: boolean;
                routing_mode?: "AGENT" | "EXTERNAL";
                webhook_secret?: string;
                webhook_signing_enabled?: boolean;
                webhook_url?: null | string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    automatic_read_receipts?: boolean;
                    channel_id?: null
                    | string;
                    created_at?: string;
                    description?: null | string;
                    enrollment_channel?:
                        | null
                        | {
                            channel_id?: string;
                            display_name?: null
                            | string;
                            id?: string;
                            is_sandbox?: boolean;
                            number_mode?: string;
                            object?: "channel";
                            phone_number?: null | string;
                            platform?:
                                | "WHATSAPP"
                                | "INSTAGRAM"
                                | "MESSENGER"
                                | "SMS"
                                | "TELEGRAM"
                                | "EMAIL";
                            publish_readiness?: | null
                            | {
                                account_review_status?: null
                                | string;
                                blockers?: (...)[];
                                business_verification_status?: null | string;
                                can_publish_flows?: boolean;
                                can_submit_templates?: boolean;
                                mode?: "sandbox" | "dedicated";
                                phone_number_status?: null | string;
                            };
                            routing_mode?: "AGENT"
                            | "EXTERNAL";
                            routing_warning?: null | string;
                            status?: string;
                        };
                    flow_count?: number;
                    id?: string;
                    join_code?: string;
                    name?: string;
                    object?: "project";
                    participant_count?: number;
                    project_id?: string;
                    publish_readiness?: | null
                    | {
                        account_review_status?: null
                        | string;
                        blockers?: (
                            | "CHANNEL_NOT_CONNECTED"
                            | "MISSING_WABA"
                            | "MISSING_CHANNEL_CREDENTIALS"
                            | "META_ACCOUNT_STATUS_UNKNOWN"
                            | "BUSINESS_NOT_VERIFIED"
                            | "ACCOUNT_NOT_APPROVED"
                            | "PHONE_NOT_CONNECTED"
                            | "PHONE_STATUS_UNKNOWN"
                            | "PAYMENT_STATUS_UNKNOWN"
                            | "NO_PAYMENT_METHOD"
                            | "WHATSAPP_SENDER_NOT_READY"
                            | "SANDBOX_TEMPLATES_NOT_SUPPORTED"
                        )[];
                        business_verification_status?: null
                        | string;
                        can_publish_flows?: boolean;
                        can_submit_templates?: boolean;
                        mode?: "sandbox" | "dedicated";
                        phone_number_status?: null | string;
                    };
                    require_opt_in?: boolean;
                    routing_mode?: string;
                    updated_at?: string;
                    webhook_secret?: null
                    | string;
                    webhook_signing_enabled?: boolean;
                    webhook_url?: null | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
registrationIntentsCreate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                customer_reference?: string;
                metadata?: { [key: string]: unknown };
                project_id?: string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    expires_at: string;
                    id: string;
                    mode?: "test"
                    | "live";
                    object: "registration_intent";
                    prefilled_message?: string;
                    status?: "PENDING";
                    token: string;
                    wa_link: string;
                    whatsapp_number?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
registrationIntentsRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    expires_at?: string;
                    id?: string;
                    joined_at?: null
                    | string;
                    object?: "registration_intent";
                    rejection_reason?: null | string;
                    status?: "PENDING" | "EXPIRED" | "REJECTED" | "JOINED";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
submissionsList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: {
            agent_id?: string;
            flow_id?: string;
            limit?: number;
            starting_after?: string;
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data?: {
                        agent_id?: string;
                        contact_id?: null
                        | string;
                        conversation_id?: null | string;
                        created_at?: string;
                        flow_id?: string;
                        flow_token?: string;
                        from?: null | string;
                        id?: string;
                        object?: "flow_submission";
                        status?: "RECEIVED" | "VALIDATED" | "REJECTED" | "FORWARDED";
                        submission?: { [key: string]: unknown };
                    }[];
                    has_more?: boolean;
                    object?: "list";
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
templatesCreate: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                category: "UTILITY"
                | "MARKETING"
                | "AUTHENTICATION";
                channel_id: string;
                components: { [key: string]: unknown }[];
                language: string;
                name: string;
                parameter_format?: "POSITIONAL" | "NAMED";
            };
        };
    };
    responses: {
        "201": {
            content: {
                "application/json": {
                    approved_at?: null
                    | string;
                    category?: string;
                    channel_id?: string;
                    components?: { [key: string]: unknown };
                    created_at?: string;
                    id?: string;
                    language?: string;
                    last_synced_at?: null | string;
                    meta_template_id?: null | string;
                    name?: string;
                    object?: "whatsapp_template";
                    rejected_at?: null | string;
                    rejection_reason?: null | string;
                    status?: string;
                    submitted_at?: string;
                    updated_at?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "412": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
        "502": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
    };
}
templatesList: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path?: undefined;
        query?: { channel_id?: string; status?: string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": { has_more?: boolean; object: "list" } & {
                    data?: {
                        approved_at?: null | string;
                        category?: string;
                        channel_id?: string;
                        components?: { [key: ...]: ... };
                        created_at?: string;
                        id?: string;
                        language?: string;
                        last_synced_at?: null | string;
                        meta_template_id?: null | string;
                        name?: string;
                        object?: "whatsapp_template";
                        rejected_at?: null | string;
                        rejection_reason?: null | string;
                        status?: string;
                        submitted_at?: string;
                        updated_at?: string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}
templatesRetrieve: {
    parameters: {
        cookie?: undefined;
        header?: { "Wabery-Version"?: "2026-06-18" };
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    approved_at?: null
                    | string;
                    category?: string;
                    channel_id?: string;
                    components?: { [key: string]: unknown };
                    created_at?: string;
                    id?: string;
                    language?: string;
                    last_synced_at?: null | string;
                    meta_template_id?: null | string;
                    name?: string;
                    object?: "whatsapp_template";
                    rejected_at?: null | string;
                    rejection_reason?: null | string;
                    status?: string;
                    submitted_at?: string;
                    updated_at?: string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "401": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: { [name: string]: unknown };
        };
        "429": {
            content: {
                "application/json": {
                    error: string;
                    issues?: { [key: string]: unknown };
                    message?: string;
                    request_id?: string;
                    required_scope?: string;
                } & { [key: string]: unknown };
                "application/problem+json": {
                    code?: string;
                    detail?: string;
                    instance?: string;
                    status: number;
                    title: string;
                    type: string;
                } & { [key: string]: unknown };
            };
            headers: {
                "RateLimit-Limit": number;
                "RateLimit-Remaining": number;
                "RateLimit-Reset": number;
                "Retry-After": number;
                [name: string]: unknown;
            };
        };
    };
}