/** * 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 { UserV2 } from './UserV2.js'; import type { ChatChannelSlimV2 } from './ChatChannelSlimV2.js'; /** * * @export * @interface EscalationEventV2 */ export interface EscalationEventV2 { /** * This field will be populated for notified_channels events. */ channels?: Array; /** * The type of event that occured. */ event: EscalationEventV2EventEnum; /** * The unique ID for this escalation event */ id: string; /** * The time when this escalation event was processed */ occurred_at: Date; /** * The urgency at which we tried to notify users. This field will be populated for notified_users events. */ urgency?: EscalationEventV2UrgencyEnum; /** * This field will be populated for notified_users and acked events. */ users?: Array; } /** * @export */ export declare const EscalationEventV2EventEnum: { readonly EnteredGracePeriod: "entered_grace_period"; readonly Triggered: "triggered"; readonly NotifiedUsers: "notified_users"; readonly NotifiedChannels: "notified_channels"; readonly Acked: "acked"; readonly Cancelled: "cancelled"; readonly Resolved: "resolved"; readonly Expired: "expired"; }; export type EscalationEventV2EventEnum = typeof EscalationEventV2EventEnum[keyof typeof EscalationEventV2EventEnum]; /** * @export */ export declare const EscalationEventV2UrgencyEnum: { readonly High: "high"; readonly Low: "low"; }; export type EscalationEventV2UrgencyEnum = typeof EscalationEventV2UrgencyEnum[keyof typeof EscalationEventV2UrgencyEnum]; /** * Check if a given object implements the EscalationEventV2 interface. */ export declare function instanceOfEscalationEventV2(value: object): value is EscalationEventV2; export declare function EscalationEventV2FromJSON(json: any): EscalationEventV2; export declare function EscalationEventV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationEventV2; export declare function EscalationEventV2ToJSON(json: any): EscalationEventV2; export declare function EscalationEventV2ToJSONTyped(value?: EscalationEventV2 | null, ignoreDiscriminator?: boolean): any;