/* * 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 accountingBalanceSheetGet$module: | Promise | undefined; const accountingBalanceSheetGet = (( ...args: Parameters< typeof import("../funcs/accountingBalanceSheetGet.js").accountingBalanceSheetGet > ) => new APIPromise( (accountingBalanceSheetGet$module ??= import( "../funcs/accountingBalanceSheetGet.js" ).catch((error: unknown) => { accountingBalanceSheetGet$module = undefined; throw error; })).then((module) => module.accountingBalanceSheetGet(...args).$inspect() ), )) as typeof import("../funcs/accountingBalanceSheetGet.js").accountingBalanceSheetGet; export class BalanceSheet extends ClientSDK { /** * Get BalanceSheet * * @remarks * Get BalanceSheet */ async get( request: operations.AccountingBalanceSheetOneRequest, options?: RequestOptions, ): Promise { return unwrapAsync(accountingBalanceSheetGet( this, request, options, )); } }