/** * 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 { WebhookDeliveryV2 } from './WebhookDeliveryV2.js'; /** * * @export * @interface StepProgressV2 */ export interface StepProgressV2 { /** * Status of the step */ completed_at?: Date; /** * The cause of an errored step */ error?: string; /** * If this step ran for a specific incident (e.g. in a loop), the incident ID */ incident_id?: string; /** * If this step ran for a specific incident (e.g. in a loop), the incident reference */ incident_reference?: string; /** * Status of the step */ status: StepProgressV2StatusEnum; /** * Name of the step */ step: string; /** * */ webhook_delivery?: WebhookDeliveryV2; /** * Whether this step's delivery can be shown, for a webhook.send step. Absent for all other step types */ webhook_delivery_state?: StepProgressV2WebhookDeliveryStateEnum; } /** * @export */ export declare const StepProgressV2StatusEnum: { readonly Complete: "complete"; readonly Pending: "pending"; readonly Error: "error"; readonly Suspended: "suspended"; readonly Skipped: "skipped"; }; export type StepProgressV2StatusEnum = typeof StepProgressV2StatusEnum[keyof typeof StepProgressV2StatusEnum]; /** * @export */ export declare const StepProgressV2WebhookDeliveryStateEnum: { readonly Available: "available"; readonly Expired: "expired"; readonly Unavailable: "unavailable"; }; export type StepProgressV2WebhookDeliveryStateEnum = typeof StepProgressV2WebhookDeliveryStateEnum[keyof typeof StepProgressV2WebhookDeliveryStateEnum]; /** * Check if a given object implements the StepProgressV2 interface. */ export declare function instanceOfStepProgressV2(value: object): value is StepProgressV2; export declare function StepProgressV2FromJSON(json: any): StepProgressV2; export declare function StepProgressV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StepProgressV2; export declare function StepProgressV2ToJSON(json: any): StepProgressV2; export declare function StepProgressV2ToJSONTyped(value?: StepProgressV2 | null, ignoreDiscriminator?: boolean): any;