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