/** * 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 { EngineParamBindingPayloadV2 } from './EngineParamBindingPayloadV2.js'; /** * * @export * @interface EscalationPathTargetWithBindingPayloadV2 */ export interface EscalationPathTargetWithBindingPayloadV2 { /** * */ binding?: EngineParamBindingPayloadV2; /** * 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?: EscalationPathTargetWithBindingPayloadV2ScheduleModeEnum; /** * 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: EscalationPathTargetWithBindingPayloadV2TypeEnum; /** * The interruption level we notify this target at: high or low */ urgency: EscalationPathTargetWithBindingPayloadV2UrgencyEnum; } /** * @export */ export declare const EscalationPathTargetWithBindingPayloadV2ScheduleModeEnum: { 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 EscalationPathTargetWithBindingPayloadV2ScheduleModeEnum = typeof EscalationPathTargetWithBindingPayloadV2ScheduleModeEnum[keyof typeof EscalationPathTargetWithBindingPayloadV2ScheduleModeEnum]; /** * @export */ export declare const EscalationPathTargetWithBindingPayloadV2TypeEnum: { readonly Schedule: "schedule"; readonly User: "user"; readonly SlackChannel: "slack_channel"; readonly MsteamsChannel: "msteams_channel"; }; export type EscalationPathTargetWithBindingPayloadV2TypeEnum = typeof EscalationPathTargetWithBindingPayloadV2TypeEnum[keyof typeof EscalationPathTargetWithBindingPayloadV2TypeEnum]; /** * @export */ export declare const EscalationPathTargetWithBindingPayloadV2UrgencyEnum: { readonly High: "high"; readonly Low: "low"; }; export type EscalationPathTargetWithBindingPayloadV2UrgencyEnum = typeof EscalationPathTargetWithBindingPayloadV2UrgencyEnum[keyof typeof EscalationPathTargetWithBindingPayloadV2UrgencyEnum]; /** * Check if a given object implements the EscalationPathTargetWithBindingPayloadV2 interface. */ export declare function instanceOfEscalationPathTargetWithBindingPayloadV2(value: object): value is EscalationPathTargetWithBindingPayloadV2; export declare function EscalationPathTargetWithBindingPayloadV2FromJSON(json: any): EscalationPathTargetWithBindingPayloadV2; export declare function EscalationPathTargetWithBindingPayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): EscalationPathTargetWithBindingPayloadV2; export declare function EscalationPathTargetWithBindingPayloadV2ToJSON(json: any): EscalationPathTargetWithBindingPayloadV2; export declare function EscalationPathTargetWithBindingPayloadV2ToJSONTyped(value?: EscalationPathTargetWithBindingPayloadV2 | null, ignoreDiscriminator?: boolean): any;