/** * 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 { WeekdayIntervalConfigV2 } from './WeekdayIntervalConfigV2.js'; import type { EscalationPathNodeV2 } from './EscalationPathNodeV2.js'; import type { UserV2 } from './UserV2.js'; import type { EscalationPathRepeatConfigV2 } from './EscalationPathRepeatConfigV2.js'; import type { EngineParamBindingV2 } from './EngineParamBindingV2.js'; /** * * @export * @interface EscalationPathV2 */ export interface EscalationPathV2 { /** * Users who are currently on-call for this escalation path */ current_responders?: Array; /** * Unique identifier for this escalation path. */ id: string; /** * Whether this path carries its own nodes, or is built from an escalation path template. */ kind: EscalationPathV2KindEnum; /** * The name of this escalation path, for the user's reference. */ name: string; /** * For a templated path, the values bound to the template's declared parameters, keyed by parameter name. */ param_bindings?: { [key: string]: EngineParamBindingV2; }; /** * The nodes that form the levels and branches of this escalation path. Empty for a templated path, which takes them from its template. */ path: Array; /** * */ repeat_config?: EscalationPathRepeatConfigV2; /** * IDs of the teams that own this escalation path. This will automatically sync escalation paths with the right teams in Catalog. If you have an escalation paths attribute on your Teams, this attribute is required. */ team_ids: Array; /** * For a templated path, the template it is built from. */ template_id?: string; /** * The working hours for this escalation path. Absent for a templated path, which takes them from its template. */ working_hours?: Array; } /** * @export */ export declare const EscalationPathV2KindEnum: { readonly Standalone: "standalone"; readonly Templated: "templated"; }; export type EscalationPathV2KindEnum = typeof EscalationPathV2KindEnum[keyof typeof EscalationPathV2KindEnum]; /** * Check if a given object implements the EscalationPathV2 interface. */ export declare function instanceOfEscalationPathV2(value: object): value is EscalationPathV2; export declare function EscalationPathV2FromJSON(json: any): EscalationPathV2; export declare function EscalationPathV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathV2; export declare function EscalationPathV2ToJSON(json: any): EscalationPathV2; export declare function EscalationPathV2ToJSONTyped(value?: EscalationPathV2 | null, ignoreDiscriminator?: boolean): any;