/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { unwrapAsync } from "../types/fp.js"; let accountingTrialBalanceGet$module: | Promise | undefined; const accountingTrialBalanceGet = (( ...args: Parameters< typeof import("../funcs/accountingTrialBalanceGet.js").accountingTrialBalanceGet > ) => new APIPromise( (accountingTrialBalanceGet$module ??= import( "../funcs/accountingTrialBalanceGet.js" ).catch((error: unknown) => { accountingTrialBalanceGet$module = undefined; throw error; })).then((module) => module.accountingTrialBalanceGet(...args).$inspect() ), )) as typeof import("../funcs/accountingTrialBalanceGet.js").accountingTrialBalanceGet; export class TrialBalance extends ClientSDK { /** * Get Trial Balance * * @remarks * Get the trial balance as of a date. Read-only. */ async get( request: operations.AccountingTrialBalanceOneRequest, options?: RequestOptions, ): Promise { return unwrapAsync(accountingTrialBalanceGet( this, request, options, )); } }