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