import { z, ZodError } from 'zod';

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Forces a sync of all your connected calendars with their providers (Google, Microsoft).

Processes each calendar individually and returns:
- `synced_calendars`: UUIDs of successfully synced calendars
- `errors`: Details of any failures

Sends webhook notifications for calendars with updates.
 * @summary Resync All Calendars
 */
declare const resyncAllResponseErrorsItemMin = 2;
declare const resyncAllResponseErrorsItemMax = 2;
declare const resyncAllResponse: z.ZodObject<{
    errors: z.ZodArray<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">, "many">;
    synced_calendars: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
    errors: Record<string, any>[][];
    synced_calendars: string[];
}, {
    errors: Record<string, any>[][];
    synced_calendars: string[];
}>;
/**
 * Retrieves unprocessed calendar data directly from the provider (Google, Microsoft) using provided OAuth credentials. This endpoint is typically used during the initial setup process to allow users to select which calendars to integrate. Returns a list of available calendars with their unique IDs, email addresses, and primary status. This data is not persisted until a calendar is formally created using the create_calendar endpoint.
 * @summary List Raw Calendars
 */
declare const listRawCalendarsBody: z.ZodObject<{
    oauth_client_id: z.ZodString;
    oauth_client_secret: z.ZodString;
    oauth_refresh_token: z.ZodString;
    platform: z.ZodEnum<["Google", "Microsoft"]>;
}, "strip", z.ZodTypeAny, {
    oauth_client_id: string;
    oauth_client_secret: string;
    oauth_refresh_token: string;
    platform: "Google" | "Microsoft";
}, {
    oauth_client_id: string;
    oauth_client_secret: string;
    oauth_refresh_token: string;
    platform: "Google" | "Microsoft";
}>;
declare const listRawCalendarsResponse: z.ZodObject<{
    calendars: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        id: z.ZodString;
        is_primary: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        email: string;
        id: string;
        is_primary: boolean;
    }, {
        email: string;
        id: string;
        is_primary: boolean;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    calendars: {
        email: string;
        id: string;
        is_primary: boolean;
    }[];
}, {
    calendars: {
        email: string;
        id: string;
        is_primary: boolean;
    }[];
}>;
/**
 * Retrieves all calendars that have been integrated with the system for the authenticated user. Returns a list of calendars with their names, email addresses, provider information, and sync status. This endpoint shows only calendars that have been formally connected through the create_calendar endpoint, not all available calendars from the provider.
 * @summary List Calendars
 */
declare const listCalendarsResponseItem: z.ZodObject<{
    email: z.ZodString;
    google_id: z.ZodString;
    name: z.ZodString;
    resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    email: string;
    google_id: string;
    name: string;
    uuid: string;
    resource_id?: string | null | undefined;
}, {
    email: string;
    google_id: string;
    name: string;
    uuid: string;
    resource_id?: string | null | undefined;
}>;
declare const listCalendarsResponse: z.ZodArray<z.ZodObject<{
    email: z.ZodString;
    google_id: z.ZodString;
    name: z.ZodString;
    resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    email: string;
    google_id: string;
    name: string;
    uuid: string;
    resource_id?: string | null | undefined;
}, {
    email: string;
    google_id: string;
    name: string;
    uuid: string;
    resource_id?: string | null | undefined;
}>, "many">;
/**
 * Integrates a new calendar with the system using OAuth credentials. This endpoint establishes a connection with the calendar provider (Google, Microsoft), sets up webhook notifications for real-time updates, and performs an initial sync of all calendar events. It requires OAuth credentials (client ID, client secret, and refresh token) and the platform type. Once created, the calendar is assigned a unique UUID that should be used for all subsequent operations. Returns the newly created calendar object with all integration details.
 * @summary Create Calendar
 */
declare const createCalendarBody: z.ZodObject<{
    oauth_client_id: z.ZodString;
    oauth_client_secret: z.ZodString;
    oauth_refresh_token: z.ZodString;
    platform: z.ZodEnum<["Google", "Microsoft"]>;
    raw_calendar_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    oauth_client_id: string;
    oauth_client_secret: string;
    oauth_refresh_token: string;
    platform: "Google" | "Microsoft";
    raw_calendar_id?: string | null | undefined;
}, {
    oauth_client_id: string;
    oauth_client_secret: string;
    oauth_refresh_token: string;
    platform: "Google" | "Microsoft";
    raw_calendar_id?: string | null | undefined;
}>;
declare const createCalendarResponse: z.ZodObject<{
    calendar: z.ZodObject<{
        email: z.ZodString;
        google_id: z.ZodString;
        name: z.ZodString;
        resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        uuid: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        email: string;
        google_id: string;
        name: string;
        uuid: string;
        resource_id?: string | null | undefined;
    }, {
        email: string;
        google_id: string;
        name: string;
        uuid: string;
        resource_id?: string | null | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    calendar: {
        email: string;
        google_id: string;
        name: string;
        uuid: string;
        resource_id?: string | null | undefined;
    };
}, {
    calendar: {
        email: string;
        google_id: string;
        name: string;
        uuid: string;
        resource_id?: string | null | undefined;
    };
}>;
/**
 * Retrieves detailed information about a specific calendar integration by its UUID. Returns comprehensive calendar data including the calendar name, email address, provider details (Google, Microsoft), sync status, and other metadata. This endpoint is useful for displaying calendar information to users or verifying the status of a calendar integration before performing operations on its events.
 * @summary Get Calendar
 */
declare const getCalendarParams: z.ZodObject<{
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    uuid: string;
}, {
    uuid: string;
}>;
declare const getCalendarResponse: z.ZodObject<{
    email: z.ZodString;
    google_id: z.ZodString;
    name: z.ZodString;
    resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    email: string;
    google_id: string;
    name: string;
    uuid: string;
    resource_id?: string | null | undefined;
}, {
    email: string;
    google_id: string;
    name: string;
    uuid: string;
    resource_id?: string | null | undefined;
}>;
/**
 * Permanently removes a calendar integration by its UUID, including all associated events and bot configurations. This operation cancels any active subscriptions with the calendar provider, stops all webhook notifications, and unschedules any pending recordings. All related resources are cleaned up in the database. This action cannot be undone, and subsequent requests to this calendar's UUID will return 404 Not Found errors.
 * @summary Delete Calendar
 */
declare const deleteCalendarParams: z.ZodObject<{
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    uuid: string;
}, {
    uuid: string;
}>;
/**
 * Updates a calendar integration with new credentials or platform while maintaining the same UUID. This operation is performed as an atomic transaction to ensure data integrity. The system automatically unschedules existing bots to prevent duplicates, updates the calendar credentials, and triggers a full resync of all events. Useful when OAuth tokens need to be refreshed or when migrating a calendar between providers. Returns the updated calendar object with its new configuration.
 * @summary Update Calendar
 */
declare const updateCalendarParams: z.ZodObject<{
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    uuid: string;
}, {
    uuid: string;
}>;
declare const updateCalendarBody: z.ZodObject<{
    oauth_client_id: z.ZodString;
    oauth_client_secret: z.ZodString;
    oauth_refresh_token: z.ZodString;
    platform: z.ZodEnum<["Google", "Microsoft"]>;
}, "strip", z.ZodTypeAny, {
    oauth_client_id: string;
    oauth_client_secret: string;
    oauth_refresh_token: string;
    platform: "Google" | "Microsoft";
}, {
    oauth_client_id: string;
    oauth_client_secret: string;
    oauth_refresh_token: string;
    platform: "Google" | "Microsoft";
}>;
declare const updateCalendarResponse: z.ZodObject<{
    calendar: z.ZodObject<{
        email: z.ZodString;
        google_id: z.ZodString;
        name: z.ZodString;
        resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        uuid: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        email: string;
        google_id: string;
        name: string;
        uuid: string;
        resource_id?: string | null | undefined;
    }, {
        email: string;
        google_id: string;
        name: string;
        uuid: string;
        resource_id?: string | null | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    calendar: {
        email: string;
        google_id: string;
        name: string;
        uuid: string;
        resource_id?: string | null | undefined;
    };
}, {
    calendar: {
        email: string;
        google_id: string;
        name: string;
        uuid: string;
        resource_id?: string | null | undefined;
    };
}>;
/**
 * Retrieves comprehensive details about a specific calendar event by its UUID. Returns complete event information including title, meeting link, start and end times, organizer status, recurrence information, and the full list of attendees with their names and email addresses. Also includes any associated bot parameters if recording is scheduled for this event. The raw calendar data from the provider is also included for advanced use cases.
 * @summary Get Event
 */
declare const getEventParams: z.ZodObject<{
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    uuid: string;
}, {
    uuid: string;
}>;
declare const getEventResponse: z.ZodObject<{
    attendees: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        email: string;
        name?: string | null | undefined;
    }, {
        email: string;
        name?: string | null | undefined;
    }>, "many">;
    bot_param: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
        bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        bot_name: z.ZodString;
        deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodRecord<z.ZodString, z.ZodAny>;
        noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
        speech_to_text_api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        speech_to_text_provider: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Gladia", "Runpod", "Default"]>, z.ZodNull]>>;
        streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
        streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        transcription_custom_parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
        waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        webhook_url: z.ZodString;
        zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }>, z.ZodNull]>>;
    calendar_uuid: z.ZodString;
    deleted: z.ZodBoolean;
    end_time: z.ZodString;
    google_id: z.ZodString;
    is_organizer: z.ZodBoolean;
    is_recurring: z.ZodBoolean;
    last_updated_at: z.ZodString;
    meeting_url: z.ZodString;
    name: z.ZodString;
    raw: z.ZodRecord<z.ZodString, z.ZodAny>;
    recurring_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    start_time: z.ZodString;
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}>;
/**
 * Configures a bot to automatically join and record a specific calendar event at its scheduled time. The request body contains detailed bot configuration, including recording options, streaming settings, and webhook notification URLs. For recurring events, the 'all_occurrences' parameter can be set to true to schedule recording for all instances of the recurring series, or false (default) to schedule only the specific instance. Returns the updated event(s) with the bot parameters attached.
 * @summary Schedule Record Event
 */
declare const scheduleRecordEventParams: z.ZodObject<{
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    uuid: string;
}, {
    uuid: string;
}>;
declare const scheduleRecordEventQueryParams: z.ZodObject<{
    all_occurrences: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
    all_occurrences?: boolean | null | undefined;
}, {
    all_occurrences?: boolean | null | undefined;
}>;
declare const scheduleRecordEventBody: z.ZodObject<{
    bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    bot_name: z.ZodString;
    deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodRecord<z.ZodString, z.ZodAny>;
    noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
    speech_to_text: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
        api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        provider: z.ZodEnum<["Gladia", "Runpod", "Default"]>;
    }, "strip", z.ZodTypeAny, {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    }, {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    }>, z.ZodEnum<["Gladia", "Runpod", "Default"]>]>, z.ZodNull]>>;
    streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
    streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    transcription_custom_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    bot_name: string;
    extra: Record<string, any>;
    bot_image?: string | null | undefined;
    deduplication_key?: string | null | undefined;
    enter_message?: string | null | undefined;
    noone_joined_timeout?: number | null | undefined;
    recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
    streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
    streaming_input?: string | null | undefined;
    streaming_output?: string | null | undefined;
    transcription_custom_parameters?: Record<string, any> | undefined;
    waiting_room_timeout?: number | null | undefined;
    webhook_url?: string | null | undefined;
    zoom_sdk_id?: string | null | undefined;
    zoom_sdk_pwd?: string | null | undefined;
    speech_to_text?: "Gladia" | "Runpod" | "Default" | {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    } | null | undefined;
}, {
    bot_name: string;
    extra: Record<string, any>;
    bot_image?: string | null | undefined;
    deduplication_key?: string | null | undefined;
    enter_message?: string | null | undefined;
    noone_joined_timeout?: number | null | undefined;
    recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
    streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
    streaming_input?: string | null | undefined;
    streaming_output?: string | null | undefined;
    transcription_custom_parameters?: Record<string, any> | undefined;
    waiting_room_timeout?: number | null | undefined;
    webhook_url?: string | null | undefined;
    zoom_sdk_id?: string | null | undefined;
    zoom_sdk_pwd?: string | null | undefined;
    speech_to_text?: "Gladia" | "Runpod" | "Default" | {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    } | null | undefined;
}>;
declare const scheduleRecordEventResponseItem: z.ZodObject<{
    attendees: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        email: string;
        name?: string | null | undefined;
    }, {
        email: string;
        name?: string | null | undefined;
    }>, "many">;
    bot_param: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
        bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        bot_name: z.ZodString;
        deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodRecord<z.ZodString, z.ZodAny>;
        noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
        speech_to_text_api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        speech_to_text_provider: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Gladia", "Runpod", "Default"]>, z.ZodNull]>>;
        streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
        streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        transcription_custom_parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
        waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        webhook_url: z.ZodString;
        zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }>, z.ZodNull]>>;
    calendar_uuid: z.ZodString;
    deleted: z.ZodBoolean;
    end_time: z.ZodString;
    google_id: z.ZodString;
    is_organizer: z.ZodBoolean;
    is_recurring: z.ZodBoolean;
    last_updated_at: z.ZodString;
    meeting_url: z.ZodString;
    name: z.ZodString;
    raw: z.ZodRecord<z.ZodString, z.ZodAny>;
    recurring_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    start_time: z.ZodString;
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}>;
declare const scheduleRecordEventResponse: z.ZodArray<z.ZodObject<{
    attendees: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        email: string;
        name?: string | null | undefined;
    }, {
        email: string;
        name?: string | null | undefined;
    }>, "many">;
    bot_param: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
        bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        bot_name: z.ZodString;
        deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodRecord<z.ZodString, z.ZodAny>;
        noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
        speech_to_text_api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        speech_to_text_provider: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Gladia", "Runpod", "Default"]>, z.ZodNull]>>;
        streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
        streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        transcription_custom_parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
        waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        webhook_url: z.ZodString;
        zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }>, z.ZodNull]>>;
    calendar_uuid: z.ZodString;
    deleted: z.ZodBoolean;
    end_time: z.ZodString;
    google_id: z.ZodString;
    is_organizer: z.ZodBoolean;
    is_recurring: z.ZodBoolean;
    last_updated_at: z.ZodString;
    meeting_url: z.ZodString;
    name: z.ZodString;
    raw: z.ZodRecord<z.ZodString, z.ZodAny>;
    recurring_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    start_time: z.ZodString;
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}>, "many">;
/**
 * Cancels a previously scheduled recording for a calendar event and releases associated bot resources. For recurring events, the 'all_occurrences' parameter controls whether to unschedule from all instances of the recurring series or just the specific occurrence. This operation is idempotent and will not error if no bot was scheduled. Returns the updated event(s) with the bot parameters removed.
 * @summary Unschedule Record Event
 */
declare const unscheduleRecordEventParams: z.ZodObject<{
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    uuid: string;
}, {
    uuid: string;
}>;
declare const unscheduleRecordEventQueryParams: z.ZodObject<{
    all_occurrences: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
    all_occurrences?: boolean | null | undefined;
}, {
    all_occurrences?: boolean | null | undefined;
}>;
declare const unscheduleRecordEventResponseItem: z.ZodObject<{
    attendees: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        email: string;
        name?: string | null | undefined;
    }, {
        email: string;
        name?: string | null | undefined;
    }>, "many">;
    bot_param: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
        bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        bot_name: z.ZodString;
        deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodRecord<z.ZodString, z.ZodAny>;
        noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
        speech_to_text_api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        speech_to_text_provider: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Gladia", "Runpod", "Default"]>, z.ZodNull]>>;
        streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
        streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        transcription_custom_parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
        waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        webhook_url: z.ZodString;
        zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }>, z.ZodNull]>>;
    calendar_uuid: z.ZodString;
    deleted: z.ZodBoolean;
    end_time: z.ZodString;
    google_id: z.ZodString;
    is_organizer: z.ZodBoolean;
    is_recurring: z.ZodBoolean;
    last_updated_at: z.ZodString;
    meeting_url: z.ZodString;
    name: z.ZodString;
    raw: z.ZodRecord<z.ZodString, z.ZodAny>;
    recurring_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    start_time: z.ZodString;
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}>;
declare const unscheduleRecordEventResponse: z.ZodArray<z.ZodObject<{
    attendees: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        email: string;
        name?: string | null | undefined;
    }, {
        email: string;
        name?: string | null | undefined;
    }>, "many">;
    bot_param: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
        bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        bot_name: z.ZodString;
        deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodRecord<z.ZodString, z.ZodAny>;
        noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
        speech_to_text_api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        speech_to_text_provider: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Gladia", "Runpod", "Default"]>, z.ZodNull]>>;
        streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
        streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        transcription_custom_parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
        waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        webhook_url: z.ZodString;
        zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }>, z.ZodNull]>>;
    calendar_uuid: z.ZodString;
    deleted: z.ZodBoolean;
    end_time: z.ZodString;
    google_id: z.ZodString;
    is_organizer: z.ZodBoolean;
    is_recurring: z.ZodBoolean;
    last_updated_at: z.ZodString;
    meeting_url: z.ZodString;
    name: z.ZodString;
    raw: z.ZodRecord<z.ZodString, z.ZodAny>;
    recurring_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    start_time: z.ZodString;
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}>, "many">;
/**
 * Updates the configuration of a bot already scheduled to record an event. Allows modification of recording settings, webhook URLs, and other bot parameters without canceling and recreating the scheduled recording. For recurring events, the 'all_occurrences' parameter determines whether changes apply to all instances or just the specific occurrence. Returns the updated event(s) with the modified bot parameters.
 * @summary Patch Bot
 */
