import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Manages phone notification templates used for SMS and voice communications in Auth0. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // Phone Notification Template - OTP Enrollment * // Configure the OTP enrollment phone notification template with SMS and voice support. * const otpEnrollment = new auth0.BrandingPhoneNotificationTemplate("otp_enrollment", { * type: "otp_enroll", * disabled: false, * content: { * from: "+1234567890", * body: { * text: "Your enrollment code is: @{code}", * voice: "Your enrollment code is @{code}", * }, * }, * }); * // Phone Notification Template - OTP Verification * // Configure the OTP verification phone notification template. * const otpVerification = new auth0.BrandingPhoneNotificationTemplate("otp_verification", { * type: "otp_verify", * disabled: false, * content: { * from: "+1234567890", * body: { * text: "Your verification code is: @{code}", * voice: "Your verification code is @{code}", * }, * }, * }); * ``` * * ## Import * * !/bin/bash * Example: Import an existing Auth0 phone notification template into Terraform state * * Replace TEMPLATE_ID with the actual template ID from your Auth0 tenant * * ```sh * $ pulumi import auth0:index/brandingPhoneNotificationTemplate:BrandingPhoneNotificationTemplate otp_enrollment "tem_xxxxxxxxxxxxxxxxxxx" * ``` */ export declare class BrandingPhoneNotificationTemplate extends pulumi.CustomResource { /** * Get an existing BrandingPhoneNotificationTemplate resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: BrandingPhoneNotificationTemplateState, opts?: pulumi.CustomResourceOptions): BrandingPhoneNotificationTemplate; /** * Returns true if the given object is an instance of BrandingPhoneNotificationTemplate. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is BrandingPhoneNotificationTemplate; /** * The channel of the phone notification template (e.g., `sms`, `voice`). */ readonly channel: pulumi.Output; /** * The content of the phone notification template. */ readonly content: pulumi.Output; /** * Indicates whether the phone notification template is customizable. */ readonly customizable: pulumi.Output; /** * Indicates whether the phone notification template is disabled. */ readonly disabled: pulumi.Output; /** * The ID of the phone notification template. */ readonly templateId: pulumi.Output; /** * The tenant of the phone notification template. */ readonly tenant: pulumi.Output; /** * The type of the phone notification template. */ readonly type: pulumi.Output; /** * Create a BrandingPhoneNotificationTemplate resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BrandingPhoneNotificationTemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BrandingPhoneNotificationTemplate resources. */ export interface BrandingPhoneNotificationTemplateState { /** * The channel of the phone notification template (e.g., `sms`, `voice`). */ channel?: pulumi.Input; /** * The content of the phone notification template. */ content?: pulumi.Input; /** * Indicates whether the phone notification template is customizable. */ customizable?: pulumi.Input; /** * Indicates whether the phone notification template is disabled. */ disabled?: pulumi.Input; /** * The ID of the phone notification template. */ templateId?: pulumi.Input; /** * The tenant of the phone notification template. */ tenant?: pulumi.Input; /** * The type of the phone notification template. */ type?: pulumi.Input; } /** * The set of arguments for constructing a BrandingPhoneNotificationTemplate resource. */ export interface BrandingPhoneNotificationTemplateArgs { /** * The content of the phone notification template. */ content?: pulumi.Input; /** * Indicates whether the phone notification template is disabled. */ disabled?: pulumi.Input; /** * The type of the phone notification template. */ type: pulumi.Input; }