Back to Node Auth0

Class PartialsClient

docs/classes/management.SDK.PartialsClient.html

5.9.14.1 KB
Original Source

Class PartialsClient

Index

Constructors

constructor

Methods

getset

Properties

_options

Constructors

constructor

new PartialsClient(options: BaseClientOptions): PartialsClient

Parameters

Returns PartialsClient

Methods

get

get(
prompt: Management.PartialGroupsEnum,
requestOptions?: PartialsClient.RequestOptions,
): HttpResponsePromise<GetPartialsResponseContent>

Get template partials for a prompt

Parameters

Name of the prompt.

Request-specific configuration.

Returns HttpResponsePromise<GetPartialsResponseContent>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.NotFoundError

Throws

Management.TooManyRequestsError

Example

await client.prompts.partials.get("login")Copy

set

set(
prompt: Management.PartialGroupsEnum,
request: SetPartialsRequestContent,
requestOptions?: PartialsClient.RequestOptions,
): HttpResponsePromise<void>

Set template partials for a prompt

Parameters

Name of the prompt.

Request-specific configuration.

Returns HttpResponsePromise<void>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.TooManyRequestsError

Example

await client.prompts.partials.set("login", { "key": "value" })Copy

Properties

Protected Readonly_options

_options: NormalizedClientOptionsWithAuth<BaseClientOptions>

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Constructors constructor Methods getset Properties _options