// This file is auto-generated by @hey-api/openapi-ts

/**
 * Serializer for AppBuilder Menu Item responses.
 */
export type AppBuilderMenuItemResponse = {
    name: string;
    href: string;
    category?: string | null;
    [key: string]: unknown | string;
};

/**
 * Serializer for AppBuilder View responses.
 */
export type AppBuilderViewResponse = {
    name?: string | null;
    category?: string | null;
    view?: string | null;
    label?: string | null;
    [key: string]: unknown;
};

/**
 * Asset alias collection response.
 */
export type AssetAliasCollectionResponse = {
    asset_aliases: Array<AssetAliasResponse>;
    total_entries: number;
};

/**
 * Asset alias serializer for responses.
 */
export type AssetAliasResponse = {
    id: number;
    name: string;
    group: string;
};

/**
 * Asset collection response.
 */
export type AssetCollectionResponse = {
    assets: Array<AssetResponse>;
    total_entries: number;
};

/**
 * Asset event collection response.
 */
export type AssetEventCollectionResponse = {
    asset_events: Array<AssetEventResponse>;
    total_entries: number;
};

/**
 * Asset event serializer for responses.
 */
export type AssetEventResponse = {
    id: number;
    asset_id: number;
    uri?: string | null;
    name?: string | null;
    group?: string | null;
    extra?: {
    [key: string]: JsonValue;
} | null;
    source_task_id?: string | null;
    source_dag_id?: string | null;
    source_run_id?: string | null;
    source_map_index: number;
    created_dagruns: Array<DagRunAssetReference>;
    timestamp: string;
    partition_key?: string | null;
};

/**
 * Asset serializer for responses.
 */
export type AssetResponse = {
    id: number;
    name: string;
    uri: string;
    group: string;
    extra?: {
    [key: string]: JsonValue;
} | null;
    created_at: string;
    updated_at: string;
    scheduled_dags: Array<DagScheduleAssetReference>;
    producing_tasks: Array<TaskOutletAssetReference>;
    consuming_tasks: Array<TaskInletAssetReference>;
    aliases: Array<AssetAliasResponse>;
    watchers: Array<AssetWatcherResponse>;
    last_asset_event?: LastAssetEventResponse | null;
};

/**
 * Asset watcher serializer for responses.
 */
export type AssetWatcherResponse = {
    name: string;
    trigger_id: number;
    created_date: string;
};

/**
 * Backfill Collection serializer for responses.
 */
export type BackfillCollectionResponse = {
    backfills: Array<BackfillResponse>;
    total_entries: number;
};

/**
 * Object used for create backfill request.
 */
export type BackfillPostBody = {
    dag_id: string;
    from_date: string;
    to_date: string;
    run_backwards?: boolean;
    dag_run_conf?: {
    [key: string]: unknown;
} | null;
    reprocess_behavior?: ReprocessBehavior;
    max_active_runs?: number;
    run_on_latest_version?: boolean;
};

/**
 * Base serializer for Backfill.
 */
export type BackfillResponse = {
    id: number;
    dag_id: string;
    from_date: string;
    to_date: string;
    dag_run_conf: {
    [key: string]: unknown;
} | null;
    is_paused: boolean;
    reprocess_behavior: ReprocessBehavior;
    max_active_runs: number;
    created_at: string;
    completed_at: string | null;
    updated_at: string;
    dag_display_name: string;
};

/**
 * Base info serializer for responses.
 */
export type BaseInfoResponse = {
    status: string | null;
};

/**
 * Bulk Action to be taken if the entity does not exist.
 */
export type BulkActionNotOnExistence = 'fail' | 'skip';

/**
 * Bulk Action to be taken if the entity already exists or not.
 */
export type BulkActionOnExistence = 'fail' | 'skip' | 'overwrite';

/**
 * Serializer for individual bulk action responses.
 *
 * Represents the outcome of a single bulk operation (create, update, or delete).
 * The response includes a list of successful keys and any errors encountered during the operation.
 * This structure helps users understand which key actions succeeded and which failed.
 */
export type BulkActionResponse = {
    /**
     * A list of unique id/key representing successful operations.
     */
    success?: Array<(string)>;
    /**
     * A list of errors encountered during the operation, each containing details about the issue.
     */
    errors?: Array<{
        [key: string]: unknown;
    }>;
};

export type BulkBody_BulkTaskInstanceBody_ = {
    actions: Array<(BulkCreateAction_BulkTaskInstanceBody_ | BulkUpdateAction_BulkTaskInstanceBody_ | BulkDeleteAction_BulkTaskInstanceBody_)>;
};

export type BulkBody_ConnectionBody_ = {
    actions: Array<(BulkCreateAction_ConnectionBody_ | BulkUpdateAction_ConnectionBody_ | BulkDeleteAction_ConnectionBody_)>;
};

export type BulkBody_PoolBody_ = {
    actions: Array<(BulkCreateAction_PoolBody_ | BulkUpdateAction_PoolBody_ | BulkDeleteAction_PoolBody_)>;
};

export type BulkBody_VariableBody_ = {
    actions: Array<(BulkCreateAction_VariableBody_ | BulkUpdateAction_VariableBody_ | BulkDeleteAction_VariableBody_)>;
};

export type BulkCreateAction_BulkTaskInstanceBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "create";
    /**
     * A list of entities to be created.
     */
    entities: Array<BulkTaskInstanceBody>;
    action_on_existence?: BulkActionOnExistence;
};

export type BulkCreateAction_ConnectionBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "create";
    /**
     * A list of entities to be created.
     */
    entities: Array<ConnectionBody>;
    action_on_existence?: BulkActionOnExistence;
};

export type BulkCreateAction_PoolBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "create";
    /**
     * A list of entities to be created.
     */
    entities: Array<PoolBody>;
    action_on_existence?: BulkActionOnExistence;
};

export type BulkCreateAction_VariableBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "create";
    /**
     * A list of entities to be created.
     */
    entities: Array<VariableBody>;
    action_on_existence?: BulkActionOnExistence;
};

export type BulkDeleteAction_BulkTaskInstanceBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "delete";
    /**
     * A list of entity id/key or entity objects to be deleted.
     */
    entities: Array<(string | BulkTaskInstanceBody)>;
    action_on_non_existence?: BulkActionNotOnExistence;
};

export type BulkDeleteAction_ConnectionBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "delete";
    /**
     * A list of entity id/key or entity objects to be deleted.
     */
    entities: Array<(string | ConnectionBody)>;
    action_on_non_existence?: BulkActionNotOnExistence;
};

export type BulkDeleteAction_PoolBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "delete";
    /**
     * A list of entity id/key or entity objects to be deleted.
     */
    entities: Array<(string | PoolBody)>;
    action_on_non_existence?: BulkActionNotOnExistence;
};

export type BulkDeleteAction_VariableBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "delete";
    /**
     * A list of entity id/key or entity objects to be deleted.
     */
    entities: Array<(string | VariableBody)>;
    action_on_non_existence?: BulkActionNotOnExistence;
};

/**
 * Serializer for responses to bulk entity operations.
 *
 * This represents the results of create, update, and delete actions performed on entity in bulk.
 * Each action (if requested) is represented as a field containing details about successful keys and any encountered errors.
 * Fields are populated in the response only if the respective action was part of the request, else are set None.
 */
export type BulkResponse = {
    /**
     * Details of the bulk create operation, including successful keys and errors.
     */
    create?: BulkActionResponse | null;
    /**
     * Details of the bulk update operation, including successful keys and errors.
     */
    update?: BulkActionResponse | null;
    /**
     * Details of the bulk delete operation, including successful keys and errors.
     */
    delete?: BulkActionResponse | null;
};

/**
 * Request body for bulk update, and delete task instances.
 */
export type BulkTaskInstanceBody = {
    new_state?: TaskInstanceState | null;
    note?: string | null;
    include_upstream?: boolean;
    include_downstream?: boolean;
    include_future?: boolean;
    include_past?: boolean;
    task_id: string;
    map_index?: number | null;
    dag_id?: string | null;
    dag_run_id?: string | null;
};

export type BulkUpdateAction_BulkTaskInstanceBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "update";
    /**
     * A list of entities to be updated.
     */
    entities: Array<BulkTaskInstanceBody>;
    /**
     * A list of field names to update for each entity.Only these fields will be applied from the request body to the database model.Any extra fields provided will be ignored.
     */
    update_mask?: Array<(string)> | null;
    action_on_non_existence?: BulkActionNotOnExistence;
};

export type BulkUpdateAction_ConnectionBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "update";
    /**
     * A list of entities to be updated.
     */
    entities: Array<ConnectionBody>;
    /**
     * A list of field names to update for each entity.Only these fields will be applied from the request body to the database model.Any extra fields provided will be ignored.
     */
    update_mask?: Array<(string)> | null;
    action_on_non_existence?: BulkActionNotOnExistence;
};

export type BulkUpdateAction_PoolBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "update";
    /**
     * A list of entities to be updated.
     */
    entities: Array<PoolBody>;
    /**
     * A list of field names to update for each entity.Only these fields will be applied from the request body to the database model.Any extra fields provided will be ignored.
     */
    update_mask?: Array<(string)> | null;
    action_on_non_existence?: BulkActionNotOnExistence;
};

export type BulkUpdateAction_VariableBody_ = {
    /**
     * The action to be performed on the entities.
     */
    action: "update";
    /**
     * A list of entities to be updated.
     */
    entities: Array<VariableBody>;
    /**
     * A list of field names to update for each entity.Only these fields will be applied from the request body to the database model.Any extra fields provided will be ignored.
     */
    update_mask?: Array<(string)> | null;
    action_on_non_existence?: BulkActionNotOnExistence;
};

/**
 * Response for clear dag run dry run, which may contain new tasks without full TaskInstance data.
 */
export type ClearTaskInstanceCollectionResponse = {
    task_instances: Array<(TaskInstanceResponse | NewTaskResponse)>;
    total_entries: number;
};

/**
 * Request body for Clear Task Instances endpoint.
 */
export type ClearTaskInstancesBody = {
    dry_run?: boolean;
    start_date?: string | null;
    end_date?: string | null;
    only_failed?: boolean;
    only_running?: boolean;
    reset_dag_runs?: boolean;
    /**
     * A list of `task_id` or [`task_id`, `map_index`]. If only the `task_id` is provided for a mapped task, all of its map indices will be targeted.
     */
    task_ids?: Array<(string | [
    string,
    number
])> | null;
    dag_run_id?: string | null;
    include_upstream?: boolean;
    include_downstream?: boolean;
    include_future?: boolean;
    include_past?: boolean;
    /**
     * (Experimental) Run on the latest bundle version of the dag after clearing the task instances.
     */
    run_on_latest_version?: boolean;
    prevent_running_task?: boolean;
};

/**
 * List of config sections with their options.
 */
export type Config = {
    sections: Array<ConfigSection>;
};

/**
 * Config option.
 */
export type ConfigOption = {
    key: string;
    value: string | [
    string,
    string
];
};

/**
 * Config Section Schema.
 */
export type ConfigSection = {
    name: string;
    options: Array<ConfigOption>;
};

/**
 * Connection Serializer for requests body.
 */
export type ConnectionBody = {
    connection_id: string;
    conn_type: string;
    description?: string | null;
    host?: string | null;
    login?: string | null;
    schema?: string | null;
    port?: number | null;
    password?: string | null;
    extra?: string | null;
    team_name?: string | null;
};

/**
 * Connection Collection serializer for responses.
 */
export type ConnectionCollectionResponse = {
    connections: Array<ConnectionResponse>;
    total_entries: number;
};

/**
 * Connection serializer for responses.
 */
export type ConnectionResponse = {
    connection_id: string;
    conn_type: string;
    description: string | null;
    host: string | null;
    login: string | null;
    schema: string | null;
    port: number | null;
    password: string | null;
    extra: string | null;
    team_name: string | null;
};

/**
 * Connection Test serializer for responses.
 */
export type ConnectionTestResponse = {
    status: boolean;
    message: string;
};

/**
 * Create asset events request.
 */
export type CreateAssetEventsBody = {
    asset_id: number;
    partition_key?: string | null;
    extra?: {
        [key: string]: unknown;
    };
};

/**
 * Dag Collection serializer for responses.
 */
export type DAGCollectionResponse = {
    dags: Array<DAGResponse>;
    total_entries: number;
};

/**
 * Specific serializer for Dag Details responses.
 */
export type DAGDetailsResponse = {
    dag_id: string;
    dag_display_name: string;
    is_paused: boolean;
    is_stale: boolean;
    last_parsed_time: string | null;
    last_parse_duration: number | null;
    last_expired: string | null;
    bundle_name: string | null;
    bundle_version: string | null;
    relative_fileloc: string | null;
    fileloc: string;
    description: string | null;
    timetable_summary: string | null;
    timetable_description: string | null;
    timetable_partitioned: boolean;
    tags: Array<DagTagResponse>;
    max_active_tasks: number;
    max_active_runs: number | null;
    max_consecutive_failed_dag_runs: number;
    has_task_concurrency_limits: boolean;
    has_import_errors: boolean;
    next_dagrun_logical_date: string | null;
    next_dagrun_data_interval_start: string | null;
    next_dagrun_data_interval_end: string | null;
    next_dagrun_run_after: string | null;
    allowed_run_types: Array<DagRunType> | null;
    owners: Array<(string)>;
    catchup: boolean;
    dag_run_timeout: string | null;
    asset_expression: {
    [key: string]: unknown;
} | null;
    doc_md: string | null;
    start_date: string | null;
    end_date: string | null;
    is_paused_upon_creation: boolean | null;
    params: {
    [key: string]: unknown;
} | null;
    render_template_as_native_obj: boolean;
    template_search_path: Array<(string)> | null;
    timezone: string | null;
    last_parsed: string | null;
    default_args: {
    [key: string]: unknown;
} | null;
    owner_links?: {
    [key: string]: (string);
} | null;
    is_favorite?: boolean;
    active_runs_count?: number;
    /**
     * Return file token.
     */
    readonly file_token: string;
    /**
     * Return max_active_tasks as concurrency.
     *
     * Deprecated: Use max_active_tasks instead.
     * @deprecated
     */
    readonly concurrency: number;
    /**
     * Return the latest DagVersion.
     */
    readonly latest_dag_version: DagVersionResponse | null;
};

