import type { JobEntity } from '../models/JobEntity'; import type { PaginatedResponseOfJobEntity } from '../models/PaginatedResponseOfJobEntity'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class Jobs { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Get all jobs * Get all jobs. ADMIN ONLY. * @returns PaginatedResponseOfJobEntity Successfully returned paginated results * @throws ApiError */ findAll({ orgname, limit, offset, sortBy, sortDirection, searchTerm, startDate, endDate, }: { orgname: string; /** * The limit of the number of results returned */ limit?: number; /** * The offset of the returned results */ offset?: number; /** * The field to sort the results by */ sortBy?: 'createdAt'; /** * The direction to sort the results by */ sortDirection?: 'asc' | 'desc'; /** * Search term */ searchTerm?: string; /** * The start date to search from */ startDate?: string; /** * The end date to search to */ endDate?: string; }): CancelablePromise; /** * Get a job * Get a job. ADMIN ONLY. * @returns JobEntity Successfully retrieved the job * @throws ApiError */ findOne({ orgname, id, }: { orgname: string; id: string; }): CancelablePromise; /** * Delete a job * Delete a job. ADMIN ONLY. * @returns any Successfully deleted the job * @throws ApiError */ remove({ orgname, id, }: { orgname: string; id: string; }): CancelablePromise; }