/** * 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 { OnCallNotificationMethodPhoneDetailsPublicV2 } from './OnCallNotificationMethodPhoneDetailsPublicV2.js'; /** * * @export * @interface OnCallNotificationMethodPublicV2 */ export interface OnCallNotificationMethodPublicV2 { /** * The address of this method (e.g. redacted phone number, email address, device name, Slack user name) */ address: string; /** * Unique identifier for this notification method */ id: string; /** * Whether this method is ready to receive notifications. For phone, this means verified. For app devices, this means push notifications can be sent. For email, Slack, and Microsoft Teams this is always true. */ is_usable: boolean; /** * The high-level type of notification method. Phone rules include phone details that distinguish SMS from voice calls. */ method_type: OnCallNotificationMethodPublicV2MethodTypeEnum; /** * */ phone_details?: OnCallNotificationMethodPhoneDetailsPublicV2; } /** * @export */ export declare const OnCallNotificationMethodPublicV2MethodTypeEnum: { readonly App: "app"; readonly Email: "email"; readonly MicrosoftTeams: "microsoft_teams"; readonly Phone: "phone"; readonly Slack: "slack"; readonly WhatsappMessage: "whatsapp_message"; }; export type OnCallNotificationMethodPublicV2MethodTypeEnum = typeof OnCallNotificationMethodPublicV2MethodTypeEnum[keyof typeof OnCallNotificationMethodPublicV2MethodTypeEnum]; /** * Check if a given object implements the OnCallNotificationMethodPublicV2 interface. */ export declare function instanceOfOnCallNotificationMethodPublicV2(value: object): value is OnCallNotificationMethodPublicV2; export declare function OnCallNotificationMethodPublicV2FromJSON(json: any): OnCallNotificationMethodPublicV2; export declare function OnCallNotificationMethodPublicV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): OnCallNotificationMethodPublicV2; export declare function OnCallNotificationMethodPublicV2ToJSON(json: any): OnCallNotificationMethodPublicV2; export declare function OnCallNotificationMethodPublicV2ToJSONTyped(value?: OnCallNotificationMethodPublicV2 | null, ignoreDiscriminator?: boolean): any;