declare const patchBotParams: z.ZodObject<{
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    uuid: string;
}, {
    uuid: string;
}>;
declare const patchBotQueryParams: z.ZodObject<{
    all_occurrences: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
    all_occurrences?: boolean | null | undefined;
}, {
    all_occurrences?: boolean | null | undefined;
}>;
declare const patchBotBodyBotImageDefault: null;
declare const patchBotBodyDeduplicationKeyDefault: null;
declare const patchBotBodyEnterMessageDefault: null;
declare const patchBotBodyExtraDefault: null;
declare const patchBotBodyNooneJoinedTimeoutDefault: null;
declare const patchBotBodySpeechToTextDefault: null;
declare const patchBotBodyStreamingAudioFrequencyDefault: null;
declare const patchBotBodyStreamingInputDefault: null;
declare const patchBotBodyStreamingOutputDefault: null;
declare const patchBotBodyTranscriptionCustomParametersDefault: null;
declare const patchBotBodyWaitingRoomTimeoutDefault: null;
declare const patchBotBodyZoomSdkIdDefault: null;
declare const patchBotBodyZoomSdkPwdDefault: null;
declare const patchBotBody: z.ZodObject<{
    bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    bot_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodAny>;
    noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>, z.ZodNull]>>;
    speech_to_text: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
        api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        provider: z.ZodEnum<["Gladia", "Runpod", "Default"]>;
    }, "strip", z.ZodTypeAny, {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    }, {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    }>, z.ZodEnum<["Gladia", "Runpod", "Default"]>]>, z.ZodNull]>, z.ZodNull]>>;
    streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>, z.ZodNull]>>;
    streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    transcription_custom_parameters: z.ZodOptional<z.ZodAny>;
    waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    bot_image?: string | null | undefined;
    bot_name?: string | null | undefined;
    deduplication_key?: string | null | undefined;
    enter_message?: string | null | undefined;
    extra?: any;
    noone_joined_timeout?: number | null | undefined;
    recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
    streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
    streaming_input?: string | null | undefined;
    streaming_output?: string | null | undefined;
    transcription_custom_parameters?: any;
    waiting_room_timeout?: number | null | undefined;
    webhook_url?: string | null | undefined;
    zoom_sdk_id?: string | null | undefined;
    zoom_sdk_pwd?: string | null | undefined;
    speech_to_text?: "Gladia" | "Runpod" | "Default" | {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    } | null | undefined;
}, {
    bot_image?: string | null | undefined;
    bot_name?: string | null | undefined;
    deduplication_key?: string | null | undefined;
    enter_message?: string | null | undefined;
    extra?: any;
    noone_joined_timeout?: number | null | undefined;
    recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
    streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
    streaming_input?: string | null | undefined;
    streaming_output?: string | null | undefined;
    transcription_custom_parameters?: any;
    waiting_room_timeout?: number | null | undefined;
    webhook_url?: string | null | undefined;
    zoom_sdk_id?: string | null | undefined;
    zoom_sdk_pwd?: string | null | undefined;
    speech_to_text?: "Gladia" | "Runpod" | "Default" | {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    } | null | undefined;
}>;
declare const patchBotResponseItem: z.ZodObject<{
    attendees: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        email: string;
        name?: string | null | undefined;
    }, {
        email: string;
        name?: string | null | undefined;
    }>, "many">;
    bot_param: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
        bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        bot_name: z.ZodString;
        deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodRecord<z.ZodString, z.ZodAny>;
        noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
        speech_to_text_api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        speech_to_text_provider: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Gladia", "Runpod", "Default"]>, z.ZodNull]>>;
        streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
        streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        transcription_custom_parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
        waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        webhook_url: z.ZodString;
        zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }>, z.ZodNull]>>;
    calendar_uuid: z.ZodString;
    deleted: z.ZodBoolean;
    end_time: z.ZodString;
    google_id: z.ZodString;
    is_organizer: z.ZodBoolean;
    is_recurring: z.ZodBoolean;
    last_updated_at: z.ZodString;
    meeting_url: z.ZodString;
    name: z.ZodString;
    raw: z.ZodRecord<z.ZodString, z.ZodAny>;
    recurring_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    start_time: z.ZodString;
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}>;
declare const patchBotResponse: z.ZodArray<z.ZodObject<{
    attendees: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        email: string;
        name?: string | null | undefined;
    }, {
        email: string;
        name?: string | null | undefined;
    }>, "many">;
    bot_param: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
        bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        bot_name: z.ZodString;
        deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodRecord<z.ZodString, z.ZodAny>;
        noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
        speech_to_text_api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        speech_to_text_provider: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Gladia", "Runpod", "Default"]>, z.ZodNull]>>;
        streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
        streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        transcription_custom_parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
        waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        webhook_url: z.ZodString;
        zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }, {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    }>, z.ZodNull]>>;
    calendar_uuid: z.ZodString;
    deleted: z.ZodBoolean;
    end_time: z.ZodString;
    google_id: z.ZodString;
    is_organizer: z.ZodBoolean;
    is_recurring: z.ZodBoolean;
    last_updated_at: z.ZodString;
    meeting_url: z.ZodString;
    name: z.ZodString;
    raw: z.ZodRecord<z.ZodString, z.ZodAny>;
    recurring_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    start_time: z.ZodString;
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}, {
    google_id: string;
    name: string;
    uuid: string;
    attendees: {
        email: string;
        name?: string | null | undefined;
    }[];
    calendar_uuid: string;
    deleted: boolean;
    end_time: string;
    is_organizer: boolean;
    is_recurring: boolean;
    last_updated_at: string;
    meeting_url: string;
    raw: Record<string, any>;
    start_time: string;
    bot_param?: {
        bot_name: string;
        extra: Record<string, any>;
        transcription_custom_parameters: Record<string, any>;
        webhook_url: string;
        bot_image?: string | null | undefined;
        deduplication_key?: string | null | undefined;
        enter_message?: string | null | undefined;
        noone_joined_timeout?: number | null | undefined;
        recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
        speech_to_text_api_key?: string | null | undefined;
        speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
        streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
        streaming_input?: string | null | undefined;
        streaming_output?: string | null | undefined;
        waiting_room_timeout?: number | null | undefined;
        zoom_sdk_id?: string | null | undefined;
        zoom_sdk_pwd?: string | null | undefined;
    } | null | undefined;
    recurring_event_id?: string | null | undefined;
}>, "many">;
/**
 * Retrieves a paginated list of calendar events with comprehensive filtering options. Supports filtering by organizer email, attendee email, date ranges (start_date_gte, start_date_lte), and event status. Results can be limited to upcoming events (default), past events, or all events. Each event includes full details such as meeting links, participants, and recording status. The response includes a 'next' pagination cursor for retrieving additional results.
 * @summary List Events
 */
declare const listEventsQueryParams: z.ZodObject<{
    attendee_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    calendar_id: z.ZodString;
    cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    organizer_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    start_date_gte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    start_date_lte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    updated_at_gte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    calendar_id: string;
    status?: string | null | undefined;
    attendee_email?: string | null | undefined;
    cursor?: string | null | undefined;
    organizer_email?: string | null | undefined;
    start_date_gte?: string | null | undefined;
    start_date_lte?: string | null | undefined;
    updated_at_gte?: string | null | undefined;
}, {
    calendar_id: string;
    status?: string | null | undefined;
    attendee_email?: string | null | undefined;
    cursor?: string | null | undefined;
    organizer_email?: string | null | undefined;
    start_date_gte?: string | null | undefined;
    start_date_lte?: string | null | undefined;
    updated_at_gte?: string | null | undefined;
}>;
declare const listEventsResponse: z.ZodObject<{
    data: z.ZodArray<z.ZodObject<{
        attendees: z.ZodArray<z.ZodObject<{
            email: z.ZodString;
            name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        }, "strip", z.ZodTypeAny, {
            email: string;
            name?: string | null | undefined;
        }, {
            email: string;
            name?: string | null | undefined;
        }>, "many">;
        bot_param: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
            bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            bot_name: z.ZodString;
            deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            extra: z.ZodRecord<z.ZodString, z.ZodAny>;
            noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
            speech_to_text_api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            speech_to_text_provider: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Gladia", "Runpod", "Default"]>, z.ZodNull]>>;
            streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
            streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            transcription_custom_parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
            waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            webhook_url: z.ZodString;
            zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        }, "strip", z.ZodTypeAny, {
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
        }, {
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
        }>, z.ZodNull]>>;
        calendar_uuid: z.ZodString;
        deleted: z.ZodBoolean;
        end_time: z.ZodString;
        google_id: z.ZodString;
        is_organizer: z.ZodBoolean;
        is_recurring: z.ZodBoolean;
        last_updated_at: z.ZodString;
        meeting_url: z.ZodString;
        name: z.ZodString;
        raw: z.ZodRecord<z.ZodString, z.ZodAny>;
        recurring_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        start_time: z.ZodString;
        uuid: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        google_id: string;
        name: string;
        uuid: string;
        attendees: {
            email: string;
            name?: string | null | undefined;
        }[];
        calendar_uuid: string;
        deleted: boolean;
        end_time: string;
        is_organizer: boolean;
        is_recurring: boolean;
        last_updated_at: string;
        meeting_url: string;
        raw: Record<string, any>;
        start_time: string;
        bot_param?: {
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
        } | null | undefined;
        recurring_event_id?: string | null | undefined;
    }, {
        google_id: string;
        name: string;
        uuid: string;
        attendees: {
            email: string;
            name?: string | null | undefined;
        }[];
        calendar_uuid: string;
        deleted: boolean;
        end_time: string;
        is_organizer: boolean;
        is_recurring: boolean;
        last_updated_at: string;
        meeting_url: string;
        raw: Record<string, any>;
        start_time: string;
        bot_param?: {
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
        } | null | undefined;
        recurring_event_id?: string | null | undefined;
    }>, "many">;
    next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    data: {
        google_id: string;
        name: string;
        uuid: string;
        attendees: {
            email: string;
            name?: string | null | undefined;
        }[];
        calendar_uuid: string;
        deleted: boolean;
        end_time: string;
        is_organizer: boolean;
        is_recurring: boolean;
        last_updated_at: string;
        meeting_url: string;
        raw: Record<string, any>;
        start_time: string;
        bot_param?: {
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
        } | null | undefined;
        recurring_event_id?: string | null | undefined;
    }[];
    next?: string | null | undefined;
}, {
    data: {
        google_id: string;
        name: string;
        uuid: string;
        attendees: {
            email: string;
            name?: string | null | undefined;
        }[];
        calendar_uuid: string;
        deleted: boolean;
        end_time: string;
        is_organizer: boolean;
        is_recurring: boolean;
        last_updated_at: string;
        meeting_url: string;
        raw: Record<string, any>;
        start_time: string;
        bot_param?: {
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
        } | null | undefined;
        recurring_event_id?: string | null | undefined;
    }[];
    next?: string | null | undefined;
}>;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Have a bot join a meeting, now or in the future. You can provide a `webhook_url` parameter to receive webhook events specific to this bot, overriding your account's default webhook URL. Events include recording completion, failures, and transcription updates.
 * @summary Join
 */
declare const joinBodyAutomaticLeaveNooneJoinedTimeoutMin = 0;
declare const joinBodyAutomaticLeaveWaitingRoomTimeoutMin = 0;
declare const joinBodyStartTimeMin = 0;
declare const joinBodyTranscriptionCustomParametersDefault: null;
declare const joinBody: z.ZodObject<{
    automatic_leave: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
        noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    }, "strip", z.ZodTypeAny, {
        noone_joined_timeout?: number | null | undefined;
        waiting_room_timeout?: number | null | undefined;
    }, {
        noone_joined_timeout?: number | null | undefined;
        waiting_room_timeout?: number | null | undefined;
    }>, z.ZodNull]>>;
    bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    bot_name: z.ZodString;
    deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    entry_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    meeting_url: z.ZodString;
    recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
    reserved: z.ZodBoolean;
    speech_to_text: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
        api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        provider: z.ZodEnum<["Gladia", "Runpod", "Default"]>;
    }, "strip", z.ZodTypeAny, {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    }, {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    }>, z.ZodEnum<["Gladia", "Runpod", "Default"]>]>, z.ZodNull]>>;
    start_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    streaming: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
        audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
        input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        audio_frequency?: "16khz" | "24khz" | null | undefined;
        input?: string | null | undefined;
        output?: string | null | undefined;
    }, {
        audio_frequency?: "16khz" | "24khz" | null | undefined;
        input?: string | null | undefined;
        output?: string | null | undefined;
    }>, z.ZodNull]>>;
    transcription_custom_parameters: z.ZodOptional<z.ZodAny>;
    webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    bot_name: string;
    meeting_url: string;
    reserved: boolean;
    bot_image?: string | null | undefined;
    deduplication_key?: string | null | undefined;
    extra?: Record<string, any> | undefined;
    recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
    transcription_custom_parameters?: any;
    webhook_url?: string | null | undefined;
    zoom_sdk_id?: string | null | undefined;
    zoom_sdk_pwd?: string | null | undefined;
    start_time?: number | null | undefined;
    speech_to_text?: "Gladia" | "Runpod" | "Default" | {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    } | null | undefined;
    automatic_leave?: {
        noone_joined_timeout?: number | null | undefined;
        waiting_room_timeout?: number | null | undefined;
    } | null | undefined;
    entry_message?: string | null | undefined;
    streaming?: {
        audio_frequency?: "16khz" | "24khz" | null | undefined;
        input?: string | null | undefined;
        output?: string | null | undefined;
    } | null | undefined;
}, {
    bot_name: string;
    meeting_url: string;
    reserved: boolean;
    bot_image?: string | null | undefined;
    deduplication_key?: string | null | undefined;
    extra?: Record<string, any> | undefined;
    recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
    transcription_custom_parameters?: any;
    webhook_url?: string | null | undefined;
    zoom_sdk_id?: string | null | undefined;
    zoom_sdk_pwd?: string | null | undefined;
    start_time?: number | null | undefined;
    speech_to_text?: "Gladia" | "Runpod" | "Default" | {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    } | null | undefined;
    automatic_leave?: {
        noone_joined_timeout?: number | null | undefined;
        waiting_room_timeout?: number | null | undefined;
    } | null | undefined;
    entry_message?: string | null | undefined;
    streaming?: {
        audio_frequency?: "16khz" | "24khz" | null | undefined;
        input?: string | null | undefined;
        output?: string | null | undefined;
    } | null | undefined;
}>;
declare const joinResponse: z.ZodObject<{
    bot_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    bot_id: string;
}, {
    bot_id: string;
}>;
/**
 * Leave
 * @summary Leave
 */
declare const leaveParams: z.ZodObject<{
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    uuid: string;
}, {
    uuid: string;
}>;
declare const leaveResponse: z.ZodObject<{
    ok: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
    ok: boolean;
}, {
    ok: boolean;
}>;
/**
 * Get meeting recording and metadata
 * @summary Get Meeting Data
 */
