/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { brandingCreate } from "../funcs/brandingCreate.js"; import { brandingGet } from "../funcs/brandingGet.js"; import { brandingUpsert } from "../funcs/brandingUpsert.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Branding extends ClientSDK { /** * Create brand properties for the specified account. * * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) * you'll need to specify the `/accounts/{accountID}/branding.write` scope. */ async create( request: operations.CreateBrandRequest, options?: RequestOptions, ): Promise { return unwrapAsync(brandingCreate( this, request, options, )); } /** * Create or replace brand properties for the specified account. * * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) * you'll need to specify the `/accounts/{accountID}/branding.write` scope. */ async upsert( request: operations.UpsertBrandRequest, options?: RequestOptions, ): Promise { return unwrapAsync(brandingUpsert( this, request, options, )); } /** * Get brand properties for the specified account. * * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) * you'll need to specify the `/accounts/{accountID}/branding.read` scope. */ async get( request: operations.GetBrandRequest, options?: RequestOptions, ): Promise { return unwrapAsync(brandingGet( this, request, options, )); } }