/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.0-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import * as runtime from '../runtime';
import type { PaginatedScheduleList, PaginatedTaskList, PatchedScheduleRequest, Schedule, ScheduleRequest, Task, Worker } from '../models/index';
export interface TasksSchedulesListRequest {
    actorName?: string;
    ordering?: string;
    page?: number;
    pageSize?: number;
    paused?: boolean;
    relObjContentTypeAppLabel?: string;
    relObjContentTypeModel?: string;
    relObjId?: string;
    relObjIdIsnull?: boolean;
    search?: string;
}
export interface TasksSchedulesPartialUpdateRequest {
    id: string;
    patchedScheduleRequest?: PatchedScheduleRequest;
}
export interface TasksSchedulesRetrieveRequest {
    id: string;
}
export interface TasksSchedulesSendCreateRequest {
    id: string;
}
export interface TasksSchedulesUpdateRequest {
    id: string;
    scheduleRequest: ScheduleRequest;
}
export interface TasksTasksListRequest {
    actorName?: string;
    aggregatedStatus?: Array<TasksTasksListAggregatedStatusEnum>;
    ordering?: string;
    page?: number;
    pageSize?: number;
    queueName?: string;
    relObjContentTypeAppLabel?: string;
    relObjContentTypeModel?: string;
    relObjId?: string;
    relObjIdIsnull?: boolean;
    search?: string;
    state?: TasksTasksListStateEnum;
}
export interface TasksTasksRetrieveRequest {
    messageId: string;
}
export interface TasksTasksRetryCreateRequest {
    messageId: string;
}
/**
 *
 */
export declare class TasksApi extends runtime.BaseAPI {
    /**
     */
    tasksSchedulesListRaw(requestParameters: TasksSchedulesListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedScheduleList>>;
    /**
     */
    tasksSchedulesList(requestParameters?: TasksSchedulesListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedScheduleList>;
    /**
     */
    tasksSchedulesPartialUpdateRaw(requestParameters: TasksSchedulesPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Schedule>>;
    /**
     */
    tasksSchedulesPartialUpdate(requestParameters: TasksSchedulesPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Schedule>;
    /**
     */
    tasksSchedulesRetrieveRaw(requestParameters: TasksSchedulesRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Schedule>>;
    /**
     */
    tasksSchedulesRetrieve(requestParameters: TasksSchedulesRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Schedule>;
    /**
     * Trigger this schedule now
     */
    tasksSchedulesSendCreateRaw(requestParameters: TasksSchedulesSendCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
    /**
     * Trigger this schedule now
     */
    tasksSchedulesSendCreate(requestParameters: TasksSchedulesSendCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
    /**
     */
    tasksSchedulesUpdateRaw(requestParameters: TasksSchedulesUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Schedule>>;
    /**
     */
    tasksSchedulesUpdate(requestParameters: TasksSchedulesUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Schedule>;
    /**
     */
    tasksTasksListRaw(requestParameters: TasksTasksListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedTaskList>>;
    /**
     */
    tasksTasksList(requestParameters?: TasksTasksListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedTaskList>;
    /**
     */
    tasksTasksRetrieveRaw(requestParameters: TasksTasksRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Task>>;
    /**
     */
    tasksTasksRetrieve(requestParameters: TasksTasksRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Task>;
    /**
     * Retry task
     */
    tasksTasksRetryCreateRaw(requestParameters: TasksTasksRetryCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
    /**
     * Retry task
     */
    tasksTasksRetryCreate(requestParameters: TasksTasksRetryCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
    /**
     * Get currently connected worker count.
     */
    tasksWorkersListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Worker>>>;
    /**
     * Get currently connected worker count.
     */
    tasksWorkersList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Worker>>;
}
/**
 * @export
 */
export declare const TasksTasksListAggregatedStatusEnum: {
    readonly Consumed: "consumed";
    readonly Done: "done";
    readonly Error: "error";
    readonly Info: "info";
    readonly Queued: "queued";
    readonly Rejected: "rejected";
    readonly Warning: "warning";
    readonly UnknownDefaultOpenApi: "11184809";
};
export type TasksTasksListAggregatedStatusEnum = typeof TasksTasksListAggregatedStatusEnum[keyof typeof TasksTasksListAggregatedStatusEnum];
/**
 * @export
 */
export declare const TasksTasksListStateEnum: {
    readonly Consumed: "consumed";
    readonly Done: "done";
    readonly Queued: "queued";
    readonly Rejected: "rejected";
    readonly UnknownDefaultOpenApi: "11184809";
};
export type TasksTasksListStateEnum = typeof TasksTasksListStateEnum[keyof typeof TasksTasksListStateEnum];
//# sourceMappingURL=TasksApi.d.ts.map