declare const getMeetingDataQueryIncludeTranscriptsDefault = true;
declare const getMeetingDataQueryParams: z.ZodObject<{
    bot_id: z.ZodString;
    include_transcripts: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    bot_id: string;
    include_transcripts: boolean;
}, {
    bot_id: string;
    include_transcripts?: boolean | undefined;
}>;
declare const getMeetingDataResponse: z.ZodObject<{
    bot_data: z.ZodObject<{
        bot: z.ZodObject<{
            account_id: z.ZodNumber;
            bot_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            bot_name: z.ZodString;
            bot_param_id: z.ZodNumber;
            created_at: z.ZodString;
            deduplication_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            diarization_fails: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            diarization_v2: z.ZodBoolean;
            ended_at: z.ZodNullable<z.ZodString>;
            enter_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            errors: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            event_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            extra: z.ZodRecord<z.ZodString, z.ZodAny>;
            id: z.ZodNumber;
            meeting_url: z.ZodString;
            mp4_s3_path: z.ZodString;
            noone_joined_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            recording_mode: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["speaker_view"]>, z.ZodEnum<["gallery_view"]>]>, z.ZodEnum<["audio_only"]>]>, z.ZodNull]>>;
            reserved: z.ZodBoolean;
            scheduled_bot_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            speech_to_text_api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            speech_to_text_provider: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Gladia", "Runpod", "Default"]>, z.ZodNull]>>;
            streaming_audio_frequency: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["16khz", "24khz"]>, z.ZodNull]>>;
            streaming_input: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            streaming_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            transcription_custom_parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
            transcription_fails: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            transcription_payloads: z.ZodOptional<z.ZodAny>;
            user_reported_error: z.ZodOptional<z.ZodAny>;
            uuid: z.ZodString;
            waiting_room_timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            webhook_url: z.ZodString;
            zoom_sdk_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            zoom_sdk_pwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        }, "strip", z.ZodTypeAny, {
            id: number;
            uuid: string;
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            meeting_url: string;
            reserved: boolean;
            account_id: number;
            bot_param_id: number;
            created_at: string;
            diarization_v2: boolean;
            ended_at: string | null;
            mp4_s3_path: string;
            errors?: string | null | undefined;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
            diarization_fails?: number | null | undefined;
            event_id?: number | null | undefined;
            scheduled_bot_id?: number | null | undefined;
            session_id?: string | null | undefined;
            transcription_fails?: number | null | undefined;
            transcription_payloads?: any;
            user_reported_error?: any;
        }, {
            id: number;
            uuid: string;
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            meeting_url: string;
            reserved: boolean;
            account_id: number;
            bot_param_id: number;
            created_at: string;
            diarization_v2: boolean;
            ended_at: string | null;
            mp4_s3_path: string;
            errors?: string | null | undefined;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
            diarization_fails?: number | null | undefined;
            event_id?: number | null | undefined;
            scheduled_bot_id?: number | null | undefined;
            session_id?: string | null | undefined;
            transcription_fails?: number | null | undefined;
            transcription_payloads?: any;
            user_reported_error?: any;
        }>;
        transcripts: z.ZodArray<z.ZodObject<{
            bot_id: z.ZodNumber;
            end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            id: z.ZodNumber;
            lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            speaker: z.ZodString;
            start_time: z.ZodNumber;
            user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            words: z.ZodArray<z.ZodObject<{
                bot_id: z.ZodNumber;
                end_time: z.ZodNumber;
                id: z.ZodNumber;
                start_time: z.ZodNumber;
                text: z.ZodString;
                user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            }, "strip", z.ZodTypeAny, {
                id: number;
                end_time: number;
                start_time: number;
                bot_id: number;
                text: string;
                user_id?: number | null | undefined;
            }, {
                id: number;
                end_time: number;
                start_time: number;
                bot_id: number;
                text: string;
                user_id?: number | null | undefined;
            }>, "many">;
        }, "strip", z.ZodTypeAny, {
            id: number;
            start_time: number;
            bot_id: number;
            speaker: string;
            words: {
                id: number;
                end_time: number;
                start_time: number;
                bot_id: number;
                text: string;
                user_id?: number | null | undefined;
            }[];
            end_time?: number | null | undefined;
            lang?: string | null | undefined;
            user_id?: number | null | undefined;
        }, {
            id: number;
            start_time: number;
            bot_id: number;
            speaker: string;
            words: {
                id: number;
                end_time: number;
                start_time: number;
                bot_id: number;
                text: string;
                user_id?: number | null | undefined;
            }[];
            end_time?: number | null | undefined;
            lang?: string | null | undefined;
            user_id?: number | null | undefined;
        }>, "many">;
    }, "strip", z.ZodTypeAny, {
        bot: {
            id: number;
            uuid: string;
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            meeting_url: string;
            reserved: boolean;
            account_id: number;
            bot_param_id: number;
            created_at: string;
            diarization_v2: boolean;
            ended_at: string | null;
            mp4_s3_path: string;
            errors?: string | null | undefined;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
            diarization_fails?: number | null | undefined;
            event_id?: number | null | undefined;
            scheduled_bot_id?: number | null | undefined;
            session_id?: string | null | undefined;
            transcription_fails?: number | null | undefined;
            transcription_payloads?: any;
            user_reported_error?: any;
        };
        transcripts: {
            id: number;
            start_time: number;
            bot_id: number;
            speaker: string;
            words: {
                id: number;
                end_time: number;
                start_time: number;
                bot_id: number;
                text: string;
                user_id?: number | null | undefined;
            }[];
            end_time?: number | null | undefined;
            lang?: string | null | undefined;
            user_id?: number | null | undefined;
        }[];
    }, {
        bot: {
            id: number;
            uuid: string;
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            meeting_url: string;
            reserved: boolean;
            account_id: number;
            bot_param_id: number;
            created_at: string;
            diarization_v2: boolean;
            ended_at: string | null;
            mp4_s3_path: string;
            errors?: string | null | undefined;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
            diarization_fails?: number | null | undefined;
            event_id?: number | null | undefined;
            scheduled_bot_id?: number | null | undefined;
            session_id?: string | null | undefined;
            transcription_fails?: number | null | undefined;
            transcription_payloads?: any;
            user_reported_error?: any;
        };
        transcripts: {
            id: number;
            start_time: number;
            bot_id: number;
            speaker: string;
            words: {
                id: number;
                end_time: number;
                start_time: number;
                bot_id: number;
                text: string;
                user_id?: number | null | undefined;
            }[];
            end_time?: number | null | undefined;
            lang?: string | null | undefined;
            user_id?: number | null | undefined;
        }[];
    }>;
    duration: z.ZodNumber;
    mp4: z.ZodString;
}, "strip", z.ZodTypeAny, {
    bot_data: {
        bot: {
            id: number;
            uuid: string;
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            meeting_url: string;
            reserved: boolean;
            account_id: number;
            bot_param_id: number;
            created_at: string;
            diarization_v2: boolean;
            ended_at: string | null;
            mp4_s3_path: string;
            errors?: string | null | undefined;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
            diarization_fails?: number | null | undefined;
            event_id?: number | null | undefined;
            scheduled_bot_id?: number | null | undefined;
            session_id?: string | null | undefined;
            transcription_fails?: number | null | undefined;
            transcription_payloads?: any;
            user_reported_error?: any;
        };
        transcripts: {
            id: number;
            start_time: number;
            bot_id: number;
            speaker: string;
            words: {
                id: number;
                end_time: number;
                start_time: number;
                bot_id: number;
                text: string;
                user_id?: number | null | undefined;
            }[];
            end_time?: number | null | undefined;
            lang?: string | null | undefined;
            user_id?: number | null | undefined;
        }[];
    };
    duration: number;
    mp4: string;
}, {
    bot_data: {
        bot: {
            id: number;
            uuid: string;
            bot_name: string;
            extra: Record<string, any>;
            transcription_custom_parameters: Record<string, any>;
            webhook_url: string;
            meeting_url: string;
            reserved: boolean;
            account_id: number;
            bot_param_id: number;
            created_at: string;
            diarization_v2: boolean;
            ended_at: string | null;
            mp4_s3_path: string;
            errors?: string | null | undefined;
            bot_image?: string | null | undefined;
            deduplication_key?: string | null | undefined;
            enter_message?: string | null | undefined;
            noone_joined_timeout?: number | null | undefined;
            recording_mode?: "speaker_view" | "gallery_view" | "audio_only" | null | undefined;
            speech_to_text_api_key?: string | null | undefined;
            speech_to_text_provider?: "Gladia" | "Runpod" | "Default" | null | undefined;
            streaming_audio_frequency?: "16khz" | "24khz" | null | undefined;
            streaming_input?: string | null | undefined;
            streaming_output?: string | null | undefined;
            waiting_room_timeout?: number | null | undefined;
            zoom_sdk_id?: string | null | undefined;
            zoom_sdk_pwd?: string | null | undefined;
            diarization_fails?: number | null | undefined;
            event_id?: number | null | undefined;
            scheduled_bot_id?: number | null | undefined;
            session_id?: string | null | undefined;
            transcription_fails?: number | null | undefined;
            transcription_payloads?: any;
            user_reported_error?: any;
        };
        transcripts: {
            id: number;
            start_time: number;
            bot_id: number;
            speaker: string;
            words: {
                id: number;
                end_time: number;
                start_time: number;
                bot_id: number;
                text: string;
                user_id?: number | null | undefined;
            }[];
            end_time?: number | null | undefined;
            lang?: string | null | undefined;
            user_id?: number | null | undefined;
        }[];
    };
    duration: number;
    mp4: string;
}>;
/**
 * Deletes a bot's data including recording, transcription, and logs. Only metadata is retained. Rate limited to 5 requests per minute per API key.
 * @summary Delete Data
 */
declare const deleteDataParams: z.ZodObject<{
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    uuid: string;
}, {
    uuid: string;
}>;
declare const deleteDataResponse: z.ZodObject<{
    ok: z.ZodBoolean;
    status: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["deleted"]>, z.ZodEnum<["partiallyDeleted"]>]>, z.ZodEnum<["alreadyDeleted"]>]>, z.ZodEnum<["noDataFound"]>]>;
}, "strip", z.ZodTypeAny, {
    status: "deleted" | "partiallyDeleted" | "alreadyDeleted" | "noDataFound";
    ok: boolean;
}, {
    status: "deleted" | "partiallyDeleted" | "alreadyDeleted" | "noDataFound";
    ok: boolean;
}>;
/**
 * Retrieves a paginated list of the user's bots with essential metadata, including IDs, names, and meeting details. Supports filtering, sorting, and advanced querying options.
 * @summary List Bots with Metadata
 */
declare const botsWithMetadataQueryLimitDefault = 10;
declare const botsWithMetadataQueryParams: z.ZodObject<{
    bot_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    created_after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    created_before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    ended_after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    filter_by_extra: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    limit: z.ZodDefault<z.ZodNumber>;
    meeting_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    sort_by_extra: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    speaker_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    limit: number;
    bot_name?: string | null | undefined;
    meeting_url?: string | null | undefined;
    cursor?: string | null | undefined;
    created_after?: string | null | undefined;
    created_before?: string | null | undefined;
    ended_after?: string | null | undefined;
    filter_by_extra?: string | null | undefined;
    sort_by_extra?: string | null | undefined;
    speaker_name?: string | null | undefined;
}, {
    bot_name?: string | null | undefined;
    meeting_url?: string | null | undefined;
    cursor?: string | null | undefined;
    created_after?: string | null | undefined;
    created_before?: string | null | undefined;
    ended_after?: string | null | undefined;
    filter_by_extra?: string | null | undefined;
    limit?: number | undefined;
    sort_by_extra?: string | null | undefined;
    speaker_name?: string | null | undefined;
}>;
declare const botsWithMetadataResponseLastUpdatedDefault = "2025-01-01T00:00:00.000000000+00:00";
declare const botsWithMetadataResponse: z.ZodObject<{
    bots: z.ZodArray<z.ZodObject<{
        access_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        bot_name: z.ZodString;
        created_at: z.ZodString;
        duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        ended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodRecord<z.ZodString, z.ZodAny>;
        id: z.ZodNumber;
        last_accessed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        meeting_url: z.ZodString;
        session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        speakers: z.ZodArray<z.ZodString, "many">;
        uuid: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        id: number;
        uuid: string;
        bot_name: string;
        extra: Record<string, any>;
        meeting_url: string;
        created_at: string;
        speakers: string[];
        ended_at?: string | null | undefined;
        session_id?: string | null | undefined;
        duration?: number | null | undefined;
        access_count?: number | null | undefined;
        last_accessed_at?: string | null | undefined;
    }, {
        id: number;
        uuid: string;
        bot_name: string;
        extra: Record<string, any>;
        meeting_url: string;
        created_at: string;
        speakers: string[];
        ended_at?: string | null | undefined;
        session_id?: string | null | undefined;
        duration?: number | null | undefined;
        access_count?: number | null | undefined;
        last_accessed_at?: string | null | undefined;
    }>, "many">;
    last_updated: z.ZodDefault<z.ZodString>;
    next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    bots: {
        id: number;
        uuid: string;
        bot_name: string;
        extra: Record<string, any>;
        meeting_url: string;
        created_at: string;
        speakers: string[];
        ended_at?: string | null | undefined;
        session_id?: string | null | undefined;
        duration?: number | null | undefined;
        access_count?: number | null | undefined;
        last_accessed_at?: string | null | undefined;
    }[];
    last_updated: string;
    next_cursor?: string | null | undefined;
}, {
    bots: {
        id: number;
        uuid: string;
        bot_name: string;
        extra: Record<string, any>;
        meeting_url: string;
        created_at: string;
        speakers: string[];
        ended_at?: string | null | undefined;
        session_id?: string | null | undefined;
        duration?: number | null | undefined;
        access_count?: number | null | undefined;
        last_accessed_at?: string | null | undefined;
    }[];
    last_updated?: string | undefined;
    next_cursor?: string | null | undefined;
}>;
/**
 * Transcribe or retranscribe a bot's audio using the Default or your provided Speech to Text Provider
 * @summary Retranscribe Bot
 */
declare const retranscribeBotBody: z.ZodObject<{
    bot_uuid: z.ZodString;
    speech_to_text: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
        api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        provider: z.ZodEnum<["Gladia", "Runpod", "Default"]>;
    }, "strip", z.ZodTypeAny, {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    }, {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    }>, z.ZodEnum<["Gladia", "Runpod", "Default"]>]>, z.ZodNull]>>;
    webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    bot_uuid: string;
    webhook_url?: string | null | undefined;
    speech_to_text?: "Gladia" | "Runpod" | "Default" | {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    } | null | undefined;
}, {
    bot_uuid: string;
    webhook_url?: string | null | undefined;
    speech_to_text?: "Gladia" | "Runpod" | "Default" | {
        provider: "Gladia" | "Runpod" | "Default";
        api_key?: string | null | undefined;
    } | null | undefined;
}>;
/**
 * Retrieves screenshots captured during the bot's session
 * @summary Get Screenshots
 */
declare const getScreenshotsParams: z.ZodObject<{
    uuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
    uuid: string;
}, {
    uuid: string;
}>;
declare const getScreenshotsResponseItem: z.ZodObject<{
    date: z.ZodString;
    url: z.ZodString;
}, "strip", z.ZodTypeAny, {
    date: string;
    url: string;
}, {
    date: string;
    url: string;
}>;
declare const getScreenshotsResponse: z.ZodArray<z.ZodObject<{
    date: z.ZodString;
    url: z.ZodString;
}, "strip", z.ZodTypeAny, {
    date: string;
    url: string;
}, {
    date: string;
    url: string;
}>, "many">;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Meeting BaaS sends webhook events to your configured webhook URL when specific events occur.

## Webhook Event Types

### 1. `complete`
Sent when a bot successfully completes recording a meeting. Contains full transcription data and a link to the recording.
```json
{
  \"event\": \"complete\",
  \"data\": {
    \"bot_id\": \"123e4567-e89b-12d3-a456-426614174000\",
    \"transcript\": [
      {
        \"speaker\": \"John Doe\",
        \"offset\": 1.5,
        \"words\": [
          {
            \"start\": 1.5,
            \"end\": 1.9,
            \"word\": \"Hello\"
          },
          {
            \"start\": 2.0,
            \"end\": 2.4,
            \"word\": \"everyone\"
          }
        ]
      }
    ],
    \"speakers\": [
      \"John Doe\",
      \"Jane Smith\"
    ],
    \"mp4\": \"https://storage.example.com/recordings/video123.mp4?token=abc\",
    \"event\": \"complete\"
  }
}
```

The `complete` event includes:
- **bot_id**: Unique identifier for the bot that completed recording
- **speakers**: A set of speaker names identified in the meeting
- **transcript**: Full transcript data with speaker identification and word timing
- **mp4**: URL to the recording file (valid for 24 hours by default)
- **event**: Event type identifier ("complete")

### 2. `failed`
Sent when a bot fails to join or record a meeting. Contains error details.
```json
{
  \"event\": \"failed\",
  \"data\": {
    \"bot_id\": \"123e4567-e89b-12d3-a456-426614174000\",
    \"error\": \"meeting_not_found\",
    \"message\": \"Could not join meeting: The meeting ID was not found or has expired\"
  }
}
```

The `failed` event includes:
- **bot_id**: Unique identifier for the bot that failed
- **error**: Error code identifying the type of failure
- **message**: Detailed human-readable error message

Common error types include:
- `meeting_not_found`: The meeting ID or link was invalid or expired
- `access_denied`: The bot was denied access to the meeting
- `authentication_error`: Failed to authenticate with the meeting platform
- `network_error`: Network connectivity issues during recording
- `internal_error`: Internal server error

### 3. `calendar.sync_events`
Sent when calendar events are synced. Contains information about which events were updated.
```json
{
  \"event\": \"calendar.sync_events\",
  \"data\": {
    \"calendar_id\": \"123e4567-e89b-12d3-a456-426614174000\",
    \"last_updated_ts\": \"2023-05-01T12:00:00Z\",
    \"affected_event_uuids\": [
      \"123e4567-e89b-12d3-a456-426614174001\",
      \"123e4567-e89b-12d3-a456-426614174002\"
    ]
  }
}
```

The `calendar.sync_events` event includes:
- **calendar_id**: UUID of the calendar that was synced
- **last_updated_ts**: ISO-8601 timestamp of when the sync occurred
- **affected_event_uuids**: Array of UUIDs for calendar events that were added, updated, or deleted

This event is triggered when:
- Calendar data is synced with the external provider (Google, Microsoft)
- Multiple events may be created, updated, or deleted in a single sync operation
- Use this event to update your local cache of calendar events

### 4. `transcription_complete`
Sent when transcription is completed separately from recording (e.g., after retranscribing).
```json
{
  \"event\": \"transcription_complete\",
  \"data\": {
    \"bot_id\": \"123e4567-e89b-12d3-a456-426614174000\"
  }
}
```

