/* tslint:disable */ /* eslint-disable */ /** * backgroundprocess * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Represents details of the Background Process */ export interface BackgroundProcess { /** * When this process was created. Stored as Organization Time */ creationDate?: string; /** * The encoded key of the entity, generated, globally unique */ encodedKey?: string; /** * When this process was ended. Stored as Organization Time */ endDate?: string; /** * When this process was started. Stored as Organization Time */ startDate?: string; /** * Represents the execution status of a background process */ state?: BackgroundProcessStateEnum; /** * Represents type of the Background Process */ type?: BackgroundProcessTypeEnum; } export const BackgroundProcessStateEnum = { Queued: 'QUEUED', InProgress: 'IN_PROGRESS', Complete: 'COMPLETE', NotFound: 'NOT_FOUND', Cancel: 'CANCEL', ToBeCanceled: 'TO_BE_CANCELED', TimedOut: 'TIMED_OUT', Error: 'ERROR', TransientError: 'TRANSIENT_ERROR', Overridden: 'OVERRIDDEN', RecoverableError: 'RECOVERABLE_ERROR', } as const; export type BackgroundProcessStateEnum = (typeof BackgroundProcessStateEnum)[keyof typeof BackgroundProcessStateEnum]; export const BackgroundProcessTypeEnum = { CronJobs: 'CRON_JOBS', EarlyManualCronJobsTrigger: 'EARLY_MANUAL_CRON_JOBS_TRIGGER', ManualCronJobsTrigger: 'MANUAL_CRON_JOBS_TRIGGER', } as const; export type BackgroundProcessTypeEnum = (typeof BackgroundProcessTypeEnum)[keyof typeof BackgroundProcessTypeEnum];