/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { ClientSDK } from "../lib/sdks.js"; import { AgedCreditors } from "./agedcreditors.js"; import { AgedDebtors } from "./ageddebtors.js"; import { Attachments } from "./attachments.js"; import { BalanceSheet } from "./balancesheet.js"; import { BankAccounts } from "./bankaccounts.js"; import { BankFeedAccounts } from "./bankfeedaccounts.js"; import { BankFeedStatements } from "./bankfeedstatements.js"; import { BillCreditNotes } from "./billcreditnotes.js"; import { BillPayments } from "./billpayments.js"; import { Bills } from "./bills.js"; import { Categories } from "./categories.js"; import { Companies } from "./companies.js"; import { CompanyInfo } from "./companyinfo.js"; import { CreditNotes } from "./creditnotes.js"; import { Customers } from "./customers.js"; import { Departments } from "./departments.js"; import { Employees } from "./employees.js"; import { ExpenseCategories } from "./expensecategories.js"; import { ExpenseReports } from "./expensereports.js"; import { Expenses } from "./expenses.js"; import { FiscalPeriods } from "./fiscalperiods.js"; import { GeneralLedgerTransactions } from "./generalledgertransactions.js"; import { GoodsReceipts } from "./goodsreceipts.js"; import { InvoiceItems } from "./invoiceitems.js"; import { Invoices } from "./invoices.js"; import { JournalEntries } from "./journalentries.js"; import { Journals } from "./journals.js"; import { LedgerAccounts } from "./ledgeraccounts.js"; import { Locations } from "./locations.js"; import { PaymentMethods } from "./paymentmethods.js"; import { Payments } from "./payments.js"; import { ProfitAndLoss } from "./profitandloss.js"; import { Projects } from "./projects.js"; import { PurchaseOrders } from "./purchaseorders.js"; import { Quotes } from "./quotes.js"; import { Refunds } from "./refunds.js"; import { SalesOrders } from "./salesorders.js"; import { SalesReceipts } from "./salesreceipts.js"; import { Subsidiaries } from "./subsidiaries.js"; import { Suppliers } from "./suppliers.js"; import { TaxRates } from "./taxrates.js"; import { TrackingCategories } from "./trackingcategories.js"; import { TrialBalance } from "./trialbalance.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 _billCreditNotes?: BillCreditNotes; get billCreditNotes(): BillCreditNotes { return (this._billCreditNotes ??= new BillCreditNotes(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 _refunds?: Refunds; get refunds(): Refunds { return (this._refunds ??= new Refunds(this._options)); } private _companyInfo?: CompanyInfo; get companyInfo(): CompanyInfo { return (this._companyInfo ??= new CompanyInfo(this._options)); } private _companies?: Companies; get companies(): Companies { return (this._companies ??= new Companies(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 _generalLedgerTransactions?: GeneralLedgerTransactions; get generalLedgerTransactions(): GeneralLedgerTransactions { return (this._generalLedgerTransactions ??= new GeneralLedgerTransactions( this._options, )); } private _salesReceipts?: SalesReceipts; get salesReceipts(): SalesReceipts { return (this._salesReceipts ??= new SalesReceipts(this._options)); } private _purchaseOrders?: PurchaseOrders; get purchaseOrders(): PurchaseOrders { return (this._purchaseOrders ??= new PurchaseOrders(this._options)); } private _goodsReceipts?: GoodsReceipts; get goodsReceipts(): GoodsReceipts { return (this._goodsReceipts ??= new GoodsReceipts(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 _bankAccounts?: BankAccounts; get bankAccounts(): BankAccounts { return (this._bankAccounts ??= new BankAccounts(this._options)); } private _journals?: Journals; get journals(): Journals { return (this._journals ??= new Journals(this._options)); } private _fiscalPeriods?: FiscalPeriods; get fiscalPeriods(): FiscalPeriods { return (this._fiscalPeriods ??= new FiscalPeriods(this._options)); } private _trialBalance?: TrialBalance; get trialBalance(): TrialBalance { return (this._trialBalance ??= new TrialBalance(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)); } private _agedCreditors?: AgedCreditors; get agedCreditors(): AgedCreditors { return (this._agedCreditors ??= new AgedCreditors(this._options)); } private _agedDebtors?: AgedDebtors; get agedDebtors(): AgedDebtors { return (this._agedDebtors ??= new AgedDebtors(this._options)); } private _bankFeedAccounts?: BankFeedAccounts; get bankFeedAccounts(): BankFeedAccounts { return (this._bankFeedAccounts ??= new BankFeedAccounts(this._options)); } private _bankFeedStatements?: BankFeedStatements; get bankFeedStatements(): BankFeedStatements { return (this._bankFeedStatements ??= new BankFeedStatements(this._options)); } private _categories?: Categories; get categories(): Categories { return (this._categories ??= new Categories(this._options)); } private _quotes?: Quotes; get quotes(): Quotes { return (this._quotes ??= new Quotes(this._options)); } private _projects?: Projects; get projects(): Projects { return (this._projects ??= new Projects(this._options)); } private _salesOrders?: SalesOrders; get salesOrders(): SalesOrders { return (this._salesOrders ??= new SalesOrders(this._options)); } private _employees?: Employees; get employees(): Employees { return (this._employees ??= new Employees(this._options)); } private _expenseCategories?: ExpenseCategories; get expenseCategories(): ExpenseCategories { return (this._expenseCategories ??= new ExpenseCategories(this._options)); } private _paymentMethods?: PaymentMethods; get paymentMethods(): PaymentMethods { return (this._paymentMethods ??= new PaymentMethods(this._options)); } private _expenseReports?: ExpenseReports; get expenseReports(): ExpenseReports { return (this._expenseReports ??= new ExpenseReports(this._options)); } }