UNPKG

@datocms/cma-client

Version:
43 lines (42 loc) 1.52 kB
import BaseResource from '../../BaseResource'; import type * as ApiTypes from '../ApiTypes'; import type * as RawApiTypes from '../RawApiTypes'; export default class WhiteLabelSettings extends BaseResource { static readonly TYPE: "white_label_settings"; /** * Retrieve white-label settings * * Read more: https://www.datocms.com/docs/content-management-api/resources/white-label_settings/self * * @throws {ApiError} * @throws {TimeoutError} */ find(): Promise<ApiTypes.WhiteLabelSettings>; /** * Retrieve white-label settings * * Read more: https://www.datocms.com/docs/content-management-api/resources/white-label_settings/self * * @throws {ApiError} * @throws {TimeoutError} */ rawFind(): Promise<RawApiTypes.WhiteLabelSettingsSelfTargetSchema>; /** * Update white-label settings * * Read more: https://www.datocms.com/docs/content-management-api/resources/white-label_settings/update * * @throws {ApiError} * @throws {TimeoutError} */ update(body: ApiTypes.WhiteLabelSettingsUpdateSchema): Promise<ApiTypes.WhiteLabelSettings>; /** * Update white-label settings * * Read more: https://www.datocms.com/docs/content-management-api/resources/white-label_settings/update * * @throws {ApiError} * @throws {TimeoutError} */ rawUpdate(body: RawApiTypes.WhiteLabelSettingsUpdateSchema): Promise<RawApiTypes.WhiteLabelSettingsUpdateTargetSchema>; }