import { HalResource } from '../hal/models/HalResource'; import { PublishingJobStatus } from './PublishingJobStatus'; /** * Class representing the [Publishing Jobs](https://amplience.com/developers/docs/apis/content-management-reference/#tag/Publishing-Jobs) resource. * A publishing job can be retrieved by id and also cancelled by id. */ export declare class PublishingJob extends HalResource { /** * ID of the publishing job */ id: string; /** * Timestamp representing when the Publishing Job was created */ createdDate: string; /** * User who created the Publishing Job */ createdBy: string; /** * State of Publishing Job */ state: PublishingJobStatus; /** * Publish error status (only present if state=FAILED) */ publishErrorStatus?: string; readonly related: { /** * Cancel the publishing job. */ cancel: () => Promise; }; }