/** * 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 { EngineParamBindingPayloadV2 } from './EngineParamBindingPayloadV2.js'; import type { EscalationPathNodePayloadV2 } from './EscalationPathNodePayloadV2.js'; import type { EscalationPathRepeatConfigV2 } from './EscalationPathRepeatConfigV2.js'; /** * * @export * @interface EscalationPathsCreatePayloadV2 */ export interface EscalationPathsCreatePayloadV2 { /** * Whether this path carries its own nodes, or is built from an escalation path template. */ kind?: EscalationPathsCreatePayloadV2KindEnum; /** * The name of this escalation path, for the user's reference. */ name: string; /** * For a templated path, the values to bind to the template's declared parameters, keyed by parameter name. */ param_bindings?: { [key: string]: EngineParamBindingPayloadV2; }; /** * The nodes that form the levels and branches of this escalation path. */ 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 to build it from. Required when kind is templated. */ template_id?: string; /** * The working hours for this escalation path. */ working_hours?: Array; } /** * @export */ export declare const EscalationPathsCreatePayloadV2KindEnum: { readonly Standalone: "standalone"; readonly Templated: "templated"; }; export type EscalationPathsCreatePayloadV2KindEnum = typeof EscalationPathsCreatePayloadV2KindEnum[keyof typeof EscalationPathsCreatePayloadV2KindEnum]; /** * Check if a given object implements the EscalationPathsCreatePayloadV2 interface. */ export declare function instanceOfEscalationPathsCreatePayloadV2(value: object): value is EscalationPathsCreatePayloadV2; export declare function EscalationPathsCreatePayloadV2FromJSON(json: any): EscalationPathsCreatePayloadV2; export declare function EscalationPathsCreatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathsCreatePayloadV2; export declare function EscalationPathsCreatePayloadV2ToJSON(json: any): EscalationPathsCreatePayloadV2; export declare function EscalationPathsCreatePayloadV2ToJSONTyped(value?: EscalationPathsCreatePayloadV2 | null, ignoreDiscriminator?: boolean): any;