/**
 * Dag Serializer for updatable bodies.
 */
export type DAGPatchBody = {
    is_paused: boolean;
};

/**
 * Dag serializer for responses.
 */
export type DAGResponse = {
    dag_id: string;
    dag_display_name: string;
    is_paused: boolean;
    is_stale: boolean;
    last_parsed_time: string | null;
    last_parse_duration: number | null;
    last_expired: string | null;
    bundle_name: string | null;
    bundle_version: string | null;
    relative_fileloc: string | null;
    fileloc: string;
    description: string | null;
    timetable_summary: string | null;
    timetable_description: string | null;
    timetable_partitioned: boolean;
    tags: Array<DagTagResponse>;
    max_active_tasks: number;
    max_active_runs: number | null;
    max_consecutive_failed_dag_runs: number;
    has_task_concurrency_limits: boolean;
    has_import_errors: boolean;
    next_dagrun_logical_date: string | null;
    next_dagrun_data_interval_start: string | null;
    next_dagrun_data_interval_end: string | null;
    next_dagrun_run_after: string | null;
    allowed_run_types: Array<DagRunType> | null;
    owners: Array<(string)>;
    /**
     * Return file token.
     */
    readonly file_token: string;
};

/**
 * Dag Run serializer for clear endpoint body.
 */
export type DAGRunClearBody = {
    dry_run?: boolean;
    only_failed?: boolean;
    /**
     * Only queue newly added tasks in the latest DAG version without clearing existing tasks.
     */
    only_new?: boolean;
    /**
     * (Experimental) Run on the latest bundle version of the Dag after clearing the Dag Run.
     */
    run_on_latest_version?: boolean;
};

/**
 * Dag Run collection response supporting both offset and cursor pagination.
 *
 * A single flat model is used instead of a discriminated union
 * (``Annotated[Offset | Cursor, Field(discriminator=...)]``) because
 * the OpenAPI ``oneOf`` + ``discriminator`` construct is not handled
 * correctly by ``@hey-api/openapi-ts`` / ``@7nohe/openapi-react-query-codegen``:
 * return types degrade to ``unknown`` in JSDoc and can produce
 * incorrect TypeScript types (see hey-api/openapi-ts#1613, #3270).
 */
export type DAGRunCollectionResponse = {
    dag_runs: Array<DAGRunResponse>;
    /**
     * Total number of matching items. Populated for offset pagination, ``null`` when using cursor pagination.
     */
    total_entries?: number | null;
    /**
     * Token pointing to the next page. Populated for cursor pagination, ``null`` when using offset pagination or when there is no next page.
     */
    next_cursor?: string | null;
    /**
     * Token pointing to the previous page. Populated for cursor pagination, ``null`` when using offset pagination or when on the first page.
     */
    previous_cursor?: string | null;
};

/**
 * Dag Run Serializer for PATCH requests.
 */
export type DAGRunPatchBody = {
    state?: DAGRunPatchStates | null;
    note?: string | null;
};

/**
 * Enum for Dag Run states when updating a Dag Run.
 */
export type DAGRunPatchStates = 'queued' | 'success' | 'failed';

/**
 * Dag Run serializer for responses.
 */
export type DAGRunResponse = {
    dag_run_id: string;
    dag_id: string;
    logical_date: string | null;
    queued_at: string | null;
    start_date: string | null;
    end_date: string | null;
    duration: number | null;
    data_interval_start: string | null;
    data_interval_end: string | null;
    run_after: string;
    last_scheduling_decision: string | null;
    run_type: DagRunType;
    state: DagRunState;
    triggered_by: DagRunTriggeredByType | null;
    triggering_user_name: string | null;
    conf: {
    [key: string]: unknown;
} | null;
    note: string | null;
    dag_versions: Array<DagVersionResponse>;
    bundle_version: string | null;
    dag_display_name: string;
    partition_key: string | null;
};

/**
 * List Dag Runs body for batch endpoint.
 */
export type DAGRunsBatchBody = {
    order_by?: string | null;
    page_offset?: number;
    page_limit?: number;
    dag_ids?: Array<(string)> | null;
    states?: Array<(DagRunState | null)> | null;
    run_after_gte?: string | null;
    run_after_gt?: string | null;
    run_after_lte?: string | null;
    run_after_lt?: string | null;
    logical_date_gte?: string | null;
    logical_date_gt?: string | null;
    logical_date_lte?: string | null;
    logical_date_lt?: string | null;
    start_date_gte?: string | null;
    start_date_gt?: string | null;
    start_date_lte?: string | null;
    start_date_lt?: string | null;
    end_date_gte?: string | null;
    end_date_gt?: string | null;
    end_date_lte?: string | null;
    end_date_lt?: string | null;
    duration_gte?: number | null;
    duration_gt?: number | null;
    duration_lte?: number | null;
    duration_lt?: number | null;
    conf_contains?: string | null;
};

/**
 * Dag Source serializer for responses.
 */
export type DAGSourceResponse = {
    content: string | null;
    dag_id: string;
    version_number: number | null;
    dag_display_name: string;
};

/**
 * Dag Tags Collection serializer for responses.
 */
export type DAGTagCollectionResponse = {
    tags: Array<(string)>;
    total_entries: number;
};

/**
 * Dag Version Collection serializer for responses.
 */
export type DAGVersionCollectionResponse = {
    dag_versions: Array<DagVersionResponse>;
    total_entries: number;
};

/**
 * Dag warning collection serializer for responses.
 */
export type DAGWarningCollectionResponse = {
    dag_warnings: Array<DAGWarningResponse>;
    total_entries: number;
};

/**
 * Dag Warning serializer for responses.
 */
export type DAGWarningResponse = {
    dag_id: string;
    warning_type: DagWarningType;
    message: string;
    timestamp: string;
    dag_display_name: string;
};

/**
 * DagProcessor info serializer for responses.
 */
export type DagProcessorInfoResponse = {
    status: string | null;
    latest_dag_processor_heartbeat: string | null;
};

/**
 * DagRun serializer for asset responses.
 */
export type DagRunAssetReference = {
    run_id: string;
    dag_id: string;
    logical_date: string | null;
    start_date: string;
    end_date: string | null;
    state: string;
    data_interval_start: string | null;
    data_interval_end: string | null;
    partition_key: string | null;
};

/**
 * All possible states that a DagRun can be in.
 *
 * These are "shared" with TaskInstanceState in some parts of the code,
 * so please ensure that their values always match the ones with the
 * same name in TaskInstanceState.
 */
export type DagRunState = 'queued' | 'running' | 'success' | 'failed';

/**
 * Class with TriggeredBy types for DagRun.
 */
export type DagRunTriggeredByType = 'cli' | 'operator' | 'rest_api' | 'ui' | 'test' | 'timetable' | 'asset' | 'backfill';

/**
 * Class with DagRun types.
 */
export type DagRunType = 'backfill' | 'scheduled' | 'manual' | 'asset_triggered' | 'asset_materialization';

/**
 * Dag schedule reference serializer for assets.
 */
export type DagScheduleAssetReference = {
    dag_id: string;
    created_at: string;
    updated_at: string;
};

/**
 * Dag Stats Collection serializer for responses.
 */
export type DagStatsCollectionResponse = {
    dags: Array<DagStatsResponse>;
    total_entries: number;
};

/**
 * Dag Stats serializer for responses.
 */
export type DagStatsResponse = {
    dag_id: string;
    dag_display_name: string;
    stats: Array<DagStatsStateResponse>;
};

/**
 * DagStatsState serializer for responses.
 */
export type DagStatsStateResponse = {
    state: DagRunState;
    count: number;
};

/**
 * Dag Tag serializer for responses.
 */
export type DagTagResponse = {
    name: string;
    dag_id: string;
    dag_display_name: string;
};

/**
 * Dag Version serializer for responses.
 */
export type DagVersionResponse = {
    id: string;
    version_number: number;
    dag_id: string;
    bundle_name: string | null;
    bundle_version: string | null;
    created_at: string;
    dag_display_name: string;
    bundle_url: string | null;
};

/**
 * Enum for DAG warning types.
 *
 * This is the set of allowable values for the ``warning_type`` field
 * in the DagWarning model.
 */
export type DagWarningType = 'asset conflict' | 'non-existent pool' | 'runtime varying value';

/**
 * Backfill collection serializer for responses in dry-run mode.
 */
export type DryRunBackfillCollectionResponse = {
    backfills: Array<DryRunBackfillResponse>;
    total_entries: number;
};

/**
 * Backfill serializer for responses in dry-run mode.
 */
export type DryRunBackfillResponse = {
    logical_date: string | null;
    partition_key: string | null;
    partition_date: string | null;
};

/**
 * Event Log Collection Response.
 */
export type EventLogCollectionResponse = {
    event_logs: Array<EventLogResponse>;
    total_entries: number;
};

/**
 * Event Log Response.
 */
export type EventLogResponse = {
    event_log_id: number;
    when: string;
    dag_id: string | null;
    task_id: string | null;
    run_id: string | null;
    map_index: number | null;
    try_number: number | null;
    event: string;
    logical_date: string | null;
    owner: string | null;
    extra: string | null;
    dag_display_name?: string | null;
    task_display_name?: string | null;
};

/**
 * Response for the external log URL endpoint.
 */
export type ExternalLogUrlResponse = {
    url: string;
};

/**
 * Serializer for External View Plugin responses.
 */
export type ExternalViewResponse = {
    name: string;
    icon?: string | null;
    icon_dark_mode?: string | null;
    url_route?: string | null;
    category?: string | null;
    href: string;
    destination?: 'nav' | 'dag' | 'dag_run' | 'task' | 'task_instance' | 'base';
    [key: string]: unknown | string;
};

export type destination = 'nav' | 'dag' | 'dag_run' | 'task' | 'task_instance' | 'base';

/**
 * Extra Links Response.
 */
export type ExtraLinkCollectionResponse = {
    extra_links: {
        [key: string]: (string | null);
    };
    total_entries: number;
};

/**
 * Serializer for Plugin FastAPI App responses.
 */
export type FastAPIAppResponse = {
    app: string;
    url_prefix: string;
    name: string;
    [key: string]: unknown | string;
};

/**
 * Serializer for Plugin FastAPI root middleware responses.
 */
export type FastAPIRootMiddlewareResponse = {
    middleware: string;
    name: string;
    [key: string]: unknown | string;
};

/**
 * Schema for Human-in-the-loop detail.
 */
export type HITLDetail = {
    options: Array<(string)>;
    subject: string;
    body?: string | null;
    defaults?: Array<(string)> | null;
    multiple?: boolean;
    params?: {
        [key: string]: unknown;
    };
    assigned_users?: Array<HITLUser>;
    created_at: string;
    responded_by_user?: HITLUser | null;
    responded_at?: string | null;
    chosen_options?: Array<(string)> | null;
    params_input?: {
        [key: string]: unknown;
    };
    response_received?: boolean;
    task_instance: TaskInstanceResponse;
};

/**
 * Schema for a collection of Human-in-the-loop details.
 */
export type HITLDetailCollection = {
    hitl_details: Array<HITLDetail>;
    total_entries: number;
};

/**
 * Schema for Human-in-the-loop detail history.
 */
export type HITLDetailHistory = {
    options: Array<(string)>;
    subject: string;
    body?: string | null;
    defaults?: Array<(string)> | null;
    multiple?: boolean;
    params?: {
        [key: string]: unknown;
    };
    assigned_users?: Array<HITLUser>;
    created_at: string;
    responded_by_user?: HITLUser | null;
    responded_at?: string | null;
    chosen_options?: Array<(string)> | null;
    params_input?: {
        [key: string]: unknown;
    };
    response_received?: boolean;
    task_instance: TaskInstanceHistoryResponse;
};

/**
 * Response of updating a Human-in-the-loop detail.
 */
export type HITLDetailResponse = {
    responded_by: HITLUser;
    responded_at: string;
    chosen_options: Array<(string)>;
    params_input?: {
        [key: string]: unknown;
    };
};

/**
 * Schema for a Human-in-the-loop users.
 */
export type HITLUser = {
    id: string;
    name: string;
};

/**
 * HTTPException Model used for error response.
 */
export type HTTPExceptionResponse = {
    detail: string | {
    [key: string]: unknown;
};
};

export type HTTPValidationError = {
    detail?: Array<ValidationError>;
};

/**
 * Health serializer for responses.
 */
export type HealthInfoResponse = {
    metadatabase: BaseInfoResponse;
    scheduler: SchedulerInfoResponse;
    triggerer: TriggererInfoResponse;
    dag_processor?: DagProcessorInfoResponse | null;
};

/**
 * Import Error Collection Response.
 */
export type ImportErrorCollectionResponse = {
    import_errors: Array<ImportErrorResponse>;
    total_entries: number;
};

/**
 * Import Error Response.
 */
export type ImportErrorResponse = {
    import_error_id: number;
    timestamp: string;
    filename: string;
    bundle_name: string | null;
    stack_trace: string;
};

/**
 * Job Collection Response.
 */
export type JobCollectionResponse = {
    jobs: Array<JobResponse>;
    total_entries: number;
};

/**
 * Job serializer for responses.
 */
export type JobResponse = {
    id: number;
    dag_id: string | null;
    state: string | null;
    job_type: string | null;
    start_date: string | null;
    end_date: string | null;
    latest_heartbeat: string | null;
    executor_class: string | null;
    hostname: string | null;
    unixname: string | null;
    dag_display_name?: string | null;
};

export type JsonValue = unknown;

/**
 * Last asset event response serializer.
 */
export type LastAssetEventResponse = {
    id?: number | null;
    timestamp?: string | null;
};

