@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
package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export declare namespace GeneralLedgerTransactions {
|
|
|
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.GeneralLedgerTransactions = 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 GeneralLedgerTransactions {
|
|
59
55
|
constructor(_options) {
|
|
@@ -119,13 +115,13 @@ class GeneralLedgerTransactions {
|
|
|
119
115
|
_queryParams["remote_id"] = remoteId;
|
|
120
116
|
}
|
|
121
117
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
122
|
-
url:
|
|
118
|
+
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/general-ledger-transactions"),
|
|
123
119
|
method: "GET",
|
|
124
|
-
headers: (0,
|
|
120
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
125
121
|
Authorization: yield this._getAuthorizationHeader(),
|
|
126
122
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
127
123
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
128
|
-
queryParameters: _queryParams,
|
|
124
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
129
125
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
130
126
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
131
127
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -194,13 +190,13 @@ class GeneralLedgerTransactions {
|
|
|
194
190
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
195
191
|
}
|
|
196
192
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
197
|
-
url:
|
|
193
|
+
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/general-ledger-transactions/${encodeURIComponent(id)}`),
|
|
198
194
|
method: "GET",
|
|
199
|
-
headers: (0,
|
|
195
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
200
196
|
Authorization: yield this._getAuthorizationHeader(),
|
|
201
197
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
202
198
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
203
|
-
queryParameters: _queryParams,
|
|
199
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
204
200
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
205
201
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
206
202
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace GenerateKey {
|
|
|
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.GenerateKey = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
-
const
|
|
51
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
55
52
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
56
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
57
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
54
|
class GenerateKey {
|
|
59
55
|
constructor(_options) {
|
|
@@ -77,13 +73,14 @@ class GenerateKey {
|
|
|
77
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
78
74
|
var _a, _b, _c, _d;
|
|
79
75
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
80
|
-
url:
|
|
76
|
+
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/generate-key"),
|
|
81
77
|
method: "POST",
|
|
82
|
-
headers: (0,
|
|
78
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
83
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
84
80
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
85
81
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
82
|
contentType: "application/json",
|
|
83
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
87
84
|
requestType: "json",
|
|
88
85
|
body: serializers.accounting.GenerateRemoteKeyRequest.jsonOrThrow(request, {
|
|
89
86
|
unrecognizedObjectKeys: "strip",
|
|
@@ -25,6 +25,8 @@ export declare namespace IncomeStatements {
|
|
|
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.IncomeStatements = 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 IncomeStatements {
|
|
@@ -113,13 +109,13 @@ class IncomeStatements {
|
|
|
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/income-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 IncomeStatements {
|
|
|
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/income-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 Invoices {
|
|
|
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.Invoices = 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 Invoices {
|
|
70
66
|
constructor(_options) {
|
|
@@ -157,13 +153,13 @@ class Invoices {
|
|
|
157
153
|
});
|
|
158
154
|
}
|
|
159
155
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
160
|
-
url:
|
|
156
|
+
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/invoices"),
|
|
161
157
|
method: "GET",
|
|
162
|
-
headers: (0,
|
|
158
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
163
159
|
Authorization: yield this._getAuthorizationHeader(),
|
|
164
160
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
165
161
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
166
|
-
queryParameters: _queryParams,
|
|
162
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
167
163
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
168
164
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
169
165
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -232,14 +228,14 @@ class Invoices {
|
|
|
232
228
|
_queryParams["run_async"] = runAsync.toString();
|
|
233
229
|
}
|
|
234
230
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
235
|
-
url:
|
|
231
|
+
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/invoices"),
|
|
236
232
|
method: "POST",
|
|
237
|
-
headers: (0,
|
|
233
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
238
234
|
Authorization: yield this._getAuthorizationHeader(),
|
|
239
235
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
240
236
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
241
237
|
contentType: "application/json",
|
|
242
|
-
queryParameters: _queryParams,
|
|
238
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
243
239
|
requestType: "json",
|
|
244
240
|
body: serializers.accounting.InvoiceEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
245
241
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -321,13 +317,13 @@ class Invoices {
|
|
|
321
317
|
_queryParams["show_enum_origins"] = showEnumOrigins;
|
|
322
318
|
}
|
|
323
319
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
324
|
-
url:
|
|
320
|
+
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/invoices/${encodeURIComponent(id)}`),
|
|
325
321
|
method: "GET",
|
|
326
|
-
headers: (0,
|
|
322
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
327
323
|
Authorization: yield this._getAuthorizationHeader(),
|
|
328
324
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
329
325
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
330
|
-
queryParameters: _queryParams,
|
|
326
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
331
327
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
332
328
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
333
329
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -395,14 +391,14 @@ class Invoices {
|
|
|
395
391
|
_queryParams["run_async"] = runAsync.toString();
|
|
396
392
|
}
|
|
397
393
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
398
|
-
url:
|
|
394
|
+
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/invoices/${encodeURIComponent(id)}`),
|
|
399
395
|
method: "PATCH",
|
|
400
|
-
headers: (0,
|
|
396
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
401
397
|
Authorization: yield this._getAuthorizationHeader(),
|
|
402
398
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
403
399
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
404
400
|
contentType: "application/json",
|
|
405
|
-
queryParameters: _queryParams,
|
|
401
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
406
402
|
requestType: "json",
|
|
407
403
|
body: serializers.accounting.PatchedInvoiceEndpointRequest.jsonOrThrow(_body, {
|
|
408
404
|
unrecognizedObjectKeys: "strip",
|
|
@@ -486,13 +482,13 @@ class Invoices {
|
|
|
486
482
|
_queryParams["page_size"] = pageSize.toString();
|
|
487
483
|
}
|
|
488
484
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
489
|
-
url:
|
|
485
|
+
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/invoices/line-items/remote-field-classes"),
|
|
490
486
|
method: "GET",
|
|
491
|
-
headers: (0,
|
|
487
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
492
488
|
Authorization: yield this._getAuthorizationHeader(),
|
|
493
489
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
494
490
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
495
|
-
queryParameters: _queryParams,
|
|
491
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
496
492
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
497
493
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
498
494
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -549,12 +545,13 @@ class Invoices {
|
|
|
549
545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
550
546
|
var _a, _b, _c, _d;
|
|
551
547
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
552
|
-
url:
|
|
548
|
+
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/invoices/meta/patch/${encodeURIComponent(id)}`),
|
|
553
549
|
method: "GET",
|
|
554
|
-
headers: (0,
|
|
550
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
555
551
|
Authorization: yield this._getAuthorizationHeader(),
|
|
556
552
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
557
553
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
554
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
558
555
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
559
556
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
560
557
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -610,12 +607,13 @@ class Invoices {
|
|
|
610
607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
611
608
|
var _a, _b, _c, _d;
|
|
612
609
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
613
|
-
url:
|
|
610
|
+
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/invoices/meta/post"),
|
|
614
611
|
method: "GET",
|
|
615
|
-
headers: (0,
|
|
612
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
616
613
|
Authorization: yield this._getAuthorizationHeader(),
|
|
617
614
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
618
615
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
616
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
619
617
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
620
618
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
621
619
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -695,13 +693,13 @@ class Invoices {
|
|
|
695
693
|
_queryParams["page_size"] = pageSize.toString();
|
|
696
694
|
}
|
|
697
695
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
698
|
-
url:
|
|
696
|
+
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/invoices/remote-field-classes"),
|
|
699
697
|
method: "GET",
|
|
700
|
-
headers: (0,
|
|
698
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
701
699
|
Authorization: yield this._getAuthorizationHeader(),
|
|
702
700
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
703
701
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
704
|
-
queryParameters: _queryParams,
|
|
702
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
705
703
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
706
704
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
707
705
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace Issues {
|
|
|
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.Issues = 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 Issues {
|
|
59
55
|
constructor(_options) {
|
|
@@ -121,13 +117,13 @@ class Issues {
|
|
|
121
117
|
});
|
|
122
118
|
}
|
|
123
119
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
124
|
-
url:
|
|
120
|
+
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/issues"),
|
|
125
121
|
method: "GET",
|
|
126
|
-
headers: (0,
|
|
122
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
127
123
|
Authorization: yield this._getAuthorizationHeader(),
|
|
128
124
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
129
125
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
130
|
-
queryParameters: _queryParams,
|
|
126
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
131
127
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
132
128
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
133
129
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -184,12 +180,13 @@ class Issues {
|
|
|
184
180
|
return __awaiter(this, void 0, void 0, function* () {
|
|
185
181
|
var _a, _b, _c, _d;
|
|
186
182
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
187
|
-
url:
|
|
183
|
+
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/issues/${encodeURIComponent(id)}`),
|
|
188
184
|
method: "GET",
|
|
189
|
-
headers: (0,
|
|
185
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
190
186
|
Authorization: yield this._getAuthorizationHeader(),
|
|
191
187
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
192
188
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
189
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
193
190
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
194
191
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
195
192
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace Items {
|
|
|
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.Items = 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 Items {
|
|
70
66
|
constructor(_options) {
|
|
@@ -132,13 +128,13 @@ class Items {
|
|
|
132
128
|
_queryParams["show_enum_origins"] = showEnumOrigins;
|
|
133
129
|
}
|
|
134
130
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
135
|
-
url:
|
|
131
|
+
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/items"),
|
|
136
132
|
method: "GET",
|
|
137
|
-
headers: (0,
|
|
133
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
138
134
|
Authorization: yield this._getAuthorizationHeader(),
|
|
139
135
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
140
136
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
141
|
-
queryParameters: _queryParams,
|
|
137
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
142
138
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
143
139
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
144
140
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -205,14 +201,14 @@ class Items {
|
|
|
205
201
|
_queryParams["run_async"] = runAsync.toString();
|
|
206
202
|
}
|
|
207
203
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
208
|
-
url:
|
|
204
|
+
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/items"),
|
|
209
205
|
method: "POST",
|
|
210
|
-
headers: (0,
|
|
206
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
211
207
|
Authorization: yield this._getAuthorizationHeader(),
|
|
212
208
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
213
209
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
214
210
|
contentType: "application/json",
|
|
215
|
-
queryParameters: _queryParams,
|
|
211
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
216
212
|
requestType: "json",
|
|
217
213
|
body: serializers.accounting.ItemEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
218
214
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -291,13 +287,13 @@ class Items {
|
|
|
291
287
|
_queryParams["show_enum_origins"] = showEnumOrigins;
|
|
292
288
|
}
|
|
293
289
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
294
|
-
url:
|
|
290
|
+
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/items/${encodeURIComponent(id)}`),
|
|
295
291
|
method: "GET",
|
|
296
|
-
headers: (0,
|
|
292
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
297
293
|
Authorization: yield this._getAuthorizationHeader(),
|
|
298
294
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
299
295
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
300
|
-
queryParameters: _queryParams,
|
|
296
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
301
297
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
302
298
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
303
299
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -365,14 +361,14 @@ class Items {
|
|
|
365
361
|
_queryParams["run_async"] = runAsync.toString();
|
|
366
362
|
}
|
|
367
363
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
368
|
-
url:
|
|
364
|
+
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/items/${encodeURIComponent(id)}`),
|
|
369
365
|
method: "PATCH",
|
|
370
|
-
headers: (0,
|
|
366
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
371
367
|
Authorization: yield this._getAuthorizationHeader(),
|
|
372
368
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
373
369
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
374
370
|
contentType: "application/json",
|
|
375
|
-
queryParameters: _queryParams,
|
|
371
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
376
372
|
requestType: "json",
|
|
377
373
|
body: serializers.accounting.PatchedItemEndpointRequest.jsonOrThrow(_body, {
|
|
378
374
|
unrecognizedObjectKeys: "strip",
|
|
@@ -433,12 +429,13 @@ class Items {
|
|
|
433
429
|
return __awaiter(this, void 0, void 0, function* () {
|
|
434
430
|
var _a, _b, _c, _d;
|
|
435
431
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
436
|
-
url:
|
|
432
|
+
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/items/meta/patch/${encodeURIComponent(id)}`),
|
|
437
433
|
method: "GET",
|
|
438
|
-
headers: (0,
|
|
434
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
439
435
|
Authorization: yield this._getAuthorizationHeader(),
|
|
440
436
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
441
437
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
438
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
442
439
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
443
440
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
444
441
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -494,12 +491,13 @@ class Items {
|
|
|
494
491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
495
492
|
var _a, _b, _c, _d;
|
|
496
493
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
497
|
-
url:
|
|
494
|
+
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/items/meta/post"),
|
|
498
495
|
method: "GET",
|
|
499
|
-
headers: (0,
|
|
496
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
500
497
|
Authorization: yield this._getAuthorizationHeader(),
|
|
501
498
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
502
499
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
500
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
503
501
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
504
502
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
505
503
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace JournalEntries {
|
|
|
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
|
}
|