/** * 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 { EscalationPathRoundRobinConfigV2 } from './EscalationPathRoundRobinConfigV2.js'; import type { EscalationPathRetryConfigV2 } from './EscalationPathRetryConfigV2.js'; import type { EscalationPathTargetV2 } from './EscalationPathTargetV2.js'; /** * * @export * @interface EscalationPathNodeLevelV2 */ export interface EscalationPathNodeLevelV2 { /** * Controls the behaviour of acknowledgements for this level, with 'first' cancelling all other escalations on the same level when someone acks */ ack_mode?: EscalationPathNodeLevelV2AckModeEnum; /** * */ retry_config?: EscalationPathRetryConfigV2; /** * */ round_robin_config?: EscalationPathRoundRobinConfigV2; /** * The targets (users or schedules) for this level */ targets: Array; /** * If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive */ time_to_ack_interval_condition?: EscalationPathNodeLevelV2TimeToAckIntervalConditionEnum; /** * How long should we wait for this level to acknowledge before proceeding to the next node in the path? */ time_to_ack_seconds?: number; /** * If the time to ack is relative to a time window, this identifies which window it is relative to */ time_to_ack_weekday_interval_config_id?: string; } /** * @export */ export declare const EscalationPathNodeLevelV2AckModeEnum: { readonly All: "all"; readonly First: "first"; }; export type EscalationPathNodeLevelV2AckModeEnum = typeof EscalationPathNodeLevelV2AckModeEnum[keyof typeof EscalationPathNodeLevelV2AckModeEnum]; /** * @export */ export declare const EscalationPathNodeLevelV2TimeToAckIntervalConditionEnum: { readonly Active: "active"; readonly Inactive: "inactive"; }; export type EscalationPathNodeLevelV2TimeToAckIntervalConditionEnum = typeof EscalationPathNodeLevelV2TimeToAckIntervalConditionEnum[keyof typeof EscalationPathNodeLevelV2TimeToAckIntervalConditionEnum]; /** * Check if a given object implements the EscalationPathNodeLevelV2 interface. */ export declare function instanceOfEscalationPathNodeLevelV2(value: object): value is EscalationPathNodeLevelV2; export declare function EscalationPathNodeLevelV2FromJSON(json: any): EscalationPathNodeLevelV2; export declare function EscalationPathNodeLevelV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathNodeLevelV2; export declare function EscalationPathNodeLevelV2ToJSON(json: any): EscalationPathNodeLevelV2; export declare function EscalationPathNodeLevelV2ToJSONTyped(value?: EscalationPathNodeLevelV2 | null, ignoreDiscriminator?: boolean): any;