Back to Node Auth0

Class RenderingClient

docs/classes/management.SDK.RenderingClient.html

5.9.19.0 KB
Original Source

Class RenderingClient

Index

Constructors

constructor

Methods

listbulkUpdategetupdate

Properties

_options

Constructors

constructor

new RenderingClient(options: BaseClientOptions): RenderingClient

Parameters

Returns RenderingClient

Methods

list

list(
request?: ListAculsRequestParameters,
requestOptions?: RenderingClient.RequestOptions,
): Promise<
Page<
ListAculsResponseContentItem,
ListAculsOffsetPaginatedResponseContent,
>,
>

Get render setting configurations for all screens.

Parameters

Request-specific configuration.

Returns Promise< Page< ListAculsResponseContentItem, ListAculsOffsetPaginatedResponseContent, >, >

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.PaymentRequiredError

Throws

Management.ForbiddenError

Throws

Management.TooManyRequestsError

Example

await client.prompts.rendering.list({ fields: "fields", include_fields: true, page: 1, per_page: 1, include_totals: true, prompt: "prompt", screen: "screen", rendering_mode: "advanced" })Copy

bulkUpdate

bulkUpdate(
request: BulkUpdateAculRequestContent,
requestOptions?: RenderingClient.RequestOptions,
): HttpResponsePromise<BulkUpdateAculResponseContent>

Learn more about configuring render settings for advanced customization.

Parameters

Request-specific configuration.

Returns HttpResponsePromise<BulkUpdateAculResponseContent>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.PaymentRequiredError

Throws

Management.ForbiddenError

Throws

Management.TooManyRequestsError

Example

await client.prompts.rendering.bulkUpdate({ configs: [{ prompt: "login", screen: "login" }] })Copy

get

get(
prompt: Management.PromptGroupNameEnum,
screen: Management.ScreenGroupNameEnum,
requestOptions?: RenderingClient.RequestOptions,
): HttpResponsePromise<GetAculResponseContent>

Get render settings for a screen.

Parameters

Name of the prompt

Name of the screen

Request-specific configuration.

Returns HttpResponsePromise<GetAculResponseContent>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.PaymentRequiredError

Throws

Management.ForbiddenError

Throws

Management.NotFoundError

Throws

Management.TooManyRequestsError

Example

await client.prompts.rendering.get("login", "login")Copy

update

update(
prompt: Management.PromptGroupNameEnum,
screen: Management.ScreenGroupNameEnum,
request?: UpdateAculRequestContent,
requestOptions?: RenderingClient.RequestOptions,
): HttpResponsePromise<UpdateAculResponseContent>

Learn more about configuring render settings for advanced customization.

Parameters

Name of the prompt

Name of the screen

Request-specific configuration.

Returns HttpResponsePromise<UpdateAculResponseContent>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.PaymentRequiredError

Throws

Management.ForbiddenError

Throws

Management.TooManyRequestsError

Example

await client.prompts.rendering.update("login", "login")Copy

Properties

Protected Readonly_options

_options: NormalizedClientOptionsWithAuth<BaseClientOptions>

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Constructors constructor Methods listbulkUpdategetupdate Properties _options