/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { StepProgressSlimV2 } from './StepProgressSlimV2.js'; /** * * @export * @interface WorkflowRunSlimV2 */ export interface WorkflowRunSlimV2 { /** * If the run was cancelled, this is when */ cancelled_at?: Date; /** * When the resource was created */ created_at: Date; /** * When the run was enqueued for execution */ enqueued_at?: Date; /** * Error produced by the workflow, if it failed */ error?: string; /** * Unique identifier for the workflow run */ id: string; /** * If this run was against a specific incident, this is the ID of that incident */ incident_id?: string; /** * If this run was against a specific incident, this is the reference of that incident */ incident_reference?: string; /** * Status of each step as it is worked */ progress: Array; /** * When the run was scheduled for */ scheduled_at: Date; /** * When the resource was last updated */ updated_at: Date; /** * Unique identifier for the underlying workflow */ workflow_id: string; /** * Name of the underlying workflow */ workflow_name?: string; /** * Unique identifier of the workflow version */ workflow_version_id: string; /** * Monotonically incrementing version number for the version that ran */ workflow_version_number: number; } /** * Check if a given object implements the WorkflowRunSlimV2 interface. */ export declare function instanceOfWorkflowRunSlimV2(value: object): value is WorkflowRunSlimV2; export declare function WorkflowRunSlimV2FromJSON(json: any): WorkflowRunSlimV2; export declare function WorkflowRunSlimV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowRunSlimV2; export declare function WorkflowRunSlimV2ToJSON(json: any): WorkflowRunSlimV2; export declare function WorkflowRunSlimV2ToJSONTyped(value?: WorkflowRunSlimV2 | null, ignoreDiscriminator?: boolean): any;