/** * 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 { EngineParamBindingV2 } from './EngineParamBindingV2.js'; /** * * @export * @interface EscalationPathTargetWithBindingV2 */ export interface EscalationPathTargetWithBindingV2 { /** * */ binding?: EngineParamBindingV2; /** * Uniquely identifies a concrete target. Omitted when binding is set. */ id?: string; /** * Only set for schedule targets, this specifies which users to fetch from the schedule. */ schedule_mode?: EscalationPathTargetWithBindingV2ScheduleModeEnum; /** * For schedule targets, identifies which rota on the schedule the schedule_mode applies to. */ selected_rota_id?: string; /** * Controls what type of entity this target identifies, such as EscalationPolicy or User */ type: EscalationPathTargetWithBindingV2TypeEnum; /** * The interruption level we notify this target at: high or low */ urgency: EscalationPathTargetWithBindingV2UrgencyEnum; } /** * @export */ export declare const EscalationPathTargetWithBindingV2ScheduleModeEnum: { readonly CurrentlyOnCall: "currently_on_call"; readonly AllUsersForRota: "all_users_for_rota"; readonly AllUsers: "all_users"; readonly CurrentlyOnCallForRota: "currently_on_call_for_rota"; readonly NextOnCallForRota: "next_on_call_for_rota"; readonly NextOnCall: "next_on_call"; readonly Empty: ""; }; export type EscalationPathTargetWithBindingV2ScheduleModeEnum = typeof EscalationPathTargetWithBindingV2ScheduleModeEnum[keyof typeof EscalationPathTargetWithBindingV2ScheduleModeEnum]; /** * @export */ export declare const EscalationPathTargetWithBindingV2TypeEnum: { readonly Schedule: "schedule"; readonly User: "user"; readonly SlackChannel: "slack_channel"; readonly MsteamsChannel: "msteams_channel"; }; export type EscalationPathTargetWithBindingV2TypeEnum = typeof EscalationPathTargetWithBindingV2TypeEnum[keyof typeof EscalationPathTargetWithBindingV2TypeEnum]; /** * @export */ export declare const EscalationPathTargetWithBindingV2UrgencyEnum: { readonly High: "high"; readonly Low: "low"; }; export type EscalationPathTargetWithBindingV2UrgencyEnum = typeof EscalationPathTargetWithBindingV2UrgencyEnum[keyof typeof EscalationPathTargetWithBindingV2UrgencyEnum]; /** * Check if a given object implements the EscalationPathTargetWithBindingV2 interface. */ export declare function instanceOfEscalationPathTargetWithBindingV2(value: object): value is EscalationPathTargetWithBindingV2; export declare function EscalationPathTargetWithBindingV2FromJSON(json: any): EscalationPathTargetWithBindingV2; export declare function EscalationPathTargetWithBindingV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathTargetWithBindingV2; export declare function EscalationPathTargetWithBindingV2ToJSON(json: any): EscalationPathTargetWithBindingV2; export declare function EscalationPathTargetWithBindingV2ToJSONTyped(value?: EscalationPathTargetWithBindingV2 | null, ignoreDiscriminator?: boolean): any;