The `transcription_complete` event includes:
- **bot_id**: Unique identifier for the bot with the completed transcription

This event is sent when:
- You request a retranscription via the `/bots/retranscribe` endpoint
- An asynchronous transcription process completes after the recording has ended

## Setting Up Webhooks

You can configure webhooks in two ways:
1. **Account-level webhook URL**: Set a default webhook URL for all bots in your account using the `/accounts/webhook_url` endpoint
2. **Bot-specific webhook URL**: Provide a `webhook_url` parameter when creating a bot with the `/bots` endpoint

Your webhook endpoint must:
- Accept POST requests with JSON payload
- Return a 2xx status code to acknowledge receipt
- Process requests within 10 seconds to avoid timeouts
- Handle each event type appropriately based on the event type

All webhook requests include:
- `x-meeting-baas-api-key` header with your API key for verification
- `content-type: application/json` header
- JSON body containing the event details

## Webhook Reliability

If your endpoint fails to respond or returns an error, the system will attempt to retry the webhook delivery. For critical events, we recommend implementing:

- Idempotency handling to prevent duplicate processing of the same event
- Proper logging of webhook receipts for audit purposes
- Asynchronous processing to quickly acknowledge receipt before handling the event data

For security, always validate the API key in the `x-meeting-baas-api-key` header matches your API key.
 * @summary Webhook Events Documentation
 */
declare const webhookDocumentationResponse: z.ZodAny;
/**
 * Meeting BaaS sends the following webhook events related to bot recordings.

## Bot Webhook Event Types

### 1. `complete`
Sent when a bot successfully completes recording a meeting.

**Payload Structure:**
```json
{
  \"event\": \"complete\",
  \"data\": {
    \"bot_id\": \"123e4567-e89b-12d3-a456-426614174000\",
    \"transcript\": [
      {
        \"speaker\": \"John Doe\",
        \"offset\": 1.5,
        \"words\": [
          {
            \"start\": 1.5,
            \"end\": 1.9,
            \"word\": \"Hello\"
          },
          {
            \"start\": 2.0,
            \"end\": 2.4,
            \"word\": \"everyone\"
          }
        ]
      }
    ],
    \"speakers\": [
      \"Jane Smith\",
      \"John Doe\"
    ],
    \"mp4\": \"https://storage.example.com/recordings/video123.mp4?token=abc\",
    \"event\": \"complete\"
  }
}
```

**When it's triggered:**
- After a bot successfully records and processes a meeting
- After the recording is uploaded and made available
- When all processing of the meeting recording is complete

**What to do with it:**
- Download the MP4 recording for storage in your system
- Store the transcript data in your database
- Update meeting status in your application
- Notify users that the recording is available

### 2. `failed`
Sent when a bot fails to join or record a meeting.

**Payload Structure:**
```json
{
  \"event\": \"failed\",
  \"data\": {
    \"bot_id\": \"123e4567-e89b-12d3-a456-426614174000\",
    \"error\": \"meeting_not_found\",
    \"message\": \"Could not join meeting: The meeting ID was not found or has expired\"
  }
}
```

**Common error types:**
- `meeting_not_found`: The meeting ID or link was invalid or expired
- `access_denied`: The bot was denied access to the meeting
- `authentication_error`: Failed to authenticate with the meeting platform
- `network_error`: Network connectivity issues during recording
- `internal_error`: Internal server error

**What to do with it:**
- Log the failure for troubleshooting
- Notify administrators or users about the failed recording
- Attempt to reschedule if appropriate
- Update meeting status in your system

### 3. `transcription_complete`
Sent when transcription is completed separately from recording.

**Payload Structure:**
```json
{
  \"event\": \"transcription_complete\",
  \"data\": {
    \"bot_id\": \"123e4567-e89b-12d3-a456-426614174000\"
  }
}
```

**When it's triggered:**
- After requesting retranscription via the API
- When an asynchronous transcription job completes
- When a higher quality or different language transcription becomes available

**What to do with it:**
- Update the transcript data in your system
- Notify users that improved transcription is available
- Run any post-processing on the new transcript data

## Webhook Usage Tips

- Each event includes the `bot_id` so you can correlate with your internal data
- The complete event includes speaker identification and full transcript data
- For downloading recordings, the mp4 URL is valid for 24 hours
- Handle the webhook asynchronously and return 200 OK quickly to prevent timeouts

For security, always validate the API key in the `x-meeting-baas-api-key` header matches your API key.
 * @summary Bot Webhook Events Documentation
 */
declare const botWebhookDocumentationResponse: z.ZodAny;
/**
 * Meeting BaaS sends the following webhook events related to calendar integrations.

## Calendar Webhook Event Types

### 1. `calendar.sync_events`
Sent when calendar events are synced with external providers.

**Payload Structure:**
```json
{
  \"event\": \"calendar.sync_events\",
  \"data\": {
    \"calendar_id\": \"123e4567-e89b-12d3-a456-426614174000\",
    \"last_updated_ts\": \"2023-05-01T12:00:00Z\",
    \"affected_event_uuids\": [
      \"123e4567-e89b-12d3-a456-426614174001\",
      \"123e4567-e89b-12d3-a456-426614174002\"
    ]
  }
}
```

**When it's triggered:**
- After initial calendar connection is established
- When external calendar providers (Google, Microsoft) send change notifications
- After manual calendar resync operations
- During scheduled periodic syncs
- When events are created, updated, or deleted in the source calendar

**What to do with it:**
- Update your local copy of calendar events
- Process any new events that match your criteria
- Remove any deleted events from your system
- Update schedules for any modified events
- Refresh your UI to show the latest calendar data

**Field details:**
- `calendar_id`: The UUID of the synchronized calendar
- `last_updated_ts`: ISO-8601 timestamp when the sync occurred
- `affected_event_uuids**: Array of UUIDs for events that were changed

## Integration with Meeting BaaS Calendar API

After receiving a calendar webhook event, you can:
1. Use the `/calendar_events` endpoint to retrieve detailed information about specific events
2. Use the `/calendars/:uuid` endpoint to get calendar metadata
3. Schedule recording bots for any new meetings with the `/calendar_events/:uuid/bot` endpoint

## Webhook Usage Tips

- Each event includes affected event UUIDs for efficient processing
- You don't need to retrieve all calendar events - just process the changed ones
- The timestamp helps determine the sequence of updates
- For high-frequency calendars, consider batch processing of multiple events

For security, always validate the API key in the `x-meeting-baas-api-key` header matches your API key.
 * @summary Calendar Webhook Events Documentation
 */