/**
 * Materialize asset request.
 */
export type MaterializeAssetBody = {
    dag_run_id?: string | null;
    data_interval_start?: string | null;
    data_interval_end?: string | null;
    logical_date?: string | null;
    run_after?: string | null;
    conf?: {
    [key: string]: unknown;
} | null;
    note?: string | null;
    partition_key?: string | null;
};

/**
 * Lightweight response for new tasks that don't have TaskInstances yet.
 */
export type NewTaskResponse = {
    task_id: string;
    task_display_name: string;
};

/**
 * Request body for Clear Task Instances endpoint.
 */
export type PatchTaskInstanceBody = {
    new_state?: TaskInstanceState | null;
    note?: string | null;
    include_upstream?: boolean;
    include_downstream?: boolean;
    include_future?: boolean;
    include_past?: boolean;
};

/**
 * Plugin Collection serializer.
 */
export type PluginCollectionResponse = {
    plugins: Array<PluginResponse>;
    total_entries: number;
};

/**
 * Plugin Import Error Collection serializer.
 */
export type PluginImportErrorCollectionResponse = {
    import_errors: Array<PluginImportErrorResponse>;
    total_entries: number;
};

/**
 * Plugin Import Error serializer for responses.
 */
export type PluginImportErrorResponse = {
    source: string;
    error: string;
};

/**
 * Plugin serializer.
 */
export type PluginResponse = {
    name: string;
    macros: Array<(string)>;
    flask_blueprints: Array<(string)>;
    fastapi_apps: Array<FastAPIAppResponse>;
    fastapi_root_middlewares: Array<FastAPIRootMiddlewareResponse>;
    /**
     * Aggregate all external views. Both 'external_views' and 'appbuilder_menu_items' are included here.
     */
    external_views: Array<ExternalViewResponse>;
    react_apps: Array<ReactAppResponse>;
    appbuilder_views: Array<AppBuilderViewResponse>;
    /**
     * @deprecated
     */
    appbuilder_menu_items: Array<AppBuilderMenuItemResponse>;
    global_operator_extra_links: Array<(string)>;
    operator_extra_links: Array<(string)>;
    source: string;
    listeners: Array<(string)>;
    timetables: Array<(string)>;
};

/**
 * Pool serializer for post bodies.
 */
export type PoolBody = {
    name: string;
    /**
     * Number of slots. Use -1 for unlimited.
     */
    slots: number;
    description?: string | null;
    include_deferred?: boolean;
    team_name?: string | null;
};

/**
 * Pool Collection serializer for responses.
 */
export type PoolCollectionResponse = {
    pools: Array<PoolResponse>;
    total_entries: number;
};

/**
 * Pool serializer for patch bodies.
 */
export type PoolPatchBody = {
    pool?: string | null;
    slots?: number | null;
    description?: string | null;
    include_deferred?: boolean | null;
    team_name?: string | null;
};

/**
 * Pool serializer for responses.
 */
export type PoolResponse = {
    name: string;
    /**
     * Number of slots. Use -1 for unlimited.
     */
    slots: number;
    description?: string | null;
    include_deferred: boolean;
    occupied_slots: number;
    running_slots: number;
    queued_slots: number;
    scheduled_slots: number;
    open_slots: number;
    deferred_slots: number;
    team_name: string | null;
};

/**
 * Provider Collection serializer for responses.
 */
export type ProviderCollectionResponse = {
    providers: Array<ProviderResponse>;
    total_entries: number;
};

/**
 * Provider serializer for responses.
 */
export type ProviderResponse = {
    package_name: string;
    description: string;
    version: string;
    documentation_url: string | null;
};

/**
 * Queued Event Collection serializer for responses.
 */
export type QueuedEventCollectionResponse = {
    queued_events: Array<QueuedEventResponse>;
    total_entries: number;
};

/**
 * Queued Event serializer for responses..
 */
export type QueuedEventResponse = {
    dag_id: string;
    asset_id: number;
    created_at: string;
    dag_display_name: string;
};

/**
 * Serializer for React App Plugin responses.
 */
export type ReactAppResponse = {
    name: string;
    icon?: string | null;
    icon_dark_mode?: string | null;
    url_route?: string | null;
    category?: string | null;
    bundle_url: string;
    destination?: 'nav' | 'dag' | 'dag_run' | 'task' | 'task_instance' | 'base' | 'dashboard';
    [key: string]: unknown | string;
};

export type destination2 = 'nav' | 'dag' | 'dag_run' | 'task' | 'task_instance' | 'base' | 'dashboard';

/**
 * Internal enum for setting reprocess behavior in a backfill.
 *
 * :meta private:
 */
export type ReprocessBehavior = 'failed' | 'completed' | 'none';

/**
 * Scheduler info serializer for responses.
 */
export type SchedulerInfoResponse = {
    status: string | null;
    latest_scheduler_heartbeat: string | null;
};

/**
 * An individual log message.
 */
export type StructuredLogMessage = {
    timestamp?: string;
    event: string;
    [key: string]: unknown | string;
};

/**
 * Task collection serializer for responses.
 */
export type TaskCollectionResponse = {
    tasks: Array<TaskResponse>;
    total_entries: number;
};

/**
 * Task scheduling dependencies collection serializer for responses.
 */
export type TaskDependencyCollectionResponse = {
    dependencies: Array<TaskDependencyResponse>;
};

/**
 * Task Dependency serializer for responses.
 */
export type TaskDependencyResponse = {
    name: string;
    reason: string;
};

/**
 * Task inlet reference serializer for assets.
 */
export type TaskInletAssetReference = {
    dag_id: string;
    task_id: string;
    created_at: string;
    updated_at: string;
};

/**
 * Task instance collection response supporting both offset and cursor pagination.
 *
 * A single flat model is used instead of a discriminated union
 * (``Annotated[Offset | Cursor, Field(discriminator=...)]``) because
 * the OpenAPI ``oneOf`` + ``discriminator`` construct is not handled
 * correctly by ``@hey-api/openapi-ts`` / ``@7nohe/openapi-react-query-codegen``:
 * return types degrade to ``unknown`` in JSDoc and can produce
 * incorrect TypeScript types (see hey-api/openapi-ts#1613, #3270).
 */
export type TaskInstanceCollectionResponse = {
    task_instances: Array<TaskInstanceResponse>;
    /**
     * Total number of matching items. Populated for offset pagination, ``null`` when using cursor pagination.
     */
    total_entries?: number | null;
    /**
     * Token pointing to the next page. Populated for cursor pagination, ``null`` when using offset pagination or when there is no next page.
     */
    next_cursor?: string | null;
    /**
     * Token pointing to the previous page. Populated for cursor pagination, ``null`` when using offset pagination or when on the first page.
     */
    previous_cursor?: string | null;
};

/**
 * TaskInstanceHistory Collection serializer for responses.
 */
export type TaskInstanceHistoryCollectionResponse = {
    task_instances: Array<TaskInstanceHistoryResponse>;
    total_entries: number;
};

/**
 * TaskInstanceHistory serializer for responses.
 */
export type TaskInstanceHistoryResponse = {
    task_id: string;
    dag_id: string;
    dag_run_id: string;
    map_index: number;
    start_date: string | null;
    end_date: string | null;
    duration: number | null;
    state: TaskInstanceState | null;
    try_number: number;
    max_tries: number;
    task_display_name: string;
    dag_display_name: string;
    hostname: string | null;
    unixname: string | null;
    pool: string;
    pool_slots: number;
    queue: string | null;
    priority_weight: number | null;
    operator: string | null;
    operator_name: string | null;
    queued_when: string | null;
    scheduled_when: string | null;
    pid: number | null;
    executor: string | null;
    executor_config: string;
    dag_version: DagVersionResponse | null;
};

/**
 * TaskInstance serializer for responses.
 */
export type TaskInstanceResponse = {
    id: string;
    task_id: string;
    dag_id: string;
    dag_run_id: string;
    map_index: number;
    logical_date: string | null;
    run_after: string;
    start_date: string | null;
    end_date: string | null;
    duration: number | null;
    state: TaskInstanceState | null;
    try_number: number;
    max_tries: number;
    task_display_name: string;
    dag_display_name: string;
    hostname: string | null;
    unixname: string | null;
    pool: string;
    pool_slots: number;
    queue: string | null;
    priority_weight: number | null;
    operator: string | null;
    operator_name: string | null;
    queued_when: string | null;
    scheduled_when: string | null;
    pid: number | null;
    executor: string | null;
    executor_config: string;
    note: string | null;
    rendered_map_index: string | null;
    rendered_fields?: {
        [key: string]: unknown;
    };
    trigger: TriggerResponse | null;
    triggerer_job: JobResponse | null;
    dag_version: DagVersionResponse | null;
};

/**
 * All possible states that a Task Instance can be in.
 *
 * Note that None is also allowed, so always use this in a type hint with Optional.
 */
export type TaskInstanceState = 'removed' | 'scheduled' | 'queued' | 'running' | 'success' | 'restarting' | 'failed' | 'up_for_retry' | 'up_for_reschedule' | 'upstream_failed' | 'skipped' | 'deferred';

/**
 * Task Instance body for get batch.
 */
export type TaskInstancesBatchBody = {
    dag_ids?: Array<(string)> | null;
    dag_run_ids?: Array<(string)> | null;
    task_ids?: Array<(string)> | null;
    state?: Array<(TaskInstanceState | null)> | null;
    run_after_gte?: string | null;
    run_after_gt?: string | null;
    run_after_lte?: string | null;
    run_after_lt?: string | null;
    logical_date_gte?: string | null;
    logical_date_gt?: string | null;
    logical_date_lte?: string | null;
    logical_date_lt?: string | null;
    start_date_gte?: string | null;
    start_date_gt?: string | null;
    start_date_lte?: string | null;
    start_date_lt?: string | null;
    end_date_gte?: string | null;
    end_date_gt?: string | null;
    end_date_lte?: string | null;
    end_date_lt?: string | null;
    duration_gte?: number | null;
    duration_gt?: number | null;
    duration_lte?: number | null;
    duration_lt?: number | null;
    pool?: Array<(string)> | null;
    queue?: Array<(string)> | null;
    executor?: Array<(string)> | null;
    page_offset?: number;
    page_limit?: number;
    order_by?: string | null;
};

/**
 * Log serializer for responses.
 */
export type TaskInstancesLogResponse = {
    content: Array<StructuredLogMessage> | Array<(string)>;
    continuation_token: string | null;
};

/**
 * Task outlet reference serializer for assets.
 */
export type TaskOutletAssetReference = {
    dag_id: string;
    task_id: string;
    created_at: string;
    updated_at: string;
};

/**
 * Task serializer for responses.
 */
export type TaskResponse = {
    task_id: string | null;
    task_display_name: string | null;
    owner: string | null;
    start_date: string | null;
    end_date: string | null;
    trigger_rule: string | null;
    depends_on_past: boolean;
    wait_for_downstream: boolean;
    retries: number | null;
    queue: string | null;
    pool: string | null;
    pool_slots: number | null;
    execution_timeout: TimeDelta | null;
    retry_delay: TimeDelta | null;
    retry_exponential_backoff: number;
    priority_weight: number | null;
    weight_rule: string | null;
    ui_color: string | null;
    ui_fgcolor: string | null;
    template_fields: Array<(string)> | null;
    downstream_task_ids: Array<(string)> | null;
    doc_md: string | null;
    operator_name: string | null;
    params: {
    [key: string]: unknown;
} | null;
    class_ref: {
    [key: string]: unknown;
} | null;
    is_mapped: boolean | null;
    /**
     * Extract and return extra_links.
     */
    readonly extra_links: Array<(string)>;
};

/**
 * TimeDelta can be used to interact with datetime.timedelta objects.
 */
export type TimeDelta = {
    __type?: string;
    days: number;
    seconds: number;
    microseconds: number;
};

/**
 * Trigger Dag Run Serializer for POST body.
 */
export type TriggerDAGRunPostBody = {
    dag_run_id?: string | null;
    data_interval_start?: string | null;
    data_interval_end?: string | null;
    logical_date: string | null;
    run_after?: string | null;
    conf?: {
    [key: string]: unknown;
} | null;
    note?: string | null;
    partition_key?: string | null;
};

/**
 * Trigger serializer for responses.
 */
export type TriggerResponse = {
    id: number;
    classpath: string;
    kwargs: string;
    created_date: string;
    queue: string | null;
    triggerer_id: number | null;
};

/**
 * Triggerer info serializer for responses.
 */
export type TriggererInfoResponse = {
    status: string | null;
    latest_triggerer_heartbeat: string | null;
};

/**
 * Schema for updating the content of a Human-in-the-loop detail.
 */
export type UpdateHITLDetailPayload = {
    chosen_options: Array<(string)>;
    params_input?: {
        [key: string]: unknown;
    };
};

export type ValidationError = {
    loc: Array<(string | number)>;
    msg: string;
    type: string;
    input?: unknown;
    ctx?: {
        [key: string]: unknown;
    };
};

/**
 * Variable serializer for bodies.
 */
export type VariableBody = {
    key: string;
    value: JsonValue;
    description?: string | null;
    team_name?: string | null;
};

/**
 * Variable Collection serializer for responses.
 */
export type VariableCollectionResponse = {
    variables: Array<VariableResponse>;
    total_entries: number;
};

/**
 * Variable serializer for responses.
 */
export type VariableResponse = {
    key: string;
    value: string;
    description: string | null;
    is_encrypted: boolean;
    team_name: string | null;
};

/**
 * Version information serializer for responses.
 */
export type VersionInfo = {
    version: string;
    git_version: string | null;
};

/**
 * XCom Collection serializer for responses.
 */
export type XComCollectionResponse = {
    xcom_entries: Array<XComResponse>;
    total_entries: number;
};

/**
 * Payload serializer for creating an XCom entry.
 */
export type XComCreateBody = {
    key: string;
    value: unknown;
    map_index?: number;
};

