/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { ClientSDK } from "../lib/sdks.js"; import { Attachments } from "./attachments.js"; import { BalanceSheet } from "./balancesheet.js"; import { BillPayments } from "./billpayments.js"; import { Bills } from "./bills.js"; import { CompanyInfo } from "./companyinfo.js"; import { CreditNotes } from "./creditnotes.js"; import { Customers } from "./customers.js"; import { Departments } from "./departments.js"; import { Expenses } from "./expenses.js"; import { InvoiceItems } from "./invoiceitems.js"; import { Invoices } from "./invoices.js"; import { JournalEntries } from "./journalentries.js"; import { LedgerAccounts } from "./ledgeraccounts.js"; import { Locations } from "./locations.js"; import { Payments } from "./payments.js"; import { ProfitAndLoss } from "./profitandloss.js"; import { PurchaseOrders } from "./purchaseorders.js"; import { Subsidiaries } from "./subsidiaries.js"; import { Suppliers } from "./suppliers.js"; import { TaxRates } from "./taxrates.js"; import { TrackingCategories } from "./trackingcategories.js"; export class Accounting extends ClientSDK { private _taxRates?: TaxRates; get taxRates(): TaxRates { return (this._taxRates ??= new TaxRates(this._options)); } private _bills?: Bills; get bills(): Bills { return (this._bills ??= new Bills(this._options)); } private _invoices?: Invoices; get invoices(): Invoices { return (this._invoices ??= new Invoices(this._options)); } private _ledgerAccounts?: LedgerAccounts; get ledgerAccounts(): LedgerAccounts { return (this._ledgerAccounts ??= new LedgerAccounts(this._options)); } private _invoiceItems?: InvoiceItems; get invoiceItems(): InvoiceItems { return (this._invoiceItems ??= new InvoiceItems(this._options)); } private _creditNotes?: CreditNotes; get creditNotes(): CreditNotes { return (this._creditNotes ??= new CreditNotes(this._options)); } private _customers?: Customers; get customers(): Customers { return (this._customers ??= new Customers(this._options)); } private _suppliers?: Suppliers; get suppliers(): Suppliers { return (this._suppliers ??= new Suppliers(this._options)); } private _payments?: Payments; get payments(): Payments { return (this._payments ??= new Payments(this._options)); } private _companyInfo?: CompanyInfo; get companyInfo(): CompanyInfo { return (this._companyInfo ??= new CompanyInfo(this._options)); } private _balanceSheet?: BalanceSheet; get balanceSheet(): BalanceSheet { return (this._balanceSheet ??= new BalanceSheet(this._options)); } private _profitAndLoss?: ProfitAndLoss; get profitAndLoss(): ProfitAndLoss { return (this._profitAndLoss ??= new ProfitAndLoss(this._options)); } private _journalEntries?: JournalEntries; get journalEntries(): JournalEntries { return (this._journalEntries ??= new JournalEntries(this._options)); } private _purchaseOrders?: PurchaseOrders; get purchaseOrders(): PurchaseOrders { return (this._purchaseOrders ??= new PurchaseOrders(this._options)); } private _subsidiaries?: Subsidiaries; get subsidiaries(): Subsidiaries { return (this._subsidiaries ??= new Subsidiaries(this._options)); } private _locations?: Locations; get locations(): Locations { return (this._locations ??= new Locations(this._options)); } private _departments?: Departments; get departments(): Departments { return (this._departments ??= new Departments(this._options)); } private _attachments?: Attachments; get attachments(): Attachments { return (this._attachments ??= new Attachments(this._options)); } private _trackingCategories?: TrackingCategories; get trackingCategories(): TrackingCategories { return (this._trackingCategories ??= new TrackingCategories(this._options)); } private _billPayments?: BillPayments; get billPayments(): BillPayments { return (this._billPayments ??= new BillPayments(this._options)); } private _expenses?: Expenses; get expenses(): Expenses { return (this._expenses ??= new Expenses(this._options)); } }