declare const calendarWebhookDocumentationResponse: z.ZodAny;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type AccountCompanyName = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type AccountFirstname = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type AccountLastname = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type AccountPhone = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface SystemTime {
    /** @minimum 0 */
    nanos_since_epoch: number;
    /** @minimum 0 */
    secs_since_epoch: number;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * This structure represents the user's account information.
 */
interface Account {
    company_name?: AccountCompanyName;
    created_at: SystemTime;
    email: string;
    firstname?: AccountFirstname;
    id: number;
    lastname?: AccountLastname;
    phone?: AccountPhone;
    secret: string;
    status: number;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Structure consisting account information.
 */
interface AccountInfos {
    account: Account;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface ApiKeyResponse {
    api_key: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * The display name of the attendee if available from the calendar provider (Google, Microsoft)
 */
type AttendeeName = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface Attendee {
    /** The email address of the meeting attendee */
    email: string;
    /** The display name of the attendee if available from the calendar provider (Google, Microsoft) */
    name?: AttendeeName;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type AudioFrequency = (typeof AudioFrequency)[keyof typeof AudioFrequency];
declare const AudioFrequency: {
    readonly "16khz": "16khz";
    readonly "24khz": "24khz";
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * The timeout in seconds for the bot to wait for participants to join before leaving the meeting, defaults to 600 seconds
 * @minimum 0
 */
type AutomaticLeaveRequestNooneJoinedTimeout = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * The timeout in seconds for the bot to wait in the waiting room before leaving the meeting, defaults to 600 seconds
 * @minimum 0
 */
type AutomaticLeaveRequestWaitingRoomTimeout = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface AutomaticLeaveRequest {
    /**
     * The timeout in seconds for the bot to wait for participants to join before leaving the meeting, defaults to 600 seconds
     * @minimum 0
     */
    noone_joined_timeout?: AutomaticLeaveRequestNooneJoinedTimeout;
    /**
     * The timeout in seconds for the bot to wait in the waiting room before leaving the meeting, defaults to 600 seconds
     * @minimum 0
     */
    waiting_room_timeout?: AutomaticLeaveRequestWaitingRoomTimeout;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Bot2DiarizationFails = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Bot2Errors = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Bot2EventId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Bot2ScheduledBotId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Bot2SessionId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Bot2TranscriptionFails = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type DateTime = string;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type OptionalDateTime = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface Bot2 {
    account_id: number;
    bot_param_id: number;
    created_at: DateTime;
    diarization_fails?: Bot2DiarizationFails;
    diarization_v2: boolean;
    ended_at: OptionalDateTime;
    errors?: Bot2Errors;
    event_id?: Bot2EventId;
    id: number;
    meeting_url: string;
    mp4_s3_path: string;
    reserved: boolean;
    scheduled_bot_id?: Bot2ScheduledBotId;
    session_id?: Bot2SessionId;
    transcription_fails?: Bot2TranscriptionFails;
    transcription_payloads?: unknown;
    user_reported_error?: unknown;
    uuid: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParamBotImage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParamDeduplicationKey = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParamEnterMessage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParamNooneJoinedTimeout = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Recording mode for the bot
 */
declare const RecordingMode: {
    readonly speaker_view: "speaker_view";
    readonly gallery_view: "gallery_view";
    readonly audio_only: "audio_only";
};
type RecordingMode = (typeof RecordingMode)[keyof typeof RecordingMode];

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParamRecordingMode = RecordingMode | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParamSpeechToTextApiKey = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type SpeechToTextProvider = (typeof SpeechToTextProvider)[keyof typeof SpeechToTextProvider];
declare const SpeechToTextProvider: {
    readonly Gladia: "Gladia";
    readonly Runpod: "Runpod";
    readonly Default: "Default";
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParamSpeechToTextProvider = SpeechToTextProvider | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParamStreamingAudioFrequency = AudioFrequency | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParamStreamingInput = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParamStreamingOutput = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParamWaitingRoomTimeout = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParamZoomSdkId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParamZoomSdkPwd = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Custom data object
 */
interface Extra {
    [key: string]: unknown;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface BotParam {
    bot_image?: BotParamBotImage;
    bot_name: string;
    deduplication_key?: BotParamDeduplicationKey;
    enter_message?: BotParamEnterMessage;
    extra: Extra;
    noone_joined_timeout?: BotParamNooneJoinedTimeout;
    recording_mode?: BotParamRecordingMode;
    speech_to_text_api_key?: BotParamSpeechToTextApiKey;
    speech_to_text_provider?: BotParamSpeechToTextProvider;
    streaming_audio_frequency?: BotParamStreamingAudioFrequency;
    streaming_input?: BotParamStreamingInput;
    streaming_output?: BotParamStreamingOutput;
    transcription_custom_parameters: Extra;
    waiting_room_timeout?: BotParamWaitingRoomTimeout;
    webhook_url: string;
    zoom_sdk_id?: BotParamZoomSdkId;
    zoom_sdk_pwd?: BotParamZoomSdkPwd;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface Bot {
    bot: Bot2;
    duration: number;
    params: BotParam;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsBotImage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsDeduplicationKey = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsDiarizationFails = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsEnterMessage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsErrors = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsEventId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsNooneJoinedTimeout = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotWithParamsRecordingMode = RecordingMode | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsScheduledBotId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsSessionId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsSpeechToTextApiKey = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotWithParamsSpeechToTextProvider = SpeechToTextProvider | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotWithParamsStreamingAudioFrequency = AudioFrequency | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsStreamingInput = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsStreamingOutput = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsTranscriptionFails = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsWaitingRoomTimeout = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsZoomSdkId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotWithParamsZoomSdkPwd = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface BotWithParams {
    account_id: number;
    bot_image?: BotWithParamsBotImage;
    bot_name: string;
    bot_param_id: number;
    created_at: DateTime;
    deduplication_key?: BotWithParamsDeduplicationKey;
    diarization_fails?: BotWithParamsDiarizationFails;
    diarization_v2: boolean;
    ended_at: OptionalDateTime;
    enter_message?: BotWithParamsEnterMessage;
    errors?: BotWithParamsErrors;
    event_id?: BotWithParamsEventId;
    extra: Extra;
    id: number;
    meeting_url: string;
    mp4_s3_path: string;
    noone_joined_timeout?: BotWithParamsNooneJoinedTimeout;
    recording_mode?: BotWithParamsRecordingMode;
    reserved: boolean;
    scheduled_bot_id?: BotWithParamsScheduledBotId;
    session_id?: BotWithParamsSessionId;
    speech_to_text_api_key?: BotWithParamsSpeechToTextApiKey;
    speech_to_text_provider?: BotWithParamsSpeechToTextProvider;
    streaming_audio_frequency?: BotWithParamsStreamingAudioFrequency;
    streaming_input?: BotWithParamsStreamingInput;
    streaming_output?: BotWithParamsStreamingOutput;
    transcription_custom_parameters: Extra;
    transcription_fails?: BotWithParamsTranscriptionFails;
    transcription_payloads?: unknown;
    user_reported_error?: unknown;
    uuid: string;
    waiting_room_timeout?: BotWithParamsWaitingRoomTimeout;
    webhook_url: string;
    zoom_sdk_id?: BotWithParamsZoomSdkId;
    zoom_sdk_pwd?: BotWithParamsZoomSdkPwd;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type TranscriptEndTime = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type TranscriptLang = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type TranscriptUserId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type WordUserId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface Word {
    bot_id: number;
    end_time: number;
    id: number;
    start_time: number;
    text: string;
    user_id?: WordUserId;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface Transcript {
    bot_id: number;
    end_time?: TranscriptEndTime;
    id: number;
    lang?: TranscriptLang;
    speaker: string;
    start_time: number;
    user_id?: TranscriptUserId;
    words: Word[];
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface BotData {
    bot: BotWithParams;
    transcripts: Transcript[];
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Detailed explanation when available
 */
type BotStatusResponseDetails = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * API response type for frontend developers to display and sort bot statuses

# Fields * `value` - String representation of the status suitable for displaying and filtering * `type` - Category of status (success, error, warning, pending) * `details` - Optional detailed explanation of the status * `sort_priority` - Numeric value for sorting (lower = higher priority) * `category` - Logical grouping of similar status types
 */
interface BotStatusResponse {
    /** Logical grouping of status */
    category: string;
    /** Detailed explanation when available */
    details?: BotStatusResponseDetails;
    /** Numeric priority for sorting (0 = highest priority) */
    sort_priority: number;
    /** Status type (success, error, warning, pending) */
    type: string;
    /** Display text for the status */
    value: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * The email of the account owner (only included for special domain users)
 */
type BotWithStatusAccountEmail = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Number of diarization failures
 */
type BotWithStatusDiarizationFails = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Any error messages
 */
type BotWithStatusErrors = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * ID of the calendar event if scheduled
 */
type BotWithStatusEventId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * ID of the scheduled bot if scheduled
 */
type BotWithStatusScheduledBotId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * The session ID for this bot instance
 */
type BotWithStatusSessionId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Number of transcription failures
 */
type BotWithStatusTranscriptionFails = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Bot information with status metadata

This struct combines the bot data with status information optimized for UI display.
 */
interface BotWithStatus {
    /** The email of the account owner (only included for special domain users) */
    account_email?: BotWithStatusAccountEmail;
    /** The account that owns this bot */
    account_id: number;
    /** ID of the bot parameters used */
    bot_param_id: number;
    /** When the bot was created */
    created_at: DateTime;
    /** Number of diarization failures */
    diarization_fails?: BotWithStatusDiarizationFails;
    /** Whether diarization v2 is enabled */
    diarization_v2: boolean;
    /** Duration of the recording in seconds */
    duration: number;
    /** When the bot ended recording */
    ended_at: OptionalDateTime;
    /** Any error messages */
    errors?: BotWithStatusErrors;
    /** ID of the calendar event if scheduled */
    event_id?: BotWithStatusEventId;
    /** The bot's unique identifier */
    id: number;
    /** The meeting URL this bot is recording */
    meeting_url: string;
    /** Path to the MP4 file in S3 */
    mp4_s3_path: string;
    /** Bot parameters */
    params: BotParam;
    /** Whether this bot is reserved */
    reserved: boolean;
    /** ID of the scheduled bot if scheduled */
    scheduled_bot_id?: BotWithStatusScheduledBotId;
    /** The session ID for this bot instance */
    session_id?: BotWithStatusSessionId;
    /** Frontend-friendly status information for display and sorting */
    status: BotStatusResponse;
    /** Number of transcription failures */
    transcription_fails?: BotWithStatusTranscriptionFails;
    /** User reported error information */
    user_reported_error?: unknown;
    /** Unique identifier for this bot */
    uuid: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Paginated bot results with status information

This response includes bots with their status information and pagination metadata to support loading additional results.

The bots are automatically sorted by status priority (critical issues first).
 */
interface BotPagined {
    /** List of bots with status information, sorted by priority */
    bots: BotWithStatus[];
    /** Whether there are more results available at the next offset */
    has_more: boolean;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam2BotImage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam2DeduplicationKey = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam2EnterMessage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam2NooneJoinedTimeout = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParam2RecordingMode = RecordingMode | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type SpeechToTextApiParameterApiKey = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface SpeechToTextApiParameter {
    api_key?: SpeechToTextApiParameterApiKey;
    provider: SpeechToTextProvider;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type SpeechToText = SpeechToTextApiParameter | SpeechToTextProvider;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParam2SpeechToText = SpeechToText | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParam2StreamingAudioFrequency = AudioFrequency | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam2StreamingInput = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam2StreamingOutput = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam2WaitingRoomTimeout = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam2WebhookUrl = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam2ZoomSdkId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam2ZoomSdkPwd = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface BotParam2 {
    bot_image?: BotParam2BotImage;
    bot_name: string;
    deduplication_key?: BotParam2DeduplicationKey;
    enter_message?: BotParam2EnterMessage;
    extra: Extra;
    noone_joined_timeout?: BotParam2NooneJoinedTimeout;
    recording_mode?: BotParam2RecordingMode;
    speech_to_text?: BotParam2SpeechToText;
    streaming_audio_frequency?: BotParam2StreamingAudioFrequency;
    streaming_input?: BotParam2StreamingInput;
    streaming_output?: BotParam2StreamingOutput;
    transcription_custom_parameters?: Extra;
    waiting_room_timeout?: BotParam2WaitingRoomTimeout;
    webhook_url?: BotParam2WebhookUrl;
    zoom_sdk_id?: BotParam2ZoomSdkId;
    zoom_sdk_pwd?: BotParam2ZoomSdkPwd;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3BotImage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3BotName = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3DeduplicationKey = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3EnterMessage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3NooneJoinedTimeout = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParam3RecordingModeAnyOf = RecordingMode | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParam3RecordingMode = BotParam3RecordingModeAnyOf | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParam3SpeechToTextAnyOf = SpeechToText | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParam3SpeechToText = BotParam3SpeechToTextAnyOf | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParam3StreamingAudioFrequencyAnyOf = AudioFrequency | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type BotParam3StreamingAudioFrequency = BotParam3StreamingAudioFrequencyAnyOf | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3StreamingInput = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3StreamingOutput = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3WaitingRoomTimeout = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3WebhookUrl = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3ZoomSdkId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotParam3ZoomSdkPwd = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface BotParam3 {
    bot_image?: BotParam3BotImage;
    bot_name?: BotParam3BotName;
    deduplication_key?: BotParam3DeduplicationKey;
    enter_message?: BotParam3EnterMessage;
    extra?: unknown;
    noone_joined_timeout?: BotParam3NooneJoinedTimeout;
    recording_mode?: BotParam3RecordingMode;
    speech_to_text?: BotParam3SpeechToText;
    streaming_audio_frequency?: BotParam3StreamingAudioFrequency;
    streaming_input?: BotParam3StreamingInput;
    streaming_output?: BotParam3StreamingOutput;
    transcription_custom_parameters?: unknown;
    waiting_room_timeout?: BotParam3WaitingRoomTimeout;
    webhook_url?: BotParam3WebhookUrl;
    zoom_sdk_id?: BotParam3ZoomSdkId;
    zoom_sdk_pwd?: BotParam3ZoomSdkPwd;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type BotsWithMetadataParams = {
    /**
   * Filter bots by name containing this string.
  
  Performs a case-insensitive partial match on the bot's name. Useful for finding bots with specific naming conventions or to locate a particular bot when you don't have its ID.
  
  Example: "Sales" would match "Sales Meeting", "Quarterly Sales", etc.
   */
    bot_name?: string | null;
    /**
   * Filter bots created after this date (ISO format).
  
  Limits results to bots created at or after the specified timestamp. Used for time-based filtering to find recent additions.
  
  Format: ISO-8601 date-time string (YYYY-MM-DDThh:mm:ss) Example: "2023-05-01T00:00:00"
   */
    created_after?: string | null;
    /**
   * Filter bots created before this date (ISO format).
  
  Limits results to bots created at or before the specified timestamp. Used for time-based filtering to exclude recent additions.
  
  Format: ISO-8601 date-time string (YYYY-MM-DDThh:mm:ss) Example: "2023-05-31T23:59:59"
   */
    created_before?: string | null;
    /**
   * Cursor for pagination, obtained from previous response.
  
  Used for retrieving the next set of results after a previous call. The cursor value is returned in the `nextCursor` field of responses that have additional results available.
  
  Format: Base64-encoded string containing pagination metadata
   */
    cursor?: string | null;
    /**
   * Filter bots ended after this date (ISO format).
  
  Limits results to bots that ended at or after the specified timestamp. Useful for finding completed meetings within a specific time period.
  
  Format: ISO-8601 date-time string (YYYY-MM-DDThh:mm:ss) Example: "2023-05-01T00:00:00"
   */
    ended_after?: string | null;
    /**
   * Filter bots by matching values in the extra JSON payload.
  
  This parameter performs in-memory filtering on the `extra` JSON field, similar to a SQL WHERE clause. It reduces the result set to only include bots that match all specified conditions.
  
  Format specifications: - Single condition: "field:value" - Multiple conditions: "field1:value1,field2:value2"
  
  Examples: - "customer_id:12345" - Only bots with this customer ID - "status:active,project:sales" - Only active bots from sales projects
  
  Notes: - All conditions must match for a bot to be included - Values are matched exactly (case-sensitive) - Bots without the specified field are excluded
   */
    filter_by_extra?: string | null;
    /**
   * Maximum number of bots to return in a single request.
  
  Limits the number of results returned in a single API call. This parameter helps control response size and page length.
  
  Default: 10 Minimum: 1 Maximum: 50
   */
    limit?: number;
    /**
   * Filter bots by meeting URL containing this string.
  
  Performs a case-insensitive partial match on the bot's meeting URL. Use this to find bots associated with specific meeting platforms or particular meeting IDs.
  
  Example: "zoom.us" would match all Zoom meetings
   */
    meeting_url?: string | null;
    /**
   * Sort the results by a field in the extra JSON payload.
  
  This parameter performs in-memory sorting on the `extra` JSON field, similar to a SQL ORDER BY clause. It changes the order of results but not which results are included.
  
  Format specifications: - Default (ascending): "field" - Explicit direction: "field:asc" or "field:desc"
  
  Examples: - "customer_id" - Sort by customer_id (ascending) - "priority:desc" - Sort by priority (descending)
  
  Notes: - Applied after all filtering - String comparison is used for sorting - Bots with the field come before bots without it - Can be combined with filter_by_extra
   */
    sort_by_extra?: string | null;
    /**
   * NOTE: this is a preview feature and not yet available
  
  Filter bots by speaker name containing this string.
  
  Performs a case-insensitive partial match on the speakers in the meeting. Useful for finding meetings that included a specific person.
  
  Example: "John" would match meetings with speakers like "John Smith" or "John Doe"
   */
    speaker_name?: string | null;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type CalendarResourceId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface Calendar {
    email: string;
    google_id: string;
    name: string;
    resource_id?: CalendarResourceId;
    uuid: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface CalendarListEntry {
    email: string;
    id: string;
    is_primary: boolean;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Calendar UUID path parameter for API endpoints
 */
interface CalendarUuidParam {
    /** The calendar UUID */
    calendar_uuid: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type CreateCalendarParamsRawCalendarId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Fields with value `"simple"` parse as `Kind::Simple`. Fields with value `"fancy"` parse as `Kind::SoFancy`.
 */
type Provider = (typeof Provider)[keyof typeof Provider];
declare const Provider: {
    readonly Google: "Google";
    readonly Microsoft: "Microsoft";
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface CreateCalendarParams {
    oauth_client_id: string;
    oauth_client_secret: string;
    oauth_refresh_token: string;
    platform: Provider;
    raw_calendar_id?: CreateCalendarParamsRawCalendarId;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface CreateCalendarResponse {
    calendar: Calendar;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface TokenConsumptionByService {
    duration: string;
    recording_tokens: string;
    streaming_input_hour: string;
    streaming_input_tokens: string;
    streaming_output_hour: string;
    streaming_output_tokens: string;
    transcription_byok_hour: string;
    transcription_byok_tokens: string;
    transcription_hour: string;
    transcription_tokens: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface DailyTokenConsumption {
    consumption_by_service: TokenConsumptionByService;
    date: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
declare const DeleteStatus: {
    readonly deleted: "deleted";
    readonly partiallyDeleted: "partiallyDeleted";
    readonly alreadyDeleted: "alreadyDeleted";
    readonly noDataFound: "noDataFound";
};
type DeleteStatus = (typeof DeleteStatus)[keyof typeof DeleteStatus];

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface DeleteResponse {
    /** Whether the request was processed successfully */
    ok: boolean;
    /** The detailed status of the deletion operation */
    status: DeleteStatus;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface EndMeetingQuery {
    bot_uuid: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface EndMeetingTrampolineQuery {
    bot_uuid: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * @minimum 0
 */
type EndMeetingTrampolineRequestDiarizationFailCount = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * @minimum 0
 */
type EndMeetingTrampolineRequestTranscriptionFailCount = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface EndMeetingTrampolineRequest {
    /** @minimum 0 */
    diarization_fail_count?: EndMeetingTrampolineRequestDiarizationFailCount;
    diarization_v2: boolean;
    /** @minimum 0 */
    transcription_fail_count?: EndMeetingTrampolineRequestTranscriptionFailCount;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Associated bot parameters if a bot is scheduled for this event
 */
type EventBotParam = BotParam | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * For recurring events, the ID of the parent recurring event series (if applicable)
 */
type EventRecurringEventId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface Event {
    attendees: Attendee[];
    /** Associated bot parameters if a bot is scheduled for this event */
    bot_param?: EventBotParam;
    calendar_uuid: string;
    /** Indicates whether this event has been deleted */
    deleted: boolean;
    /** The end time of the event in UTC timezone */
    end_time: string;
    /** The unique identifier of the event from the calendar provider (Google, Microsoft) */
    google_id: string;
    /** Indicates whether the current user is the organizer of this event */
    is_organizer: boolean;
    /** Indicates whether this event is part of a recurring series */
    is_recurring: boolean;
    /** The timestamp when this event was last updated */
    last_updated_at: string;
    /** The URL that can be used to join the meeting (if available) */
    meeting_url: string;
    /** The title/name of the calendar event */
    name: string;
    /** The raw calendar data from the provider in JSON format */
    raw: Extra;
    /** For recurring events, the ID of the parent recurring event series (if applicable) */
    recurring_event_id?: EventRecurringEventId;
    /** The start time of the event in UTC timezone */
    start_time: string;
    uuid: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type FailedRecordRequestErrorCode = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface FailedRecordRequest {
    error_code?: FailedRecordRequestErrorCode;
    meeting_url: string;
    message: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by account ID (comma-separated for multiple values)

Example: "1,2,3" will match bots from accounts 1, 2, or 3
 */
type GetAllBotsQueryAccountId = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by bot UUID (comma-separated for multiple values)

Example: "123e4567-e89b-12d3-a456-426614174000,987fcdeb-51d3-a456-426614174000"
 */
type GetAllBotsQueryBotUuid = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by creator email containing any of these texts (comma-separated)

Example: "john,doe" will match emails containing either "john" or "doe"
 */
type GetAllBotsQueryCreatorEmailContains = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by diarization v2 status (comma-separated for multiple values)

Example: "true,false" will match both diarization v2 and non-diarization v2 bots
 */
type GetAllBotsQueryDiarizationV2 = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by end date
 */
type GetAllBotsQueryEndDate = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by extra JSON containing any of these texts (comma-separated)

Example: "customer_id,project" will match extra JSON containing either "customer_id" or "project"
 */
type GetAllBotsQueryExtraContains = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by exact meeting URL (comma-separated for multiple values)

Example: "https://meet.google.com/abc-def,https://zoom.us/j/123456"
 */
type GetAllBotsQueryMeetingUrl = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by meeting URL containing any of these texts (comma-separated)

Example: "meet.google.com,zoom.us" will match URLs containing either "meet.google.com" or "zoom.us"
 */
type GetAllBotsQueryMeetingUrlContains = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by reserved status (comma-separated for multiple values)

Example: "true,false" will match both reserved and non-reserved bots
 */
type GetAllBotsQueryReserved = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by start date
 */
type GetAllBotsQueryStartDate = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by user-reported status (comma-separated for multiple values)

Example: "open,in_progress,closed" will match bots with any of these user-reported statuses
 */
type GetAllBotsQueryStatus = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by status category (comma-separated for multiple values)

Example: "system_error,auth_error,connection_error" will match bots with any of these categories

Common categories are: - system_error: Internal system issues - auth_error: Authentication and authorization issues - connection_error: Network and meeting connection issues - permission_error: Access and permission issues - input_error: Invalid input parameters - webhook_error: Webhook delivery issues - duplicate_error: Duplicate meeting or bot issues - unknown_error: Unclassified errors
 */
type GetAllBotsQueryStatusCategory = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by status priority (comma-separated for multiple values)

Example: "critical,high,medium,low" will match bots with any of these priorities

Priorities are: - critical: System errors requiring immediate attention - high: Serious issues that prevent meeting functionality - medium: Issues that affect functionality but not critically - low: Minor issues that don't greatly impact functionality - none: For success states
 */
type GetAllBotsQueryStatusPriority = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by status type (comma-separated for multiple values)

Example: "success,error,warning,pending" will match bots with any of these status types

Status types are: - success: Bot completed successfully or is in progress - error: Bot encountered a system error - warning: Bot has a non-critical issue - pending: Bot is waiting to start
 */
type GetAllBotsQueryStatusType = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by user email (comma-separated for multiple values)

Example: "user1@example.com,user2@example.com" will match bots from accounts with these emails
 */
type GetAllBotsQueryUserEmail = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by user reported error containing any of these texts (comma-separated)

Example: "failed,error" will match errors containing either "failed" or "error"
 */
type GetAllBotsQueryUserReportedErrorContains = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter by user reported error JSON (comma-separated for multiple conditions)

Example: '{"status":"open"},{"priority":"high"}' will match bots with either status open or priority high
 */
type GetAllBotsQueryUserReportedErrorJson = unknown[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Query parameters for getting all bots
 */
interface GetAllBotsQuery {
    /** Filter by account ID (comma-separated for multiple values)
  
  Example: "1,2,3" will match bots from accounts 1, 2, or 3 */
    account_id?: GetAllBotsQueryAccountId;
    /** Filter by bot UUID (comma-separated for multiple values)
  
  Example: "123e4567-e89b-12d3-a456-426614174000,987fcdeb-51d3-a456-426614174000" */
    bot_uuid?: GetAllBotsQueryBotUuid;
    /** Filter by creator email containing any of these texts (comma-separated)
  
  Example: "john,doe" will match emails containing either "john" or "doe" */
    creator_email_contains?: GetAllBotsQueryCreatorEmailContains;
    /** Filter by diarization v2 status (comma-separated for multiple values)
  
  Example: "true,false" will match both diarization v2 and non-diarization v2 bots */
    diarization_v2?: GetAllBotsQueryDiarizationV2;
    /** Filter by end date */
    end_date?: GetAllBotsQueryEndDate;
    /** Filter by extra JSON containing any of these texts (comma-separated)
  
  Example: "customer_id,project" will match extra JSON containing either "customer_id" or "project" */
    extra_contains?: GetAllBotsQueryExtraContains;
    /** Limit for pagination */
    limit: number;
    /** Filter by exact meeting URL (comma-separated for multiple values)
  
  Example: "https://meet.google.com/abc-def,https://zoom.us/j/123456" */
    meeting_url?: GetAllBotsQueryMeetingUrl;
    /** Filter by meeting URL containing any of these texts (comma-separated)
  
  Example: "meet.google.com,zoom.us" will match URLs containing either "meet.google.com" or "zoom.us" */
    meeting_url_contains?: GetAllBotsQueryMeetingUrlContains;
    /** Offset for pagination */
    offset: number;
    /** Filter by reserved status (comma-separated for multiple values)
  
  Example: "true,false" will match both reserved and non-reserved bots */
    reserved?: GetAllBotsQueryReserved;
    /** Filter by start date */
    start_date?: GetAllBotsQueryStartDate;
    /** Filter by user-reported status (comma-separated for multiple values)
  
  Example: "open,in_progress,closed" will match bots with any of these user-reported statuses */
    status?: GetAllBotsQueryStatus;
    /** Filter by status category (comma-separated for multiple values)
  
  Example: "system_error,auth_error,connection_error" will match bots with any of these categories
  
  Common categories are: - system_error: Internal system issues - auth_error: Authentication and authorization issues - connection_error: Network and meeting connection issues - permission_error: Access and permission issues - input_error: Invalid input parameters - webhook_error: Webhook delivery issues - duplicate_error: Duplicate meeting or bot issues - unknown_error: Unclassified errors */
    status_category?: GetAllBotsQueryStatusCategory;
    /** Filter by status priority (comma-separated for multiple values)
  
  Example: "critical,high,medium,low" will match bots with any of these priorities
  
  Priorities are: - critical: System errors requiring immediate attention - high: Serious issues that prevent meeting functionality - medium: Issues that affect functionality but not critically - low: Minor issues that don't greatly impact functionality - none: For success states */
    status_priority?: GetAllBotsQueryStatusPriority;
    /** Filter by status type (comma-separated for multiple values)
  
  Example: "success,error,warning,pending" will match bots with any of these status types
  
  Status types are: - success: Bot completed successfully or is in progress - error: Bot encountered a system error - warning: Bot has a non-critical issue - pending: Bot is waiting to start */
    status_type?: GetAllBotsQueryStatusType;
    /** Filter by user email (comma-separated for multiple values)
  
  Example: "user1@example.com,user2@example.com" will match bots from accounts with these emails */
    user_email?: GetAllBotsQueryUserEmail;
    /** Filter by user reported error containing any of these texts (comma-separated)
  
  Example: "failed,error" will match errors containing either "failed" or "error" */
    user_reported_error_contains?: GetAllBotsQueryUserReportedErrorContains;
    /** Filter by user reported error JSON (comma-separated for multiple conditions)
  
  Example: '{"status":"open"},{"priority":"high"}' will match bots with either status open or priority high */
    user_reported_error_json?: GetAllBotsQueryUserReportedErrorJson;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type GetMeetingDataParams = {
    bot_id: string;
    /**
     * Whether to include transcription data in the response. Defaults to true if not specified.
     */
    include_transcripts?: boolean;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface GetMeetingDataQuery {
    bot_id: string;
    /** Whether to include transcription data in the response. Defaults to true if not specified. */
    include_transcripts?: boolean;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type GetStartedAccountFirstname = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type GetStartedAccountGoogleTokenId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type GetStartedAccountLastname = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type GetStartedAccountMicrosoftTokenId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface GetStartedAccount {
    email: string;
    firstname?: GetStartedAccountFirstname;
    google_token_id?: GetStartedAccountGoogleTokenId;
    lastname?: GetStartedAccountLastname;
    microsoft_token_id?: GetStartedAccountMicrosoftTokenId;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type GetstartedQueryRedirectUrl = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface GetstartedQuery {
    redirect_url?: GetstartedQueryRedirectUrl;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type GetWebhookUrlResponseWebhookUrl = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface GetWebhookUrlResponse {
    webhook_url?: GetWebhookUrlResponseWebhookUrl;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * The bot will leave the meeting automatically after the timeout, defaults to 600 seconds.
 */
type JoinRequestAutomaticLeave = AutomaticLeaveRequest | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * The image to use for the bot, must be a URL. Recommended ratio is 16:9.
 */
type JoinRequestBotImage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * We prevent multiple bots with same API key joining a meeting within 5 mins, unless overridden by deduplication_key.
 */
type JoinRequestDeduplicationKey = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * There are no entry messages on Microsoft Teams as guests outside of an organization do not have access to the chat.
 */
type JoinRequestEntryMessage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * The recording mode for the bot, defaults to 'speaker_view'.
 */
type JoinRequestRecordingMode = RecordingMode | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * The default speech to text provider is Gladia.
 */
type JoinRequestSpeechToText = SpeechToText | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Unix timestamp (in milliseconds) for when the bot should join the meeting. The bot joins 4 minutes before the start time.
 * @minimum 0
 */
type JoinRequestStartTime = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type StreamingApiParameterAudioFrequency = AudioFrequency | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type StreamingApiParameterInput = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type StreamingApiParameterOutput = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface StreamingApiParameter {
    audio_frequency?: StreamingApiParameterAudioFrequency;
    input?: StreamingApiParameterInput;
    output?: StreamingApiParameterOutput;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * WebSocket streams for 16 kHz audio. Input stream receives audio sent to the bot. Output stream receives audio from the bot.
 */
type JoinRequestStreaming = StreamingApiParameter | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * A webhook URL to send events to, overrides the webhook URL set in your account settings.
 */
type JoinRequestWebhookUrl = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * For the Own Zoom Credentials feature, we need your zoom sdk id.
 */
type JoinRequestZoomSdkId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * For the Own Zoom Credentials feature, we need your zoom sdk pwd.
 */
type JoinRequestZoomSdkPwd = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface JoinRequest {
    /** The bot will leave the meeting automatically after the timeout, defaults to 600 seconds. */
    automatic_leave?: JoinRequestAutomaticLeave;
    /** The image to use for the bot, must be a URL. Recommended ratio is 16:9. */
    bot_image?: JoinRequestBotImage;
    bot_name: string;
    /** We prevent multiple bots with same API key joining a meeting within 5 mins, unless overridden by deduplication_key. */
    deduplication_key?: JoinRequestDeduplicationKey;
    /** There are no entry messages on Microsoft Teams as guests outside of an organization do not have access to the chat. */
    entry_message?: JoinRequestEntryMessage;
    /** A JSON object that allows you to add custom data to a bot for your convenience, e.g. your end user's ID. */
    extra?: Extra;
    meeting_url: string;
    /** The recording mode for the bot, defaults to 'speaker_view'. */
    recording_mode?: JoinRequestRecordingMode;
    /** Whether or not the bot should come from the available pool of bots or be a dedicated bot. Reserved bots come in exactly 4 minutes after the request. */
    reserved: boolean;
    /** The default speech to text provider is Gladia. */
    speech_to_text?: JoinRequestSpeechToText;
    /**
     * Unix timestamp (in milliseconds) for when the bot should join the meeting. The bot joins 4 minutes before the start time.
     * @minimum 0
     */
    start_time?: JoinRequestStartTime;
    /** WebSocket streams for 16 kHz audio. Input stream receives audio sent to the bot. Output stream receives audio from the bot. */
    streaming?: JoinRequestStreaming;
    /** For your own transcription parameters */
    transcription_custom_parameters?: unknown;
    /** A webhook URL to send events to, overrides the webhook URL set in your account settings. */
    webhook_url?: JoinRequestWebhookUrl;
    /** For the Own Zoom Credentials feature, we need your zoom sdk id. */
    zoom_sdk_id?: JoinRequestZoomSdkId;
    /** For the Own Zoom Credentials feature, we need your zoom sdk pwd. */
    zoom_sdk_pwd?: JoinRequestZoomSdkPwd;
    [key: string]: unknown;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type ScheduleOriginOneOfEvent = {
    id: number;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type ScheduleOriginOneOf = {
    Event: ScheduleOriginOneOfEvent;
    [key: string]: unknown;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type ScheduleOriginOneOfThreeScheduledBot = {
    id: number;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type ScheduleOriginOneOfThree = {
    ScheduledBot: ScheduleOriginOneOfThreeScheduledBot;
    [key: string]: unknown;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type ScheduleOrigin = ScheduleOriginOneOf | ScheduleOriginOneOfThree;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface JoinRequestScheduled {
    bot_param_id: number;
    meeting_url: string;
    schedule_origin: ScheduleOrigin;
    [key: string]: unknown;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface JoinResponse {
    bot_id: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface JoinResponse2 {
    bot_id: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface LeaveResponse {
    ok: boolean;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Optional url for fetching the next page of results if there are more results to fetch. The limit of events returned is 100. When None, there are no more results to fetch.
 */
type ListEventResponseNext = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface ListEventResponse {
    /** Vector of calendar events matching the list criteria */
    data: Event[];
    /** Optional url for fetching the next page of results if there are more results to fetch. The limit of events returned is 100. When None, there are no more results to fetch. */
    next?: ListEventResponseNext;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type ListEventsParams = {
    /**
     * If provided, filters events to include only those with this attendee's email address Example: "jane.smith@example.com"
     */
    attendee_email?: string | null;
    /**
     * Calendar ID to filter events by This is required to specify which calendar's events to retrieve
     */
    calendar_id: string;
    /**
     * Optional cursor for pagination This value is included in the `next` field of the previous response
     */
    cursor?: string | null;
    /**
     * If provided, filters events to include only those with this organizer's email address Example: "john.doe@example.com"
     */
    organizer_email?: string | null;
    /**
     * If provided, filters events to include only those with a start date greater than or equal to this timestamp Format: ISO-8601 string, e.g., "2023-01-01T00:00:00Z"
     */
    start_date_gte?: string | null;
    /**
     * If provided, filters events to include only those with a start date less than or equal to this timestamp Format: ISO-8601 string, e.g., "2023-12-31T23:59:59Z"
     */
    start_date_lte?: string | null;
    /**
     * Filter events by meeting status Valid values: "upcoming" (default) returns events after current time, "past" returns previous events, "all" returns both
     */
    status?: string | null;
    /**
     * If provided, fetches only events updated at or after this timestamp Format: ISO-8601 string, e.g., "2023-01-01T00:00:00Z"
     */
    updated_at_gte?: string | null;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface ListRawCalendarsParams {
    oauth_client_id: string;
    oauth_client_secret: string;
    oauth_refresh_token: string;
    platform: Provider;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface ListRawCalendarsResponse {
    calendars: CalendarListEntry[];
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter bots by name containing this string.

Performs a case-insensitive partial match on the bot's name. Useful for finding bots with specific naming conventions or to locate a particular bot when you don't have its ID.

Example: "Sales" would match "Sales Meeting", "Quarterly Sales", etc.
 */
type ListRecentBotsQueryBotName = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter bots created after this date (ISO format).

Limits results to bots created at or after the specified timestamp. Used for time-based filtering to find recent additions.

Format: ISO-8601 date-time string (YYYY-MM-DDThh:mm:ss) Example: "2023-05-01T00:00:00"
 */
type ListRecentBotsQueryCreatedAfter = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter bots created before this date (ISO format).

Limits results to bots created at or before the specified timestamp. Used for time-based filtering to exclude recent additions.

Format: ISO-8601 date-time string (YYYY-MM-DDThh:mm:ss) Example: "2023-05-31T23:59:59"
 */
type ListRecentBotsQueryCreatedBefore = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Cursor for pagination, obtained from previous response.

Used for retrieving the next set of results after a previous call. The cursor value is returned in the `nextCursor` field of responses that have additional results available.

Format: Base64-encoded string containing pagination metadata
 */
type ListRecentBotsQueryCursor = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter bots ended after this date (ISO format).

Limits results to bots that ended at or after the specified timestamp. Useful for finding completed meetings within a specific time period.

Format: ISO-8601 date-time string (YYYY-MM-DDThh:mm:ss) Example: "2023-05-01T00:00:00"
 */
type ListRecentBotsQueryEndedAfter = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter bots by matching values in the extra JSON payload.

This parameter performs in-memory filtering on the `extra` JSON field, similar to a SQL WHERE clause. It reduces the result set to only include bots that match all specified conditions.

Format specifications: - Single condition: "field:value" - Multiple conditions: "field1:value1,field2:value2"

Examples: - "customer_id:12345" - Only bots with this customer ID - "status:active,project:sales" - Only active bots from sales projects

Notes: - All conditions must match for a bot to be included - Values are matched exactly (case-sensitive) - Bots without the specified field are excluded
 */
type ListRecentBotsQueryFilterByExtra = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter bots by meeting URL containing this string.

Performs a case-insensitive partial match on the bot's meeting URL. Use this to find bots associated with specific meeting platforms or particular meeting IDs.

Example: "zoom.us" would match all Zoom meetings
 */
type ListRecentBotsQueryMeetingUrl = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Sort the results by a field in the extra JSON payload.

This parameter performs in-memory sorting on the `extra` JSON field, similar to a SQL ORDER BY clause. It changes the order of results but not which results are included.

Format specifications: - Default (ascending): "field" - Explicit direction: "field:asc" or "field:desc"

Examples: - "customer_id" - Sort by customer_id (ascending) - "priority:desc" - Sort by priority (descending)

Notes: - Applied after all filtering - String comparison is used for sorting - Bots with the field come before bots without it - Can be combined with filter_by_extra
 */
type ListRecentBotsQuerySortByExtra = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * NOTE: this is a preview feature and not yet available

Filter bots by speaker name containing this string.

Performs a case-insensitive partial match on the speakers in the meeting. Useful for finding meetings that included a specific person.

Example: "John" would match meetings with speakers like "John Smith" or "John Doe"
 */
type ListRecentBotsQuerySpeakerName = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Query parameters for listing recent bots
 */
interface ListRecentBotsQuery {
    /** Filter bots by name containing this string.
  
  Performs a case-insensitive partial match on the bot's name. Useful for finding bots with specific naming conventions or to locate a particular bot when you don't have its ID.
  
  Example: "Sales" would match "Sales Meeting", "Quarterly Sales", etc. */
    bot_name?: ListRecentBotsQueryBotName;
    /** Filter bots created after this date (ISO format).
  
  Limits results to bots created at or after the specified timestamp. Used for time-based filtering to find recent additions.
  
  Format: ISO-8601 date-time string (YYYY-MM-DDThh:mm:ss) Example: "2023-05-01T00:00:00" */
    created_after?: ListRecentBotsQueryCreatedAfter;
    /** Filter bots created before this date (ISO format).
  
  Limits results to bots created at or before the specified timestamp. Used for time-based filtering to exclude recent additions.
  
  Format: ISO-8601 date-time string (YYYY-MM-DDThh:mm:ss) Example: "2023-05-31T23:59:59" */
    created_before?: ListRecentBotsQueryCreatedBefore;
    /** Cursor for pagination, obtained from previous response.
  
  Used for retrieving the next set of results after a previous call. The cursor value is returned in the `nextCursor` field of responses that have additional results available.
  
  Format: Base64-encoded string containing pagination metadata */
    cursor?: ListRecentBotsQueryCursor;
    /** Filter bots ended after this date (ISO format).
  
  Limits results to bots that ended at or after the specified timestamp. Useful for finding completed meetings within a specific time period.
  
  Format: ISO-8601 date-time string (YYYY-MM-DDThh:mm:ss) Example: "2023-05-01T00:00:00" */
    ended_after?: ListRecentBotsQueryEndedAfter;
    /** Filter bots by matching values in the extra JSON payload.
  
  This parameter performs in-memory filtering on the `extra` JSON field, similar to a SQL WHERE clause. It reduces the result set to only include bots that match all specified conditions.
  
  Format specifications: - Single condition: "field:value" - Multiple conditions: "field1:value1,field2:value2"
  
  Examples: - "customer_id:12345" - Only bots with this customer ID - "status:active,project:sales" - Only active bots from sales projects
  
  Notes: - All conditions must match for a bot to be included - Values are matched exactly (case-sensitive) - Bots without the specified field are excluded */
    filter_by_extra?: ListRecentBotsQueryFilterByExtra;
    /** Maximum number of bots to return in a single request.
  
  Limits the number of results returned in a single API call. This parameter helps control response size and page length.
  
  Default: 10 Minimum: 1 Maximum: 50 */
    limit?: number;
    /** Filter bots by meeting URL containing this string.
  
  Performs a case-insensitive partial match on the bot's meeting URL. Use this to find bots associated with specific meeting platforms or particular meeting IDs.
  
  Example: "zoom.us" would match all Zoom meetings */
    meeting_url?: ListRecentBotsQueryMeetingUrl;
    /** Sort the results by a field in the extra JSON payload.
  
  This parameter performs in-memory sorting on the `extra` JSON field, similar to a SQL ORDER BY clause. It changes the order of results but not which results are included.
  
  Format specifications: - Default (ascending): "field" - Explicit direction: "field:asc" or "field:desc"
  
  Examples: - "customer_id" - Sort by customer_id (ascending) - "priority:desc" - Sort by priority (descending)
  
  Notes: - Applied after all filtering - String comparison is used for sorting - Bots with the field come before bots without it - Can be combined with filter_by_extra */
    sort_by_extra?: ListRecentBotsQuerySortByExtra;
    /** NOTE: this is a preview feature and not yet available
  
  Filter bots by speaker name containing this string.
  
  Performs a case-insensitive partial match on the speakers in the meeting. Useful for finding meetings that included a specific person.
  
  Example: "John" would match meetings with speakers like "John Smith" or "John Doe" */
    speaker_name?: ListRecentBotsQuerySpeakerName;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Optional cursor for pagination
 */
type ListRecentBotsResponseNextCursor = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Number of times this bot data has been accessed (if tracked)
 */
type RecentBotEntryAccessCount = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Duration of the bot session in seconds (if completed)
 */
type RecentBotEntryDuration = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * End time of the bot session (if completed) in ISO-8601 format
 */
type RecentBotEntryEndedAt = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Last time this bot data was accessed (if available)
 */
type RecentBotEntryLastAccessedAt = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Session ID if the bot is active
 */
type RecentBotEntrySessionId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Entry for a recent bot in the list response
 */
interface RecentBotEntry {
    /** Number of times this bot data has been accessed (if tracked) */
    access_count?: RecentBotEntryAccessCount;
    /** Name of the bot */
    bot_name: string;
    /** Creation timestamp of the bot in ISO-8601 format */
    created_at: string;
    /** Duration of the bot session in seconds (if completed) */
    duration?: RecentBotEntryDuration;
    /** End time of the bot session (if completed) in ISO-8601 format */
    ended_at?: RecentBotEntryEndedAt;
    /** Extra custom data provided during bot creation */
    extra: Extra;
    /** Unique identifier of the bot (legacy field)
  
  This field is maintained for backwards compatibility. It is serialized as a UUID string to match the old API format. New clients should use the uuid field instead. */
    id: number;
    /** Last time this bot data was accessed (if available) */
    last_accessed_at?: RecentBotEntryLastAccessedAt;
    /** URL of the meeting the bot joined */
    meeting_url: string;
    /** Session ID if the bot is active */
    session_id?: RecentBotEntrySessionId;
    /** List of unique speaker names from the bot's transcripts */
    speakers: string[];
    /** Unique identifier of the bot (new field)
  
  This is the preferred field to use for bot identification. The id field is maintained for backwards compatibility. */
    uuid: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Response for listing recent bots
 */
interface ListRecentBotsResponse {
    /** List of recent bots with their metadata
  
  This field is serialized as both "bots" and "recent_bots" for backwards compatibility. New clients should use the "bots" field name. */
    bots: RecentBotEntry[];
    /** Timestamp of when this data was generated (in ISO-8601 format)
  
  This field is maintained for backwards compatibility. It is automatically set to the current time when the response is created. */
    last_updated?: string;
    /** Optional cursor for pagination */
    next_cursor?: ListRecentBotsResponseNextCursor;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type LoginAccountAppSigninToken = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type LoginAccountGoogleChromeTokenId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type LoginAccountGoogleTokenId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type LoginAccountMicrosoftTokenId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface LoginAccount {
    app_signin_token?: LoginAccountAppSigninToken;
    google_chrome_token_id?: LoginAccountGoogleChromeTokenId;
    google_token_id?: LoginAccountGoogleTokenId;
    microsoft_token_id?: LoginAccountMicrosoftTokenId;
    password: string;
    pseudo: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type LoginQueryRedirectUrl = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface LoginQuery {
    redirect_url?: LoginQueryRedirectUrl;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface Metadata {
    bot_data: BotData;
    /** Duration of the recording in seconds */
    duration: number;
    /** URL to access the recording MP4 file. Will be an empty string if the file doesn't exist in S3. */
    mp4: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type PatchBotParams = {
    /**
     * schedule a bot to all occurences of a recurring event
     */
    all_occurrences?: boolean | null;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface PostWebhookUrlRequest {
    webhook_url: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type PublicBotAnalyticsUserReportedErrorMessage = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type PublicBotAnalyticsUserReportedErrorStatus = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Watered-down bot info for public analytics
 */
interface PublicBotAnalytics {
    created_at: DateTime;
    duration: number;
    meeting_platform: string;
    status: BotStatusResponse;
    user_reported_error_message?: PublicBotAnalyticsUserReportedErrorMessage;
    user_reported_error_status?: PublicBotAnalyticsUserReportedErrorStatus;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * If provided, filters events to include only those with this attendee's email address Example: "jane.smith@example.com"
 */
type QueryListEventAttendeeEmail = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Optional cursor for pagination This value is included in the `next` field of the previous response
 */
type QueryListEventCursor = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * If provided, filters events to include only those with this organizer's email address Example: "john.doe@example.com"
 */
type QueryListEventOrganizerEmail = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * If provided, filters events to include only those with a start date greater than or equal to this timestamp Format: ISO-8601 string, e.g., "2023-01-01T00:00:00Z"
 */
type QueryListEventStartDateGte = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * If provided, filters events to include only those with a start date less than or equal to this timestamp Format: ISO-8601 string, e.g., "2023-12-31T23:59:59Z"
 */
type QueryListEventStartDateLte = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Filter events by meeting status Valid values: "upcoming" (default) returns events after current time, "past" returns previous events, "all" returns both
 */
type QueryListEventStatus = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * If provided, fetches only events updated at or after this timestamp Format: ISO-8601 string, e.g., "2023-01-01T00:00:00Z"
 */
type QueryListEventUpdatedAtGte = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface QueryListEvent {
    /** If provided, filters events to include only those with this attendee's email address Example: "jane.smith@example.com" */
    attendee_email?: QueryListEventAttendeeEmail;
    /** Calendar ID to filter events by This is required to specify which calendar's events to retrieve */
    calendar_id: string;
    /** Optional cursor for pagination This value is included in the `next` field of the previous response */
    cursor?: QueryListEventCursor;
    /** If provided, filters events to include only those with this organizer's email address Example: "john.doe@example.com" */
    organizer_email?: QueryListEventOrganizerEmail;
    /** If provided, filters events to include only those with a start date greater than or equal to this timestamp Format: ISO-8601 string, e.g., "2023-01-01T00:00:00Z" */
    start_date_gte?: QueryListEventStartDateGte;
    /** If provided, filters events to include only those with a start date less than or equal to this timestamp Format: ISO-8601 string, e.g., "2023-12-31T23:59:59Z" */
    start_date_lte?: QueryListEventStartDateLte;
    /** Filter events by meeting status Valid values: "upcoming" (default) returns events after current time, "past" returns previous events, "all" returns both */
    status?: QueryListEventStatus;
    /** If provided, fetches only events updated at or after this timestamp Format: ISO-8601 string, e.g., "2023-01-01T00:00:00Z" */
    updated_at_gte?: QueryListEventUpdatedAtGte;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * schedule a bot to all occurences of a recurring event
 */
type QueryPatchRecordEventAllOccurrences = boolean | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface QueryPatchRecordEvent {
    /** schedule a bot to all occurences of a recurring event */
    all_occurrences?: QueryPatchRecordEventAllOccurrences;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * schedule a bot to all occurences of a recurring event
 */
type QueryScheduleRecordEventAllOccurrences = boolean | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface QueryScheduleRecordEvent {
    /** schedule a bot to all occurences of a recurring event */
    all_occurrences?: QueryScheduleRecordEventAllOccurrences;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * unschedule a bot from all occurences of a recurring event
 */
type QueryUnScheduleRecordEventAllOccurrences = boolean | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface QueryUnScheduleRecordEvent {
    /** unschedule a bot from all occurences of a recurring event */
    all_occurrences?: QueryUnScheduleRecordEventAllOccurrences;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface ReceivedMessageQuery {
    session_id: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type RecognizerTranscriptEndTime = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type RecognizerTranscriptLang = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type RecognizerTranscriptUserId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface RecognizerTranscript {
    end_time?: RecognizerTranscriptEndTime;
    lang?: RecognizerTranscriptLang;
    speaker: string;
    start_time: number;
    user_id?: RecognizerTranscriptUserId;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type RecognizerWordUserId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface RecognizerWord {
    end_time: number;
    start_time: number;
    text: string;
    user_id?: RecognizerWordUserId;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type ResyncAllCalendarsResponseErrorsItemItem = {
    [key: string]: unknown;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface ResyncAllCalendarsResponse {
    /** List of calendar UUIDs that failed to resync, with detailed error messages explaining the failure reason */
    errors: ResyncAllCalendarsResponseErrorsItemItem[][];
    /** List of calendar UUIDs that were successfully resynced with their calendar provider (Google, Microsoft) */
    synced_calendars: string[];
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type ResyncAllResponseErrorsItemItem = {
    [key: string]: unknown;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface ResyncAllResponse {
    /** List of calendar UUIDs that failed to resync, with error messages */
    errors: ResyncAllResponseErrorsItemItem[][];
    /** List of calendar UUIDs that were successfully resynced */
    synced_calendars: string[];
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type RetranscribeBodySpeechToText = SpeechToText | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type RetranscribeBodyWebhookUrl = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface RetranscribeBody {
    bot_uuid: string;
    speech_to_text?: RetranscribeBodySpeechToText;
    webhook_url?: RetranscribeBodyWebhookUrl;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type RetryWebhookQueryWebhookUrl = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface RetryWebhookQuery {
    bot_uuid: string;
    webhook_url?: RetryWebhookQueryWebhookUrl;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type ScheduleRecordEventParams = {
    /**
     * schedule a bot to all occurences of a recurring event
     */
    all_occurrences?: boolean | null;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Schema-compatible wrapper for the Screenshot struct
 */
interface ScreenshotWrapper {
    date: string;
    url: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

/**
 * Wrapper struct for Screenshots list that implements JsonSchema
 */
type ScreenshotsList = ScreenshotWrapper[];

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type StartRecordFailedQueryBotUuid = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface StartRecordFailedQuery {
    bot_uuid?: StartRecordFailedQueryBotUuid;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * UUIDs of affected events
 */
type SyncResponseAffectedEventUuids = string[] | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * timestamp of last updated event if some events has been updated.
 */
type SyncResponseHasUpdates = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface SyncResponse {
    /** UUIDs of affected events */
    affected_event_uuids?: SyncResponseAffectedEventUuids;
    /** timestamp of last updated event if some events has been updated. */
    has_updates?: SyncResponseHasUpdates;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface TokenConsumptionQuery {
    end_date: string;
    start_date: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Transcript2EndTime = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Transcript2Lang = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Transcript2UserId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface Transcript2 {
    bot_id: number;
    end_time?: Transcript2EndTime;
    id: number;
    lang?: Transcript2Lang;
    speaker: string;
    start_time: number;
    user_id?: Transcript2UserId;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Transcript3BotId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Transcript3EndTime = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Transcript3Lang = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Transcript3Speaker = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Transcript3StartTime = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type Transcript3UserId = number | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface Transcript3 {
    bot_id?: Transcript3BotId;
    end_time?: Transcript3EndTime;
    id: number;
    lang?: Transcript3Lang;
    speaker?: Transcript3Speaker;
    start_time?: Transcript3StartTime;
    user_id?: Transcript3UserId;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type UnscheduleRecordEventParams = {
    /**
     * unschedule a bot from all occurences of a recurring event
     */
    all_occurrences?: boolean | null;
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface UpdateCalendarParams {
    oauth_client_id: string;
    oauth_client_secret: string;
    oauth_refresh_token: string;
    platform: Provider;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type UserReportedErrorPayloadChatId = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * Example usage for frontend developers

```ignore // How to use in your API handler: let status = calculate_bot_status(bot.errors, bot.ended_at, bot.duration, bot.created_at); let status_response = status_to_response(status);

// How to sort by priority: bots.sort_by_key(|bot| bot.status.sort_priority);

// How to filter by type: let errors = bots.filter(|bot| bot.status.r#type == "error");

// How to filter by category: let connection_errors = bots.filter(|bot| bot.status.category == "connection_error"); ```
 */
type UserReportedErrorStatus = (typeof UserReportedErrorStatus)[keyof typeof UserReportedErrorStatus];
declare const UserReportedErrorStatus: {
    readonly open: "open";
    readonly in_progress: "in_progress";
    readonly closed: "closed";
};

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

type UserReportedErrorPayloadStatus = UserReportedErrorStatus | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface UserReportedErrorPayload {
    chat_id?: UserReportedErrorPayloadChatId;
    note: string;
    status?: UserReportedErrorPayloadStatus;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
type UserTokensResponseLastPurchaseDate = string | null;

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */

interface UserTokensResponse {
    available_tokens: string;
    last_purchase_date?: UserTokensResponseLastPurchaseDate;
    total_tokens_purchased: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
/**
 * UUID path parameter for API endpoints
 */
interface UuidParam {
    /** The UUID identifier */
    uuid: string;
}

/**
 * Generated by orval v7.9.0 🍺
 * Do not edit manually.
 * Meeting BaaS API
 * Meeting BaaS API
 * OpenAPI spec version: 1.1
 */
interface Version {
    build_date: string;
    build_timestamp: string;
    location: string;
}

/**
 * Discriminated union type for API responses
 * Ensures type safety: when error is present, data is undefined, and vice versa
 */
type ApiResponse<T> = {
    success: true;
    data: T;
    error?: never;
} | {
    success: false;
    error: ZodError | Error;
    data?: never;
};

/**
 * Configuration for the BaasClient
 */
interface BaasClientConfig {
  /**
   * Meeting BaaS API key. Get your API key from https://meetingbaas.com/
   */
  api_key: string
  /**
   * Base URL for the API
   * This is an internal parameter and should not be accessed directly
   * @default "https://api.meetingbaas.com"
   */
  base_url?: string
  /**
   * Timeout for the API requests. Default is 30 seconds.
   * Some requests may take longer, so we recommend setting a longer timeout if you notice timeouts.
   * @default 30000
   */
  timeout?: number
}

/**
 * Tree-shakeable client factory
 * Creates a client object with only the methods you import
 */
declare function createBaasClient(config: BaasClientConfig): {
    /**
     * Have a bot join a meeting, now or in the future
     * @param params - The parameters for the join meeting request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/join)
     * @returns The response from the join meeting request
     */
    joinMeeting(params: JoinRequest): Promise<ApiResponse<JoinResponse>>;
    /**
     * Have a bot leave a meeting
     * @param params - The parameters for the leave meeting request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/leave)
     * @returns The response from the leave meeting request
     */
    leaveMeeting(params: {
        uuid: string;
    }): Promise<ApiResponse<LeaveResponse>>;
    /**
     * Get meeting recording and metadata
     * @param params - The parameters for the get meeting data request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/get_meeting_data)
     * @returns The response from the get meeting data request
     */
    getMeetingData(params: GetMeetingDataParams): Promise<ApiResponse<Metadata>>;
    /**
     * Delete bot data
     * @param params - The parameters for the delete bot data request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/delete_data)
     * @returns The response from the delete bot data request
     */
    deleteBotData(params: {
        uuid: string;
    }): Promise<ApiResponse<DeleteResponse>>;
    /**
     * Retrieves a paginated list of the user's bots with essential metadata, including IDs, names, and meeting details. Supports filtering, sorting, and advanced querying options.
     * @param params - The parameters for the list bots with metadata request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/bots_with_metadata)
     * @returns The response from the list bots with metadata request
     */
    listBots(params?: BotsWithMetadataParams): Promise<ApiResponse<ListRecentBotsResponse>>;
    /**
     * Transcribe or retranscribe a bot's audio using the Default or your provided Speech to Text Provider
     * @param params - The parameters for the retranscribe bot request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/retranscribe_bot)
     * @returns The response from the retranscribe bot request
     */
    retranscribeBot(params: RetranscribeBody): Promise<ApiResponse<void>>;
    /**
     * Retrieves screenshots captured during the bot's session before it joins a meeting
     * @param params - The parameters for the get screenshots request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/get_screenshots)
     * @returns The response from the get screenshots request
     */
    getScreenshots(params: {
        uuid: string;
    }): Promise<ApiResponse<ScreenshotsList>>;
    /**
     * Integrates a new calendar with the system using OAuth credentials. This endpoint establishes a connection with the calendar provider (Google, Microsoft), sets up webhook notifications for real-time updates, and performs an initial sync of all calendar events. It requires OAuth credentials (client ID, client secret, and refresh token) and the platform type. Once created, the calendar is assigned a unique UUID that should be used for all subsequent operations. Returns the newly created calendar object with all integration details.
     * @param params - The parameters for the create calendar request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/create_calendar)
     * @returns The response from the create calendar request
     */
    createCalendar(params: CreateCalendarParams): Promise<ApiResponse<CreateCalendarResponse>>;
    /**
     * Retrieves all calendars that have been integrated with the system for the authenticated user. Returns a list of calendars with their names, email addresses, provider information, and sync status. This endpoint shows only calendars that have been formally connected through the create_calendar endpoint, not all available calendars from the provider.
     * @returns The response from the list calendars request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/list_calendars)
     */
    listCalendars(): Promise<ApiResponse<Calendar[]>>;
    /**
     * Retrieves detailed information about a specific calendar integration by its UUID. Returns comprehensive calendar data including the calendar name, email address, provider details (Google, Microsoft), sync status, and other metadata. This endpoint is useful for displaying calendar information to users or verifying the status of a calendar integration before performing operations on its events.
     * @param params - The parameters for the get calendar request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/get_calendar)
     * @returns The response from the get calendar request
     */
    getCalendar(params: {
        uuid: string;
    }): Promise<ApiResponse<Calendar>>;
    /**
     * Updates a calendar integration with new credentials or platform while maintaining the same UUID. This operation is performed as an atomic transaction to ensure data integrity. The system automatically unschedules existing bots to prevent duplicates, updates the calendar credentials, and triggers a full resync of all events. Useful when OAuth tokens need to be refreshed or when migrating a calendar between providers. Returns the updated calendar object with its new configuration.
     * @param params - The parameters for the update calendar request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/update_calendar)
     * @returns The response from the update calendar request
     */
    updateCalendar(params: {
        uuid: string;
        body: UpdateCalendarParams;
    }): Promise<ApiResponse<CreateCalendarResponse>>;
    /**
     * Permanently removes a calendar integration by its UUID, including all associated events and bot configurations. This operation cancels any active subscriptions with the calendar provider, stops all webhook notifications, and unschedules any pending recordings. All related resources are cleaned up in the database. This action cannot be undone, and subsequent requests to this calendar's UUID will return 404 Not Found errors.
     * @param params - The parameters for the delete calendar request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/delete_calendar)
     * @returns The response from the delete calendar request
     */
    deleteCalendar(params: {
        uuid: string;
    }): Promise<ApiResponse<void>>;
    /**
     * Retrieves comprehensive details about a specific calendar event by its UUID. Returns complete event information including title, meeting link, start and end times, organizer status, recurrence information, and the full list of attendees with their names and email addresses. Also includes any associated bot parameters if recording is scheduled for this event. The raw calendar data from the provider is also included for advanced use cases.
     * @param params - The parameters for the get calendar event request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/get_event)
     * @returns The response from the get calendar event request
     */
    getCalendarEvent(params: {
        uuid: string;
    }): Promise<ApiResponse<Event>>;
    /**
     * Configures a bot to automatically join and record a specific calendar event at its scheduled time. The request body contains detailed bot configuration, including recording options, streaming settings, and webhook notification URLs. For recurring events, the 'all_occurrences' parameter can be set to true to schedule recording for all instances of the recurring series, or false (default) to schedule only the specific instance. Returns the updated event(s) with the bot parameters attached.
     * @param params - The parameters for the schedule calendar record event request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/schedule_record_event)
     * @returns The response from the schedule calendar record event request
     */
    scheduleCalendarRecordEvent(params: {
        uuid: string;
        body: BotParam2;
        query?: ScheduleRecordEventParams;
    }): Promise<ApiResponse<Event[]>>;
    /**
     * Cancels a previously scheduled recording for a calendar event and releases associated bot resources. For recurring events, the 'all_occurrences' parameter controls whether to unschedule from all instances of the recurring series or just the specific occurrence. This operation is idempotent and will not error if no bot was scheduled. Returns the updated event(s) with the bot parameters removed.
     * @param params - The parameters for the unschedule calendar record event request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/unschedule_record_event)
     * @returns The response from the unschedule calendar record event request
     */
    unscheduleCalendarRecordEvent(params: {
        uuid: string;
        query?: UnscheduleRecordEventParams;
    }): Promise<ApiResponse<Event[]>>;
    /**
     * Updates the configuration of a bot already scheduled to record an event. Allows modification of recording settings, webhook URLs, and other bot parameters without canceling and recreating the scheduled recording. For recurring events, the 'all_occurrences' parameter determines whether changes apply to all instances or just the specific occurrence. Returns the updated event(s) with the modified bot parameters.
     * @param params - The parameters for the patch bot request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/patch_bot)
     * @returns The response from the patch bot request
     */
    patchBot(params: {
        uuid: string;
        body: BotParam3;
        query?: PatchBotParams;
    }): Promise<ApiResponse<Event[]>>;
    /**
     * Retrieves a paginated list of calendar events with comprehensive filtering options. Supports filtering by organizer email, attendee email, date ranges (start_date_gte, start_date_lte), and event status. Results can be limited to upcoming events (default), past events, or all events. Each event includes full details such as meeting links, participants, and recording status. The response includes a 'next' pagination cursor for retrieving additional results.
     * @param params - The parameters for the list calendar events request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/list_events)
     * @returns The response from the list calendar events request
     */
    listCalendarEvents(query: ListEventsParams): Promise<ApiResponse<ListEventResponse>>;
    /**
     * Retrieves the full documentation for the webhook events that Meeting BaaS sends to your webhook URL. This includes all event types, their payload structures, and any additional metadata. Useful for developers to understand and integrate webhook functionality into their applications.
     * @returns The response from the get webhook documentation request
     */
    getWebhookDocumentation(): Promise<ApiResponse<unknown>>;
    /**
     * Retrieves the full documentation for the webhook events that Meeting BaaS sends to your webhook URL for a specific bot. This includes all event types, their payload structures, and any additional metadata. Useful for developers to understand and integrate webhook functionality into their applications.
     * @returns The response from the get bot webhook documentation request
     */
    getBotWebhookDocumentation(): Promise<ApiResponse<unknown>>;
    /**
     * Retrieves the full documentation for the webhook events that Meeting BaaS sends to your webhook URL for a specific calendar. This includes all event types, their payload structures, and any additional metadata. Useful for developers to understand and integrate webhook functionality into their applications.
     * @returns The response from the get calendar webhook documentation request
     */
    getCalendarWebhookDocumentation(): Promise<ApiResponse<unknown>>;
    /**
     * Triggers a full resync of all calendar events for all integrated calendars. This operation is useful when you need to ensure that all calendar data is up-to-date in the system. It will re-fetch all events from the calendar providers and update the system's internal state. Returns a response indicating the status of the resync operation.
     * @returns The response from the resync all calendars request
     */
    resyncAllCalendars(): Promise<ApiResponse<ResyncAllResponse>>;
    /**
     * Retrieves unprocessed calendar data directly from the provider (Google, Microsoft) using provided OAuth credentials. This endpoint is typically used during the initial setup process to allow users to select which calendars to integrate. Returns a list of available calendars with their unique IDs, email addresses, and primary status. This data is not persisted until a calendar is formally created using the create_calendar endpoint.
     * @param params - The parameters for the list raw calendars request. Learn more about the request body [here](https://docs.meetingbaas.com/api/reference/calendars/list_raw_calendars)
     * @returns The response from the list raw calendars request
     */
    listRawCalendars(params: ListRawCalendarsParams): Promise<ApiResponse<ListRawCalendarsResponse>>;
    getApiKey(): string;
    getBaseUrl(): string;
};

export { type Account, type AccountCompanyName, type AccountFirstname, type AccountInfos, type AccountLastname, type AccountPhone, type ApiKeyResponse, type Attendee, type AttendeeName, AudioFrequency, type AutomaticLeaveRequest, type AutomaticLeaveRequestNooneJoinedTimeout, type AutomaticLeaveRequestWaitingRoomTimeout, type BaasClientConfig, type Bot, type Bot2, type Bot2DiarizationFails, type Bot2Errors, type Bot2EventId, type Bot2ScheduledBotId, type Bot2SessionId, type Bot2TranscriptionFails, type BotData, type BotPagined, type BotParam, type BotParam2, type BotParam2BotImage, type BotParam2DeduplicationKey, type BotParam2EnterMessage, type BotParam2NooneJoinedTimeout, type BotParam2RecordingMode, type BotParam2SpeechToText, type BotParam2StreamingAudioFrequency, type BotParam2StreamingInput, type BotParam2StreamingOutput, type BotParam2WaitingRoomTimeout, type BotParam2WebhookUrl, type BotParam2ZoomSdkId, type BotParam2ZoomSdkPwd, type BotParam3, type BotParam3BotImage, type BotParam3BotName, type BotParam3DeduplicationKey, type BotParam3EnterMessage, type BotParam3NooneJoinedTimeout, type BotParam3RecordingMode, type BotParam3RecordingModeAnyOf, type BotParam3SpeechToText, type BotParam3SpeechToTextAnyOf, type BotParam3StreamingAudioFrequency, type BotParam3StreamingAudioFrequencyAnyOf, type BotParam3StreamingInput, type BotParam3StreamingOutput, type BotParam3WaitingRoomTimeout, type BotParam3WebhookUrl, type BotParam3ZoomSdkId, type BotParam3ZoomSdkPwd, type BotParamBotImage, type BotParamDeduplicationKey, type BotParamEnterMessage, type BotParamNooneJoinedTimeout, type BotParamRecordingMode, type BotParamSpeechToTextApiKey, type BotParamSpeechToTextProvider, type BotParamStreamingAudioFrequency, type BotParamStreamingInput, type BotParamStreamingOutput, type BotParamWaitingRoomTimeout, type BotParamZoomSdkId, type BotParamZoomSdkPwd, type BotStatusResponse, type BotStatusResponseDetails, type BotWithParams, type BotWithParamsBotImage, type BotWithParamsDeduplicationKey, type BotWithParamsDiarizationFails, type BotWithParamsEnterMessage, type BotWithParamsErrors, type BotWithParamsEventId, type BotWithParamsNooneJoinedTimeout, type BotWithParamsRecordingMode, type BotWithParamsScheduledBotId, type BotWithParamsSessionId, type BotWithParamsSpeechToTextApiKey, type BotWithParamsSpeechToTextProvider, type BotWithParamsStreamingAudioFrequency, type BotWithParamsStreamingInput, type BotWithParamsStreamingOutput, type BotWithParamsTranscriptionFails, type BotWithParamsWaitingRoomTimeout, type BotWithParamsZoomSdkId, type BotWithParamsZoomSdkPwd, type BotWithStatus, type BotWithStatusAccountEmail, type BotWithStatusDiarizationFails, type BotWithStatusErrors, type BotWithStatusEventId, type BotWithStatusScheduledBotId, type BotWithStatusSessionId, type BotWithStatusTranscriptionFails, type BotsWithMetadataParams, type Calendar, type CalendarListEntry, type CalendarResourceId, type CalendarUuidParam, type CreateCalendarParams, type CreateCalendarParamsRawCalendarId, type CreateCalendarResponse, type DailyTokenConsumption, type DateTime, type DeleteResponse, DeleteStatus, type EndMeetingQuery, type EndMeetingTrampolineQuery, type EndMeetingTrampolineRequest, type EndMeetingTrampolineRequestDiarizationFailCount, type EndMeetingTrampolineRequestTranscriptionFailCount, type Event, type EventBotParam, type EventRecurringEventId, type Extra, type FailedRecordRequest, type FailedRecordRequestErrorCode, type GetAllBotsQuery, type GetAllBotsQueryAccountId, type GetAllBotsQueryBotUuid, type GetAllBotsQueryCreatorEmailContains, type GetAllBotsQueryDiarizationV2, type GetAllBotsQueryEndDate, type GetAllBotsQueryExtraContains, type GetAllBotsQueryMeetingUrl, type GetAllBotsQueryMeetingUrlContains, type GetAllBotsQueryReserved, type GetAllBotsQueryStartDate, type GetAllBotsQueryStatus, type GetAllBotsQueryStatusCategory, type GetAllBotsQueryStatusPriority, type GetAllBotsQueryStatusType, type GetAllBotsQueryUserEmail, type GetAllBotsQueryUserReportedErrorContains, type GetAllBotsQueryUserReportedErrorJson, type GetMeetingDataParams, type GetMeetingDataQuery, type GetStartedAccount, type GetStartedAccountFirstname, type GetStartedAccountGoogleTokenId, type GetStartedAccountLastname, type GetStartedAccountMicrosoftTokenId, type GetWebhookUrlResponse, type GetWebhookUrlResponseWebhookUrl, type GetstartedQuery, type GetstartedQueryRedirectUrl, type JoinRequest, type JoinRequestAutomaticLeave, type JoinRequestBotImage, type JoinRequestDeduplicationKey, type JoinRequestEntryMessage, type JoinRequestRecordingMode, type JoinRequestScheduled, type JoinRequestSpeechToText, type JoinRequestStartTime, type JoinRequestStreaming, type JoinRequestWebhookUrl, type JoinRequestZoomSdkId, type JoinRequestZoomSdkPwd, type JoinResponse, type JoinResponse2, type LeaveResponse, type ListEventResponse, type ListEventResponseNext, type ListEventsParams, type ListRawCalendarsParams, type ListRawCalendarsResponse, type ListRecentBotsQuery, type ListRecentBotsQueryBotName, type ListRecentBotsQueryCreatedAfter, type ListRecentBotsQueryCreatedBefore, type ListRecentBotsQueryCursor, type ListRecentBotsQueryEndedAfter, type ListRecentBotsQueryFilterByExtra, type ListRecentBotsQueryMeetingUrl, type ListRecentBotsQuerySortByExtra, type ListRecentBotsQuerySpeakerName, type ListRecentBotsResponse, type ListRecentBotsResponseNextCursor, type LoginAccount, type LoginAccountAppSigninToken, type LoginAccountGoogleChromeTokenId, type LoginAccountGoogleTokenId, type LoginAccountMicrosoftTokenId, type LoginQuery, type LoginQueryRedirectUrl, type Metadata, type OptionalDateTime, type PatchBotParams, type PostWebhookUrlRequest, Provider, type PublicBotAnalytics, type PublicBotAnalyticsUserReportedErrorMessage, type PublicBotAnalyticsUserReportedErrorStatus, type QueryListEvent, type QueryListEventAttendeeEmail, type QueryListEventCursor, type QueryListEventOrganizerEmail, type QueryListEventStartDateGte, type QueryListEventStartDateLte, type QueryListEventStatus, type QueryListEventUpdatedAtGte, type QueryPatchRecordEvent, type QueryPatchRecordEventAllOccurrences, type QueryScheduleRecordEvent, type QueryScheduleRecordEventAllOccurrences, type QueryUnScheduleRecordEvent, type QueryUnScheduleRecordEventAllOccurrences, type ReceivedMessageQuery, type RecentBotEntry, type RecentBotEntryAccessCount, type RecentBotEntryDuration, type RecentBotEntryEndedAt, type RecentBotEntryLastAccessedAt, type RecentBotEntrySessionId, type RecognizerTranscript, type RecognizerTranscriptEndTime, type RecognizerTranscriptLang, type RecognizerTranscriptUserId, type RecognizerWord, type RecognizerWordUserId, RecordingMode, type ResyncAllCalendarsResponse, type ResyncAllCalendarsResponseErrorsItemItem, type ResyncAllResponse, type ResyncAllResponseErrorsItemItem, type RetranscribeBody, type RetranscribeBodySpeechToText, type RetranscribeBodyWebhookUrl, type RetryWebhookQuery, type RetryWebhookQueryWebhookUrl, type ScheduleOrigin, type ScheduleOriginOneOf, type ScheduleOriginOneOfEvent, type ScheduleOriginOneOfThree, type ScheduleOriginOneOfThreeScheduledBot, type ScheduleRecordEventParams, type ScreenshotWrapper, type ScreenshotsList, type SpeechToText, type SpeechToTextApiParameter, type SpeechToTextApiParameterApiKey, SpeechToTextProvider, type StartRecordFailedQuery, type StartRecordFailedQueryBotUuid, type StreamingApiParameter, type StreamingApiParameterAudioFrequency, type StreamingApiParameterInput, type StreamingApiParameterOutput, type SyncResponse, type SyncResponseAffectedEventUuids, type SyncResponseHasUpdates, type SystemTime, type TokenConsumptionByService, type TokenConsumptionQuery, type Transcript, type Transcript2, type Transcript2EndTime, type Transcript2Lang, type Transcript2UserId, type Transcript3, type Transcript3BotId, type Transcript3EndTime, type Transcript3Lang, type Transcript3Speaker, type Transcript3StartTime, type Transcript3UserId, type TranscriptEndTime, type TranscriptLang, type TranscriptUserId, type UnscheduleRecordEventParams, type UpdateCalendarParams, type UserReportedErrorPayload, type UserReportedErrorPayloadChatId, type UserReportedErrorPayloadStatus, UserReportedErrorStatus, type UserTokensResponse, type UserTokensResponseLastPurchaseDate, type UuidParam, type Version, type Word, type WordUserId, botWebhookDocumentationResponse, botsWithMetadataQueryLimitDefault, botsWithMetadataQueryParams, botsWithMetadataResponse, botsWithMetadataResponseLastUpdatedDefault, calendarWebhookDocumentationResponse, createBaasClient, createCalendarBody, createCalendarResponse, deleteCalendarParams, deleteDataParams, deleteDataResponse, getCalendarParams, getCalendarResponse, getEventParams, getEventResponse, getMeetingDataQueryIncludeTranscriptsDefault, getMeetingDataQueryParams, getMeetingDataResponse, getScreenshotsParams, getScreenshotsResponse, getScreenshotsResponseItem, joinBody, joinBodyAutomaticLeaveNooneJoinedTimeoutMin, joinBodyAutomaticLeaveWaitingRoomTimeoutMin, joinBodyStartTimeMin, joinBodyTranscriptionCustomParametersDefault, joinResponse, leaveParams, leaveResponse, listCalendarsResponse, listCalendarsResponseItem, listEventsQueryParams, listEventsResponse, listRawCalendarsBody, listRawCalendarsResponse, patchBotBody, patchBotBodyBotImageDefault, patchBotBodyDeduplicationKeyDefault, patchBotBodyEnterMessageDefault, patchBotBodyExtraDefault, patchBotBodyNooneJoinedTimeoutDefault, patchBotBodySpeechToTextDefault, patchBotBodyStreamingAudioFrequencyDefault, patchBotBodyStreamingInputDefault, patchBotBodyStreamingOutputDefault, patchBotBodyTranscriptionCustomParametersDefault, patchBotBodyWaitingRoomTimeoutDefault, patchBotBodyZoomSdkIdDefault, patchBotBodyZoomSdkPwdDefault, patchBotParams, patchBotQueryParams, patchBotResponse, patchBotResponseItem, resyncAllResponse, resyncAllResponseErrorsItemMax, resyncAllResponseErrorsItemMin, retranscribeBotBody, scheduleRecordEventBody, scheduleRecordEventParams, scheduleRecordEventQueryParams, scheduleRecordEventResponse, scheduleRecordEventResponseItem, unscheduleRecordEventParams, unscheduleRecordEventQueryParams, unscheduleRecordEventResponse, unscheduleRecordEventResponseItem, updateCalendarBody, updateCalendarParams, updateCalendarResponse, webhookDocumentationResponse };
