@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
|
@@ -51609,6 +51609,7 @@ types:
|
|
|
51609
51609
|
remote_key_name: optional<string>
|
|
51610
51610
|
description: optional<string>
|
|
51611
51611
|
is_custom: optional<boolean>
|
|
51612
|
+
is_common_model_field: optional<boolean>
|
|
51612
51613
|
is_required: optional<boolean>
|
|
51613
51614
|
field_type: optional<FieldTypeEnum>
|
|
51614
51615
|
field_format: optional<FieldFormatEnum>
|
|
@@ -680,6 +680,7 @@ service:
|
|
|
680
680
|
remote_key_name: remote_key_name
|
|
681
681
|
description: description
|
|
682
682
|
is_custom: true
|
|
683
|
+
is_common_model_field: true
|
|
683
684
|
is_required: true
|
|
684
685
|
field_type: string
|
|
685
686
|
field_format: string
|
|
@@ -929,6 +930,7 @@ service:
|
|
|
929
930
|
remote_key_name: remote_key_name
|
|
930
931
|
description: description
|
|
931
932
|
is_custom: true
|
|
933
|
+
is_common_model_field: true
|
|
932
934
|
is_required: true
|
|
933
935
|
field_type: string
|
|
934
936
|
field_format: string
|
|
@@ -706,6 +706,7 @@ service:
|
|
|
706
706
|
remote_key_name: remote_key_name
|
|
707
707
|
description: description
|
|
708
708
|
is_custom: true
|
|
709
|
+
is_common_model_field: true
|
|
709
710
|
is_required: true
|
|
710
711
|
field_type: string
|
|
711
712
|
field_format: string
|
|
@@ -955,6 +956,7 @@ service:
|
|
|
955
956
|
remote_key_name: remote_key_name
|
|
956
957
|
description: description
|
|
957
958
|
is_custom: true
|
|
959
|
+
is_common_model_field: true
|
|
958
960
|
is_required: true
|
|
959
961
|
field_type: string
|
|
960
962
|
field_format: string
|
|
@@ -27654,6 +27654,7 @@ service:
|
|
|
27654
27654
|
remote_key_name: remote_key_name
|
|
27655
27655
|
description: description
|
|
27656
27656
|
is_custom: true
|
|
27657
|
+
is_common_model_field: true
|
|
27657
27658
|
is_required: true
|
|
27658
27659
|
field_type: string
|
|
27659
27660
|
field_format: string
|
|
@@ -28091,6 +28092,7 @@ service:
|
|
|
28091
28092
|
remote_key_name: remote_key_name
|
|
28092
28093
|
description: description
|
|
28093
28094
|
is_custom: true
|
|
28095
|
+
is_common_model_field: true
|
|
28094
28096
|
is_required: true
|
|
28095
28097
|
field_type: string
|
|
28096
28098
|
field_format: string
|
|
@@ -701,6 +701,7 @@ service:
|
|
|
701
701
|
remote_key_name: remote_key_name
|
|
702
702
|
description: description
|
|
703
703
|
is_custom: true
|
|
704
|
+
is_common_model_field: true
|
|
704
705
|
is_required: true
|
|
705
706
|
field_type: string
|
|
706
707
|
field_format: string
|
|
@@ -950,6 +951,7 @@ service:
|
|
|
950
951
|
remote_key_name: remote_key_name
|
|
951
952
|
description: description
|
|
952
953
|
is_custom: true
|
|
954
|
+
is_common_model_field: true
|
|
953
955
|
is_required: true
|
|
954
956
|
field_type: string
|
|
955
957
|
field_format: string
|
|
@@ -1036,6 +1036,7 @@ service:
|
|
|
1036
1036
|
remote_key_name: remote_key_name
|
|
1037
1037
|
description: description
|
|
1038
1038
|
is_custom: true
|
|
1039
|
+
is_common_model_field: true
|
|
1039
1040
|
is_required: true
|
|
1040
1041
|
field_type: string
|
|
1041
1042
|
field_format: string
|
|
@@ -1473,6 +1474,7 @@ service:
|
|
|
1473
1474
|
remote_key_name: remote_key_name
|
|
1474
1475
|
description: description
|
|
1475
1476
|
is_custom: true
|
|
1477
|
+
is_common_model_field: true
|
|
1476
1478
|
is_required: true
|
|
1477
1479
|
field_type: string
|
|
1478
1480
|
field_format: string
|
|
@@ -1031,6 +1031,7 @@ service:
|
|
|
1031
1031
|
remote_key_name: remote_key_name
|
|
1032
1032
|
description: description
|
|
1033
1033
|
is_custom: true
|
|
1034
|
+
is_common_model_field: true
|
|
1034
1035
|
is_required: true
|
|
1035
1036
|
field_type: string
|
|
1036
1037
|
field_format: string
|
|
@@ -1280,6 +1281,7 @@ service:
|
|
|
1280
1281
|
remote_key_name: remote_key_name
|
|
1281
1282
|
description: description
|
|
1282
1283
|
is_custom: true
|
|
1284
|
+
is_common_model_field: true
|
|
1283
1285
|
is_required: true
|
|
1284
1286
|
field_type: string
|
|
1285
1287
|
field_format: string
|
|
@@ -5158,6 +5158,7 @@ types:
|
|
|
5158
5158
|
remote_key_name: optional<string>
|
|
5159
5159
|
description: optional<string>
|
|
5160
5160
|
is_custom: optional<boolean>
|
|
5161
|
+
is_common_model_field: optional<boolean>
|
|
5161
5162
|
is_required: optional<boolean>
|
|
5162
5163
|
field_type: optional<RemoteFieldClassFieldType>
|
|
5163
5164
|
field_format: optional<RemoteFieldClassFieldFormat>
|
|
@@ -2319,6 +2319,7 @@ types:
|
|
|
2319
2319
|
remote_key_name: optional<string>
|
|
2320
2320
|
description: optional<string>
|
|
2321
2321
|
is_custom: optional<boolean>
|
|
2322
|
+
is_common_model_field: optional<boolean>
|
|
2322
2323
|
is_required: optional<boolean>
|
|
2323
2324
|
field_type: optional<RemoteFieldClassFieldType>
|
|
2324
2325
|
field_format: optional<RemoteFieldClassFieldFormat>
|
package/Client.d.ts
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "./environments";
|
|
5
5
|
import * as core from "./core";
|
|
6
|
+
import { Ats } from "./api/resources/ats/client/Client";
|
|
7
|
+
import { Crm } from "./api/resources/crm/client/Client";
|
|
6
8
|
import { Filestorage } from "./api/resources/filestorage/client/Client";
|
|
7
9
|
import { Hris } from "./api/resources/hris/client/Client";
|
|
8
10
|
import { Ticketing } from "./api/resources/ticketing/client/Client";
|
|
9
|
-
import { Ats } from "./api/resources/ats/client/Client";
|
|
10
|
-
import { Crm } from "./api/resources/crm/client/Client";
|
|
11
11
|
import { Accounting } from "./api/resources/accounting/client/Client";
|
|
12
12
|
export declare namespace MergeClient {
|
|
13
13
|
interface Options {
|
|
@@ -30,23 +30,25 @@ export declare namespace MergeClient {
|
|
|
30
30
|
abortSignal?: AbortSignal;
|
|
31
31
|
/** Override the X-Account-Token header */
|
|
32
32
|
accountToken?: string | undefined;
|
|
33
|
+
/** Additional query string parameters to include in the request. */
|
|
34
|
+
queryParams?: Record<string, unknown>;
|
|
33
35
|
/** Additional headers to include in the request. */
|
|
34
36
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
39
|
export declare class MergeClient {
|
|
38
40
|
protected readonly _options: MergeClient.Options;
|
|
41
|
+
protected _ats: Ats | undefined;
|
|
42
|
+
protected _crm: Crm | undefined;
|
|
39
43
|
protected _filestorage: Filestorage | undefined;
|
|
40
44
|
protected _hris: Hris | undefined;
|
|
41
45
|
protected _ticketing: Ticketing | undefined;
|
|
42
|
-
protected _ats: Ats | undefined;
|
|
43
|
-
protected _crm: Crm | undefined;
|
|
44
46
|
protected _accounting: Accounting | undefined;
|
|
45
47
|
constructor(_options: MergeClient.Options);
|
|
48
|
+
get ats(): Ats;
|
|
49
|
+
get crm(): Crm;
|
|
46
50
|
get filestorage(): Filestorage;
|
|
47
51
|
get hris(): Hris;
|
|
48
52
|
get ticketing(): Ticketing;
|
|
49
|
-
get ats(): Ats;
|
|
50
|
-
get crm(): Crm;
|
|
51
53
|
get accounting(): Accounting;
|
|
52
54
|
}
|
package/Client.js
CHANGED
|
@@ -38,44 +38,44 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.MergeClient = void 0;
|
|
40
40
|
const core = __importStar(require("./core"));
|
|
41
|
-
const
|
|
42
|
-
const Client_1 = require("./api/resources/
|
|
43
|
-
const Client_2 = require("./api/resources/
|
|
44
|
-
const Client_3 = require("./api/resources/
|
|
45
|
-
const Client_4 = require("./api/resources/
|
|
46
|
-
const Client_5 = require("./api/resources/
|
|
41
|
+
const headers_1 = require("./core/headers");
|
|
42
|
+
const Client_1 = require("./api/resources/ats/client/Client");
|
|
43
|
+
const Client_2 = require("./api/resources/crm/client/Client");
|
|
44
|
+
const Client_3 = require("./api/resources/filestorage/client/Client");
|
|
45
|
+
const Client_4 = require("./api/resources/hris/client/Client");
|
|
46
|
+
const Client_5 = require("./api/resources/ticketing/client/Client");
|
|
47
47
|
const Client_6 = require("./api/resources/accounting/client/Client");
|
|
48
48
|
class MergeClient {
|
|
49
49
|
constructor(_options) {
|
|
50
|
-
this._options = Object.assign(Object.assign({}, _options), { headers: (0,
|
|
50
|
+
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
51
51
|
"X-Account-Token": _options === null || _options === void 0 ? void 0 : _options.accountToken,
|
|
52
52
|
"X-Fern-Language": "JavaScript",
|
|
53
53
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
54
|
-
"X-Fern-SDK-Version": "2.1.
|
|
55
|
-
"User-Agent": "@mergeapi/merge-node-client/2.1.
|
|
54
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
55
|
+
"User-Agent": "@mergeapi/merge-node-client/2.1.2",
|
|
56
56
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
57
57
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
58
58
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
59
59
|
}
|
|
60
|
-
get
|
|
60
|
+
get ats() {
|
|
61
61
|
var _a;
|
|
62
|
-
return ((_a = this.
|
|
62
|
+
return ((_a = this._ats) !== null && _a !== void 0 ? _a : (this._ats = new Client_1.Ats(this._options)));
|
|
63
63
|
}
|
|
64
|
-
get
|
|
64
|
+
get crm() {
|
|
65
65
|
var _a;
|
|
66
|
-
return ((_a = this.
|
|
66
|
+
return ((_a = this._crm) !== null && _a !== void 0 ? _a : (this._crm = new Client_2.Crm(this._options)));
|
|
67
67
|
}
|
|
68
|
-
get
|
|
68
|
+
get filestorage() {
|
|
69
69
|
var _a;
|
|
70
|
-
return ((_a = this.
|
|
70
|
+
return ((_a = this._filestorage) !== null && _a !== void 0 ? _a : (this._filestorage = new Client_3.Filestorage(this._options)));
|
|
71
71
|
}
|
|
72
|
-
get
|
|
72
|
+
get hris() {
|
|
73
73
|
var _a;
|
|
74
|
-
return ((_a = this.
|
|
74
|
+
return ((_a = this._hris) !== null && _a !== void 0 ? _a : (this._hris = new Client_4.Hris(this._options)));
|
|
75
75
|
}
|
|
76
|
-
get
|
|
76
|
+
get ticketing() {
|
|
77
77
|
var _a;
|
|
78
|
-
return ((_a = this.
|
|
78
|
+
return ((_a = this._ticketing) !== null && _a !== void 0 ? _a : (this._ticketing = new Client_5.Ticketing(this._options)));
|
|
79
79
|
}
|
|
80
80
|
get accounting() {
|
|
81
81
|
var _a;
|
|
@@ -25,6 +25,8 @@ export declare namespace AccountDetails {
|
|
|
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.AccountDetails = 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 AccountDetails {
|
|
@@ -74,12 +70,13 @@ class AccountDetails {
|
|
|
74
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
71
|
var _a, _b, _c, _d;
|
|
76
72
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
77
|
-
url:
|
|
73
|
+
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/account-details"),
|
|
78
74
|
method: "GET",
|
|
79
|
-
headers: (0,
|
|
75
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
80
76
|
Authorization: yield this._getAuthorizationHeader(),
|
|
81
77
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
82
78
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
79
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
83
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
84
81
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
85
82
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace AccountToken {
|
|
|
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.AccountToken = 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 AccountToken {
|
|
@@ -75,12 +71,13 @@ class AccountToken {
|
|
|
75
71
|
return __awaiter(this, void 0, void 0, function* () {
|
|
76
72
|
var _a, _b, _c, _d;
|
|
77
73
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
78
|
-
url:
|
|
74
|
+
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/account-token/${encodeURIComponent(publicToken)}`),
|
|
79
75
|
method: "GET",
|
|
80
|
-
headers: (0,
|
|
76
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
81
77
|
Authorization: yield this._getAuthorizationHeader(),
|
|
82
78
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
83
79
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
80
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
84
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
85
82
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
86
83
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace AccountingPeriods {
|
|
|
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.AccountingPeriods = 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 AccountingPeriods {
|
|
@@ -92,13 +88,13 @@ class AccountingPeriods {
|
|
|
92
88
|
_queryParams["page_size"] = pageSize.toString();
|
|
93
89
|
}
|
|
94
90
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
95
|
-
url:
|
|
91
|
+
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/accounting-periods"),
|
|
96
92
|
method: "GET",
|
|
97
|
-
headers: (0,
|
|
93
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
98
94
|
Authorization: yield this._getAuthorizationHeader(),
|
|
99
95
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
100
96
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
101
|
-
queryParameters: _queryParams,
|
|
97
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
102
98
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
103
99
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
104
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -164,13 +160,13 @@ class AccountingPeriods {
|
|
|
164
160
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
165
161
|
}
|
|
166
162
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
167
|
-
url:
|
|
163
|
+
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/accounting-periods/${encodeURIComponent(id)}`),
|
|
168
164
|
method: "GET",
|
|
169
|
-
headers: (0,
|
|
165
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
170
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
171
167
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
172
168
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
173
|
-
queryParameters: _queryParams,
|
|
169
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
174
170
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
175
171
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
176
172
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace Accounts {
|
|
|
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.Accounts = 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 Accounts {
|
|
70
66
|
constructor(_options) {
|
|
@@ -142,13 +138,13 @@ class Accounts {
|
|
|
142
138
|
_queryParams["status"] = status;
|
|
143
139
|
}
|
|
144
140
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
145
|
-
url:
|
|
141
|
+
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/accounts"),
|
|
146
142
|
method: "GET",
|
|
147
|
-
headers: (0,
|
|
143
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
148
144
|
Authorization: yield this._getAuthorizationHeader(),
|
|
149
145
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
150
146
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
151
|
-
queryParameters: _queryParams,
|
|
147
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
152
148
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
153
149
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
154
150
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -215,14 +211,14 @@ class Accounts {
|
|
|
215
211
|
_queryParams["run_async"] = runAsync.toString();
|
|
216
212
|
}
|
|
217
213
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
218
|
-
url:
|
|
214
|
+
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/accounts"),
|
|
219
215
|
method: "POST",
|
|
220
|
-
headers: (0,
|
|
216
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
221
217
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
218
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
223
219
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
224
220
|
contentType: "application/json",
|
|
225
|
-
queryParameters: _queryParams,
|
|
221
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
226
222
|
requestType: "json",
|
|
227
223
|
body: serializers.accounting.AccountEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
228
224
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -302,13 +298,13 @@ class Accounts {
|
|
|
302
298
|
});
|
|
303
299
|
}
|
|
304
300
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
305
|
-
url:
|
|
301
|
+
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/accounts/${encodeURIComponent(id)}`),
|
|
306
302
|
method: "GET",
|
|
307
|
-
headers: (0,
|
|
303
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
308
304
|
Authorization: yield this._getAuthorizationHeader(),
|
|
309
305
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
310
306
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
311
|
-
queryParameters: _queryParams,
|
|
307
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
312
308
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
313
309
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
314
310
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -364,12 +360,13 @@ class Accounts {
|
|
|
364
360
|
return __awaiter(this, void 0, void 0, function* () {
|
|
365
361
|
var _a, _b, _c, _d;
|
|
366
362
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
367
|
-
url:
|
|
363
|
+
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/accounts/meta/post"),
|
|
368
364
|
method: "GET",
|
|
369
|
-
headers: (0,
|
|
365
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
370
366
|
Authorization: yield this._getAuthorizationHeader(),
|
|
371
367
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
372
368
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
369
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
373
370
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
374
371
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
375
372
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|