/**
 * Serializer for a xcom item.
 */
export type XComResponse = {
    key: string;
    timestamp: string;
    logical_date: string | null;
    map_index: number;
    task_id: string;
    dag_id: string;
    run_id: string;
    dag_display_name: string;
    task_display_name: string;
    run_after: string;
};

/**
 * XCom response serializer with native return type.
 */
export type XComResponseNative = {
    key: string;
    timestamp: string;
    logical_date: string | null;
    map_index: number;
    task_id: string;
    dag_id: string;
    run_id: string;
    dag_display_name: string;
    task_display_name: string;
    run_after: string;
    value: unknown;
};

/**
 * XCom response serializer with string return type.
 */
export type XComResponseString = {
    key: string;
    timestamp: string;
    logical_date: string | null;
    map_index: number;
    task_id: string;
    dag_id: string;
    run_id: string;
    dag_display_name: string;
    task_display_name: string;
    run_after: string;
    value: string | null;
};

/**
 * Payload serializer for updating an XCom entry.
 */
export type XComUpdateBody = {
    value: unknown;
    map_index?: number;
};

/**
 * Authenticated user information serializer for responses.
 */
export type AuthenticatedMeResponse = {
    id: string;
    username: string;
};

/**
 * Base Edge serializer for responses.
 */
export type BaseEdgeResponse = {
    source_id: string;
    target_id: string;
};

/**
 * Base Graph serializer for responses.
 */
export type BaseGraphResponse = {
    edges: Array<BaseEdgeResponse>;
    nodes: Array<BaseNodeResponse>;
};

/**
 * Base Node serializer for responses.
 */
export type BaseNodeResponse = {
    id: string;
    label: string;
    type: 'join' | 'task' | 'asset-condition' | 'asset' | 'asset-alias' | 'asset-name-ref' | 'asset-uri-ref' | 'dag' | 'sensor' | 'trigger';
};

export type type = 'join' | 'task' | 'asset-condition' | 'asset' | 'asset-alias' | 'asset-name-ref' | 'asset-uri-ref' | 'dag' | 'sensor' | 'trigger';

/**
 * Response model for calendar time range results.
 */
export type CalendarTimeRangeCollectionResponse = {
    total_entries: number;
    dag_runs: Array<CalendarTimeRangeResponse>;
};

/**
 * Represents a summary of DAG runs for a specific calendar time range.
 */
export type CalendarTimeRangeResponse = {
    date: string;
    state: 'queued' | 'running' | 'success' | 'failed' | 'planned';
    count: number;
};

export type state = 'queued' | 'running' | 'success' | 'failed' | 'planned';

/**
 * configuration serializer.
 */
export type ConfigResponse = {
    fallback_page_limit: number;
    auto_refresh_interval: number;
    hide_paused_dags_by_default: boolean;
    instance_name: string;
    enable_swagger_ui: boolean;
    require_confirmation_dag_change: boolean;
    default_wrap: boolean;
    test_connection: string;
    dashboard_alert: Array<UIAlert>;
    show_external_log_redirect: boolean;
    external_log_name?: string | null;
    theme: Theme | null;
    multi_team: boolean;
};

/**
 * A class to store the behavior of each standard field of a Hook.
 */
export type ConnectionHookFieldBehavior = {
    /**
     * Flag if the form field should be hidden.
     */
    hidden?: boolean;
    /**
     * Label / title for the field that should be displayed, if re-labelling is needed. Use `None` to display standard title.
     */
    title?: string | null;
    /**
     * Placeholder text that should be populated to the form.
     */
    placeholder?: string | null;
};

/**
 * Response model for Hook information == Connection type meta data.
 *
 * It is used to transfer providers information loaded by providers_manager such that
 * the API server/Web UI can use this data to render connection form UI.
 */
export type ConnectionHookMetaData = {
    connection_type: string | null;
    hook_class_name: string | null;
    default_conn_name: string | null;
    hook_name: string;
    standard_fields: StandardHookFields | null;
    extra_fields: {
    [key: string]: unknown;
} | null;
};

/**
 * DAG Run serializer for responses.
 */
export type DAGRunLightResponse = {
    id: number;
    dag_id: string;
    run_id: string;
    logical_date: string | null;
    run_after: string;
    start_date: string | null;
    end_date: string | null;
    state: DagRunState;
    readonly duration: number | null;
};

/**
 * DAG Run States for responses.
 */
export type DAGRunStates = {
    queued: number;
    running: number;
    success: number;
    failed: number;
};

/**
 * DAG with latest dag runs collection response serializer.
 */
export type DAGWithLatestDagRunsCollectionResponse = {
    total_entries: number;
    dags: Array<DAGWithLatestDagRunsResponse>;
};

/**
 * DAG with latest dag runs response serializer.
 */
export type DAGWithLatestDagRunsResponse = {
    dag_id: string;
    dag_display_name: string;
    is_paused: boolean;
    is_stale: boolean;
    last_parsed_time: string | null;
    last_parse_duration: number | null;
    last_expired: string | null;
    bundle_name: string | null;
    bundle_version: string | null;
    relative_fileloc: string | null;
    fileloc: string;
    description: string | null;
    timetable_summary: string | null;
    timetable_description: string | null;
    timetable_partitioned: boolean;
    tags: Array<DagTagResponse>;
    max_active_tasks: number;
    max_active_runs: number | null;
    max_consecutive_failed_dag_runs: number;
    has_task_concurrency_limits: boolean;
    has_import_errors: boolean;
    next_dagrun_logical_date: string | null;
    next_dagrun_data_interval_start: string | null;
    next_dagrun_data_interval_end: string | null;
    next_dagrun_run_after: string | null;
    allowed_run_types: Array<DagRunType> | null;
    owners: Array<(string)>;
    asset_expression: {
    [key: string]: unknown;
} | null;
    latest_dag_runs: Array<DAGRunLightResponse>;
    pending_actions: Array<HITLDetail>;
    is_favorite: boolean;
    /**
     * Return file token.
     */
    readonly file_token: string;
};

/**
 * Dashboard DAG Stats serializer for responses.
 */
export type DashboardDagStatsResponse = {
    active_dag_count: number;
    failed_dag_count: number;
    running_dag_count: number;
    queued_dag_count: number;
};

/**
 * Deadline Collection serializer for responses.
 */
export type DeadlineCollectionResponse = {
    deadlines: Array<DeadlineResponse>;
    total_entries: number;
};

/**
 * Deadline serializer for responses.
 */
export type DeadlineResponse = {
    id: string;
    deadline_time: string;
    missed: boolean;
    created_at: string;
    alert_name?: string | null;
    alert_description?: string | null;
};

/**
 * Edge serializer for responses.
 */
export type EdgeResponse = {
    source_id: string;
    target_id: string;
    is_setup_teardown?: boolean | null;
    label?: string | null;
    is_source_asset?: boolean | null;
};

/**
 * Define a menu item that can be added to the menu by auth managers or plugins.
 */
export type ExtraMenuItem = {
    text: string;
    href: string;
};

/**
 * Response for Gantt chart endpoint.
 */
export type GanttResponse = {
    dag_id: string;
    run_id: string;
    task_instances: Array<GanttTaskInstance>;
};

/**
 * Task instance data for Gantt chart.
 */
export type GanttTaskInstance = {
    task_id: string;
    task_display_name: string;
    try_number: number;
    state: TaskInstanceState | null;
    scheduled_dttm: string | null;
    queued_dttm: string | null;
    start_date: string | null;
    end_date: string | null;
    is_group?: boolean;
    is_mapped?: boolean;
};

/**
 * Request body for generating a token.
 */
export type GenerateTokenBody = {
    token_type?: TokenType;
};

/**
 * Response for a generated token.
 */
export type GenerateTokenResponse = {
    access_token: string;
    token_type: TokenType;
    expires_in_seconds: number;
};

/**
 * Base Node serializer for responses.
 */
export type GridNodeResponse = {
    id: string;
    label: string;
    children?: Array<GridNodeResponse> | null;
    is_mapped: boolean | null;
    setup_teardown_type?: 'setup' | 'teardown' | null;
};

/**
 * Base Node serializer for responses.
 */
export type GridRunsResponse = {
    dag_id: string;
    run_id: string;
    queued_at: string | null;
    start_date: string | null;
    end_date: string | null;
    run_after: string;
    state: DagRunState | null;
    run_type: DagRunType;
    dag_versions?: Array<DagVersionResponse>;
    has_missed_deadline: boolean;
    readonly duration: number;
};

/**
 * DAG Run model for the Grid UI.
 */
export type GridTISummaries = {
    run_id: string;
    dag_id: string;
    task_instances: Array<LightGridTaskInstanceSummary>;
};

/**
 * Historical Metric Data serializer for responses.
 */
export type HistoricalMetricDataResponse = {
    dag_run_states: DAGRunStates;
    task_instance_states: TaskInstanceStateCount;
    state_count_limit: number;
};

/**
 * Task Instance Summary model for the Grid UI.
 */
export type LightGridTaskInstanceSummary = {
    task_id: string;
    task_display_name: string;
    state: TaskInstanceState | null;
    child_states: {
    [key: string]: (number);
} | null;
    min_start_date: string | null;
    max_end_date: string | null;
    dag_version_number?: number | null;
};

/**
 * Define all menu items defined in the menu.
 */
export type MenuItem = 'Required Actions' | 'Assets' | 'Audit Log' | 'Config' | 'Connections' | 'Dags' | 'Docs' | 'Jobs' | 'Plugins' | 'Pools' | 'Providers' | 'Variables' | 'XComs';

/**
 * Menu Item Collection serializer for responses.
 */
export type MenuItemCollectionResponse = {
    authorized_menu_items: Array<MenuItem>;
    extra_menu_items: Array<ExtraMenuItem>;
};

/**
 * Node serializer for responses.
 */
export type NodeResponse = {
    id: string;
    label: string;
    type: 'join' | 'task' | 'asset-condition' | 'asset' | 'asset-alias' | 'asset-name-ref' | 'asset-uri-ref' | 'dag' | 'sensor' | 'trigger';
    children?: Array<NodeResponse> | null;
    is_mapped?: boolean | null;
    tooltip?: string | null;
    setup_teardown_type?: 'setup' | 'teardown' | null;
    operator?: string | null;
    asset_condition_type?: 'or-gate' | 'and-gate' | null;
};

export type OklchColor = string;

/**
 * Asset info within a partitioned Dag run detail.
 */
export type PartitionedDagRunAssetResponse = {
    asset_id: number;
    asset_name: string;
    asset_uri: string;
    received: boolean;
};

/**
 * Collection of partitioned Dag runs.
 */
export type PartitionedDagRunCollectionResponse = {
    partitioned_dag_runs: Array<PartitionedDagRunResponse>;
    total: number;
    asset_expressions?: {
    [key: string]: ({
    [key: string]: unknown;
} | null);
} | null;
};

/**
 * Detail of a single partitioned Dag run.
 */
export type PartitionedDagRunDetailResponse = {
    id: number;
    dag_id: string;
    partition_key: string;
    created_at?: string | null;
    updated_at?: string | null;
    created_dag_run_id?: string | null;
    assets: Array<PartitionedDagRunAssetResponse>;
    total_required: number;
    total_received: number;
    asset_expression?: {
    [key: string]: unknown;
} | null;
};

/**
 * Single partitioned Dag run item.
 */
export type PartitionedDagRunResponse = {
    id: number;
    partition_key: string;
    created_at?: string | null;
    total_received: number;
    total_required: number;
    dag_id?: string | null;
    state?: string | null;
    created_dag_run_id?: string | null;
};

/**
 * Standard fields of a Hook that a form will render.
 */
export type StandardHookFields = {
    description: ConnectionHookFieldBehavior | null;
    url_schema: ConnectionHookFieldBehavior | null;
    host: ConnectionHookFieldBehavior | null;
    port: ConnectionHookFieldBehavior | null;
    login: ConnectionHookFieldBehavior | null;
    password: ConnectionHookFieldBehavior | null;
};

/**
 * Structure Data serializer for responses.
 */
export type StructureDataResponse = {
    edges: Array<EdgeResponse>;
    nodes: Array<NodeResponse>;
};

/**
 * TaskInstance serializer for responses.
 */
export type TaskInstanceStateCount = {
    no_status: number;
    removed: number;
    scheduled: number;
    queued: number;
    running: number;
    success: number;
    restarting: number;
    failed: number;
    up_for_retry: number;
    up_for_reschedule: number;
    upstream_failed: number;
    skipped: number;
    deferred: number;
};

/**
 * Team collection serializer for responses.
 */
export type TeamCollectionResponse = {
    teams: Array<TeamResponse>;
    total_entries: number;
};

/**
 * Base serializer for Team.
 */
export type TeamResponse = {
    name: string;
};

/**
 * JSON to modify Chakra's theme.
 */
export type Theme = {
    tokens?: {
    [key: string]: ThemeColors;
} | null;
    globalCss?: {
    [key: string]: {
        [key: string]: unknown;
    };
} | null;
    icon?: string | null;
    icon_dark_mode?: string | null;
};

/**
 * Color tokens for the UI theme. All fields are optional; at least one must be provided.
 */
export type ThemeColors = {
    brand?: {
    [key: string]: {
        [key: string]: OklchColor;
    };
} | null;
    gray?: {
    [key: string]: {
        [key: string]: OklchColor;
    };
} | null;
    black?: {
    [key: string]: OklchColor;
} | null;
    white?: {
    [key: string]: OklchColor;
} | null;
};

/**
 * Type of token to generate.
 */
export type TokenType = 'api' | 'cli';

/**
 * Optional alert to be shown at the top of the page.
 */
export type UIAlert = {
    text: string;
    category: 'info' | 'warning' | 'error';
};

export type category = 'info' | 'warning' | 'error';

