/** * Lead Scraping Service API * Vector Lead Scraping Service API - Manages Lead Scraping Jobs * * The version of the OpenAPI document: 1.0 * Contact: yoanyomba@vector.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * BackgroundJobStatus represents the possible states of a background job. * This enum is used to track the lifecycle of asynchronous tasks like scraping jobs. * * State transitions: * 1. QUEUED -> IN_PROGRESS * 2. IN_PROGRESS -> COMPLETED/FAILED/CANCELLED/TIMED_OUT * * Usage example: * ```go * job := &ScrapingJob{ * Status: BackgroundJobStatus_BACKGROUND_JOB_STATUS_IN_PROGRESS, * } * ``` * * - BACKGROUND_JOB_STATUS_UNSPECIFIED: Default state, should not be used explicitly * - BACKGROUND_JOB_STATUS_QUEUED: Job is queued and waiting to be processed * - BACKGROUND_JOB_STATUS_IN_PROGRESS: Job is currently being processed * - BACKGROUND_JOB_STATUS_COMPLETED: Job has completed successfully * - BACKGROUND_JOB_STATUS_FAILED: Job encountered an error and failed * - BACKGROUND_JOB_STATUS_CANCELLED: Job was manually cancelled by user * - BACKGROUND_JOB_STATUS_TIMED_OUT: Job exceeded its maximum execution time * @export */ export declare const BackgroundJobStatus: { readonly BackgroundJobStatusUnspecified: "BACKGROUND_JOB_STATUS_UNSPECIFIED"; readonly BackgroundJobStatusQueued: "BACKGROUND_JOB_STATUS_QUEUED"; readonly BackgroundJobStatusInProgress: "BACKGROUND_JOB_STATUS_IN_PROGRESS"; readonly BackgroundJobStatusCompleted: "BACKGROUND_JOB_STATUS_COMPLETED"; readonly BackgroundJobStatusFailed: "BACKGROUND_JOB_STATUS_FAILED"; readonly BackgroundJobStatusCancelled: "BACKGROUND_JOB_STATUS_CANCELLED"; readonly BackgroundJobStatusTimedOut: "BACKGROUND_JOB_STATUS_TIMED_OUT"; }; export type BackgroundJobStatus = typeof BackgroundJobStatus[keyof typeof BackgroundJobStatus]; export declare function instanceOfBackgroundJobStatus(value: any): boolean; export declare function BackgroundJobStatusFromJSON(json: any): BackgroundJobStatus; export declare function BackgroundJobStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackgroundJobStatus; export declare function BackgroundJobStatusToJSON(value?: BackgroundJobStatus | null): any; export declare function BackgroundJobStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): BackgroundJobStatus;