@mergeapi/merge-node-client 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/accounting/__package__.yml +1 -0
- package/.mock/definition/accounting/contacts.yml +1 -0
- package/.mock/definition/accounting/expenseReports.yml +2 -0
- package/.mock/definition/accounting/expenses.yml +2 -0
- package/.mock/definition/accounting/invoices.yml +2 -0
- package/.mock/definition/accounting/journalEntries.yml +2 -0
- package/.mock/definition/accounting/payments.yml +2 -0
- package/.mock/definition/accounting/purchaseOrders.yml +2 -0
- package/.mock/definition/crm/__package__.yml +1 -0
- package/.mock/definition/crm/accounts.yml +1 -0
- package/.mock/definition/crm/contacts.yml +1 -0
- package/.mock/definition/crm/customObjects.yml +1 -0
- package/.mock/definition/crm/engagementTypes.yml +1 -0
- package/.mock/definition/crm/engagements.yml +1 -0
- package/.mock/definition/crm/leads.yml +1 -0
- package/.mock/definition/crm/notes.yml +1 -0
- package/.mock/definition/crm/opportunities.yml +1 -0
- package/.mock/definition/crm/stages.yml +1 -0
- package/.mock/definition/crm/tasks.yml +1 -0
- package/.mock/definition/crm/users.yml +1 -0
- package/.mock/definition/ticketing/__package__.yml +1 -0
- package/.mock/definition/ticketing/tickets.yml +1 -0
- package/Client.d.ts +8 -6
- package/Client.js +19 -19
- package/api/resources/accounting/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/accounting/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/accountToken/client/Client.js +4 -7
- package/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/accountingPeriods/client/Client.js +7 -11
- package/api/resources/accounting/resources/accountingPeriods/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/accounts/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/accounts/client/Client.js +13 -16
- package/api/resources/accounting/resources/accounts/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/addresses/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/addresses/client/Client.js +4 -8
- package/api/resources/accounting/resources/addresses/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/accounting/resources/asyncTasks/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/asyncTasks/client/Client.js +4 -7
- package/api/resources/accounting/resources/attachments/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/attachments/client/Client.js +13 -16
- package/api/resources/accounting/resources/attachments/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/accounting/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/availableActions/client/Client.js +4 -7
- package/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +7 -11
- package/api/resources/accounting/resources/balanceSheets/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +13 -16
- package/api/resources/accounting/resources/bankFeedAccounts/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +13 -16
- package/api/resources/accounting/resources/bankFeedTransactions/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +7 -11
- package/api/resources/accounting/resources/cashFlowStatements/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/companyInfo/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/companyInfo/client/Client.js +7 -11
- package/api/resources/accounting/resources/companyInfo/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/contacts/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/contacts/client/Client.js +16 -19
- package/api/resources/accounting/resources/contacts/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/creditNotes/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/creditNotes/client/Client.js +13 -16
- package/api/resources/accounting/resources/creditNotes/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/accounting/resources/employees/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/employees/client/Client.js +7 -11
- package/api/resources/accounting/resources/employees/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/expenseReports/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/expenseReports/client/Client.js +22 -25
- package/api/resources/accounting/resources/expenseReports/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/expenses/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/expenses/client/Client.js +19 -22
- package/api/resources/accounting/resources/expenses/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/accounting/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/forceResync/client/Client.js +4 -7
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +7 -11
- package/api/resources/accounting/resources/generalLedgerTransactions/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/generateKey/client/Client.js +4 -7
- package/api/resources/accounting/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +7 -11
- package/api/resources/accounting/resources/incomeStatements/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/invoices/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/invoices/client/Client.js +25 -27
- package/api/resources/accounting/resources/invoices/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/issues/client/Client.js +7 -10
- package/api/resources/accounting/resources/issues/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/items/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/items/client/Client.js +19 -21
- package/api/resources/accounting/resources/items/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/journalEntries/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/journalEntries/client/Client.js +19 -22
- package/api/resources/accounting/resources/journalEntries/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/linkToken/client/Client.js +4 -7
- package/api/resources/accounting/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/accounting/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/passthrough/client/Client.js +4 -7
- package/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/paymentMethods/client/Client.js +7 -11
- package/api/resources/accounting/resources/paymentMethods/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/paymentTerms/client/Client.js +7 -11
- package/api/resources/accounting/resources/paymentTerms/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/payments/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/payments/client/Client.js +25 -27
- package/api/resources/accounting/resources/payments/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/phoneNumbers/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +4 -8
- package/api/resources/accounting/resources/phoneNumbers/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/projects/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/projects/client/Client.js +7 -11
- package/api/resources/accounting/resources/projects/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +19 -22
- package/api/resources/accounting/resources/purchaseOrders/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/accounting/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/scopes/client/Client.js +10 -11
- package/api/resources/accounting/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/accounting/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/taxRates/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/taxRates/client/Client.js +7 -11
- package/api/resources/accounting/resources/taxRates/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +7 -11
- package/api/resources/accounting/resources/trackingCategories/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/transactions/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/transactions/client/Client.js +7 -11
- package/api/resources/accounting/resources/transactions/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +13 -16
- package/api/resources/accounting/resources/vendorCredits/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/accounting/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/api/resources/ats/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/ats/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/accountToken/client/Client.js +4 -7
- package/api/resources/ats/resources/activities/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/activities/client/Client.js +13 -16
- package/api/resources/ats/resources/activities/client/index.d.ts +1 -0
- package/api/resources/ats/resources/applications/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/applications/client/Client.js +16 -20
- package/api/resources/ats/resources/applications/client/index.d.ts +1 -0
- package/api/resources/ats/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/ats/resources/attachments/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/attachments/client/Client.js +13 -16
- package/api/resources/ats/resources/attachments/client/index.d.ts +1 -0
- package/api/resources/ats/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/ats/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/ats/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/availableActions/client/Client.js +4 -7
- package/api/resources/ats/resources/candidates/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/candidates/client/Client.js +22 -23
- package/api/resources/ats/resources/candidates/client/index.d.ts +1 -0
- package/api/resources/ats/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/ats/resources/departments/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/departments/client/Client.js +7 -11
- package/api/resources/ats/resources/departments/client/index.d.ts +1 -0
- package/api/resources/ats/resources/eeocs/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/eeocs/client/Client.js +7 -11
- package/api/resources/ats/resources/eeocs/client/index.d.ts +1 -0
- package/api/resources/ats/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/ats/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/ats/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/forceResync/client/Client.js +4 -7
- package/api/resources/ats/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/generateKey/client/Client.js +4 -7
- package/api/resources/ats/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/ats/resources/interviews/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/interviews/client/Client.js +13 -16
- package/api/resources/ats/resources/interviews/client/index.d.ts +1 -0
- package/api/resources/ats/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/issues/client/Client.js +7 -10
- package/api/resources/ats/resources/issues/client/index.d.ts +1 -0
- package/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/jobInterviewStages/client/Client.js +7 -11
- package/api/resources/ats/resources/jobInterviewStages/client/index.d.ts +1 -0
- package/api/resources/ats/resources/jobPostings/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/jobPostings/client/Client.js +7 -11
- package/api/resources/ats/resources/jobPostings/client/index.d.ts +1 -0
- package/api/resources/ats/resources/jobs/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/jobs/client/Client.js +10 -14
- package/api/resources/ats/resources/jobs/client/index.d.ts +1 -0
- package/api/resources/ats/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/linkToken/client/Client.js +4 -7
- package/api/resources/ats/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/ats/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/ats/resources/offers/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/offers/client/Client.js +7 -11
- package/api/resources/ats/resources/offers/client/index.d.ts +1 -0
- package/api/resources/ats/resources/offices/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/offices/client/Client.js +7 -11
- package/api/resources/ats/resources/offices/client/index.d.ts +1 -0
- package/api/resources/ats/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/passthrough/client/Client.js +4 -7
- package/api/resources/ats/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/ats/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/ats/resources/rejectReasons/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/rejectReasons/client/Client.js +7 -11
- package/api/resources/ats/resources/rejectReasons/client/index.d.ts +1 -0
- package/api/resources/ats/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/scopes/client/Client.js +10 -11
- package/api/resources/ats/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/ats/resources/scorecards/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/scorecards/client/Client.js +7 -11
- package/api/resources/ats/resources/scorecards/client/index.d.ts +1 -0
- package/api/resources/ats/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/ats/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/ats/resources/tags/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/tags/client/Client.js +4 -8
- package/api/resources/ats/resources/tags/client/index.d.ts +1 -0
- package/api/resources/ats/resources/users/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/users/client/Client.js +7 -11
- package/api/resources/ats/resources/users/client/index.d.ts +1 -0
- package/api/resources/ats/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/ats/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/crm/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/crm/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/accountToken/client/Client.js +4 -7
- package/api/resources/crm/resources/accounts/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/accounts/client/Client.js +22 -24
- package/api/resources/crm/resources/accounts/client/index.d.ts +1 -0
- package/api/resources/crm/resources/associationTypes/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/associationTypes/client/Client.js +13 -16
- package/api/resources/crm/resources/associationTypes/client/index.d.ts +1 -0
- package/api/resources/crm/resources/associations/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/associations/client/Client.js +7 -11
- package/api/resources/crm/resources/associations/client/index.d.ts +1 -0
- package/api/resources/crm/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/crm/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/crm/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/crm/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/availableActions/client/Client.js +4 -7
- package/api/resources/crm/resources/contacts/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/contacts/client/Client.js +25 -26
- package/api/resources/crm/resources/contacts/client/index.d.ts +1 -0
- package/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +7 -11
- package/api/resources/crm/resources/customObjectClasses/client/index.d.ts +1 -0
- package/api/resources/crm/resources/customObjects/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/customObjects/client/Client.js +16 -19
- package/api/resources/crm/resources/customObjects/client/index.d.ts +1 -0
- package/api/resources/crm/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/crm/resources/engagementTypes/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/engagementTypes/client/Client.js +10 -14
- package/api/resources/crm/resources/engagementTypes/client/index.d.ts +1 -0
- package/api/resources/crm/resources/engagements/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/engagements/client/Client.js +22 -24
- package/api/resources/crm/resources/engagements/client/index.d.ts +1 -0
- package/api/resources/crm/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/crm/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/crm/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/forceResync/client/Client.js +4 -7
- package/api/resources/crm/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/generateKey/client/Client.js +4 -7
- package/api/resources/crm/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/crm/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/issues/client/Client.js +7 -10
- package/api/resources/crm/resources/issues/client/index.d.ts +1 -0
- package/api/resources/crm/resources/leads/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/leads/client/Client.js +16 -19
- package/api/resources/crm/resources/leads/client/index.d.ts +1 -0
- package/api/resources/crm/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/linkToken/client/Client.js +4 -7
- package/api/resources/crm/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/crm/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/crm/resources/notes/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/notes/client/Client.js +16 -19
- package/api/resources/crm/resources/notes/client/index.d.ts +1 -0
- package/api/resources/crm/resources/opportunities/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/opportunities/client/Client.js +22 -24
- package/api/resources/crm/resources/opportunities/client/index.d.ts +1 -0
- package/api/resources/crm/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/passthrough/client/Client.js +4 -7
- package/api/resources/crm/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/crm/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/crm/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/scopes/client/Client.js +10 -11
- package/api/resources/crm/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/crm/resources/stages/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/stages/client/Client.js +10 -14
- package/api/resources/crm/resources/stages/client/index.d.ts +1 -0
- package/api/resources/crm/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/crm/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/crm/resources/tasks/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/tasks/client/Client.js +22 -24
- package/api/resources/crm/resources/tasks/client/index.d.ts +1 -0
- package/api/resources/crm/resources/users/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/users/client/Client.js +13 -16
- package/api/resources/crm/resources/users/client/index.d.ts +1 -0
- package/api/resources/crm/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/crm/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/api/resources/filestorage/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/filestorage/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/accountToken/client/Client.js +4 -7
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/filestorage/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/availableActions/client/Client.js +4 -7
- package/api/resources/filestorage/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/filestorage/resources/drives/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/drives/client/Client.js +7 -11
- package/api/resources/filestorage/resources/drives/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/filestorage/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/files/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/files/client/Client.js +22 -25
- package/api/resources/filestorage/resources/files/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/folders/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/folders/client/Client.js +13 -16
- package/api/resources/filestorage/resources/folders/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/forceResync/client/Client.js +4 -7
- package/api/resources/filestorage/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/generateKey/client/Client.js +4 -7
- package/api/resources/filestorage/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/groups/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/groups/client/Client.js +7 -11
- package/api/resources/filestorage/resources/groups/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/issues/client/Client.js +7 -10
- package/api/resources/filestorage/resources/issues/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/linkToken/client/Client.js +4 -7
- package/api/resources/filestorage/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/filestorage/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/passthrough/client/Client.js +4 -7
- package/api/resources/filestorage/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/filestorage/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/scopes/client/Client.js +10 -11
- package/api/resources/filestorage/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/filestorage/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/users/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/users/client/Client.js +7 -11
- package/api/resources/filestorage/resources/users/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/filestorage/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/hris/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/hris/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/accountToken/client/Client.js +4 -7
- package/api/resources/hris/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/hris/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/hris/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/hris/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/availableActions/client/Client.js +4 -7
- package/api/resources/hris/resources/bankInfo/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/bankInfo/client/Client.js +7 -11
- package/api/resources/hris/resources/bankInfo/client/index.d.ts +1 -0
- package/api/resources/hris/resources/benefits/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/benefits/client/Client.js +7 -11
- package/api/resources/hris/resources/benefits/client/index.d.ts +1 -0
- package/api/resources/hris/resources/companies/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/companies/client/Client.js +7 -11
- package/api/resources/hris/resources/companies/client/index.d.ts +1 -0
- package/api/resources/hris/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/hris/resources/dependents/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/dependents/client/Client.js +7 -11
- package/api/resources/hris/resources/dependents/client/index.d.ts +1 -0
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +7 -11
- package/api/resources/hris/resources/employeePayrollRuns/client/index.d.ts +1 -0
- package/api/resources/hris/resources/employees/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/employees/client/Client.js +16 -18
- package/api/resources/hris/resources/employees/client/index.d.ts +1 -0
- package/api/resources/hris/resources/employerBenefits/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/employerBenefits/client/Client.js +7 -11
- package/api/resources/hris/resources/employerBenefits/client/index.d.ts +1 -0
- package/api/resources/hris/resources/employments/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/employments/client/Client.js +7 -11
- package/api/resources/hris/resources/employments/client/index.d.ts +1 -0
- package/api/resources/hris/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/hris/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/hris/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/forceResync/client/Client.js +4 -7
- package/api/resources/hris/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/generateKey/client/Client.js +4 -7
- package/api/resources/hris/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/hris/resources/groups/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/groups/client/Client.js +7 -11
- package/api/resources/hris/resources/groups/client/index.d.ts +1 -0
- package/api/resources/hris/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/issues/client/Client.js +7 -10
- package/api/resources/hris/resources/issues/client/index.d.ts +1 -0
- package/api/resources/hris/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/linkToken/client/Client.js +4 -7
- package/api/resources/hris/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/hris/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/hris/resources/locations/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/locations/client/Client.js +7 -11
- package/api/resources/hris/resources/locations/client/index.d.ts +1 -0
- package/api/resources/hris/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/passthrough/client/Client.js +4 -7
- package/api/resources/hris/resources/payGroups/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/payGroups/client/Client.js +7 -11
- package/api/resources/hris/resources/payGroups/client/index.d.ts +1 -0
- package/api/resources/hris/resources/payrollRuns/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/payrollRuns/client/Client.js +7 -11
- package/api/resources/hris/resources/payrollRuns/client/index.d.ts +1 -0
- package/api/resources/hris/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/hris/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/hris/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/scopes/client/Client.js +10 -11
- package/api/resources/hris/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/hris/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/hris/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/hris/resources/teams/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/teams/client/Client.js +7 -11
- package/api/resources/hris/resources/teams/client/index.d.ts +1 -0
- package/api/resources/hris/resources/timeOff/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/timeOff/client/Client.js +13 -16
- package/api/resources/hris/resources/timeOff/client/index.d.ts +1 -0
- package/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/timeOffBalances/client/Client.js +7 -11
- package/api/resources/hris/resources/timeOffBalances/client/index.d.ts +1 -0
- package/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/timesheetEntries/client/Client.js +13 -16
- package/api/resources/hris/resources/timesheetEntries/client/index.d.ts +1 -0
- package/api/resources/hris/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/hris/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/index.d.ts +2 -2
- package/api/resources/index.js +3 -3
- package/api/resources/ticketing/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/ticketing/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/accountToken/client/Client.js +4 -7
- package/api/resources/ticketing/resources/accounts/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/accounts/client/Client.js +7 -11
- package/api/resources/ticketing/resources/accounts/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/ticketing/resources/attachments/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/attachments/client/Client.js +16 -19
- package/api/resources/ticketing/resources/attachments/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/ticketing/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/availableActions/client/Client.js +4 -7
- package/api/resources/ticketing/resources/collections/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/collections/client/Client.js +10 -14
- package/api/resources/ticketing/resources/collections/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/comments/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/comments/client/Client.js +13 -16
- package/api/resources/ticketing/resources/comments/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/contacts/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/contacts/client/Client.js +13 -16
- package/api/resources/ticketing/resources/contacts/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/ticketing/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/ticketing/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/forceResync/client/Client.js +4 -7
- package/api/resources/ticketing/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/generateKey/client/Client.js +4 -7
- package/api/resources/ticketing/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/issues/client/Client.js +7 -10
- package/api/resources/ticketing/resources/issues/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/linkToken/client/Client.js +4 -7
- package/api/resources/ticketing/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/ticketing/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/passthrough/client/Client.js +4 -7
- package/api/resources/ticketing/resources/projects/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/projects/client/Client.js +10 -14
- package/api/resources/ticketing/resources/projects/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/ticketing/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/roles/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/roles/client/Client.js +7 -11
- package/api/resources/ticketing/resources/roles/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/scopes/client/Client.js +10 -11
- package/api/resources/ticketing/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/ticketing/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/tags/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/tags/client/Client.js +7 -11
- package/api/resources/ticketing/resources/tags/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/teams/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/teams/client/Client.js +7 -11
- package/api/resources/ticketing/resources/teams/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/tickets/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/tickets/client/Client.js +25 -28
- package/api/resources/ticketing/resources/tickets/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/users/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/users/client/Client.js +7 -11
- package/api/resources/ticketing/resources/users/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/ticketing/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/core/auth/BasicAuth.js +3 -3
- package/core/base64.d.ts +2 -0
- package/core/base64.js +26 -0
- package/core/fetcher/BinaryResponse.d.ts +20 -0
- package/core/fetcher/BinaryResponse.js +17 -0
- package/core/fetcher/Fetcher.d.ts +2 -2
- package/core/fetcher/Fetcher.js +3 -3
- package/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/core/fetcher/ResponseWithBody.js +6 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +3 -7
- package/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/core/fetcher/getErrorResponseBody.js +44 -0
- package/core/fetcher/getFetchFn.js +3 -3
- package/core/fetcher/getResponseBody.js +34 -32
- package/core/fetcher/index.d.ts +1 -0
- package/core/headers.d.ts +1 -1
- package/core/index.d.ts +2 -0
- package/core/index.js +3 -1
- package/core/runtime/runtime.js +0 -1
- package/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/core/url/index.d.ts +2 -0
- package/core/url/index.js +7 -0
- package/core/url/join.d.ts +1 -0
- package/core/url/join.js +69 -0
- package/core/url/qs.d.ts +6 -0
- package/core/url/qs.js +64 -0
- package/dist/Client.d.ts +8 -6
- package/dist/Client.js +19 -19
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/accountingPeriods/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/accounts/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/accounts/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/addresses/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/addresses/client/Client.js +4 -8
- package/dist/api/resources/accounting/resources/addresses/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/accounting/resources/asyncTasks/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/asyncTasks/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/attachments/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/attachments/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/accounting/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/balanceSheets/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/companyInfo/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/contacts/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +16 -19
- package/dist/api/resources/accounting/resources/contacts/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/creditNotes/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/employees/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/employees/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/employees/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/Client.js +22 -25
- package/dist/api/resources/accounting/resources/expenseReports/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/expenses/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +19 -22
- package/dist/api/resources/accounting/resources/expenses/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/accounting/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/incomeStatements/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/invoices/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +25 -27
- package/dist/api/resources/accounting/resources/invoices/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/accounting/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/items/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/items/client/Client.js +19 -21
- package/dist/api/resources/accounting/resources/items/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +19 -22
- package/dist/api/resources/accounting/resources/journalEntries/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/accounting/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/paymentMethods/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/paymentTerms/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/payments/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/payments/client/Client.js +25 -27
- package/dist/api/resources/accounting/resources/payments/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +4 -8
- package/dist/api/resources/accounting/resources/phoneNumbers/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/projects/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/projects/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/projects/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +19 -22
- package/dist/api/resources/accounting/resources/purchaseOrders/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/accounting/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/accounting/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/taxRates/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/taxRates/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/trackingCategories/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/transactions/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/transactions/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/vendorCredits/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/accounting/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/activities/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/activities/client/Client.js +13 -16
- package/dist/api/resources/ats/resources/activities/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/applications/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/applications/client/Client.js +16 -20
- package/dist/api/resources/ats/resources/applications/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/ats/resources/attachments/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/attachments/client/Client.js +13 -16
- package/dist/api/resources/ats/resources/attachments/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/ats/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/candidates/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/candidates/client/Client.js +22 -23
- package/dist/api/resources/ats/resources/candidates/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/departments/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/departments/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/departments/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/eeocs/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/eeocs/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/eeocs/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/ats/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/interviews/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/interviews/client/Client.js +13 -16
- package/dist/api/resources/ats/resources/interviews/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/ats/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/jobInterviewStages/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/jobPostings/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/jobPostings/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/jobPostings/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/jobs/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/jobs/client/Client.js +10 -14
- package/dist/api/resources/ats/resources/jobs/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/ats/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/offers/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/offers/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/offers/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/offices/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/offices/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/offices/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/rejectReasons/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/ats/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/scorecards/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/scorecards/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/ats/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/tags/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/tags/client/Client.js +4 -8
- package/dist/api/resources/ats/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/users/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/users/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/ats/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/accounts/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/accounts/client/Client.js +22 -24
- package/dist/api/resources/crm/resources/accounts/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/associationTypes/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +13 -16
- package/dist/api/resources/crm/resources/associationTypes/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/associations/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/associations/client/Client.js +7 -11
- package/dist/api/resources/crm/resources/associations/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/crm/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/crm/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/contacts/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/contacts/client/Client.js +25 -26
- package/dist/api/resources/crm/resources/contacts/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +7 -11
- package/dist/api/resources/crm/resources/customObjectClasses/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/customObjects/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +16 -19
- package/dist/api/resources/crm/resources/customObjects/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +10 -14
- package/dist/api/resources/crm/resources/engagementTypes/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/engagements/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/engagements/client/Client.js +22 -24
- package/dist/api/resources/crm/resources/engagements/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/crm/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/crm/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/leads/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/leads/client/Client.js +16 -19
- package/dist/api/resources/crm/resources/leads/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/crm/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/notes/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/notes/client/Client.js +16 -19
- package/dist/api/resources/crm/resources/notes/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/opportunities/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +22 -24
- package/dist/api/resources/crm/resources/opportunities/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/crm/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/stages/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/stages/client/Client.js +10 -14
- package/dist/api/resources/crm/resources/stages/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/crm/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/tasks/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/tasks/client/Client.js +22 -24
- package/dist/api/resources/crm/resources/tasks/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/users/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/users/client/Client.js +13 -16
- package/dist/api/resources/crm/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/crm/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/filestorage/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/drives/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/drives/client/Client.js +7 -11
- package/dist/api/resources/filestorage/resources/drives/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/filestorage/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/files/client/Client.js +22 -25
- package/dist/api/resources/filestorage/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/folders/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +13 -16
- package/dist/api/resources/filestorage/resources/folders/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/groups/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +7 -11
- package/dist/api/resources/filestorage/resources/groups/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/filestorage/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/filestorage/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/filestorage/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/users/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/users/client/Client.js +7 -11
- package/dist/api/resources/filestorage/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/hris/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/hris/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/bankInfo/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/bankInfo/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/bankInfo/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/benefits/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/benefits/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/benefits/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/companies/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/companies/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/companies/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/dependents/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/dependents/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/dependents/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/employees/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/employees/client/Client.js +16 -18
- package/dist/api/resources/hris/resources/employees/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/employerBenefits/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/employments/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/employments/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/employments/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/hris/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/groups/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/groups/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/groups/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/hris/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/hris/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/locations/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/locations/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/locations/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/payGroups/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/payGroups/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/payrollRuns/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/hris/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/hris/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/teams/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/teams/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/teams/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/timeOff/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/timeOff/client/Client.js +13 -16
- package/dist/api/resources/hris/resources/timeOff/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/timeOffBalances/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +13 -16
- package/dist/api/resources/hris/resources/timesheetEntries/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/hris/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +2 -2
- package/dist/api/resources/index.js +3 -3
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/accounts/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +7 -11
- package/dist/api/resources/ticketing/resources/accounts/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/ticketing/resources/attachments/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +16 -19
- package/dist/api/resources/ticketing/resources/attachments/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/ticketing/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +10 -14
- package/dist/api/resources/ticketing/resources/collections/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/comments/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +13 -16
- package/dist/api/resources/ticketing/resources/comments/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/contacts/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +13 -16
- package/dist/api/resources/ticketing/resources/contacts/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/ticketing/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/ticketing/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/projects/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +10 -14
- package/dist/api/resources/ticketing/resources/projects/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/roles/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/roles/client/Client.js +7 -11
- package/dist/api/resources/ticketing/resources/roles/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/ticketing/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/ticketing/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/tags/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +7 -11
- package/dist/api/resources/ticketing/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/teams/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +7 -11
- package/dist/api/resources/ticketing/resources/teams/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/tickets/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +25 -28
- package/dist/api/resources/ticketing/resources/tickets/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/users/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/users/client/Client.js +7 -11
- package/dist/api/resources/ticketing/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/dist/core/auth/BasicAuth.js +3 -3
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/base64.js +26 -0
- package/dist/core/fetcher/BinaryResponse.d.ts +20 -0
- package/dist/core/fetcher/BinaryResponse.js +17 -0
- package/dist/core/fetcher/Fetcher.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.js +3 -3
- package/dist/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +3 -7
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +44 -0
- package/dist/core/fetcher/getFetchFn.js +3 -3
- package/dist/core/fetcher/getResponseBody.js +34 -32
- package/dist/core/fetcher/index.d.ts +1 -0
- package/dist/core/headers.d.ts +1 -1
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +3 -1
- package/dist/core/runtime/runtime.js +0 -1
- package/dist/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/dist/core/url/index.d.ts +2 -0
- package/dist/core/url/index.js +7 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +69 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/core/url/qs.js +64 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/serialization/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldClass.js +1 -0
- package/dist/serialization/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/dist/serialization/resources/crm/types/RemoteFieldClass.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -2
- package/dist/serialization/resources/index.js +3 -3
- package/dist/serialization/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/dist/serialization/resources/ticketing/types/RemoteFieldClass.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/index.d.ts +2 -2
- package/index.js +5 -5
- package/jest.config.mjs +37 -4
- package/package.json +15 -14
- package/reference.md +3137 -3137
- package/serialization/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/serialization/resources/accounting/types/RemoteFieldClass.js +1 -0
- package/serialization/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/serialization/resources/crm/types/RemoteFieldClass.js +1 -0
- package/serialization/resources/index.d.ts +2 -2
- package/serialization/resources/index.js +3 -3
- package/serialization/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/serialization/resources/ticketing/types/RemoteFieldClass.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -55,15 +55,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
55
55
|
}
|
|
56
56
|
return t;
|
|
57
57
|
};
|
|
58
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
59
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
60
|
-
};
|
|
61
58
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62
59
|
exports.BankFeedAccounts = void 0;
|
|
63
60
|
const environments = __importStar(require("../../../../../../environments"));
|
|
64
61
|
const core = __importStar(require("../../../../../../core"));
|
|
65
|
-
const
|
|
66
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
62
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
67
63
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
68
64
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
69
65
|
class BankFeedAccounts {
|
|
@@ -103,13 +99,13 @@ class BankFeedAccounts {
|
|
|
103
99
|
_queryParams["page_size"] = pageSize.toString();
|
|
104
100
|
}
|
|
105
101
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
106
|
-
url:
|
|
102
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/bank-feed-accounts"),
|
|
107
103
|
method: "GET",
|
|
108
|
-
headers: (0,
|
|
104
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
109
105
|
Authorization: yield this._getAuthorizationHeader(),
|
|
110
106
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
111
107
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
112
|
-
queryParameters: _queryParams,
|
|
108
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
113
109
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
114
110
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
115
111
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -176,14 +172,14 @@ class BankFeedAccounts {
|
|
|
176
172
|
_queryParams["run_async"] = runAsync.toString();
|
|
177
173
|
}
|
|
178
174
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
179
|
-
url:
|
|
175
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/bank-feed-accounts"),
|
|
180
176
|
method: "POST",
|
|
181
|
-
headers: (0,
|
|
177
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
182
178
|
Authorization: yield this._getAuthorizationHeader(),
|
|
183
179
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
184
180
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
185
181
|
contentType: "application/json",
|
|
186
|
-
queryParameters: _queryParams,
|
|
182
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
187
183
|
requestType: "json",
|
|
188
184
|
body: serializers.accounting.BankFeedAccountEndpointRequest.jsonOrThrow(_body, {
|
|
189
185
|
unrecognizedObjectKeys: "strip",
|
|
@@ -253,13 +249,13 @@ class BankFeedAccounts {
|
|
|
253
249
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
254
250
|
}
|
|
255
251
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
256
|
-
url:
|
|
252
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/bank-feed-accounts/${encodeURIComponent(id)}`),
|
|
257
253
|
method: "GET",
|
|
258
|
-
headers: (0,
|
|
254
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
259
255
|
Authorization: yield this._getAuthorizationHeader(),
|
|
260
256
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
261
257
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
262
|
-
queryParameters: _queryParams,
|
|
258
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
263
259
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
264
260
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
265
261
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -315,12 +311,13 @@ class BankFeedAccounts {
|
|
|
315
311
|
return __awaiter(this, void 0, void 0, function* () {
|
|
316
312
|
var _a, _b, _c, _d;
|
|
317
313
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
318
|
-
url:
|
|
314
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/bank-feed-accounts/meta/post"),
|
|
319
315
|
method: "GET",
|
|
320
|
-
headers: (0,
|
|
316
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
321
317
|
Authorization: yield this._getAuthorizationHeader(),
|
|
322
318
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
323
319
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
320
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
324
321
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
325
322
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
326
323
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace BankFeedTransactions {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -55,15 +55,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
55
55
|
}
|
|
56
56
|
return t;
|
|
57
57
|
};
|
|
58
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
59
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
60
|
-
};
|
|
61
58
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62
59
|
exports.BankFeedTransactions = void 0;
|
|
63
60
|
const environments = __importStar(require("../../../../../../environments"));
|
|
64
61
|
const core = __importStar(require("../../../../../../core"));
|
|
65
|
-
const
|
|
66
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
62
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
67
63
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
68
64
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
69
65
|
class BankFeedTransactions {
|
|
@@ -124,13 +120,13 @@ class BankFeedTransactions {
|
|
|
124
120
|
_queryParams["remote_id"] = remoteId;
|
|
125
121
|
}
|
|
126
122
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
127
|
-
url:
|
|
123
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/bank-feed-transactions"),
|
|
128
124
|
method: "GET",
|
|
129
|
-
headers: (0,
|
|
125
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
130
126
|
Authorization: yield this._getAuthorizationHeader(),
|
|
131
127
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
132
128
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
133
|
-
queryParameters: _queryParams,
|
|
129
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
134
130
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
135
131
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
136
132
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -197,14 +193,14 @@ class BankFeedTransactions {
|
|
|
197
193
|
_queryParams["run_async"] = runAsync.toString();
|
|
198
194
|
}
|
|
199
195
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
200
|
-
url:
|
|
196
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/bank-feed-transactions"),
|
|
201
197
|
method: "POST",
|
|
202
|
-
headers: (0,
|
|
198
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
203
199
|
Authorization: yield this._getAuthorizationHeader(),
|
|
204
200
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
205
201
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
206
202
|
contentType: "application/json",
|
|
207
|
-
queryParameters: _queryParams,
|
|
203
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
208
204
|
requestType: "json",
|
|
209
205
|
body: serializers.accounting.BankFeedTransactionEndpointRequest.jsonOrThrow(_body, {
|
|
210
206
|
unrecognizedObjectKeys: "strip",
|
|
@@ -277,13 +273,13 @@ class BankFeedTransactions {
|
|
|
277
273
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
278
274
|
}
|
|
279
275
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
280
|
-
url:
|
|
276
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/bank-feed-transactions/${encodeURIComponent(id)}`),
|
|
281
277
|
method: "GET",
|
|
282
|
-
headers: (0,
|
|
278
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
283
279
|
Authorization: yield this._getAuthorizationHeader(),
|
|
284
280
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
285
281
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
286
|
-
queryParameters: _queryParams,
|
|
282
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
287
283
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
288
284
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
289
285
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -339,12 +335,13 @@ class BankFeedTransactions {
|
|
|
339
335
|
return __awaiter(this, void 0, void 0, function* () {
|
|
340
336
|
var _a, _b, _c, _d;
|
|
341
337
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
342
|
-
url:
|
|
338
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/bank-feed-transactions/meta/post"),
|
|
343
339
|
method: "GET",
|
|
344
|
-
headers: (0,
|
|
340
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
345
341
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
342
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
347
343
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
344
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
348
345
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
349
346
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
350
347
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace CashFlowStatements {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -44,15 +44,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
-
};
|
|
50
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
48
|
exports.CashFlowStatements = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
-
const
|
|
55
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
51
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
56
52
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
57
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
54
|
class CashFlowStatements {
|
|
@@ -113,13 +109,13 @@ class CashFlowStatements {
|
|
|
113
109
|
_queryParams["remote_id"] = remoteId;
|
|
114
110
|
}
|
|
115
111
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
116
|
-
url:
|
|
112
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/cash-flow-statements"),
|
|
117
113
|
method: "GET",
|
|
118
|
-
headers: (0,
|
|
114
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
119
115
|
Authorization: yield this._getAuthorizationHeader(),
|
|
120
116
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
121
117
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
122
|
-
queryParameters: _queryParams,
|
|
118
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
123
119
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
124
120
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
125
121
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -188,13 +184,13 @@ class CashFlowStatements {
|
|
|
188
184
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
189
185
|
}
|
|
190
186
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
191
|
-
url:
|
|
187
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/cash-flow-statements/${encodeURIComponent(id)}`),
|
|
192
188
|
method: "GET",
|
|
193
|
-
headers: (0,
|
|
189
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
194
190
|
Authorization: yield this._getAuthorizationHeader(),
|
|
195
191
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
196
192
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
197
|
-
queryParameters: _queryParams,
|
|
193
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
198
194
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
199
195
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
200
196
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace CompanyInfo {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -44,16 +44,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
-
};
|
|
50
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
48
|
exports.CompanyInfo = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
51
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
55
|
-
const
|
|
56
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
52
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
57
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
54
|
class CompanyInfo {
|
|
59
55
|
constructor(_options) {
|
|
@@ -112,13 +108,13 @@ class CompanyInfo {
|
|
|
112
108
|
_queryParams["remote_id"] = remoteId;
|
|
113
109
|
}
|
|
114
110
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
115
|
-
url:
|
|
111
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/company-info"),
|
|
116
112
|
method: "GET",
|
|
117
|
-
headers: (0,
|
|
113
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
118
114
|
Authorization: yield this._getAuthorizationHeader(),
|
|
119
115
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
120
116
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
121
|
-
queryParameters: _queryParams,
|
|
117
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
122
118
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
123
119
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
124
120
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -189,13 +185,13 @@ class CompanyInfo {
|
|
|
189
185
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
190
186
|
}
|
|
191
187
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
192
|
-
url:
|
|
188
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/company-info/${encodeURIComponent(id)}`),
|
|
193
189
|
method: "GET",
|
|
194
|
-
headers: (0,
|
|
190
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
195
191
|
Authorization: yield this._getAuthorizationHeader(),
|
|
196
192
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
197
193
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
198
|
-
queryParameters: _queryParams,
|
|
194
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
199
195
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
200
196
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
201
197
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace Contacts {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -55,16 +55,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
55
55
|
}
|
|
56
56
|
return t;
|
|
57
57
|
};
|
|
58
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
59
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
60
|
-
};
|
|
61
58
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62
59
|
exports.Contacts = void 0;
|
|
63
60
|
const environments = __importStar(require("../../../../../../environments"));
|
|
64
61
|
const core = __importStar(require("../../../../../../core"));
|
|
65
62
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
66
|
-
const
|
|
67
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
63
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
68
64
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
69
65
|
class Contacts {
|
|
70
66
|
constructor(_options) {
|
|
@@ -150,13 +146,13 @@ class Contacts {
|
|
|
150
146
|
_queryParams["status"] = status;
|
|
151
147
|
}
|
|
152
148
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
153
|
-
url:
|
|
149
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/contacts"),
|
|
154
150
|
method: "GET",
|
|
155
|
-
headers: (0,
|
|
151
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
156
152
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
153
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
158
154
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
159
|
-
queryParameters: _queryParams,
|
|
155
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
160
156
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
161
157
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
162
158
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -223,14 +219,14 @@ class Contacts {
|
|
|
223
219
|
_queryParams["run_async"] = runAsync.toString();
|
|
224
220
|
}
|
|
225
221
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
226
|
-
url:
|
|
222
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/contacts"),
|
|
227
223
|
method: "POST",
|
|
228
|
-
headers: (0,
|
|
224
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
229
225
|
Authorization: yield this._getAuthorizationHeader(),
|
|
230
226
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
231
227
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
232
228
|
contentType: "application/json",
|
|
233
|
-
queryParameters: _queryParams,
|
|
229
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
234
230
|
requestType: "json",
|
|
235
231
|
body: serializers.accounting.ContactEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
236
232
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -312,13 +308,13 @@ class Contacts {
|
|
|
312
308
|
_queryParams["show_enum_origins"] = showEnumOrigins;
|
|
313
309
|
}
|
|
314
310
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
315
|
-
url:
|
|
311
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/contacts/${encodeURIComponent(id)}`),
|
|
316
312
|
method: "GET",
|
|
317
|
-
headers: (0,
|
|
313
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
318
314
|
Authorization: yield this._getAuthorizationHeader(),
|
|
319
315
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
320
316
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
321
|
-
queryParameters: _queryParams,
|
|
317
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
322
318
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
323
319
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
324
320
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -374,12 +370,13 @@ class Contacts {
|
|
|
374
370
|
return __awaiter(this, void 0, void 0, function* () {
|
|
375
371
|
var _a, _b, _c, _d;
|
|
376
372
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
377
|
-
url:
|
|
373
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/contacts/meta/post"),
|
|
378
374
|
method: "GET",
|
|
379
|
-
headers: (0,
|
|
375
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
380
376
|
Authorization: yield this._getAuthorizationHeader(),
|
|
381
377
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
382
378
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
379
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
383
380
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
384
381
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
385
382
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -459,13 +456,13 @@ class Contacts {
|
|
|
459
456
|
_queryParams["page_size"] = pageSize.toString();
|
|
460
457
|
}
|
|
461
458
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
462
|
-
url:
|
|
459
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/contacts/remote-field-classes"),
|
|
463
460
|
method: "GET",
|
|
464
|
-
headers: (0,
|
|
461
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
465
462
|
Authorization: yield this._getAuthorizationHeader(),
|
|
466
463
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
467
464
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
468
|
-
queryParameters: _queryParams,
|
|
465
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
469
466
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
470
467
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
471
468
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace CreditNotes {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -55,16 +55,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
55
55
|
}
|
|
56
56
|
return t;
|
|
57
57
|
};
|
|
58
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
59
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
60
|
-
};
|
|
61
58
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62
59
|
exports.CreditNotes = void 0;
|
|
63
60
|
const environments = __importStar(require("../../../../../../environments"));
|
|
64
61
|
const core = __importStar(require("../../../../../../core"));
|
|
65
62
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
66
|
-
const
|
|
67
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
63
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
68
64
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
69
65
|
class CreditNotes {
|
|
70
66
|
constructor(_options) {
|
|
@@ -141,13 +137,13 @@ class CreditNotes {
|
|
|
141
137
|
_queryParams["transaction_date_before"] = transactionDateBefore.toISOString();
|
|
142
138
|
}
|
|
143
139
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
144
|
-
url:
|
|
140
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/credit-notes"),
|
|
145
141
|
method: "GET",
|
|
146
|
-
headers: (0,
|
|
142
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
147
143
|
Authorization: yield this._getAuthorizationHeader(),
|
|
148
144
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
149
145
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
150
|
-
queryParameters: _queryParams,
|
|
146
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
151
147
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
152
148
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
153
149
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -214,14 +210,14 @@ class CreditNotes {
|
|
|
214
210
|
_queryParams["run_async"] = runAsync.toString();
|
|
215
211
|
}
|
|
216
212
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
217
|
-
url:
|
|
213
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/credit-notes"),
|
|
218
214
|
method: "POST",
|
|
219
|
-
headers: (0,
|
|
215
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
220
216
|
Authorization: yield this._getAuthorizationHeader(),
|
|
221
217
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
222
218
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
223
219
|
contentType: "application/json",
|
|
224
|
-
queryParameters: _queryParams,
|
|
220
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
225
221
|
requestType: "json",
|
|
226
222
|
body: serializers.accounting.CreditNoteEndpointRequest.jsonOrThrow(_body, {
|
|
227
223
|
unrecognizedObjectKeys: "strip",
|
|
@@ -305,13 +301,13 @@ class CreditNotes {
|
|
|
305
301
|
});
|
|
306
302
|
}
|
|
307
303
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
308
|
-
url:
|
|
304
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/credit-notes/${encodeURIComponent(id)}`),
|
|
309
305
|
method: "GET",
|
|
310
|
-
headers: (0,
|
|
306
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
311
307
|
Authorization: yield this._getAuthorizationHeader(),
|
|
312
308
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
313
309
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
314
|
-
queryParameters: _queryParams,
|
|
310
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
315
311
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
316
312
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
317
313
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -367,12 +363,13 @@ class CreditNotes {
|
|
|
367
363
|
return __awaiter(this, void 0, void 0, function* () {
|
|
368
364
|
var _a, _b, _c, _d;
|
|
369
365
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
370
|
-
url:
|
|
366
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/credit-notes/meta/post"),
|
|
371
367
|
method: "GET",
|
|
372
|
-
headers: (0,
|
|
368
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
373
369
|
Authorization: yield this._getAuthorizationHeader(),
|
|
374
370
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
375
371
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
372
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
376
373
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
377
374
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
378
375
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -24,6 +24,8 @@ export declare namespace DeleteAccount {
|
|
|
24
24
|
abortSignal?: AbortSignal;
|
|
25
25
|
/** Override the X-Account-Token header */
|
|
26
26
|
accountToken?: string | undefined;
|
|
27
|
+
/** Additional query string parameters to include in the request. */
|
|
28
|
+
queryParams?: Record<string, unknown>;
|
|
27
29
|
/** Additional headers to include in the request. */
|
|
28
30
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
29
31
|
}
|