export type GetAssetsData = {
    dagIds?: Array<(string)>;
    limit?: number;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``name_prefix_pattern`` parameter when possible.
     */
    namePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    namePrefixPattern?: string | null;
    offset?: number;
    onlyActive?: boolean;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name, uri, created_at, updated_at`
     */
    orderBy?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``uri_prefix_pattern`` parameter when possible.
     */
    uriPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    uriPrefixPattern?: string | null;
};

export type GetAssetsResponse = AssetCollectionResponse;

export type GetAssetAliasesData = {
    limit?: number;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``name_prefix_pattern`` parameter when possible.
     */
    namePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    namePrefixPattern?: string | null;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name`
     */
    orderBy?: Array<(string)>;
};

export type GetAssetAliasesResponse = AssetAliasCollectionResponse;

export type GetAssetAliasData = {
    assetAliasId: number;
};

export type GetAssetAliasResponse = unknown;

export type GetAssetEventsData = {
    assetId?: number | null;
    limit?: number;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``name_prefix_pattern`` parameter when possible.
     */
    namePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    namePrefixPattern?: string | null;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `source_task_id, source_dag_id, source_run_id, source_map_index, timestamp`
     */
    orderBy?: Array<(string)>;
    sourceDagId?: string | null;
    sourceMapIndex?: number | null;
    sourceRunId?: string | null;
    sourceTaskId?: string | null;
    timestampGt?: string | null;
    timestampGte?: string | null;
    timestampLt?: string | null;
    timestampLte?: string | null;
};

export type GetAssetEventsResponse = AssetEventCollectionResponse;

export type CreateAssetEventData = {
    requestBody: CreateAssetEventsBody;
};

export type CreateAssetEventResponse = AssetEventResponse;

export type MaterializeAssetData = {
    assetId: number;
    requestBody?: MaterializeAssetBody | null;
};

export type MaterializeAssetResponse = DAGRunResponse;

export type GetAssetQueuedEventsData = {
    assetId: number;
    before?: string | null;
};

export type GetAssetQueuedEventsResponse = QueuedEventCollectionResponse;

export type DeleteAssetQueuedEventsData = {
    assetId: number;
    before?: string | null;
};

export type DeleteAssetQueuedEventsResponse = void;

export type GetAssetData = {
    assetId: number;
};

export type GetAssetResponse = AssetResponse;

export type GetDagAssetQueuedEventsData = {
    before?: string | null;
    dagId: string;
};

export type GetDagAssetQueuedEventsResponse = QueuedEventCollectionResponse;

export type DeleteDagAssetQueuedEventsData = {
    before?: string | null;
    dagId: string;
};

export type DeleteDagAssetQueuedEventsResponse = void;

export type GetDagAssetQueuedEventData = {
    assetId: number;
    before?: string | null;
    dagId: string;
};

export type GetDagAssetQueuedEventResponse = QueuedEventResponse;

export type DeleteDagAssetQueuedEventData = {
    assetId: number;
    before?: string | null;
    dagId: string;
};

export type DeleteDagAssetQueuedEventResponse = void;

export type NextRunAssetsData = {
    dagId: string;
};

export type NextRunAssetsResponse = {
    [key: string]: unknown;
};

export type ListBackfillsData = {
    dagId: string;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id`
     */
    orderBy?: Array<(string)>;
};

export type ListBackfillsResponse = BackfillCollectionResponse;

export type CreateBackfillData = {
    requestBody: BackfillPostBody;
};

export type CreateBackfillResponse = BackfillResponse;

export type GetBackfillData = {
    backfillId: number;
};

export type GetBackfillResponse = BackfillResponse;

export type PauseBackfillData = {
    backfillId: number;
};

export type PauseBackfillResponse = BackfillResponse;

export type UnpauseBackfillData = {
    backfillId: number;
};

export type UnpauseBackfillResponse = BackfillResponse;

export type CancelBackfillData = {
    backfillId: number;
};

export type CancelBackfillResponse = BackfillResponse;

export type CreateBackfillDryRunData = {
    requestBody: BackfillPostBody;
};

export type CreateBackfillDryRunResponse = DryRunBackfillCollectionResponse;

export type ListBackfillsUiData = {
    active?: boolean | null;
    dagId?: string | null;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id`
     */
    orderBy?: Array<(string)>;
};

export type ListBackfillsUiResponse = BackfillCollectionResponse;

export type DeleteConnectionData = {
    connectionId: string;
};

export type DeleteConnectionResponse = void;

export type GetConnectionData = {
    connectionId: string;
};

export type GetConnectionResponse = ConnectionResponse;

export type PatchConnectionData = {
    connectionId: string;
    requestBody: ConnectionBody;
    updateMask?: Array<(string)> | null;
};

export type PatchConnectionResponse = ConnectionResponse;

export type GetConnectionsData = {
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``connection_id_prefix_pattern`` parameter when possible.
     */
    connectionIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    connectionIdPrefixPattern?: string | null;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `conn_id, conn_type, description, host, port, id, team_name, connection_id`
     */
    orderBy?: Array<(string)>;
};

export type GetConnectionsResponse = ConnectionCollectionResponse;

export type PostConnectionData = {
    requestBody: ConnectionBody;
};

export type PostConnectionResponse = ConnectionResponse;

export type BulkConnectionsData = {
    requestBody: BulkBody_ConnectionBody_;
};

export type BulkConnectionsResponse = BulkResponse;

export type TestConnectionData = {
    requestBody: ConnectionBody;
};

export type TestConnectionResponse = ConnectionTestResponse;

export type CreateDefaultConnectionsResponse = void;

export type HookMetaDataResponse = Array<ConnectionHookMetaData>;

export type GetDagRunData = {
    dagId: string;
    dagRunId: string;
};

export type GetDagRunResponse = DAGRunResponse;

export type DeleteDagRunData = {
    dagId: string;
    dagRunId: string;
};

export type DeleteDagRunResponse = void;

export type PatchDagRunData = {
    dagId: string;
    dagRunId: string;
    requestBody: DAGRunPatchBody;
    updateMask?: Array<(string)> | null;
};

export type PatchDagRunResponse = DAGRunResponse;

export type GetUpstreamAssetEventsData = {
    dagId: string;
    dagRunId: string;
};

export type GetUpstreamAssetEventsResponse = AssetEventCollectionResponse;

export type ClearDagRunData = {
    dagId: string;
    dagRunId: string;
    requestBody: DAGRunClearBody;
};

export type ClearDagRunResponse = ClearTaskInstanceCollectionResponse | DAGRunResponse;

export type GetDagRunsData = {
    bundleVersion?: string | null;
    confContains?: string;
    /**
     * Filter by consuming asset name or URI using pattern matching
     */
    consumingAssetPattern?: string | null;
    /**
     * Cursor for keyset-based pagination. Pass an empty string for the first page, then use ``next_cursor`` from the response. When ``cursor`` is provided, ``offset`` is ignored.
     */
    cursor?: string | null;
    dagId: string;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``dag_id_prefix_pattern`` parameter when possible.
     */
    dagIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    dagIdPrefixPattern?: string | null;
    dagVersion?: Array<(number)>;
    durationGt?: number | null;
    durationGte?: number | null;
    durationLt?: number | null;
    durationLte?: number | null;
    endDateGt?: string | null;
    endDateGte?: string | null;
    endDateLt?: string | null;
    endDateLte?: string | null;
    limit?: number;
    logicalDateGt?: string | null;
    logicalDateGte?: string | null;
    logicalDateLt?: string | null;
    logicalDateLte?: string | null;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, state, dag_id, run_id, logical_date, run_after, start_date, end_date, updated_at, conf, duration, dag_run_id`
     */
    orderBy?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``partition_key_prefix_pattern`` parameter when possible.
     */
    partitionKeyPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    partitionKeyPrefixPattern?: string | null;
    runAfterGt?: string | null;
    runAfterGte?: string | null;
    runAfterLt?: string | null;
    runAfterLte?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``run_id_prefix_pattern`` parameter when possible.
     */
    runIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    runIdPrefixPattern?: string | null;
    runType?: Array<(string)>;
    startDateGt?: string | null;
    startDateGte?: string | null;
    startDateLt?: string | null;
    startDateLte?: string | null;
    state?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``triggering_user_name_prefix_pattern`` parameter when possible.
     */
    triggeringUserNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    triggeringUserNamePrefixPattern?: string | null;
    updatedAtGt?: string | null;
    updatedAtGte?: string | null;
    updatedAtLt?: string | null;
    updatedAtLte?: string | null;
};

export type GetDagRunsResponse = DAGRunCollectionResponse;

export type TriggerDagRunData = {
    dagId: unknown;
    requestBody: TriggerDAGRunPostBody;
};

export type TriggerDagRunResponse = DAGRunResponse;

export type WaitDagRunUntilFinishedData = {
    dagId: string;
    dagRunId: string;
    /**
     * Seconds to wait between dag run state checks
     */
    interval: number;
    /**
     * Collect result XCom from task. Can be set multiple times.
     */
    result?: Array<(string)> | null;
};

export type WaitDagRunUntilFinishedResponse = unknown;

export type GetListDagRunsBatchData = {
    dagId: "~";
    requestBody: DAGRunsBatchBody;
};

export type GetListDagRunsBatchResponse = DAGRunCollectionResponse;

export type GetDagSourceData = {
    accept?: 'application/json' | 'text/plain' | '*/*';
    dagId: string;
    versionNumber?: number | null;
};

export type GetDagSourceResponse = DAGSourceResponse;

export type GetDagStatsData = {
    dagIds?: Array<(string)>;
};

export type GetDagStatsResponse = DagStatsCollectionResponse;

export type GetConfigData = {
    accept?: 'application/json' | 'text/plain' | '*/*';
    section?: string | null;
};

export type GetConfigResponse = Config;

export type GetConfigValueData = {
    accept?: 'application/json' | 'text/plain' | '*/*';
    option: string;
    section: string;
};

export type GetConfigValueResponse = Config;

export type GetConfigsResponse = ConfigResponse;

export type ListDagWarningsData = {
    dagId?: string | null;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `dag_id, warning_type, message, timestamp`
     */
    orderBy?: Array<(string)>;
    warningType?: DagWarningType | null;
};

export type ListDagWarningsResponse = DAGWarningCollectionResponse;

export type GetDagsData = {
    /**
     * Filter Dags by asset dependency (name or URI)
     */
    assetDependency?: string | null;
    bundleName?: string | null;
    bundleVersion?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``dag_display_name_prefix_pattern`` parameter when possible.
     */
    dagDisplayNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    dagDisplayNamePrefixPattern?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``dag_id_prefix_pattern`` parameter when possible.
     */
    dagIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    dagIdPrefixPattern?: string | null;
    dagRunEndDateGt?: string | null;
    dagRunEndDateGte?: string | null;
    dagRunEndDateLt?: string | null;
    dagRunEndDateLte?: string | null;
    dagRunStartDateGt?: string | null;
    dagRunStartDateGte?: string | null;
    dagRunStartDateLt?: string | null;
    dagRunStartDateLte?: string | null;
    dagRunState?: Array<(string)>;
    excludeStale?: boolean;
    /**
     * Filter Dags with asset-based scheduling
     */
    hasAssetSchedule?: boolean | null;
    /**
     * Filter Dags by having import errors. Only Dags that have been successfully loaded before will be returned.
     */
    hasImportErrors?: boolean | null;
    isFavorite?: boolean | null;
    lastDagRunState?: DagRunState | null;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `dag_id, dag_display_name, next_dagrun, state, start_date, last_run_state, last_run_start_date`
     */
    orderBy?: Array<(string)>;
    owners?: Array<(string)>;
    paused?: boolean | null;
    tags?: Array<(string)>;
    tagsMatchMode?: 'any' | 'all' | null;
    timetableType?: Array<(string)>;
};

export type GetDagsResponse = DAGCollectionResponse;

export type PatchDagsData = {
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``dag_id_prefix_pattern`` parameter when possible.
     */
    dagIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    dagIdPrefixPattern?: string | null;
    excludeStale?: boolean;
    limit?: number;
    offset?: number;
    owners?: Array<(string)>;
    paused?: boolean | null;
    requestBody: DAGPatchBody;
    tags?: Array<(string)>;
    tagsMatchMode?: 'any' | 'all' | null;
    updateMask?: Array<(string)> | null;
};

export type PatchDagsResponse = DAGCollectionResponse;

export type GetDagData = {
    dagId: string;
};

export type GetDagResponse = DAGResponse;

export type PatchDagData = {
    dagId: string;
    requestBody: DAGPatchBody;
    updateMask?: Array<(string)> | null;
};

export type PatchDagResponse = DAGResponse;

export type DeleteDagData = {
    dagId: string;
};

export type DeleteDagResponse = unknown;

export type GetDagDetailsData = {
    dagId: string;
};

export type GetDagDetailsResponse = DAGDetailsResponse;

export type FavoriteDagData = {
    dagId: string;
};

export type FavoriteDagResponse = void;

export type UnfavoriteDagData = {
    dagId: string;
};

export type UnfavoriteDagResponse = void;

export type GetDagTagsData = {
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `name`
     */
    orderBy?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``tag_name_prefix_pattern`` parameter when possible.
     */
    tagNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    tagNamePrefixPattern?: string | null;
};

export type GetDagTagsResponse = DAGTagCollectionResponse;

export type GetDagsUiData = {
    /**
     * Filter Dags by asset dependency (name or URI)
     */
    assetDependency?: string | null;
    bundleName?: string | null;
    bundleVersion?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``dag_display_name_prefix_pattern`` parameter when possible.
     */
    dagDisplayNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    dagDisplayNamePrefixPattern?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``dag_id_prefix_pattern`` parameter when possible.
     */
    dagIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    dagIdPrefixPattern?: string | null;
    dagIds?: Array<(string)> | null;
    dagRunsLimit?: number;
    excludeStale?: boolean;
    /**
     * Filter Dags with asset-based scheduling
     */
    hasAssetSchedule?: boolean | null;
    /**
     * Filter Dags by having import errors. Only Dags that have been successfully loaded before will be returned.
     */
    hasImportErrors?: boolean | null;
    hasPendingActions?: boolean | null;
    isFavorite?: boolean | null;
    lastDagRunState?: DagRunState | null;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `dag_id, dag_display_name, next_dagrun, state, start_date, last_run_state, last_run_start_date`
     */
    orderBy?: Array<(string)>;
    owners?: Array<(string)>;
    paused?: boolean | null;
    tags?: Array<(string)>;
    tagsMatchMode?: 'any' | 'all' | null;
};

export type GetDagsUiResponse = DAGWithLatestDagRunsCollectionResponse;

export type GetLatestRunInfoData = {
    dagId: string;
};

export type GetLatestRunInfoResponse = DAGRunLightResponse | null;

export type GetEventLogData = {
    eventLogId: number;
};

export type GetEventLogResponse = EventLogResponse;

export type GetEventLogsData = {
    after?: string | null;
    before?: string | null;
    dagId?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``dag_id_prefix_pattern`` parameter when possible.
     */
    dagIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    dagIdPrefixPattern?: string | null;
    event?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``event_prefix_pattern`` parameter when possible.
     */
    eventPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    eventPrefixPattern?: string | null;
    excludedEvents?: Array<(string)> | null;
    includedEvents?: Array<(string)> | null;
    limit?: number;
    mapIndex?: number | null;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, dttm, dag_id, task_id, run_id, event, logical_date, owner, extra, when, event_log_id`
     */
    orderBy?: Array<(string)>;
    owner?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``owner_prefix_pattern`` parameter when possible.
     */
    ownerPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    ownerPrefixPattern?: string | null;
    runId?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``run_id_prefix_pattern`` parameter when possible.
     */
    runIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    runIdPrefixPattern?: string | null;
    taskId?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``task_id_prefix_pattern`` parameter when possible.
     */
    taskIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    taskIdPrefixPattern?: string | null;
    tryNumber?: number | null;
};

