/** * 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 { EscalationPathTargetWithBindingPayloadV2 } from './EscalationPathTargetWithBindingPayloadV2.js'; /** * * @export * @interface EscalationPathNodeLevelWithBindingPayloadV2 */ export interface EscalationPathNodeLevelWithBindingPayloadV2 { /** * Controls the behaviour of acknowledgements for this level, with 'first' cancelling all other escalations on the same level when someone acks */ ack_mode?: EscalationPathNodeLevelWithBindingPayloadV2AckModeEnum; /** * */ 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?: EscalationPathNodeLevelWithBindingPayloadV2TimeToAckIntervalConditionEnum; /** * 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 EscalationPathNodeLevelWithBindingPayloadV2AckModeEnum: { readonly All: "all"; readonly First: "first"; }; export type EscalationPathNodeLevelWithBindingPayloadV2AckModeEnum = typeof EscalationPathNodeLevelWithBindingPayloadV2AckModeEnum[keyof typeof EscalationPathNodeLevelWithBindingPayloadV2AckModeEnum]; /** * @export */ export declare const EscalationPathNodeLevelWithBindingPayloadV2TimeToAckIntervalConditionEnum: { readonly Active: "active"; readonly Inactive: "inactive"; }; export type EscalationPathNodeLevelWithBindingPayloadV2TimeToAckIntervalConditionEnum = typeof EscalationPathNodeLevelWithBindingPayloadV2TimeToAckIntervalConditionEnum[keyof typeof EscalationPathNodeLevelWithBindingPayloadV2TimeToAckIntervalConditionEnum]; /** * Check if a given object implements the EscalationPathNodeLevelWithBindingPayloadV2 interface. */ export declare function instanceOfEscalationPathNodeLevelWithBindingPayloadV2(value: object): value is EscalationPathNodeLevelWithBindingPayloadV2; export declare function EscalationPathNodeLevelWithBindingPayloadV2FromJSON(json: any): EscalationPathNodeLevelWithBindingPayloadV2; export declare function EscalationPathNodeLevelWithBindingPayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathNodeLevelWithBindingPayloadV2; export declare function EscalationPathNodeLevelWithBindingPayloadV2ToJSON(json: any): EscalationPathNodeLevelWithBindingPayloadV2; export declare function EscalationPathNodeLevelWithBindingPayloadV2ToJSONTyped(value?: EscalationPathNodeLevelWithBindingPayloadV2 | null, ignoreDiscriminator?: boolean): any;