/** * 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 { WebhookDeliverySlimV2 } from './WebhookDeliverySlimV2.js'; /** * * @export * @interface StepProgressSlimV2 */ export interface StepProgressSlimV2 { /** * 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: StepProgressSlimV2StatusEnum; /** * Name of the step */ step: string; /** * */ webhook_delivery?: WebhookDeliverySlimV2; /** * Whether this step's delivery can be shown, for a webhook.send step. Absent for all other step types */ webhook_delivery_state?: StepProgressSlimV2WebhookDeliveryStateEnum; } /** * @export */ export declare const StepProgressSlimV2StatusEnum: { readonly Complete: "complete"; readonly Pending: "pending"; readonly Error: "error"; readonly Suspended: "suspended"; readonly Skipped: "skipped"; }; export type StepProgressSlimV2StatusEnum = typeof StepProgressSlimV2StatusEnum[keyof typeof StepProgressSlimV2StatusEnum]; /** * @export */ export declare const StepProgressSlimV2WebhookDeliveryStateEnum: { readonly Available: "available"; readonly Expired: "expired"; readonly Unavailable: "unavailable"; }; export type StepProgressSlimV2WebhookDeliveryStateEnum = typeof StepProgressSlimV2WebhookDeliveryStateEnum[keyof typeof StepProgressSlimV2WebhookDeliveryStateEnum]; /** * Check if a given object implements the StepProgressSlimV2 interface. */ export declare function instanceOfStepProgressSlimV2(value: object): value is StepProgressSlimV2; export declare function StepProgressSlimV2FromJSON(json: any): StepProgressSlimV2; export declare function StepProgressSlimV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StepProgressSlimV2; export declare function StepProgressSlimV2ToJSON(json: any): StepProgressSlimV2; export declare function StepProgressSlimV2ToJSONTyped(value?: StepProgressSlimV2 | null, ignoreDiscriminator?: boolean): any;