/** * 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 { StepProgressV2 } from './StepProgressV2.js'; /** * * @export * @interface WorkflowRunV2 */ export interface WorkflowRunV2 { /** * 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 WorkflowRunV2 interface. */ export declare function instanceOfWorkflowRunV2(value: object): value is WorkflowRunV2; export declare function WorkflowRunV2FromJSON(json: any): WorkflowRunV2; export declare function WorkflowRunV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowRunV2; export declare function WorkflowRunV2ToJSON(json: any): WorkflowRunV2; export declare function WorkflowRunV2ToJSONTyped(value?: WorkflowRunV2 | null, ignoreDiscriminator?: boolean): any;