export type GetEventLogsResponse = EventLogCollectionResponse;

export type GetExtraLinksData = {
    dagId: string;
    dagRunId: string;
    mapIndex?: number;
    taskId: string;
    tryNumber?: number | null;
};

export type GetExtraLinksResponse = ExtraLinkCollectionResponse;

export type GetTaskInstanceData = {
    dagId: string;
    dagRunId: string;
    taskId: string;
};

export type GetTaskInstanceResponse = TaskInstanceResponse;

export type PatchTaskInstanceData = {
    dagId: string;
    dagRunId: string;
    mapIndex?: number | null;
    requestBody: PatchTaskInstanceBody;
    taskId: string;
    updateMask?: Array<(string)> | null;
};

export type PatchTaskInstanceResponse = TaskInstanceCollectionResponse;

export type DeleteTaskInstanceData = {
    dagId: string;
    dagRunId: string;
    mapIndex?: number;
    taskId: string;
};

export type DeleteTaskInstanceResponse = unknown;

export type GetMappedTaskInstancesData = {
    dagId: string;
    dagRunId: string;
    durationGt?: number | null;
    durationGte?: number | null;
    durationLt?: number | null;
    durationLte?: number | null;
    endDateGt?: string | null;
    endDateGte?: string | null;
    endDateLt?: string | null;
    endDateLte?: string | null;
    executor?: Array<(string)>;
    limit?: number;
    logicalDateGt?: string | null;
    logicalDateGte?: string | null;
    logicalDateLt?: string | null;
    logicalDateLte?: string | null;
    mapIndex?: Array<(number)>;
    offset?: number;
    operator?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``operator_name_prefix_pattern`` parameter when possible.
     */
    operatorNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    operatorNamePrefixPattern?: string | null;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, state, duration, start_date, end_date, map_index, try_number, logical_date, run_after, data_interval_start, data_interval_end, rendered_map_index, operator, run_after, logical_date, data_interval_start, data_interval_end`
     */
    orderBy?: Array<(string)>;
    pool?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``pool_name_prefix_pattern`` parameter when possible.
     */
    poolNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    poolNamePrefixPattern?: string | null;
    queue?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``queue_name_prefix_pattern`` parameter when possible.
     */
    queueNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    queueNamePrefixPattern?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``rendered_map_index_prefix_pattern`` parameter when possible.
     */
    renderedMapIndexPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    renderedMapIndexPrefixPattern?: string | null;
    runAfterGt?: string | null;
    runAfterGte?: string | null;
    runAfterLt?: string | null;
    runAfterLte?: string | null;
    startDateGt?: string | null;
    startDateGte?: string | null;
    startDateLt?: string | null;
    startDateLte?: string | null;
    state?: Array<(string)>;
    taskId: string;
    tryNumber?: Array<(number)>;
    updatedAtGt?: string | null;
    updatedAtGte?: string | null;
    updatedAtLt?: string | null;
    updatedAtLte?: string | null;
    versionNumber?: Array<(number)>;
};

export type GetMappedTaskInstancesResponse = TaskInstanceCollectionResponse;

export type GetTaskInstanceDependenciesByMapIndexData = {
    dagId: string;
    dagRunId: string;
    mapIndex: number;
    taskId: string;
};

export type GetTaskInstanceDependenciesByMapIndexResponse = TaskDependencyCollectionResponse;

export type GetTaskInstanceDependenciesData = {
    dagId: string;
    dagRunId: string;
    mapIndex?: number;
    taskId: string;
};

export type GetTaskInstanceDependenciesResponse = TaskDependencyCollectionResponse;

export type GetTaskInstanceTriesData = {
    dagId: string;
    dagRunId: string;
    mapIndex?: number;
    taskId: string;
};

export type GetTaskInstanceTriesResponse = TaskInstanceHistoryCollectionResponse;

export type GetMappedTaskInstanceTriesData = {
    dagId: string;
    dagRunId: string;
    mapIndex: number;
    taskId: string;
};

export type GetMappedTaskInstanceTriesResponse = TaskInstanceHistoryCollectionResponse;

export type GetMappedTaskInstanceData = {
    dagId: string;
    dagRunId: string;
    mapIndex: number;
    taskId: string;
};

export type GetMappedTaskInstanceResponse = TaskInstanceResponse;

export type PatchTaskInstanceByMapIndexData = {
    dagId: string;
    dagRunId: string;
    mapIndex: number | null;
    requestBody: PatchTaskInstanceBody;
    taskId: string;
    updateMask?: Array<(string)> | null;
};

export type PatchTaskInstanceByMapIndexResponse = TaskInstanceCollectionResponse;

export type GetTaskInstancesData = {
    /**
     * Cursor for keyset-based pagination. Pass an empty string for the first page, then use ``next_cursor`` from the response. When ``cursor`` is provided, ``offset`` is ignored.
     */
    cursor?: string | null;
    dagId: string;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``dag_id_prefix_pattern`` parameter when possible.
     */
    dagIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    dagIdPrefixPattern?: string | null;
    dagRunId: string;
    durationGt?: number | null;
    durationGte?: number | null;
    durationLt?: number | null;
    durationLte?: number | null;
    endDateGt?: string | null;
    endDateGte?: string | null;
    endDateLt?: string | null;
    endDateLte?: string | null;
    executor?: Array<(string)>;
    limit?: number;
    logicalDateGt?: string | null;
    logicalDateGte?: string | null;
    logicalDateLt?: string | null;
    logicalDateLte?: string | null;
    mapIndex?: Array<(number)>;
    offset?: number;
    operator?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``operator_name_prefix_pattern`` parameter when possible.
     */
    operatorNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    operatorNamePrefixPattern?: string | null;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, state, duration, start_date, end_date, map_index, try_number, logical_date, run_after, data_interval_start, data_interval_end, rendered_map_index, operator, logical_date, run_after, data_interval_start, data_interval_end`
     */
    orderBy?: Array<(string)>;
    pool?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``pool_name_prefix_pattern`` parameter when possible.
     */
    poolNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    poolNamePrefixPattern?: string | null;
    queue?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``queue_name_prefix_pattern`` parameter when possible.
     */
    queueNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    queueNamePrefixPattern?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``rendered_map_index_prefix_pattern`` parameter when possible.
     */
    renderedMapIndexPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    renderedMapIndexPrefixPattern?: string | null;
    runAfterGt?: string | null;
    runAfterGte?: string | null;
    runAfterLt?: string | null;
    runAfterLte?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``run_id_prefix_pattern`` parameter when possible.
     */
    runIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    runIdPrefixPattern?: string | null;
    startDateGt?: string | null;
    startDateGte?: string | null;
    startDateLt?: string | null;
    startDateLte?: string | null;
    state?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``task_display_name_prefix_pattern`` parameter when possible.
     */
    taskDisplayNamePattern?: string | null;
    /**
     * Prefix match on task display name: optional ``_task_display_property_value`` else ``task_id`` (same as ``coalesce``). Case-sensitive. Index-friendly alternative to ``task_display_name_pattern``. On large databases, combine with ``dag_id_prefix_pattern`` (or a specific Dag in the path) so ``(dag_id, task_id, ...)`` indexes apply. Use ``|`` for OR. Use ``~`` to match all. Trailing non-alphanumeric characters in the term are stripped before matching so the range scan stays index-compatible under locale-aware collations.
     */
    taskDisplayNamePrefixPattern?: string | null;
    /**
     * Filter by exact task group ID. Returns all tasks within the specified task group.
     */
    taskGroupId?: string | null;
    taskId?: string | null;
    tryNumber?: Array<(number)>;
    updatedAtGt?: string | null;
    updatedAtGte?: string | null;
    updatedAtLt?: string | null;
    updatedAtLte?: string | null;
    versionNumber?: Array<(number)>;
};

export type GetTaskInstancesResponse = TaskInstanceCollectionResponse;

export type BulkTaskInstancesData = {
    dagId: string;
    dagRunId: string;
    requestBody: BulkBody_BulkTaskInstanceBody_;
};

export type BulkTaskInstancesResponse = BulkResponse;

export type GetTaskInstancesBatchData = {
    dagId: "~";
    dagRunId: "~";
    requestBody: TaskInstancesBatchBody;
};

export type GetTaskInstancesBatchResponse = TaskInstanceCollectionResponse;

export type GetTaskInstanceTryDetailsData = {
    dagId: string;
    dagRunId: string;
    mapIndex?: number;
    taskId: string;
    taskTryNumber: number;
};

export type GetTaskInstanceTryDetailsResponse = TaskInstanceHistoryResponse;

export type GetMappedTaskInstanceTryDetailsData = {
    dagId: string;
    dagRunId: string;
    mapIndex: number;
    taskId: string;
    taskTryNumber: number;
};

export type GetMappedTaskInstanceTryDetailsResponse = TaskInstanceHistoryResponse;

export type PostClearTaskInstancesData = {
    dagId: string;
    requestBody: ClearTaskInstancesBody;
};

export type PostClearTaskInstancesResponse = TaskInstanceCollectionResponse;

export type PatchTaskInstanceDryRunByMapIndexData = {
    dagId: string;
    dagRunId: string;
    mapIndex: number | null;
    requestBody: PatchTaskInstanceBody;
    taskId: string;
    updateMask?: Array<(string)> | null;
};

export type PatchTaskInstanceDryRunByMapIndexResponse = TaskInstanceCollectionResponse;

export type PatchTaskInstanceDryRunData = {
    dagId: string;
    dagRunId: string;
    mapIndex?: number | null;
    requestBody: PatchTaskInstanceBody;
    taskId: string;
    updateMask?: Array<(string)> | null;
};

export type PatchTaskInstanceDryRunResponse = TaskInstanceCollectionResponse;

export type GetLogData = {
    accept?: 'application/json' | 'application/x-ndjson' | '*/*';
    dagId: string;
    dagRunId: string;
    fullContent?: boolean;
    mapIndex?: number;
    taskId: string;
    token?: string | null;
    tryNumber: number;
};

export type GetLogResponse = TaskInstancesLogResponse;

export type GetExternalLogUrlData = {
    dagId: string;
    dagRunId: string;
    mapIndex?: number;
    taskId: string;
    tryNumber: number;
};

export type GetExternalLogUrlResponse = ExternalLogUrlResponse;

export type UpdateHitlDetailData = {
    dagId: string;
    dagRunId: string;
    mapIndex: number;
    requestBody: UpdateHITLDetailPayload;
    taskId: string;
};

export type UpdateHitlDetailResponse = HITLDetailResponse;

export type GetHitlDetailData = {
    dagId: string;
    dagRunId: string;
    mapIndex: number;
    taskId: string;
};

export type GetHitlDetailResponse = HITLDetail;

export type GetHitlDetailTryDetailData = {
    dagId: string;
    dagRunId: string;
    mapIndex: number;
    taskId: string;
    tryNumber: number | null;
};

export type GetHitlDetailTryDetailResponse = HITLDetailHistory;

export type GetHitlDetailsData = {
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``body_search`` parameter when possible.
     */
    bodySearch?: string | null;
    createdAtGt?: string | null;
    createdAtGte?: string | null;
    createdAtLt?: string | null;
    createdAtLte?: string | null;
    dagId: string;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``dag_id_prefix_pattern`` parameter when possible.
     */
    dagIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    dagIdPrefixPattern?: string | null;
    dagRunId: string;
    limit?: number;
    mapIndex?: number | null;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `ti_id, subject, responded_at, created_at, responded_by_user_id, responded_by_user_name, dag_id, run_id, task_display_name, run_after, rendered_map_index, task_instance_operator, task_instance_state`
     */
    orderBy?: Array<(string)>;
    respondedByUserId?: Array<(string)>;
    respondedByUserName?: Array<(string)>;
    responseReceived?: boolean | null;
    state?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``subject_search`` parameter when possible.
     */
    subjectSearch?: string | null;
    taskId?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``task_id_prefix_pattern`` parameter when possible.
     */
    taskIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    taskIdPrefixPattern?: string | null;
};

export type GetHitlDetailsResponse = HITLDetailCollection;

export type GetImportErrorData = {
    importErrorId: number;
};

export type GetImportErrorResponse = ImportErrorResponse;

