import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). * * !> This resource manages the entire set of prompt screens enabled for a prompt. In contrast, the `auth0.PromptScreenPartial` * resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. * To avoid potential issues, it is recommended not to use this resource in conjunction with the `auth0.PromptScreenPartial` * resource when managing prompt screens for the same prompt. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const promptScreenPartials = new auth0.PromptScreenPartials("prompt_screen_partials", { * promptType: "login-passwordless", * screenPartials: [ * { * screenName: "login-passwordless-email-code", * insertionPoints: { * formContentStart: "
Form Content Start
", * formContentEnd: "
Form Content End
", * }, * }, * { * screenName: "login-passwordless-sms-otp", * insertionPoints: { * formContentStart: "
Form Content Start
", * formContentEnd: "
Form Content End
", * }, * }, * ], * }); * const customized_consent = new auth0.PromptScreenPartials("customized-consent", { * promptType: "customized-consent", * screenPartials: [{ * screenName: "customized-consent", * insertionPoints: { * formContent: "
Form Content
", * }, * }], * }); * ``` * * ## Import * * This resource can be imported using the prompt name. * * Example: * * ```sh * $ pulumi import auth0:index/promptScreenPartials:PromptScreenPartials prompt_screen_partials "login-passwordless" * ``` */ export declare class PromptScreenPartials extends pulumi.CustomResource { /** * Get an existing PromptScreenPartials 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?: PromptScreenPartialsState, opts?: pulumi.CustomResourceOptions): PromptScreenPartials; /** * Returns true if the given object is an instance of PromptScreenPartials. 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 PromptScreenPartials; /** * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. */ readonly promptType: pulumi.Output; readonly screenPartials: pulumi.Output; /** * Create a PromptScreenPartials 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: PromptScreenPartialsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PromptScreenPartials resources. */ export interface PromptScreenPartialsState { /** * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. */ promptType?: pulumi.Input; screenPartials?: pulumi.Input[]>; } /** * The set of arguments for constructing a PromptScreenPartials resource. */ export interface PromptScreenPartialsArgs { /** * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. */ promptType: pulumi.Input; screenPartials?: pulumi.Input[]>; }