/** * 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 { EscalationPathTargetWithBindingV2 } from './EscalationPathTargetWithBindingV2.js'; /** * * @export * @interface EscalationPathNodeLevelWithBindingV2 */ export interface EscalationPathNodeLevelWithBindingV2 { /** * Controls the behaviour of acknowledgements for this level, with 'first' cancelling all other escalations on the same level when someone acks */ ack_mode?: EscalationPathNodeLevelWithBindingV2AckModeEnum; /** * */ retry_config?: EscalationPathRetryConfigV2; /** * */ round_robin_config?: EscalationPathRoundRobinConfigV2; /** * The targets (users or schedules), each concrete or a parameter binding. */ 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?: EscalationPathNodeLevelWithBindingV2TimeToAckIntervalConditionEnum; /** * 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 EscalationPathNodeLevelWithBindingV2AckModeEnum: { readonly All: "all"; readonly First: "first"; }; export type EscalationPathNodeLevelWithBindingV2AckModeEnum = typeof EscalationPathNodeLevelWithBindingV2AckModeEnum[keyof typeof EscalationPathNodeLevelWithBindingV2AckModeEnum]; /** * @export */ export declare const EscalationPathNodeLevelWithBindingV2TimeToAckIntervalConditionEnum: { readonly Active: "active"; readonly Inactive: "inactive"; }; export type EscalationPathNodeLevelWithBindingV2TimeToAckIntervalConditionEnum = typeof EscalationPathNodeLevelWithBindingV2TimeToAckIntervalConditionEnum[keyof typeof EscalationPathNodeLevelWithBindingV2TimeToAckIntervalConditionEnum]; /** * Check if a given object implements the EscalationPathNodeLevelWithBindingV2 interface. */ export declare function instanceOfEscalationPathNodeLevelWithBindingV2(value: object): value is EscalationPathNodeLevelWithBindingV2; export declare function EscalationPathNodeLevelWithBindingV2FromJSON(json: any): EscalationPathNodeLevelWithBindingV2; export declare function EscalationPathNodeLevelWithBindingV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathNodeLevelWithBindingV2; export declare function EscalationPathNodeLevelWithBindingV2ToJSON(json: any): EscalationPathNodeLevelWithBindingV2; export declare function EscalationPathNodeLevelWithBindingV2ToJSONTyped(value?: EscalationPathNodeLevelWithBindingV2 | null, ignoreDiscriminator?: boolean): any;