export type GetImportErrorsData = {
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``filename_prefix_pattern`` parameter when possible.
     */
    filenamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    filenamePrefixPattern?: string | null;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, timestamp, filename, bundle_name, stacktrace, import_error_id`
     */
    orderBy?: Array<(string)>;
};

export type GetImportErrorsResponse = ImportErrorCollectionResponse;

export type GetJobsData = {
    endDateGt?: string | null;
    endDateGte?: string | null;
    endDateLt?: string | null;
    endDateLte?: string | null;
    executorClass?: string | null;
    hostname?: string | null;
    isAlive?: boolean | null;
    jobState?: string | null;
    jobType?: string | null;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, dag_id, state, job_type, start_date, end_date, latest_heartbeat, executor_class, hostname, unixname`
     */
    orderBy?: Array<(string)>;
    startDateGt?: string | null;
    startDateGte?: string | null;
    startDateLt?: string | null;
    startDateLte?: string | null;
};

export type GetJobsResponse = JobCollectionResponse;

export type GetPluginsData = {
    limit?: number;
    offset?: number;
};

export type GetPluginsResponse = PluginCollectionResponse;

export type ImportErrorsResponse = PluginImportErrorCollectionResponse;

export type DeletePoolData = {
    poolName: string;
};

export type DeletePoolResponse = void;

export type GetPoolData = {
    poolName: string;
};

export type GetPoolResponse = PoolResponse;

export type PatchPoolData = {
    poolName: string;
    requestBody: PoolPatchBody;
    updateMask?: Array<(string)> | null;
};

export type PatchPoolResponse = PoolResponse;

export type GetPoolsData = {
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, pool, name`
     */
    orderBy?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``pool_name_prefix_pattern`` parameter when possible.
     */
    poolNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    poolNamePrefixPattern?: string | null;
};

export type GetPoolsResponse = PoolCollectionResponse;

export type PostPoolData = {
    requestBody: PoolBody;
};

export type PostPoolResponse = PoolResponse;

export type BulkPoolsData = {
    requestBody: BulkBody_PoolBody_;
};

export type BulkPoolsResponse = BulkResponse;

export type GetProvidersData = {
    limit?: number;
    offset?: number;
};

export type GetProvidersResponse = ProviderCollectionResponse;

export type GetXcomEntryData = {
    dagId: string;
    dagRunId: string;
    deserialize?: boolean;
    mapIndex?: number;
    stringify?: boolean;
    taskId: string;
    xcomKey: string;
};

export type GetXcomEntryResponse = XComResponseNative | XComResponseString;

export type UpdateXcomEntryData = {
    dagId: string;
    dagRunId: string;
    requestBody: XComUpdateBody;
    taskId: string;
    xcomKey: string;
};

export type UpdateXcomEntryResponse = XComResponseNative;

export type DeleteXcomEntryData = {
    dagId: string;
    dagRunId: string;
    mapIndex?: number;
    taskId: string;
    xcomKey: string;
};

export type DeleteXcomEntryResponse = void;

export type GetXcomEntriesData = {
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``dag_display_name_prefix_pattern`` parameter when possible.
     */
    dagDisplayNamePattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    dagDisplayNamePrefixPattern?: string | null;
    dagId: string;
    dagRunId: string;
    limit?: number;
    logicalDateGt?: string | null;
    logicalDateGte?: string | null;
    logicalDateLt?: string | null;
    logicalDateLte?: string | null;
    mapIndex?: number | null;
    mapIndexFilter?: number | null;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `key, dag_id, run_id, task_id, map_index, timestamp, run_after`
     */
    orderBy?: Array<(string)>;
    runAfterGt?: string | null;
    runAfterGte?: string | null;
    runAfterLt?: string | null;
    runAfterLte?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``run_id_prefix_pattern`` parameter when possible.
     */
    runIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    runIdPrefixPattern?: string | null;
    taskId: string;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``task_id_prefix_pattern`` parameter when possible.
     */
    taskIdPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    taskIdPrefixPattern?: string | null;
    xcomKey?: string | null;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``xcom_key_prefix_pattern`` parameter when possible.
     */
    xcomKeyPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    xcomKeyPrefixPattern?: string | null;
};

export type GetXcomEntriesResponse = XComCollectionResponse;

export type CreateXcomEntryData = {
    dagId: string;
    dagRunId: string;
    requestBody: XComCreateBody;
    taskId: string;
};

export type CreateXcomEntryResponse = XComResponseNative;

export type GetTasksData = {
    dagId: string;
    orderBy?: string;
};

export type GetTasksResponse = TaskCollectionResponse;

export type GetTaskData = {
    dagId: string;
    taskId: unknown;
};

export type GetTaskResponse = TaskResponse;

export type DeleteVariableData = {
    variableKey: string;
};

export type DeleteVariableResponse = void;

export type GetVariableData = {
    variableKey: string;
};

export type GetVariableResponse = VariableResponse;

export type PatchVariableData = {
    requestBody: VariableBody;
    updateMask?: Array<(string)> | null;
    variableKey: string;
};

export type PatchVariableResponse = VariableResponse;

export type GetVariablesData = {
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `key, id, _val, description, is_encrypted, team_name`
     */
    orderBy?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``variable_key_prefix_pattern`` parameter when possible.
     */
    variableKeyPattern?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    variableKeyPrefixPattern?: string | null;
};

export type GetVariablesResponse = VariableCollectionResponse;

export type PostVariableData = {
    requestBody: VariableBody;
};

export type PostVariableResponse = VariableResponse;

export type BulkVariablesData = {
    requestBody: BulkBody_VariableBody_;
};

export type BulkVariablesResponse = BulkResponse;

export type ReparseDagFileData = {
    fileToken: string;
};

export type ReparseDagFileResponse = unknown;

export type GetDagVersionData = {
    dagId: string;
    versionNumber: number;
};

export type GetDagVersionResponse = DagVersionResponse;

export type GetDagVersionsData = {
    bundleName?: string;
    bundleVersion?: string | null;
    dagId: string;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, version_number, bundle_name, bundle_version`
     */
    orderBy?: Array<(string)>;
    versionNumber?: number;
};

export type GetDagVersionsResponse = DAGVersionCollectionResponse;

export type GetHealthResponse = HealthInfoResponse;

export type GetVersionResponse = VersionInfo;

export type LoginData = {
    next?: string | null;
};

export type LoginResponse = unknown;

export type LogoutResponse = unknown;

export type GetAuthMenusResponse = MenuItemCollectionResponse;

export type GetCurrentUserInfoResponse = AuthenticatedMeResponse;

export type GenerateTokenData = {
    requestBody: GenerateTokenBody;
};

export type GenerateTokenResponse2 = GenerateTokenResponse;

export type GetPartitionedDagRunsData = {
    dagId?: string | null;
    hasCreatedDagRunId?: boolean | null;
};

export type GetPartitionedDagRunsResponse = PartitionedDagRunCollectionResponse;

export type GetPendingPartitionedDagRunData = {
    dagId: string;
    partitionKey: string;
};

export type GetPendingPartitionedDagRunResponse = PartitionedDagRunDetailResponse;

export type GetDependenciesData = {
    dependencyType?: 'scheduling' | 'data';
    nodeId?: string | null;
};

export type GetDependenciesResponse = BaseGraphResponse;

export type HistoricalMetricsData = {
    endDate?: string | null;
    startDate: string;
};

export type HistoricalMetricsResponse = HistoricalMetricDataResponse;

export type DagStatsResponse2 = DashboardDagStatsResponse;

