auth0
Version:
Auth0 Node.js SDK for the Management API v2.
53 lines (52 loc) • 2.27 kB
TypeScript
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
import * as core from "../../../../core/index.js";
import * as Management from "../../../index.js";
import { PhoneClient } from "../resources/phone/client/Client.js";
import { TemplatesClient } from "../resources/templates/client/Client.js";
import { ThemesClient } from "../resources/themes/client/Client.js";
export declare namespace BrandingClient {
type Options = BaseClientOptions;
interface RequestOptions extends BaseRequestOptions {
}
}
export declare class BrandingClient {
protected readonly _options: NormalizedClientOptionsWithAuth<BrandingClient.Options>;
protected _templates: TemplatesClient | undefined;
protected _themes: ThemesClient | undefined;
protected _phone: PhoneClient | undefined;
constructor(options: BrandingClient.Options);
get templates(): TemplatesClient;
get themes(): ThemesClient;
get phone(): PhoneClient;
/**
* Retrieve branding settings.
*
* @param {BrandingClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link Management.UnauthorizedError}
* @throws {@link Management.ForbiddenError}
* @throws {@link Management.TooManyRequestsError}
*
* @example
* await client.branding.get()
*/
get(requestOptions?: BrandingClient.RequestOptions): core.HttpResponsePromise<Management.GetBrandingResponseContent>;
private __get;
/**
* Update branding settings.
*
* @param {Management.UpdateBrandingRequestContent} request
* @param {BrandingClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link Management.BadRequestError}
* @throws {@link Management.UnauthorizedError}
* @throws {@link Management.ForbiddenError}
* @throws {@link Management.TooManyRequestsError}
*
* @example
* await client.branding.update()
*/
update(request?: Management.UpdateBrandingRequestContent, requestOptions?: BrandingClient.RequestOptions): core.HttpResponsePromise<Management.UpdateBrandingResponseContent>;
private __update;
}