"use strict";
// This file was auto-generated by Fern from our API Definition.
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccountingClient = void 0;
const BaseClient_1 = require("../../../../BaseClient");
const Client_1 = require("../resources/accountDetails/client/Client");
const Client_2 = require("../resources/accountingPeriods/client/Client");
const Client_3 = require("../resources/accounts/client/Client");
const Client_4 = require("../resources/accountToken/client/Client");
const Client_5 = require("../resources/addresses/client/Client");
const Client_6 = require("../resources/asyncPassthrough/client/Client");
const Client_7 = require("../resources/asyncTasks/client/Client");
const Client_8 = require("../resources/attachments/client/Client");
const Client_9 = require("../resources/auditTrail/client/Client");
const Client_10 = require("../resources/availableActions/client/Client");
const Client_11 = require("../resources/balanceSheets/client/Client");
const Client_12 = require("../resources/bankFeedAccounts/client/Client");
const Client_13 = require("../resources/bankFeedTransactions/client/Client");
const Client_14 = require("../resources/cashFlowStatements/client/Client");
const Client_15 = require("../resources/companyInfo/client/Client");
const Client_16 = require("../resources/contacts/client/Client");
const Client_17 = require("../resources/creditNotes/client/Client");
const Client_18 = require("../resources/deleteAccount/client/Client");
const Client_19 = require("../resources/employees/client/Client");
const Client_20 = require("../resources/expenseReports/client/Client");
const Client_21 = require("../resources/expenses/client/Client");
const Client_22 = require("../resources/fieldMapping/client/Client");
const Client_23 = require("../resources/forceResync/client/Client");
const Client_24 = require("../resources/generalLedgerTransactions/client/Client");
const Client_25 = require("../resources/generateKey/client/Client");
const Client_26 = require("../resources/incomeStatements/client/Client");
const Client_27 = require("../resources/invoices/client/Client");
const Client_28 = require("../resources/issues/client/Client");
const Client_29 = require("../resources/itemFulfillments/client/Client");
const Client_30 = require("../resources/items/client/Client");
const Client_31 = require("../resources/journalEntries/client/Client");
const Client_32 = require("../resources/linkedAccounts/client/Client");
const Client_33 = require("../resources/linkToken/client/Client");
const Client_34 = require("../resources/passthrough/client/Client");
const Client_35 = require("../resources/paymentMethods/client/Client");
const Client_36 = require("../resources/payments/client/Client");
const Client_37 = require("../resources/paymentTerms/client/Client");
const Client_38 = require("../resources/phoneNumbers/client/Client");
const Client_39 = require("../resources/projects/client/Client");
const Client_40 = require("../resources/purchaseOrders/client/Client");
const Client_41 = require("../resources/regenerateKey/client/Client");
const Client_42 = require("../resources/salesOrders/client/Client");
const Client_43 = require("../resources/scopes/client/Client");
const Client_44 = require("../resources/syncStatus/client/Client");
const Client_45 = require("../resources/taxRates/client/Client");
const Client_46 = require("../resources/trackingCategories/client/Client");
const Client_47 = require("../resources/transactions/client/Client");
const Client_48 = require("../resources/vendorCredits/client/Client");
const Client_49 = require("../resources/webhookReceivers/client/Client");
class AccountingClient {
    constructor(options) {
        this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
    }
    get accountDetails() {
        var _a;
        return ((_a = this._accountDetails) !== null && _a !== void 0 ? _a : (this._accountDetails = new Client_1.AccountDetailsClient(this._options)));
    }
    get accountToken() {
        var _a;
        return ((_a = this._accountToken) !== null && _a !== void 0 ? _a : (this._accountToken = new Client_4.AccountTokenClient(this._options)));
    }
    get accountingPeriods() {
        var _a;
        return ((_a = this._accountingPeriods) !== null && _a !== void 0 ? _a : (this._accountingPeriods = new Client_2.AccountingPeriodsClient(this._options)));
    }
    get accounts() {
        var _a;
        return ((_a = this._accounts) !== null && _a !== void 0 ? _a : (this._accounts = new Client_3.AccountsClient(this._options)));
    }
    get addresses() {
        var _a;
        return ((_a = this._addresses) !== null && _a !== void 0 ? _a : (this._addresses = new Client_5.AddressesClient(this._options)));
    }
    get asyncPassthrough() {
        var _a;
        return ((_a = this._asyncPassthrough) !== null && _a !== void 0 ? _a : (this._asyncPassthrough = new Client_6.AsyncPassthroughClient(this._options)));
    }
    get asyncTasks() {
        var _a;
        return ((_a = this._asyncTasks) !== null && _a !== void 0 ? _a : (this._asyncTasks = new Client_7.AsyncTasksClient(this._options)));
    }
    get attachments() {
        var _a;
        return ((_a = this._attachments) !== null && _a !== void 0 ? _a : (this._attachments = new Client_8.AttachmentsClient(this._options)));
    }
    get auditTrail() {
        var _a;
        return ((_a = this._auditTrail) !== null && _a !== void 0 ? _a : (this._auditTrail = new Client_9.AuditTrailClient(this._options)));
    }
    get availableActions() {
        var _a;
        return ((_a = this._availableActions) !== null && _a !== void 0 ? _a : (this._availableActions = new Client_10.AvailableActionsClient(this._options)));
    }
    get balanceSheets() {
        var _a;
        return ((_a = this._balanceSheets) !== null && _a !== void 0 ? _a : (this._balanceSheets = new Client_11.BalanceSheetsClient(this._options)));
    }
    get bankFeedAccounts() {
        var _a;
        return ((_a = this._bankFeedAccounts) !== null && _a !== void 0 ? _a : (this._bankFeedAccounts = new Client_12.BankFeedAccountsClient(this._options)));
    }
    get bankFeedTransactions() {
        var _a;
        return ((_a = this._bankFeedTransactions) !== null && _a !== void 0 ? _a : (this._bankFeedTransactions = new Client_13.BankFeedTransactionsClient(this._options)));
    }
    get cashFlowStatements() {
        var _a;
        return ((_a = this._cashFlowStatements) !== null && _a !== void 0 ? _a : (this._cashFlowStatements = new Client_14.CashFlowStatementsClient(this._options)));
    }
    get companyInfo() {
        var _a;
        return ((_a = this._companyInfo) !== null && _a !== void 0 ? _a : (this._companyInfo = new Client_15.CompanyInfoClient(this._options)));
    }
    get contacts() {
        var _a;
        return ((_a = this._contacts) !== null && _a !== void 0 ? _a : (this._contacts = new Client_16.ContactsClient(this._options)));
    }
    get creditNotes() {
        var _a;
        return ((_a = this._creditNotes) !== null && _a !== void 0 ? _a : (this._creditNotes = new Client_17.CreditNotesClient(this._options)));
    }
    get scopes() {
        var _a;
        return ((_a = this._scopes) !== null && _a !== void 0 ? _a : (this._scopes = new Client_43.ScopesClient(this._options)));
    }
    get deleteAccount() {
        var _a;
        return ((_a = this._deleteAccount) !== null && _a !== void 0 ? _a : (this._deleteAccount = new Client_18.DeleteAccountClient(this._options)));
    }
    get employees() {
        var _a;
        return ((_a = this._employees) !== null && _a !== void 0 ? _a : (this._employees = new Client_19.EmployeesClient(this._options)));
    }
    get expenseReports() {
        var _a;
        return ((_a = this._expenseReports) !== null && _a !== void 0 ? _a : (this._expenseReports = new Client_20.ExpenseReportsClient(this._options)));
    }
    get expenses() {
        var _a;
        return ((_a = this._expenses) !== null && _a !== void 0 ? _a : (this._expenses = new Client_21.ExpensesClient(this._options)));
    }
    get fieldMapping() {
        var _a;
        return ((_a = this._fieldMapping) !== null && _a !== void 0 ? _a : (this._fieldMapping = new Client_22.FieldMappingClient(this._options)));
    }
    get generalLedgerTransactions() {
        var _a;
        return ((_a = this._generalLedgerTransactions) !== null && _a !== void 0 ? _a : (this._generalLedgerTransactions = new Client_24.GeneralLedgerTransactionsClient(this._options)));
    }
    get generateKey() {
        var _a;
        return ((_a = this._generateKey) !== null && _a !== void 0 ? _a : (this._generateKey = new Client_25.GenerateKeyClient(this._options)));
    }
    get incomeStatements() {
        var _a;
        return ((_a = this._incomeStatements) !== null && _a !== void 0 ? _a : (this._incomeStatements = new Client_26.IncomeStatementsClient(this._options)));
    }
    get invoices() {
        var _a;
        return ((_a = this._invoices) !== null && _a !== void 0 ? _a : (this._invoices = new Client_27.InvoicesClient(this._options)));
    }
    get issues() {
        var _a;
        return ((_a = this._issues) !== null && _a !== void 0 ? _a : (this._issues = new Client_28.IssuesClient(this._options)));
    }
    get itemFulfillments() {
        var _a;
        return ((_a = this._itemFulfillments) !== null && _a !== void 0 ? _a : (this._itemFulfillments = new Client_29.ItemFulfillmentsClient(this._options)));
    }
    get items() {
        var _a;
        return ((_a = this._items) !== null && _a !== void 0 ? _a : (this._items = new Client_30.ItemsClient(this._options)));
    }
    get journalEntries() {
        var _a;
        return ((_a = this._journalEntries) !== null && _a !== void 0 ? _a : (this._journalEntries = new Client_31.JournalEntriesClient(this._options)));
    }
    get linkToken() {
        var _a;
        return ((_a = this._linkToken) !== null && _a !== void 0 ? _a : (this._linkToken = new Client_33.LinkTokenClient(this._options)));
    }
    get linkedAccounts() {
        var _a;
        return ((_a = this._linkedAccounts) !== null && _a !== void 0 ? _a : (this._linkedAccounts = new Client_32.LinkedAccountsClient(this._options)));
    }
    get passthrough() {
        var _a;
        return ((_a = this._passthrough) !== null && _a !== void 0 ? _a : (this._passthrough = new Client_34.PassthroughClient(this._options)));
    }
    get paymentMethods() {
        var _a;
        return ((_a = this._paymentMethods) !== null && _a !== void 0 ? _a : (this._paymentMethods = new Client_35.PaymentMethodsClient(this._options)));
    }
    get paymentTerms() {
        var _a;
        return ((_a = this._paymentTerms) !== null && _a !== void 0 ? _a : (this._paymentTerms = new Client_37.PaymentTermsClient(this._options)));
    }
    get payments() {
        var _a;
        return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_36.PaymentsClient(this._options)));
    }
    get phoneNumbers() {
        var _a;
        return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_38.PhoneNumbersClient(this._options)));
    }
    get projects() {
        var _a;
        return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new Client_39.ProjectsClient(this._options)));
    }
    get purchaseOrders() {
        var _a;
        return ((_a = this._purchaseOrders) !== null && _a !== void 0 ? _a : (this._purchaseOrders = new Client_40.PurchaseOrdersClient(this._options)));
    }
    get regenerateKey() {
        var _a;
        return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new Client_41.RegenerateKeyClient(this._options)));
    }
    get salesOrders() {
        var _a;
        return ((_a = this._salesOrders) !== null && _a !== void 0 ? _a : (this._salesOrders = new Client_42.SalesOrdersClient(this._options)));
    }
    get syncStatus() {
        var _a;
        return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new Client_44.SyncStatusClient(this._options)));
    }
    get forceResync() {
        var _a;
        return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new Client_23.ForceResyncClient(this._options)));
    }
    get taxRates() {
        var _a;
        return ((_a = this._taxRates) !== null && _a !== void 0 ? _a : (this._taxRates = new Client_45.TaxRatesClient(this._options)));
    }
    get trackingCategories() {
        var _a;
        return ((_a = this._trackingCategories) !== null && _a !== void 0 ? _a : (this._trackingCategories = new Client_46.TrackingCategoriesClient(this._options)));
    }
    get transactions() {
        var _a;
        return ((_a = this._transactions) !== null && _a !== void 0 ? _a : (this._transactions = new Client_47.TransactionsClient(this._options)));
    }
    get vendorCredits() {
        var _a;
        return ((_a = this._vendorCredits) !== null && _a !== void 0 ? _a : (this._vendorCredits = new Client_48.VendorCreditsClient(this._options)));
    }
    get webhookReceivers() {
        var _a;
        return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new Client_49.WebhookReceiversClient(this._options)));
    }
}
exports.AccountingClient = AccountingClient;