export type GetDagRunDeadlinesData = {
    dagId: string;
    dagRunId: string;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, deadline_time, created_at, alert_name`
     */
    orderBy?: Array<(string)>;
};

export type GetDagRunDeadlinesResponse = DeadlineCollectionResponse;

export type StructureDataData = {
    dagId: string;
    depth?: number | null;
    externalDependencies?: boolean;
    includeDownstream?: boolean;
    includeUpstream?: boolean;
    root?: string | null;
    versionNumber?: number | null;
};

export type StructureDataResponse2 = StructureDataResponse;

export type GetDagStructureData = {
    dagId: string;
    depth?: number | null;
    includeDownstream?: boolean;
    includeUpstream?: boolean;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `run_after, logical_date, start_date, end_date`
     */
    orderBy?: Array<(string)>;
    root?: string | null;
    runAfterGt?: string | null;
    runAfterGte?: string | null;
    runAfterLt?: string | null;
    runAfterLte?: string | null;
    runType?: Array<(string)>;
    state?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``triggering_user`` parameter when possible.
     */
    triggeringUser?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    triggeringUserPrefix?: string | null;
};

export type GetDagStructureResponse = Array<GridNodeResponse>;

export type GetGridRunsData = {
    dagId: string;
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `run_after, logical_date, start_date, end_date`
     */
    orderBy?: Array<(string)>;
    runAfterGt?: string | null;
    runAfterGte?: string | null;
    runAfterLt?: string | null;
    runAfterLte?: string | null;
    runType?: Array<(string)>;
    state?: Array<(string)>;
    /**
     * SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported.
     *
     * **Performance note:** this full-match pattern is evaluated as ``ILIKE '%term%'`` and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent ``triggering_user`` parameter when possible.
     */
    triggeringUser?: string | null;
    /**
     * Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
     */
    triggeringUserPrefix?: string | null;
};

export type GetGridRunsResponse = Array<GridRunsResponse>;

export type GetGridTiSummariesStreamData = {
    dagId: string;
    runIds?: Array<(string)> | null;
};

export type GetGridTiSummariesStreamResponse = string;

export type GetGanttDataData = {
    dagId: string;
    runId: string;
};

export type GetGanttDataResponse = GanttResponse;

export type GetCalendarData = {
    dagId: string;
    granularity?: 'hourly' | 'daily';
    logicalDateGt?: string | null;
    logicalDateGte?: string | null;
    logicalDateLt?: string | null;
    logicalDateLte?: string | null;
    partitionDateGt?: string | null;
    partitionDateGte?: string | null;
    partitionDateLt?: string | null;
    partitionDateLte?: string | null;
};

export type GetCalendarResponse = CalendarTimeRangeCollectionResponse;

export type ListTeamsData = {
    limit?: number;
    offset?: number;
    /**
     * Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `name`
     */
    orderBy?: Array<(string)>;
};

export type ListTeamsResponse = TeamCollectionResponse;

export type $OpenApiTs = {
    '/api/v2/assets': {
        get: {
            req: GetAssetsData;
            res: {
                /**
                 * Successful Response
                 */
                200: AssetCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/assets/aliases': {
        get: {
            req: GetAssetAliasesData;
            res: {
                /**
                 * Successful Response
                 */
                200: AssetAliasCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/assets/aliases/{asset_alias_id}': {
        get: {
            req: GetAssetAliasData;
            res: {
                /**
                 * Successful Response
                 */
                200: unknown;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/assets/events': {
        get: {
            req: GetAssetEventsData;
            res: {
                /**
                 * Successful Response
                 */
                200: AssetEventCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        post: {
            req: CreateAssetEventData;
            res: {
                /**
                 * Successful Response
                 */
                200: AssetEventResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/assets/{asset_id}/materialize': {
        post: {
            req: MaterializeAssetData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGRunResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/assets/{asset_id}/queuedEvents': {
        get: {
            req: GetAssetQueuedEventsData;
            res: {
                /**
                 * Successful Response
                 */
                200: QueuedEventCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        delete: {
            req: DeleteAssetQueuedEventsData;
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/assets/{asset_id}': {
        get: {
            req: GetAssetData;
            res: {
                /**
                 * Successful Response
                 */
                200: AssetResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/assets/queuedEvents': {
        get: {
            req: GetDagAssetQueuedEventsData;
            res: {
                /**
                 * Successful Response
                 */
                200: QueuedEventCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        delete: {
            req: DeleteDagAssetQueuedEventsData;
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/assets/{asset_id}/queuedEvents': {
        get: {
            req: GetDagAssetQueuedEventData;
            res: {
                /**
                 * Successful Response
                 */
                200: QueuedEventResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        delete: {
            req: DeleteDagAssetQueuedEventData;
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/next_run_assets/{dag_id}': {
        get: {
            req: NextRunAssetsData;
            res: {
                /**
                 * Successful Response
                 */
                200: {
                    [key: string]: unknown;
                };
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/backfills': {
        get: {
            req: ListBackfillsData;
            res: {
                /**
                 * Successful Response
                 */
                200: BackfillCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        post: {
            req: CreateBackfillData;
            res: {
                /**
                 * Successful Response
                 */
                200: BackfillResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/backfills/{backfill_id}': {
        get: {
            req: GetBackfillData;
            res: {
                /**
                 * Successful Response
                 */
                200: BackfillResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/backfills/{backfill_id}/pause': {
        put: {
            req: PauseBackfillData;
            res: {
                /**
                 * Successful Response
                 */
                200: BackfillResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/backfills/{backfill_id}/unpause': {
        put: {
            req: UnpauseBackfillData;
            res: {
                /**
                 * Successful Response
                 */
                200: BackfillResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/backfills/{backfill_id}/cancel': {
        put: {
            req: CancelBackfillData;
            res: {
                /**
                 * Successful Response
                 */
                200: BackfillResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/backfills/dry_run': {
        post: {
            req: CreateBackfillDryRunData;
            res: {
                /**
                 * Successful Response
                 */
                200: DryRunBackfillCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/backfills': {
        get: {
            req: ListBackfillsUiData;
            res: {
                /**
                 * Successful Response
                 */
                200: BackfillCollectionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/connections/{connection_id}': {
        delete: {
            req: DeleteConnectionData;
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        get: {
            req: GetConnectionData;
            res: {
                /**
                 * Successful Response
                 */
                200: ConnectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: PatchConnectionData;
            res: {
                /**
                 * Successful Response
                 */
                200: ConnectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/connections': {
        get: {
            req: GetConnectionsData;
            res: {
                /**
                 * Successful Response
                 */
                200: ConnectionCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        post: {
            req: PostConnectionData;
            res: {
                /**
                 * Successful Response
                 */
                201: ConnectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: BulkConnectionsData;
            res: {
                /**
                 * Successful Response
                 */
                200: BulkResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/connections/test': {
        post: {
            req: TestConnectionData;
            res: {
                /**
                 * Successful Response
                 */
                200: ConnectionTestResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/connections/defaults': {
        post: {
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
            };
        };
    };
    '/ui/connections/hook_meta': {
        get: {
            res: {
                /**
                 * Successful Response
                 */
                200: Array<ConnectionHookMetaData>;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}': {
        get: {
            req: GetDagRunData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGRunResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        delete: {
            req: DeleteDagRunData;
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: PatchDagRunData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGRunResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/upstreamAssetEvents': {
        get: {
            req: GetUpstreamAssetEventsData;
            res: {
                /**
                 * Successful Response
                 */
                200: AssetEventCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/clear': {
        post: {
            req: ClearDagRunData;
            res: {
                /**
                 * Successful Response
                 */
                200: ClearTaskInstanceCollectionResponse | DAGRunResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns': {
        get: {
            req: GetDagRunsData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGRunCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        post: {
            req: TriggerDagRunData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGRunResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/wait': {
        get: {
            req: WaitDagRunUntilFinishedData;
            res: {
                /**
                 * Successful Response
                 */
                200: unknown;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/list': {
        post: {
            req: GetListDagRunsBatchData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGRunCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dagSources/{dag_id}': {
        get: {
            req: GetDagSourceData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGSourceResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Not Acceptable
                 */
                406: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dagStats': {
        get: {
            req: GetDagStatsData;
            res: {
                /**
                 * Successful Response
                 */
                200: DagStatsCollectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/config': {
        get: {
            req: GetConfigData;
            res: {
                /**
                 * Successful Response
                 */
                200: Config;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Not Acceptable
                 */
                406: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/config/section/{section}/option/{option}': {
        get: {
            req: GetConfigValueData;
            res: {
                /**
                 * Successful Response
                 */
                200: Config;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Not Acceptable
                 */
                406: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/config': {
        get: {
            res: {
                /**
                 * Successful Response
                 */
                200: ConfigResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
            };
        };
    };
    '/api/v2/dagWarnings': {
        get: {
            req: ListDagWarningsData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGWarningCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags': {
        get: {
            req: GetDagsData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: PatchDagsData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGCollectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}': {
        get: {
            req: GetDagData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Unprocessable Entity
                 */
                422: HTTPExceptionResponse;
            };
        };
        patch: {
            req: PatchDagData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        delete: {
            req: DeleteDagData;
            res: {
                /**
                 * Successful Response
                 */
                200: unknown;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Unprocessable Entity
                 */
                422: HTTPExceptionResponse;
            };
        };
    };
    '/api/v2/dags/{dag_id}/details': {
        get: {
            req: GetDagDetailsData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGDetailsResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/favorite': {
        post: {
            req: FavoriteDagData;
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/unfavorite': {
        post: {
            req: UnfavoriteDagData;
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dagTags': {
        get: {
            req: GetDagTagsData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGTagCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/dags': {
        get: {
            req: GetDagsUiData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGWithLatestDagRunsCollectionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/dags/{dag_id}/latest_run': {
        get: {
            req: GetLatestRunInfoData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGRunLightResponse | null;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/eventLogs/{event_log_id}': {
        get: {
            req: GetEventLogData;
            res: {
                /**
                 * Successful Response
                 */
                200: EventLogResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/eventLogs': {
        get: {
            req: GetEventLogsData;
            res: {
                /**
                 * Successful Response
                 */
                200: EventLogCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/links': {
        get: {
            req: GetExtraLinksData;
            res: {
                /**
                 * Successful Response
                 */
                200: ExtraLinkCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}': {
        get: {
            req: GetTaskInstanceData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: PatchTaskInstanceData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceCollectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        delete: {
            req: DeleteTaskInstanceData;
            res: {
                /**
                 * Successful Response
                 */
                200: unknown;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/listMapped': {
        get: {
            req: GetMappedTaskInstancesData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/dependencies': {
        get: {
            req: GetTaskInstanceDependenciesByMapIndexData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskDependencyCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/dependencies': {
        get: {
            req: GetTaskInstanceDependenciesData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskDependencyCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/tries': {
        get: {
            req: GetTaskInstanceTriesData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceHistoryCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/tries': {
        get: {
            req: GetMappedTaskInstanceTriesData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceHistoryCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}': {
        get: {
            req: GetMappedTaskInstanceData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: PatchTaskInstanceByMapIndexData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceCollectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances': {
        get: {
            req: GetTaskInstancesData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceCollectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: BulkTaskInstancesData;
            res: {
                /**
                 * Successful Response
                 */
                200: BulkResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/list': {
        post: {
            req: GetTaskInstancesBatchData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/tries/{task_try_number}': {
        get: {
            req: GetTaskInstanceTryDetailsData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceHistoryResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/tries/{task_try_number}': {
        get: {
            req: GetMappedTaskInstanceTryDetailsData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceHistoryResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/clearTaskInstances': {
        post: {
            req: PostClearTaskInstancesData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/dry_run': {
        patch: {
            req: PatchTaskInstanceDryRunByMapIndexData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceCollectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/dry_run': {
        patch: {
            req: PatchTaskInstanceDryRunData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstanceCollectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/logs/{try_number}': {
        get: {
            req: GetLogData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskInstancesLogResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/externalLogUrl/{try_number}': {
        get: {
            req: GetExternalLogUrlData;
            res: {
                /**
                 * Successful Response
                 */
                200: ExternalLogUrlResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/hitlDetails': {
        patch: {
            req: UpdateHitlDetailData;
            res: {
                /**
                 * Successful Response
                 */
                200: HITLDetailResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        get: {
            req: GetHitlDetailData;
            res: {
                /**
                 * Successful Response
                 */
                200: HITLDetail;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/hitlDetails/tries/{try_number}': {
        get: {
            req: GetHitlDetailTryDetailData;
            res: {
                /**
                 * Successful Response
                 */
                200: HITLDetailHistory;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/hitlDetails': {
        get: {
            req: GetHitlDetailsData;
            res: {
                /**
                 * Successful Response
                 */
                200: HITLDetailCollection;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/importErrors/{import_error_id}': {
        get: {
            req: GetImportErrorData;
            res: {
                /**
                 * Successful Response
                 */
                200: ImportErrorResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/importErrors': {
        get: {
            req: GetImportErrorsData;
            res: {
                /**
                 * Successful Response
                 */
                200: ImportErrorCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/jobs': {
        get: {
            req: GetJobsData;
            res: {
                /**
                 * Successful Response
                 */
                200: JobCollectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/plugins': {
        get: {
            req: GetPluginsData;
            res: {
                /**
                 * Successful Response
                 */
                200: PluginCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/plugins/importErrors': {
        get: {
            res: {
                /**
                 * Successful Response
                 */
                200: PluginImportErrorCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
            };
        };
    };
    '/api/v2/pools/{pool_name}': {
        delete: {
            req: DeletePoolData;
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        get: {
            req: GetPoolData;
            res: {
                /**
                 * Successful Response
                 */
                200: PoolResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: PatchPoolData;
            res: {
                /**
                 * Successful Response
                 */
                200: PoolResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/pools': {
        get: {
            req: GetPoolsData;
            res: {
                /**
                 * Successful Response
                 */
                200: PoolCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        post: {
            req: PostPoolData;
            res: {
                /**
                 * Successful Response
                 */
                201: PoolResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: BulkPoolsData;
            res: {
                /**
                 * Successful Response
                 */
                200: BulkResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/providers': {
        get: {
            req: GetProvidersData;
            res: {
                /**
                 * Successful Response
                 */
                200: ProviderCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/xcomEntries/{xcom_key}': {
        get: {
            req: GetXcomEntryData;
            res: {
                /**
                 * Successful Response
                 */
                200: XComResponseNative | XComResponseString;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: UpdateXcomEntryData;
            res: {
                /**
                 * Successful Response
                 */
                200: XComResponseNative;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        delete: {
            req: DeleteXcomEntryData;
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/xcomEntries': {
        get: {
            req: GetXcomEntriesData;
            res: {
                /**
                 * Successful Response
                 */
                200: XComCollectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        post: {
            req: CreateXcomEntryData;
            res: {
                /**
                 * Successful Response
                 */
                201: XComResponseNative;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/tasks': {
        get: {
            req: GetTasksData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskCollectionResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/tasks/{task_id}': {
        get: {
            req: GetTaskData;
            res: {
                /**
                 * Successful Response
                 */
                200: TaskResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/variables/{variable_key}': {
        delete: {
            req: DeleteVariableData;
            res: {
                /**
                 * Successful Response
                 */
                204: void;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        get: {
            req: GetVariableData;
            res: {
                /**
                 * Successful Response
                 */
                200: VariableResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: PatchVariableData;
            res: {
                /**
                 * Successful Response
                 */
                200: VariableResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/variables': {
        get: {
            req: GetVariablesData;
            res: {
                /**
                 * Successful Response
                 */
                200: VariableCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        post: {
            req: PostVariableData;
            res: {
                /**
                 * Successful Response
                 */
                201: VariableResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Conflict
                 */
                409: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
        patch: {
            req: BulkVariablesData;
            res: {
                /**
                 * Successful Response
                 */
                200: BulkResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/parseDagFile/{file_token}': {
        put: {
            req: ReparseDagFileData;
            res: {
                /**
                 * Successful Response
                 */
                201: unknown;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagVersions/{version_number}': {
        get: {
            req: GetDagVersionData;
            res: {
                /**
                 * Successful Response
                 */
                200: DagVersionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/dags/{dag_id}/dagVersions': {
        get: {
            req: GetDagVersionsData;
            res: {
                /**
                 * Successful Response
                 */
                200: DAGVersionCollectionResponse;
                /**
                 * Unauthorized
                 */
                401: HTTPExceptionResponse;
                /**
                 * Forbidden
                 */
                403: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/monitor/health': {
        get: {
            res: {
                /**
                 * Successful Response
                 */
                200: HealthInfoResponse;
            };
        };
    };
    '/api/v2/version': {
        get: {
            res: {
                /**
                 * Successful Response
                 */
                200: VersionInfo;
            };
        };
    };
    '/api/v2/auth/login': {
        get: {
            req: LoginData;
            res: {
                /**
                 * Successful Response
                 */
                200: unknown;
                /**
                 * Temporary Redirect
                 */
                307: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/api/v2/auth/logout': {
        get: {
            res: {
                /**
                 * Successful Response
                 */
                200: unknown;
                /**
                 * Temporary Redirect
                 */
                307: HTTPExceptionResponse;
            };
        };
    };
    '/ui/auth/menus': {
        get: {
            res: {
                /**
                 * Successful Response
                 */
                200: MenuItemCollectionResponse;
            };
        };
    };
    '/ui/auth/me': {
        get: {
            res: {
                /**
                 * Successful Response
                 */
                200: AuthenticatedMeResponse;
            };
        };
    };
    '/ui/auth/token': {
        post: {
            req: GenerateTokenData;
            res: {
                /**
                 * Successful Response
                 */
                200: GenerateTokenResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/partitioned_dag_runs': {
        get: {
            req: GetPartitionedDagRunsData;
            res: {
                /**
                 * Successful Response
                 */
                200: PartitionedDagRunCollectionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/pending_partitioned_dag_run/{dag_id}/{partition_key}': {
        get: {
            req: GetPendingPartitionedDagRunData;
            res: {
                /**
                 * Successful Response
                 */
                200: PartitionedDagRunDetailResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/dependencies': {
        get: {
            req: GetDependenciesData;
            res: {
                /**
                 * Successful Response
                 */
                200: BaseGraphResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/dashboard/historical_metrics_data': {
        get: {
            req: HistoricalMetricsData;
            res: {
                /**
                 * Successful Response
                 */
                200: HistoricalMetricDataResponse;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/dashboard/dag_stats': {
        get: {
            res: {
                /**
                 * Successful Response
                 */
                200: DashboardDagStatsResponse;
            };
        };
    };
    '/ui/dags/{dag_id}/dagRuns/{dag_run_id}/deadlines': {
        get: {
            req: GetDagRunDeadlinesData;
            res: {
                /**
                 * Successful Response
                 */
                200: DeadlineCollectionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/structure/structure_data': {
        get: {
            req: StructureDataData;
            res: {
                /**
                 * Successful Response
                 */
                200: StructureDataResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/grid/structure/{dag_id}': {
        get: {
            req: GetDagStructureData;
            res: {
                /**
                 * Successful Response
                 */
                200: Array<GridNodeResponse>;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/grid/runs/{dag_id}': {
        get: {
            req: GetGridRunsData;
            res: {
                /**
                 * Successful Response
                 */
                200: Array<GridRunsResponse>;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/grid/ti_summaries/{dag_id}': {
        get: {
            req: GetGridTiSummariesStreamData;
            res: {
                /**
                 * NDJSON stream — one ``GridTISummaries`` JSON object per line, one per Dag run
                 */
                200: string;
                /**
                 * Bad Request
                 */
                400: HTTPExceptionResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/gantt/{dag_id}/{run_id}': {
        get: {
            req: GetGanttDataData;
            res: {
                /**
                 * Successful Response
                 */
                200: GanttResponse;
                /**
                 * Not Found
                 */
                404: HTTPExceptionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/calendar/{dag_id}': {
        get: {
            req: GetCalendarData;
            res: {
                /**
                 * Successful Response
                 */
                200: CalendarTimeRangeCollectionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
    '/ui/teams': {
        get: {
            req: ListTeamsData;
            res: {
                /**
                 * Successful Response
                 */
                200: TeamCollectionResponse;
                /**
                 * Validation Error
                 */
                422: HTTPValidationError;
            };
        };
    };
};