"use strict";
/**
 * This file was auto-generated by Fern from our API Definition.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Accounting = void 0;
const Client_1 = require("../resources/accountDetails/client/Client");
const Client_2 = require("../resources/accountToken/client/Client");
const Client_3 = require("../resources/accountingPeriods/client/Client");
const Client_4 = require("../resources/accounts/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/scopes/client/Client");
const Client_19 = require("../resources/deleteAccount/client/Client");
const Client_20 = require("../resources/employees/client/Client");
const Client_21 = require("../resources/expenses/client/Client");
const Client_22 = require("../resources/fieldMapping/client/Client");
const Client_23 = require("../resources/generalLedgerTransactions/client/Client");
const Client_24 = require("../resources/generateKey/client/Client");
const Client_25 = require("../resources/incomeStatements/client/Client");
const Client_26 = require("../resources/invoices/client/Client");
const Client_27 = require("../resources/issues/client/Client");
const Client_28 = require("../resources/items/client/Client");
const Client_29 = require("../resources/journalEntries/client/Client");
const Client_30 = require("../resources/linkToken/client/Client");
const Client_31 = require("../resources/linkedAccounts/client/Client");
const Client_32 = require("../resources/passthrough/client/Client");
const Client_33 = require("../resources/paymentMethods/client/Client");
const Client_34 = require("../resources/paymentTerms/client/Client");
const Client_35 = require("../resources/payments/client/Client");
const Client_36 = require("../resources/phoneNumbers/client/Client");
const Client_37 = require("../resources/purchaseOrders/client/Client");
const Client_38 = require("../resources/regenerateKey/client/Client");
const Client_39 = require("../resources/syncStatus/client/Client");
const Client_40 = require("../resources/forceResync/client/Client");
const Client_41 = require("../resources/taxRates/client/Client");
const Client_42 = require("../resources/trackingCategories/client/Client");
const Client_43 = require("../resources/transactions/client/Client");
const Client_44 = require("../resources/vendorCredits/client/Client");
const Client_45 = require("../resources/webhookReceivers/client/Client");
class Accounting {
    constructor(_options) {
        this._options = _options;
    }
    get accountDetails() {
        var _a;
        return ((_a = this._accountDetails) !== null && _a !== void 0 ? _a : (this._accountDetails = new Client_1.AccountDetails(this._options)));
    }
    get accountToken() {
        var _a;
        return ((_a = this._accountToken) !== null && _a !== void 0 ? _a : (this._accountToken = new Client_2.AccountToken(this._options)));
    }
    get accountingPeriods() {
        var _a;
        return ((_a = this._accountingPeriods) !== null && _a !== void 0 ? _a : (this._accountingPeriods = new Client_3.AccountingPeriods(this._options)));
    }
    get accounts() {
        var _a;
        return ((_a = this._accounts) !== null && _a !== void 0 ? _a : (this._accounts = new Client_4.Accounts(this._options)));
    }
    get addresses() {
        var _a;
        return ((_a = this._addresses) !== null && _a !== void 0 ? _a : (this._addresses = new Client_5.Addresses(this._options)));
    }
    get asyncPassthrough() {
        var _a;
        return ((_a = this._asyncPassthrough) !== null && _a !== void 0 ? _a : (this._asyncPassthrough = new Client_6.AsyncPassthrough(this._options)));
    }
    get asyncTasks() {
        var _a;
        return ((_a = this._asyncTasks) !== null && _a !== void 0 ? _a : (this._asyncTasks = new Client_7.AsyncTasks(this._options)));
    }
    get attachments() {
        var _a;
        return ((_a = this._attachments) !== null && _a !== void 0 ? _a : (this._attachments = new Client_8.Attachments(this._options)));
    }
    get auditTrail() {
        var _a;
        return ((_a = this._auditTrail) !== null && _a !== void 0 ? _a : (this._auditTrail = new Client_9.AuditTrail(this._options)));
    }
    get availableActions() {
        var _a;
        return ((_a = this._availableActions) !== null && _a !== void 0 ? _a : (this._availableActions = new Client_10.AvailableActions(this._options)));
    }
    get balanceSheets() {
        var _a;
        return ((_a = this._balanceSheets) !== null && _a !== void 0 ? _a : (this._balanceSheets = new Client_11.BalanceSheets(this._options)));
    }
    get bankFeedAccounts() {
        var _a;
        return ((_a = this._bankFeedAccounts) !== null && _a !== void 0 ? _a : (this._bankFeedAccounts = new Client_12.BankFeedAccounts(this._options)));
    }
    get bankFeedTransactions() {
        var _a;
        return ((_a = this._bankFeedTransactions) !== null && _a !== void 0 ? _a : (this._bankFeedTransactions = new Client_13.BankFeedTransactions(this._options)));
    }
    get cashFlowStatements() {
        var _a;
        return ((_a = this._cashFlowStatements) !== null && _a !== void 0 ? _a : (this._cashFlowStatements = new Client_14.CashFlowStatements(this._options)));
    }
    get companyInfo() {
        var _a;
        return ((_a = this._companyInfo) !== null && _a !== void 0 ? _a : (this._companyInfo = new Client_15.CompanyInfo(this._options)));
    }
    get contacts() {
        var _a;
        return ((_a = this._contacts) !== null && _a !== void 0 ? _a : (this._contacts = new Client_16.Contacts(this._options)));
    }
    get creditNotes() {
        var _a;
        return ((_a = this._creditNotes) !== null && _a !== void 0 ? _a : (this._creditNotes = new Client_17.CreditNotes(this._options)));
    }
    get scopes() {
        var _a;
        return ((_a = this._scopes) !== null && _a !== void 0 ? _a : (this._scopes = new Client_18.Scopes(this._options)));
    }
    get deleteAccount() {
        var _a;
        return ((_a = this._deleteAccount) !== null && _a !== void 0 ? _a : (this._deleteAccount = new Client_19.DeleteAccount(this._options)));
    }
    get employees() {
        var _a;
        return ((_a = this._employees) !== null && _a !== void 0 ? _a : (this._employees = new Client_20.Employees(this._options)));
    }
    get expenses() {
        var _a;
        return ((_a = this._expenses) !== null && _a !== void 0 ? _a : (this._expenses = new Client_21.Expenses(this._options)));
    }
    get fieldMapping() {
        var _a;
        return ((_a = this._fieldMapping) !== null && _a !== void 0 ? _a : (this._fieldMapping = new Client_22.FieldMapping(this._options)));
    }
    get generalLedgerTransactions() {
        var _a;
        return ((_a = this._generalLedgerTransactions) !== null && _a !== void 0 ? _a : (this._generalLedgerTransactions = new Client_23.GeneralLedgerTransactions(this._options)));
    }
    get generateKey() {
        var _a;
        return ((_a = this._generateKey) !== null && _a !== void 0 ? _a : (this._generateKey = new Client_24.GenerateKey(this._options)));
    }
    get incomeStatements() {
        var _a;
        return ((_a = this._incomeStatements) !== null && _a !== void 0 ? _a : (this._incomeStatements = new Client_25.IncomeStatements(this._options)));
    }
    get invoices() {
        var _a;
        return ((_a = this._invoices) !== null && _a !== void 0 ? _a : (this._invoices = new Client_26.Invoices(this._options)));
    }
    get issues() {
        var _a;
        return ((_a = this._issues) !== null && _a !== void 0 ? _a : (this._issues = new Client_27.Issues(this._options)));
    }
    get items() {
        var _a;
        return ((_a = this._items) !== null && _a !== void 0 ? _a : (this._items = new Client_28.Items(this._options)));
    }
    get journalEntries() {
        var _a;
        return ((_a = this._journalEntries) !== null && _a !== void 0 ? _a : (this._journalEntries = new Client_29.JournalEntries(this._options)));
    }
    get linkToken() {
        var _a;
        return ((_a = this._linkToken) !== null && _a !== void 0 ? _a : (this._linkToken = new Client_30.LinkToken(this._options)));
    }
    get linkedAccounts() {
        var _a;
        return ((_a = this._linkedAccounts) !== null && _a !== void 0 ? _a : (this._linkedAccounts = new Client_31.LinkedAccounts(this._options)));
    }
    get passthrough() {
        var _a;
        return ((_a = this._passthrough) !== null && _a !== void 0 ? _a : (this._passthrough = new Client_32.Passthrough(this._options)));
    }
    get paymentMethods() {
        var _a;
        return ((_a = this._paymentMethods) !== null && _a !== void 0 ? _a : (this._paymentMethods = new Client_33.PaymentMethods(this._options)));
    }
    get paymentTerms() {
        var _a;
        return ((_a = this._paymentTerms) !== null && _a !== void 0 ? _a : (this._paymentTerms = new Client_34.PaymentTerms(this._options)));
    }
    get payments() {
        var _a;
        return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_35.Payments(this._options)));
    }
    get phoneNumbers() {
        var _a;
        return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_36.PhoneNumbers(this._options)));
    }
    get purchaseOrders() {
        var _a;
        return ((_a = this._purchaseOrders) !== null && _a !== void 0 ? _a : (this._purchaseOrders = new Client_37.PurchaseOrders(this._options)));
    }
    get regenerateKey() {
        var _a;
        return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new Client_38.RegenerateKey(this._options)));
    }
    get syncStatus() {
        var _a;
        return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new Client_39.SyncStatus(this._options)));
    }
    get forceResync() {
        var _a;
        return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new Client_40.ForceResync(this._options)));
    }
    get taxRates() {
        var _a;
        return ((_a = this._taxRates) !== null && _a !== void 0 ? _a : (this._taxRates = new Client_41.TaxRates(this._options)));
    }
    get trackingCategories() {
        var _a;
        return ((_a = this._trackingCategories) !== null && _a !== void 0 ? _a : (this._trackingCategories = new Client_42.TrackingCategories(this._options)));
    }
    get transactions() {
        var _a;
        return ((_a = this._transactions) !== null && _a !== void 0 ? _a : (this._transactions = new Client_43.Transactions(this._options)));
    }
    get vendorCredits() {
        var _a;
        return ((_a = this._vendorCredits) !== null && _a !== void 0 ? _a : (this._vendorCredits = new Client_44.VendorCredits(this._options)));
    }
    get webhookReceivers() {
        var _a;
        return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new Client_45.WebhookReceivers(this._options)));
    }
}
exports.Accounting = Accounting;
