@mergeapi/merge-node-client 1.1.9 → 2.0.0
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 +55865 -0
- package/.mock/definition/accounting/accountDetails.yml +36 -0
- package/.mock/definition/accounting/accountToken.yml +44 -0
- package/.mock/definition/accounting/accountingPeriods.yml +119 -0
- package/.mock/definition/accounting/accounts.yml +496 -0
- package/.mock/definition/accounting/addresses.yml +61 -0
- package/.mock/definition/accounting/asyncPassthrough.yml +70 -0
- package/.mock/definition/accounting/asyncTasks.yml +81 -0
- package/.mock/definition/accounting/attachments.yml +402 -0
- package/.mock/definition/accounting/auditTrail.yml +94 -0
- package/.mock/definition/accounting/availableActions.yml +50 -0
- package/.mock/definition/accounting/balanceSheets.yml +241 -0
- package/.mock/definition/accounting/bankFeedAccounts.yml +386 -0
- package/.mock/definition/accounting/bankFeedTransactions.yml +403 -0
- package/.mock/definition/accounting/cashFlowStatements.yml +241 -0
- package/.mock/definition/accounting/companyInfo.yml +205 -0
- package/.mock/definition/accounting/contacts.yml +602 -0
- package/.mock/definition/accounting/creditNotes.yml +1145 -0
- package/.mock/definition/accounting/deleteAccount.yml +15 -0
- package/.mock/definition/accounting/employees.yml +137 -0
- package/.mock/definition/accounting/expenses.yml +964 -0
- package/.mock/definition/accounting/fieldMapping.yml +1198 -0
- package/.mock/definition/accounting/forceResync.yml +37 -0
- package/.mock/definition/accounting/generalLedgerTransactions.yml +289 -0
- package/.mock/definition/accounting/generateKey.yml +36 -0
- package/.mock/definition/accounting/incomeStatements.yml +269 -0
- package/.mock/definition/accounting/invoices.yml +28100 -0
- package/.mock/definition/accounting/issues.yml +129 -0
- package/.mock/definition/accounting/items.yml +842 -0
- package/.mock/definition/accounting/journalEntries.yml +959 -0
- package/.mock/definition/accounting/linkToken.yml +152 -0
- package/.mock/definition/accounting/linkedAccounts.yml +150 -0
- package/.mock/definition/accounting/passthrough.yml +40 -0
- package/.mock/definition/accounting/paymentMethods.yml +119 -0
- package/.mock/definition/accounting/paymentTerms.yml +133 -0
- package/.mock/definition/accounting/payments.yml +1482 -0
- package/.mock/definition/accounting/phoneNumbers.yml +44 -0
- package/.mock/definition/accounting/projects.yml +146 -0
- package/.mock/definition/accounting/purchaseOrders.yml +1289 -0
- package/.mock/definition/accounting/regenerateKey.yml +36 -0
- package/.mock/definition/accounting/scopes.yml +160 -0
- package/.mock/definition/accounting/syncStatus.yml +55 -0
- package/.mock/definition/accounting/taxRates.yml +185 -0
- package/.mock/definition/accounting/trackingCategories.yml +182 -0
- package/.mock/definition/accounting/transactions.yml +385 -0
- package/.mock/definition/accounting/vendorCredits.yml +683 -0
- package/.mock/definition/accounting/webhookReceivers.yml +61 -0
- package/.mock/definition/api.yml +20 -0
- package/.mock/definition/ats/__package__.yml +4730 -0
- package/.mock/definition/ats/accountDetails.yml +36 -0
- package/.mock/definition/ats/accountToken.yml +44 -0
- package/.mock/definition/ats/activities.yml +474 -0
- package/.mock/definition/ats/applications.yml +1903 -0
- package/.mock/definition/ats/asyncPassthrough.yml +70 -0
- package/.mock/definition/ats/attachments.yml +432 -0
- package/.mock/definition/ats/auditTrail.yml +94 -0
- package/.mock/definition/ats/availableActions.yml +50 -0
- package/.mock/definition/ats/candidates.yml +876 -0
- package/.mock/definition/ats/deleteAccount.yml +15 -0
- package/.mock/definition/ats/departments.yml +136 -0
- package/.mock/definition/ats/eeocs.yml +300 -0
- package/.mock/definition/ats/fieldMapping.yml +892 -0
- package/.mock/definition/ats/forceResync.yml +37 -0
- package/.mock/definition/ats/generateKey.yml +36 -0
- package/.mock/definition/ats/interviews.yml +526 -0
- package/.mock/definition/ats/issues.yml +129 -0
- package/.mock/definition/ats/jobInterviewStages.yml +153 -0
- package/.mock/definition/ats/jobPostings.yml +195 -0
- package/.mock/definition/ats/jobs.yml +454 -0
- package/.mock/definition/ats/linkToken.yml +152 -0
- package/.mock/definition/ats/linkedAccounts.yml +150 -0
- package/.mock/definition/ats/offers.yml +201 -0
- package/.mock/definition/ats/offices.yml +138 -0
- package/.mock/definition/ats/passthrough.yml +40 -0
- package/.mock/definition/ats/regenerateKey.yml +36 -0
- package/.mock/definition/ats/rejectReasons.yml +136 -0
- package/.mock/definition/ats/scopes.yml +160 -0
- package/.mock/definition/ats/scorecards.yml +216 -0
- package/.mock/definition/ats/syncStatus.yml +55 -0
- package/.mock/definition/ats/tags.yml +88 -0
- package/.mock/definition/ats/users.yml +173 -0
- package/.mock/definition/ats/webhookReceivers.yml +61 -0
- package/.mock/definition/crm/__package__.yml +5741 -0
- package/.mock/definition/crm/accountDetails.yml +36 -0
- package/.mock/definition/crm/accountToken.yml +44 -0
- package/.mock/definition/crm/accounts.yml +846 -0
- package/.mock/definition/crm/associationTypes.yml +420 -0
- package/.mock/definition/crm/associations.yml +142 -0
- package/.mock/definition/crm/asyncPassthrough.yml +70 -0
- package/.mock/definition/crm/auditTrail.yml +94 -0
- package/.mock/definition/crm/availableActions.yml +50 -0
- package/.mock/definition/crm/contacts.yml +900 -0
- package/.mock/definition/crm/customObjectClasses.yml +196 -0
- package/.mock/definition/crm/customObjects.yml +476 -0
- package/.mock/definition/crm/deleteAccount.yml +15 -0
- package/.mock/definition/crm/engagementTypes.yml +204 -0
- package/.mock/definition/crm/engagements.yml +855 -0
- package/.mock/definition/crm/fieldMapping.yml +654 -0
- package/.mock/definition/crm/forceResync.yml +37 -0
- package/.mock/definition/crm/generateKey.yml +36 -0
- package/.mock/definition/crm/issues.yml +129 -0
- package/.mock/definition/crm/leads.yml +626 -0
- package/.mock/definition/crm/linkToken.yml +152 -0
- package/.mock/definition/crm/linkedAccounts.yml +148 -0
- package/.mock/definition/crm/notes.yml +577 -0
- package/.mock/definition/crm/opportunities.yml +868 -0
- package/.mock/definition/crm/passthrough.yml +40 -0
- package/.mock/definition/crm/regenerateKey.yml +36 -0
- package/.mock/definition/crm/scopes.yml +160 -0
- package/.mock/definition/crm/stages.yml +222 -0
- package/.mock/definition/crm/syncStatus.yml +55 -0
- package/.mock/definition/crm/tasks.yml +807 -0
- package/.mock/definition/crm/users.yml +251 -0
- package/.mock/definition/crm/webhookReceivers.yml +61 -0
- package/.mock/definition/filestorage/__package__.yml +2365 -0
- package/.mock/definition/filestorage/accountDetails.yml +36 -0
- package/.mock/definition/filestorage/accountToken.yml +44 -0
- package/.mock/definition/filestorage/asyncPassthrough.yml +70 -0
- package/.mock/definition/filestorage/auditTrail.yml +94 -0
- package/.mock/definition/filestorage/availableActions.yml +50 -0
- package/.mock/definition/filestorage/deleteAccount.yml +15 -0
- package/.mock/definition/filestorage/drives.yml +145 -0
- package/.mock/definition/filestorage/fieldMapping.yml +518 -0
- package/.mock/definition/filestorage/files.yml +672 -0
- package/.mock/definition/filestorage/folders.yml +466 -0
- package/.mock/definition/filestorage/forceResync.yml +37 -0
- package/.mock/definition/filestorage/generateKey.yml +36 -0
- package/.mock/definition/filestorage/groups.yml +154 -0
- package/.mock/definition/filestorage/issues.yml +129 -0
- package/.mock/definition/filestorage/linkToken.yml +135 -0
- package/.mock/definition/filestorage/linkedAccounts.yml +150 -0
- package/.mock/definition/filestorage/passthrough.yml +40 -0
- package/.mock/definition/filestorage/regenerateKey.yml +36 -0
- package/.mock/definition/filestorage/scopes.yml +160 -0
- package/.mock/definition/filestorage/syncStatus.yml +55 -0
- package/.mock/definition/filestorage/users.yml +143 -0
- package/.mock/definition/filestorage/webhookReceivers.yml +61 -0
- package/.mock/definition/hris/__package__.yml +7691 -0
- package/.mock/definition/hris/accountDetails.yml +36 -0
- package/.mock/definition/hris/accountToken.yml +44 -0
- package/.mock/definition/hris/asyncPassthrough.yml +70 -0
- package/.mock/definition/hris/auditTrail.yml +94 -0
- package/.mock/definition/hris/availableActions.yml +50 -0
- package/.mock/definition/hris/bankInfo.yml +212 -0
- package/.mock/definition/hris/benefits.yml +165 -0
- package/.mock/definition/hris/companies.yml +146 -0
- package/.mock/definition/hris/deleteAccount.yml +15 -0
- package/.mock/definition/hris/dependents.yml +166 -0
- package/.mock/definition/hris/employeePayrollRuns.yml +301 -0
- package/.mock/definition/hris/employees.yml +1787 -0
- package/.mock/definition/hris/employerBenefits.yml +140 -0
- package/.mock/definition/hris/employments.yml +337 -0
- package/.mock/definition/hris/fieldMapping.yml +892 -0
- package/.mock/definition/hris/forceResync.yml +37 -0
- package/.mock/definition/hris/generateKey.yml +36 -0
- package/.mock/definition/hris/groups.yml +179 -0
- package/.mock/definition/hris/issues.yml +129 -0
- package/.mock/definition/hris/linkToken.yml +152 -0
- package/.mock/definition/hris/linkedAccounts.yml +150 -0
- package/.mock/definition/hris/locations.yml +218 -0
- package/.mock/definition/hris/passthrough.yml +40 -0
- package/.mock/definition/hris/payGroups.yml +136 -0
- package/.mock/definition/hris/payrollRuns.yml +243 -0
- package/.mock/definition/hris/regenerateKey.yml +36 -0
- package/.mock/definition/hris/scopes.yml +160 -0
- package/.mock/definition/hris/syncStatus.yml +55 -0
- package/.mock/definition/hris/teams.yml +151 -0
- package/.mock/definition/hris/timeOff.yml +599 -0
- package/.mock/definition/hris/timeOffBalances.yml +205 -0
- package/.mock/definition/hris/timesheetEntries.yml +444 -0
- package/.mock/definition/hris/webhookReceivers.yml +61 -0
- package/.mock/definition/ticketing/__package__.yml +3421 -0
- package/.mock/definition/ticketing/accountDetails.yml +36 -0
- package/.mock/definition/ticketing/accountToken.yml +44 -0
- package/.mock/definition/ticketing/accounts.yml +142 -0
- package/.mock/definition/ticketing/asyncPassthrough.yml +70 -0
- package/.mock/definition/ticketing/attachments.yml +446 -0
- package/.mock/definition/ticketing/auditTrail.yml +94 -0
- package/.mock/definition/ticketing/availableActions.yml +50 -0
- package/.mock/definition/ticketing/collections.yml +253 -0
- package/.mock/definition/ticketing/comments.yml +461 -0
- package/.mock/definition/ticketing/contacts.yml +406 -0
- package/.mock/definition/ticketing/deleteAccount.yml +15 -0
- package/.mock/definition/ticketing/fieldMapping.yml +722 -0
- package/.mock/definition/ticketing/forceResync.yml +37 -0
- package/.mock/definition/ticketing/generateKey.yml +36 -0
- package/.mock/definition/ticketing/issues.yml +129 -0
- package/.mock/definition/ticketing/linkToken.yml +152 -0
- package/.mock/definition/ticketing/linkedAccounts.yml +150 -0
- package/.mock/definition/ticketing/passthrough.yml +40 -0
- package/.mock/definition/ticketing/projects.yml +220 -0
- package/.mock/definition/ticketing/regenerateKey.yml +36 -0
- package/.mock/definition/ticketing/roles.yml +144 -0
- package/.mock/definition/ticketing/scopes.yml +160 -0
- package/.mock/definition/ticketing/syncStatus.yml +55 -0
- package/.mock/definition/ticketing/tags.yml +134 -0
- package/.mock/definition/ticketing/teams.yml +136 -0
- package/.mock/definition/ticketing/tickets.yml +2151 -0
- package/.mock/definition/ticketing/users.yml +185 -0
- package/.mock/definition/ticketing/webhookReceivers.yml +61 -0
- package/.mock/fern.config.json +4 -0
- package/Client.d.ts +6 -4
- package/Client.js +55 -12
- package/api/resources/accounting/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/accountDetails/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/accountDetails/client/Client.js +9 -6
- package/api/resources/accounting/resources/accountToken/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/accountToken/client/Client.js +9 -6
- package/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/accountingPeriods/client/Client.js +17 -12
- package/api/resources/accounting/resources/accounts/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/accounts/client/Client.js +37 -23
- package/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/addresses/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/addresses/client/Client.js +9 -6
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +17 -10
- package/api/resources/accounting/resources/asyncTasks/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/asyncTasks/client/Client.js +9 -6
- package/api/resources/accounting/resources/attachments/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/attachments/client/Client.js +33 -22
- package/api/resources/accounting/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/auditTrail/client/Client.js +9 -6
- package/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/accounting/resources/availableActions/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/availableActions/client/Client.js +9 -6
- package/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +17 -12
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +33 -22
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +33 -22
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +17 -12
- package/api/resources/accounting/resources/companyInfo/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/companyInfo/client/Client.js +17 -12
- package/api/resources/accounting/resources/contacts/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/contacts/client/Client.js +45 -29
- package/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/creditNotes/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/creditNotes/client/Client.js +33 -22
- package/api/resources/accounting/resources/deleteAccount/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +9 -6
- package/api/resources/accounting/resources/employees/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/employees/client/Client.js +17 -12
- package/api/resources/accounting/resources/expenses/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/expenses/client/Client.js +57 -36
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/fieldMapping/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/fieldMapping/client/Client.js +49 -32
- package/api/resources/accounting/resources/forceResync/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/forceResync/client/Client.js +9 -6
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +17 -12
- package/api/resources/accounting/resources/generateKey/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/generateKey/client/Client.js +9 -4
- package/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +17 -12
- package/api/resources/accounting/resources/index.d.ts +2 -1
- package/api/resources/accounting/resources/index.js +3 -2
- package/api/resources/accounting/resources/invoices/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/invoices/client/Client.js +73 -46
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/issues/client/Client.js +17 -12
- package/api/resources/accounting/resources/items/client/Client.d.ts +51 -1
- package/api/resources/accounting/resources/items/client/Client.js +306 -12
- package/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts +21 -0
- package/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.js +5 -0
- package/api/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.d.ts +21 -0
- package/api/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.js +5 -0
- package/api/resources/accounting/resources/items/client/requests/index.d.ts +2 -0
- package/api/resources/accounting/resources/journalEntries/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/journalEntries/client/Client.js +57 -36
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/linkToken/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/linkToken/client/Client.js +9 -4
- package/api/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -1
- package/api/resources/accounting/resources/linkToken/index.d.ts +1 -0
- package/api/resources/accounting/resources/linkToken/index.js +1 -0
- package/api/resources/accounting/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/api/resources/accounting/resources/linkToken/types/EndUserDetailsRequestLanguage.js +5 -0
- package/api/resources/accounting/resources/linkToken/types/index.d.ts +1 -0
- package/api/resources/accounting/resources/linkToken/types/index.js +17 -0
- package/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +9 -6
- package/api/resources/accounting/resources/passthrough/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/passthrough/client/Client.js +9 -4
- package/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/paymentMethods/client/Client.js +17 -12
- package/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/paymentTerms/client/Client.js +17 -12
- package/api/resources/accounting/resources/payments/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/payments/client/Client.js +73 -46
- package/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/phoneNumbers/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +9 -6
- package/api/resources/accounting/resources/projects/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/projects/client/Client.js +17 -12
- package/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +57 -36
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/regenerateKey/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +9 -4
- package/api/resources/accounting/resources/scopes/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/scopes/client/Client.js +25 -16
- package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/syncStatus/client/Client.js +9 -6
- package/api/resources/accounting/resources/taxRates/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/taxRates/client/Client.js +17 -12
- package/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +17 -12
- package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +1 -1
- package/api/resources/accounting/resources/transactions/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/transactions/client/Client.js +17 -12
- package/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +33 -22
- package/api/resources/accounting/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +17 -10
- package/api/resources/accounting/types/AccountDetails.d.ts +1 -1
- package/api/resources/accounting/types/AccountDetailsAndActions.d.ts +3 -2
- package/api/resources/accounting/types/AccountDetailsAndActionsCategory.d.ts +5 -0
- package/api/resources/accounting/types/AccountDetailsAndActionsCategory.js +5 -0
- package/api/resources/accounting/types/AccountDetailsAndActionsStatus.d.ts +5 -0
- package/api/resources/accounting/types/AccountDetailsAndActionsStatus.js +5 -0
- package/api/resources/accounting/types/AccountDetailsCategory.d.ts +5 -0
- package/api/resources/accounting/types/AccountDetailsCategory.js +5 -0
- package/api/resources/accounting/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/accounting/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/accounting/types/DataPassthroughRequest.d.ts +1 -1
- package/api/resources/accounting/types/DataPassthroughRequestMethod.d.ts +5 -0
- package/api/resources/accounting/types/DataPassthroughRequestMethod.js +5 -0
- package/api/resources/accounting/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/accounting/types/EventTypeEnum.js +1 -0
- package/api/resources/accounting/types/ItemRequestRequest.d.ts +48 -0
- package/api/resources/accounting/types/ItemRequestRequest.js +5 -0
- package/api/resources/accounting/types/ItemRequestRequestCompany.d.ts +8 -0
- package/api/resources/accounting/types/ItemRequestRequestCompany.js +5 -0
- package/api/resources/accounting/types/ItemRequestRequestPurchaseAccount.d.ts +8 -0
- package/api/resources/accounting/types/ItemRequestRequestPurchaseAccount.js +5 -0
- package/api/resources/accounting/types/ItemRequestRequestPurchaseTaxRate.d.ts +8 -0
- package/api/resources/accounting/types/ItemRequestRequestPurchaseTaxRate.js +5 -0
- package/api/resources/accounting/types/ItemRequestRequestSalesAccount.d.ts +8 -0
- package/api/resources/accounting/types/ItemRequestRequestSalesAccount.js +5 -0
- package/api/resources/accounting/types/ItemRequestRequestSalesTaxRate.d.ts +8 -0
- package/api/resources/accounting/types/ItemRequestRequestSalesTaxRate.js +5 -0
- package/api/resources/accounting/types/ItemRequestRequestStatus.d.ts +11 -0
- package/api/resources/accounting/types/ItemRequestRequestStatus.js +5 -0
- package/api/resources/accounting/types/ItemRequestRequestType.d.ts +13 -0
- package/api/resources/accounting/types/ItemRequestRequestType.js +5 -0
- package/api/resources/accounting/types/ItemResponse.d.ts +10 -0
- package/api/resources/accounting/types/ItemResponse.js +5 -0
- package/api/resources/accounting/types/PatchedItemRequestRequest.d.ts +48 -0
- package/api/resources/accounting/types/PatchedItemRequestRequest.js +5 -0
- package/api/resources/accounting/types/PatchedItemRequestRequestStatus.d.ts +11 -0
- package/api/resources/accounting/types/PatchedItemRequestRequestStatus.js +5 -0
- package/api/resources/accounting/types/PatchedItemRequestRequestType.d.ts +13 -0
- package/api/resources/accounting/types/PatchedItemRequestRequestType.js +5 -0
- package/api/resources/accounting/types/SyncStatus.d.ts +1 -1
- package/api/resources/accounting/types/SyncStatusStatus.d.ts +5 -0
- package/api/resources/accounting/types/SyncStatusStatus.js +5 -0
- package/api/resources/accounting/types/Type2BbEnum.d.ts +16 -0
- package/api/resources/accounting/types/Type2BbEnum.js +12 -0
- package/api/resources/accounting/types/index.d.ts +18 -0
- package/api/resources/accounting/types/index.js +18 -0
- package/api/resources/ats/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/accountDetails/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/accountDetails/client/Client.js +9 -6
- package/api/resources/ats/resources/accountToken/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/accountToken/client/Client.js +9 -6
- package/api/resources/ats/resources/activities/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/activities/client/Client.js +33 -22
- package/api/resources/ats/resources/applications/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/applications/client/Client.js +41 -26
- package/api/resources/ats/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/asyncPassthrough/client/Client.js +17 -10
- package/api/resources/ats/resources/attachments/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/attachments/client/Client.js +33 -22
- package/api/resources/ats/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/auditTrail/client/Client.js +9 -6
- package/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/ats/resources/availableActions/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/availableActions/client/Client.js +9 -6
- package/api/resources/ats/resources/candidates/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/candidates/client/Client.js +57 -36
- package/api/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.d.ts +1 -1
- package/api/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.d.ts +5 -0
- package/api/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.js +5 -0
- package/api/resources/ats/resources/candidates/types/index.d.ts +1 -0
- package/api/resources/ats/resources/candidates/types/index.js +1 -0
- package/api/resources/ats/resources/deleteAccount/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/deleteAccount/client/Client.js +9 -6
- package/api/resources/ats/resources/departments/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/departments/client/Client.js +17 -12
- package/api/resources/ats/resources/eeocs/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/eeocs/client/Client.js +17 -12
- package/api/resources/ats/resources/fieldMapping/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/fieldMapping/client/Client.js +49 -32
- package/api/resources/ats/resources/forceResync/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/forceResync/client/Client.js +9 -6
- package/api/resources/ats/resources/generateKey/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/generateKey/client/Client.js +9 -4
- package/api/resources/ats/resources/index.d.ts +2 -1
- package/api/resources/ats/resources/index.js +3 -2
- package/api/resources/ats/resources/interviews/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/interviews/client/Client.js +33 -22
- package/api/resources/ats/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/issues/client/Client.js +17 -12
- package/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/jobInterviewStages/client/Client.js +17 -12
- package/api/resources/ats/resources/jobPostings/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/jobPostings/client/Client.js +17 -12
- package/api/resources/ats/resources/jobs/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/jobs/client/Client.js +25 -18
- package/api/resources/ats/resources/linkToken/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/linkToken/client/Client.js +9 -4
- package/api/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -1
- package/api/resources/ats/resources/linkToken/index.d.ts +1 -0
- package/api/resources/ats/resources/linkToken/index.js +1 -0
- package/api/resources/ats/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/api/resources/ats/resources/linkToken/types/EndUserDetailsRequestLanguage.js +5 -0
- package/api/resources/ats/resources/linkToken/types/index.d.ts +1 -0
- package/api/resources/ats/resources/linkToken/types/index.js +17 -0
- package/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +9 -6
- package/api/resources/ats/resources/offers/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/offers/client/Client.js +17 -12
- package/api/resources/ats/resources/offices/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/offices/client/Client.js +17 -12
- package/api/resources/ats/resources/passthrough/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/passthrough/client/Client.js +9 -4
- package/api/resources/ats/resources/regenerateKey/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/regenerateKey/client/Client.js +9 -4
- package/api/resources/ats/resources/rejectReasons/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/rejectReasons/client/Client.js +17 -12
- package/api/resources/ats/resources/scopes/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/scopes/client/Client.js +25 -16
- package/api/resources/ats/resources/scorecards/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/scorecards/client/Client.js +17 -12
- package/api/resources/ats/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/syncStatus/client/Client.js +9 -6
- package/api/resources/ats/resources/tags/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/tags/client/Client.js +9 -6
- package/api/resources/ats/resources/users/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/users/client/Client.js +17 -12
- package/api/resources/ats/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +17 -10
- package/api/resources/ats/types/AccountDetails.d.ts +1 -1
- package/api/resources/ats/types/AccountDetailsAndActions.d.ts +3 -2
- package/api/resources/ats/types/AccountDetailsAndActionsCategory.d.ts +5 -0
- package/api/resources/ats/types/AccountDetailsAndActionsCategory.js +5 -0
- package/api/resources/ats/types/AccountDetailsAndActionsStatus.d.ts +5 -0
- package/api/resources/ats/types/AccountDetailsAndActionsStatus.js +5 -0
- package/api/resources/ats/types/AccountDetailsCategory.d.ts +5 -0
- package/api/resources/ats/types/AccountDetailsCategory.js +5 -0
- package/api/resources/ats/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/ats/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/ats/types/EventTypeEnum.d.ts +1 -0
- package/api/resources/ats/types/Job.d.ts +1 -1
- package/api/resources/ats/types/JobPosting.d.ts +1 -1
- package/api/resources/ats/types/JobPostingStatus.d.ts +14 -0
- package/api/resources/ats/types/JobPostingStatus.js +5 -0
- package/api/resources/ats/types/JobType.d.ts +12 -0
- package/api/resources/ats/types/JobType.js +5 -0
- package/api/resources/ats/types/SyncStatus.d.ts +2 -2
- package/api/resources/ats/types/SyncStatusLastSyncResult.d.ts +5 -0
- package/api/resources/ats/types/SyncStatusLastSyncResult.js +5 -0
- package/api/resources/ats/types/SyncStatusStatus.d.ts +5 -0
- package/api/resources/ats/types/SyncStatusStatus.js +5 -0
- package/api/resources/ats/types/index.d.ts +7 -0
- package/api/resources/ats/types/index.js +7 -0
- package/api/resources/crm/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/accountDetails/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/accountDetails/client/Client.js +9 -6
- package/api/resources/crm/resources/accountToken/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/accountToken/client/Client.js +9 -6
- package/api/resources/crm/resources/accounts/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/accounts/client/Client.js +61 -39
- package/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/associationTypes/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/associationTypes/client/Client.js +33 -22
- package/api/resources/crm/resources/associations/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/associations/client/Client.js +17 -12
- package/api/resources/crm/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +17 -10
- package/api/resources/crm/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/auditTrail/client/Client.js +9 -6
- package/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/crm/resources/availableActions/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/availableActions/client/Client.js +9 -6
- package/api/resources/crm/resources/contacts/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/contacts/client/Client.js +69 -43
- package/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +17 -12
- package/api/resources/crm/resources/customObjects/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/customObjects/client/Client.js +45 -29
- package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/deleteAccount/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/deleteAccount/client/Client.js +9 -6
- package/api/resources/crm/resources/engagementTypes/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/engagementTypes/client/Client.js +29 -19
- package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/engagements/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/engagements/client/Client.js +61 -39
- package/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/fieldMapping/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/fieldMapping/client/Client.js +49 -32
- package/api/resources/crm/resources/forceResync/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/forceResync/client/Client.js +9 -6
- package/api/resources/crm/resources/generateKey/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/generateKey/client/Client.js +9 -4
- package/api/resources/crm/resources/index.d.ts +2 -1
- package/api/resources/crm/resources/index.js +3 -2
- package/api/resources/crm/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/issues/client/Client.js +17 -12
- package/api/resources/crm/resources/leads/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/leads/client/Client.js +45 -29
- package/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/linkToken/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/linkToken/client/Client.js +9 -4
- package/api/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -1
- package/api/resources/crm/resources/linkToken/index.d.ts +1 -0
- package/api/resources/crm/resources/linkToken/index.js +1 -0
- package/api/resources/crm/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/api/resources/crm/resources/linkToken/types/EndUserDetailsRequestLanguage.js +5 -0
- package/api/resources/crm/resources/linkToken/types/index.d.ts +1 -0
- package/api/resources/crm/resources/linkToken/types/index.js +17 -0
- package/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +9 -6
- package/api/resources/crm/resources/notes/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/notes/client/Client.js +45 -29
- package/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/opportunities/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/opportunities/client/Client.js +61 -39
- package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/passthrough/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/passthrough/client/Client.js +9 -4
- package/api/resources/crm/resources/regenerateKey/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/regenerateKey/client/Client.js +9 -4
- package/api/resources/crm/resources/scopes/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/scopes/client/Client.js +25 -16
- package/api/resources/crm/resources/stages/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/stages/client/Client.js +29 -19
- package/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/syncStatus/client/Client.d.ts +4 -2
- package/api/resources/crm/resources/syncStatus/client/Client.js +10 -7
- package/api/resources/crm/resources/tasks/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/tasks/client/Client.js +61 -39
- package/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/users/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/users/client/Client.js +37 -23
- package/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/crm/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +17 -10
- package/api/resources/crm/types/AccountDetails.d.ts +1 -1
- package/api/resources/crm/types/AccountDetailsAndActions.d.ts +2 -2
- package/api/resources/crm/types/AccountDetailsAndActionsCategory.d.ts +5 -0
- package/api/resources/crm/types/AccountDetailsAndActionsCategory.js +5 -0
- package/api/resources/crm/types/AccountDetailsAndActionsStatus.d.ts +5 -0
- package/api/resources/crm/types/AccountDetailsAndActionsStatus.js +5 -0
- package/api/resources/crm/types/AccountDetailsCategory.d.ts +5 -0
- package/api/resources/crm/types/AccountDetailsCategory.js +5 -0
- package/api/resources/crm/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/crm/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/crm/types/CustomObjectRequest.d.ts +2 -0
- package/api/resources/crm/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/crm/types/EventTypeEnum.js +1 -0
- package/api/resources/crm/types/IgnoreCommonModelRequest.d.ts +1 -1
- package/api/resources/crm/types/IgnoreCommonModelRequestReason.d.ts +5 -0
- package/api/resources/crm/types/IgnoreCommonModelRequestReason.js +5 -0
- package/api/resources/crm/types/SyncStatus.d.ts +1 -1
- package/api/resources/crm/types/SyncStatusStatus.d.ts +5 -0
- package/api/resources/crm/types/SyncStatusStatus.js +5 -0
- package/api/resources/crm/types/index.d.ts +5 -0
- package/api/resources/crm/types/index.js +5 -0
- package/api/resources/filestorage/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/accountDetails/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/accountDetails/client/Client.js +9 -6
- package/api/resources/filestorage/resources/accountToken/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/accountToken/client/Client.js +9 -6
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +17 -10
- package/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/auditTrail/client/Client.js +9 -6
- package/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/filestorage/resources/availableActions/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/availableActions/client/Client.js +9 -6
- package/api/resources/filestorage/resources/deleteAccount/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/deleteAccount/client/Client.js +9 -6
- package/api/resources/filestorage/resources/drives/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/drives/client/Client.js +17 -12
- package/api/resources/filestorage/resources/fieldMapping/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/fieldMapping/client/Client.js +49 -32
- package/api/resources/filestorage/resources/files/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/files/client/Client.js +81 -44
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +23 -2
- package/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +4 -0
- package/api/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.d.ts +10 -0
- package/api/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.js +12 -0
- package/api/resources/filestorage/resources/files/types/FilesListRequestOrderBy.d.ts +10 -0
- package/api/resources/filestorage/resources/files/types/FilesListRequestOrderBy.js +12 -0
- package/api/resources/filestorage/resources/files/types/index.d.ts +2 -0
- package/api/resources/filestorage/resources/files/types/index.js +2 -0
- package/api/resources/filestorage/resources/folders/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/folders/client/Client.js +33 -22
- package/api/resources/filestorage/resources/forceResync/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/forceResync/client/Client.js +9 -6
- package/api/resources/filestorage/resources/generateKey/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/generateKey/client/Client.js +9 -4
- package/api/resources/filestorage/resources/groups/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/groups/client/Client.js +17 -12
- package/api/resources/filestorage/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/issues/client/Client.js +17 -12
- package/api/resources/filestorage/resources/linkToken/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/linkToken/client/Client.js +9 -4
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +9 -6
- package/api/resources/filestorage/resources/passthrough/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/passthrough/client/Client.js +9 -4
- package/api/resources/filestorage/resources/regenerateKey/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +9 -4
- package/api/resources/filestorage/resources/scopes/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/scopes/client/Client.js +25 -16
- package/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +4 -2
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +10 -7
- package/api/resources/filestorage/resources/users/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/users/client/Client.js +17 -12
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +17 -10
- package/api/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
- package/api/resources/filestorage/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/filestorage/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/filestorage/types/DownloadRequestMeta.d.ts +0 -1
- package/api/resources/filestorage/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/filestorage/types/EventTypeEnum.js +1 -0
- package/api/resources/filestorage/types/FileRequest.d.ts +2 -0
- package/api/resources/filestorage/types/File_.d.ts +2 -0
- package/api/resources/hris/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/accountDetails/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/accountDetails/client/Client.js +9 -6
- package/api/resources/hris/resources/accountToken/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/accountToken/client/Client.js +9 -6
- package/api/resources/hris/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/asyncPassthrough/client/Client.js +17 -10
- package/api/resources/hris/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/auditTrail/client/Client.js +9 -6
- package/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/hris/resources/availableActions/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/availableActions/client/Client.js +9 -6
- package/api/resources/hris/resources/bankInfo/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/bankInfo/client/Client.js +17 -12
- package/api/resources/hris/resources/benefits/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/benefits/client/Client.js +17 -12
- package/api/resources/hris/resources/companies/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/companies/client/Client.js +17 -12
- package/api/resources/hris/resources/deleteAccount/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/deleteAccount/client/Client.js +9 -6
- package/api/resources/hris/resources/dependents/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/dependents/client/Client.js +17 -12
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +17 -12
- package/api/resources/hris/resources/employees/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employees/client/Client.js +41 -26
- package/api/resources/hris/resources/employerBenefits/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employerBenefits/client/Client.js +17 -12
- package/api/resources/hris/resources/employments/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employments/client/Client.js +17 -12
- package/api/resources/hris/resources/fieldMapping/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/fieldMapping/client/Client.js +49 -32
- package/api/resources/hris/resources/forceResync/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/forceResync/client/Client.js +9 -6
- package/api/resources/hris/resources/generateKey/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/generateKey/client/Client.js +9 -4
- package/api/resources/hris/resources/groups/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/groups/client/Client.js +17 -12
- package/api/resources/hris/resources/index.d.ts +2 -1
- package/api/resources/hris/resources/index.js +3 -2
- package/api/resources/hris/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/issues/client/Client.js +17 -12
- package/api/resources/hris/resources/linkToken/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/linkToken/client/Client.js +9 -4
- package/api/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -1
- package/api/resources/hris/resources/linkToken/index.d.ts +1 -0
- package/api/resources/hris/resources/linkToken/index.js +1 -0
- package/api/resources/hris/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/api/resources/hris/resources/linkToken/types/EndUserDetailsRequestLanguage.js +5 -0
- package/api/resources/hris/resources/linkToken/types/index.d.ts +1 -0
- package/api/resources/hris/resources/linkToken/types/index.js +17 -0
- package/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +9 -6
- package/api/resources/hris/resources/locations/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/locations/client/Client.js +17 -12
- package/api/resources/hris/resources/passthrough/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/passthrough/client/Client.js +9 -4
- package/api/resources/hris/resources/payGroups/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/payGroups/client/Client.js +17 -12
- package/api/resources/hris/resources/payrollRuns/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/payrollRuns/client/Client.js +17 -12
- package/api/resources/hris/resources/regenerateKey/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/regenerateKey/client/Client.js +9 -4
- package/api/resources/hris/resources/scopes/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/scopes/client/Client.js +25 -16
- package/api/resources/hris/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/syncStatus/client/Client.js +9 -6
- package/api/resources/hris/resources/teams/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/teams/client/Client.js +17 -12
- package/api/resources/hris/resources/timeOff/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/timeOff/client/Client.js +33 -22
- package/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/timeOffBalances/client/Client.js +17 -12
- package/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/timesheetEntries/client/Client.js +33 -22
- package/api/resources/hris/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +17 -10
- package/api/resources/hris/types/AccountDetails.d.ts +1 -1
- package/api/resources/hris/types/AccountDetailsAndActions.d.ts +2 -1
- package/api/resources/hris/types/AccountDetailsAndActionsCategory.d.ts +5 -0
- package/api/resources/hris/types/AccountDetailsAndActionsCategory.js +5 -0
- package/api/resources/hris/types/AccountDetailsCategory.d.ts +5 -0
- package/api/resources/hris/types/AccountDetailsCategory.js +5 -0
- package/api/resources/hris/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/hris/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/hris/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/hris/types/EventTypeEnum.js +1 -0
- package/api/resources/hris/types/index.d.ts +2 -0
- package/api/resources/hris/types/index.js +2 -0
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/ticketing/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/accountDetails/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +9 -6
- package/api/resources/ticketing/resources/accountToken/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/accountToken/client/Client.js +9 -6
- package/api/resources/ticketing/resources/accounts/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/accounts/client/Client.js +17 -12
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +17 -10
- package/api/resources/ticketing/resources/attachments/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/attachments/client/Client.js +41 -28
- package/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/auditTrail/client/Client.js +9 -6
- package/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/ticketing/resources/availableActions/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/availableActions/client/Client.js +9 -6
- package/api/resources/ticketing/resources/collections/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/collections/client/Client.js +25 -18
- package/api/resources/ticketing/resources/comments/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/comments/client/Client.js +33 -22
- package/api/resources/ticketing/resources/contacts/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/contacts/client/Client.js +33 -22
- package/api/resources/ticketing/resources/deleteAccount/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +9 -6
- package/api/resources/ticketing/resources/fieldMapping/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/fieldMapping/client/Client.js +49 -32
- package/api/resources/ticketing/resources/forceResync/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/forceResync/client/Client.js +9 -6
- package/api/resources/ticketing/resources/generateKey/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/generateKey/client/Client.js +9 -4
- package/api/resources/ticketing/resources/index.d.ts +2 -1
- package/api/resources/ticketing/resources/index.js +3 -2
- package/api/resources/ticketing/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/issues/client/Client.js +17 -12
- package/api/resources/ticketing/resources/linkToken/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/linkToken/client/Client.js +9 -4
- package/api/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -1
- package/api/resources/ticketing/resources/linkToken/index.d.ts +1 -0
- package/api/resources/ticketing/resources/linkToken/index.js +1 -0
- package/api/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/api/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestLanguage.js +5 -0
- package/api/resources/ticketing/resources/linkToken/types/index.d.ts +1 -0
- package/api/resources/ticketing/resources/linkToken/types/index.js +17 -0
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +9 -6
- package/api/resources/ticketing/resources/passthrough/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/passthrough/client/Client.js +9 -4
- package/api/resources/ticketing/resources/projects/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/projects/client/Client.js +25 -18
- package/api/resources/ticketing/resources/regenerateKey/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +9 -4
- package/api/resources/ticketing/resources/roles/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/roles/client/Client.js +17 -12
- package/api/resources/ticketing/resources/scopes/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/scopes/client/Client.js +25 -16
- package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +9 -6
- package/api/resources/ticketing/resources/tags/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/tags/client/Client.js +17 -12
- package/api/resources/ticketing/resources/teams/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/teams/client/Client.js +17 -12
- package/api/resources/ticketing/resources/tickets/client/Client.d.ts +5 -2
- package/api/resources/ticketing/resources/tickets/client/Client.js +83 -49
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsMetaPostRetrieveRequest.d.ts +17 -0
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsMetaPostRetrieveRequest.js +5 -0
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/tickets/client/requests/index.d.ts +1 -0
- package/api/resources/ticketing/resources/users/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/users/client/Client.js +17 -12
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +17 -10
- package/api/resources/ticketing/types/AccountDetails.d.ts +1 -1
- package/api/resources/ticketing/types/AccountDetailsAndActions.d.ts +3 -2
- package/api/resources/ticketing/types/AccountDetailsAndActionsCategory.d.ts +5 -0
- package/api/resources/ticketing/types/AccountDetailsAndActionsCategory.js +5 -0
- package/api/resources/ticketing/types/AccountDetailsAndActionsStatus.d.ts +5 -0
- package/api/resources/ticketing/types/AccountDetailsAndActionsStatus.js +5 -0
- package/api/resources/ticketing/types/AccountDetailsCategory.d.ts +5 -0
- package/api/resources/ticketing/types/AccountDetailsCategory.js +5 -0
- package/api/resources/ticketing/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/ticketing/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/ticketing/types/Collection.d.ts +9 -8
- package/api/resources/ticketing/types/CollectionAccessLevel.d.ts +2 -1
- package/api/resources/ticketing/types/CollectionAccessLevelEnum.d.ts +16 -0
- package/api/resources/ticketing/types/CollectionAccessLevelEnum.js +12 -0
- package/api/resources/ticketing/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/ticketing/types/EventTypeEnum.js +1 -0
- package/api/resources/ticketing/types/PatchedTicketRequest.d.ts +9 -0
- package/api/resources/ticketing/types/PatchedTicketRequestAccessLevel.d.ts +13 -0
- package/api/resources/ticketing/types/PatchedTicketRequestAccessLevel.js +5 -0
- package/api/resources/ticketing/types/SyncStatus.d.ts +1 -1
- package/api/resources/ticketing/types/SyncStatusLastSyncResult.d.ts +5 -0
- package/api/resources/ticketing/types/SyncStatusLastSyncResult.js +5 -0
- package/api/resources/ticketing/types/Ticket.d.ts +9 -0
- package/api/resources/ticketing/types/TicketAccessLevel.d.ts +13 -0
- package/api/resources/ticketing/types/TicketAccessLevel.js +5 -0
- package/api/resources/ticketing/types/{AccessLevelEnum.d.ts → TicketAccessLevelEnum.d.ts} +6 -4
- package/api/resources/ticketing/types/{AccessLevelEnum.js → TicketAccessLevelEnum.js} +4 -3
- package/api/resources/ticketing/types/TicketRequest.d.ts +9 -0
- package/api/resources/ticketing/types/TicketRequestAccessLevel.d.ts +13 -0
- package/api/resources/ticketing/types/TicketRequestAccessLevel.js +5 -0
- package/api/resources/ticketing/types/index.d.ts +10 -2
- package/api/resources/ticketing/types/index.js +10 -2
- package/core/fetcher/Fetcher.d.ts +2 -1
- package/core/fetcher/Fetcher.js +22 -9
- package/core/fetcher/Headers.d.ts +2 -0
- package/core/fetcher/Headers.js +84 -0
- package/core/fetcher/RawResponse.js +3 -2
- package/core/headers.d.ts +3 -0
- package/core/headers.js +29 -0
- package/core/index.d.ts +1 -1
- package/core/index.js +1 -1
- package/dist/Client.d.ts +6 -4
- package/dist/Client.js +55 -12
- package/dist/api/resources/accounting/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/accountToken/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/accounts/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +37 -23
- package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/addresses/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/addresses/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +17 -10
- package/dist/api/resources/accounting/resources/asyncTasks/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/asyncTasks/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/attachments/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +33 -22
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/accounting/resources/availableActions/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +33 -22
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +33 -22
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/contacts/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +45 -29
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +33 -22
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/employees/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/employees/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/expenses/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +57 -36
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +49 -32
- package/dist/api/resources/accounting/resources/forceResync/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/generateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +9 -4
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/index.d.ts +2 -1
- package/dist/api/resources/accounting/resources/index.js +3 -2
- package/dist/api/resources/accounting/resources/invoices/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +73 -46
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/issues/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/items/client/Client.d.ts +51 -1
- package/dist/api/resources/accounting/resources/items/client/Client.js +306 -12
- package/dist/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts +21 -0
- package/dist/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.js +5 -0
- package/dist/api/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.d.ts +21 -0
- package/dist/api/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.js +5 -0
- package/dist/api/resources/accounting/resources/items/client/requests/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +57 -36
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/linkToken/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +9 -4
- package/dist/api/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -1
- package/dist/api/resources/accounting/resources/linkToken/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/linkToken/index.js +1 -0
- package/dist/api/resources/accounting/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/dist/api/resources/accounting/resources/linkToken/types/EndUserDetailsRequestLanguage.js +5 -0
- package/dist/api/resources/accounting/resources/linkToken/types/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/linkToken/types/index.js +17 -0
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/passthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +9 -4
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/payments/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/payments/client/Client.js +73 -46
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/projects/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/projects/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +57 -36
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +9 -4
- package/dist/api/resources/accounting/resources/scopes/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/scopes/client/Client.js +25 -16
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/taxRates/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +1 -1
- package/dist/api/resources/accounting/resources/transactions/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +17 -12
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +33 -22
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +17 -10
- package/dist/api/resources/accounting/types/AccountDetails.d.ts +1 -1
- package/dist/api/resources/accounting/types/AccountDetailsAndActions.d.ts +3 -2
- package/dist/api/resources/accounting/types/AccountDetailsAndActionsCategory.d.ts +5 -0
- package/dist/api/resources/accounting/types/AccountDetailsAndActionsCategory.js +5 -0
- package/dist/api/resources/accounting/types/AccountDetailsAndActionsStatus.d.ts +5 -0
- package/dist/api/resources/accounting/types/AccountDetailsAndActionsStatus.js +5 -0
- package/dist/api/resources/accounting/types/AccountDetailsCategory.d.ts +5 -0
- package/dist/api/resources/accounting/types/AccountDetailsCategory.js +5 -0
- package/dist/api/resources/accounting/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/accounting/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/accounting/types/DataPassthroughRequest.d.ts +1 -1
- package/dist/api/resources/accounting/types/DataPassthroughRequestMethod.d.ts +5 -0
- package/dist/api/resources/accounting/types/DataPassthroughRequestMethod.js +5 -0
- package/dist/api/resources/accounting/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/accounting/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/accounting/types/ItemRequestRequest.d.ts +48 -0
- package/dist/api/resources/accounting/types/ItemRequestRequest.js +5 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestCompany.d.ts +8 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestCompany.js +5 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestPurchaseAccount.d.ts +8 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestPurchaseAccount.js +5 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestPurchaseTaxRate.d.ts +8 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestPurchaseTaxRate.js +5 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestSalesAccount.d.ts +8 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestSalesAccount.js +5 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestSalesTaxRate.d.ts +8 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestSalesTaxRate.js +5 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestStatus.d.ts +11 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestStatus.js +5 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestType.d.ts +13 -0
- package/dist/api/resources/accounting/types/ItemRequestRequestType.js +5 -0
- package/dist/api/resources/accounting/types/ItemResponse.d.ts +10 -0
- package/dist/api/resources/accounting/types/ItemResponse.js +5 -0
- package/dist/api/resources/accounting/types/PatchedItemRequestRequest.d.ts +48 -0
- package/dist/api/resources/accounting/types/PatchedItemRequestRequest.js +5 -0
- package/dist/api/resources/accounting/types/PatchedItemRequestRequestStatus.d.ts +11 -0
- package/dist/api/resources/accounting/types/PatchedItemRequestRequestStatus.js +5 -0
- package/dist/api/resources/accounting/types/PatchedItemRequestRequestType.d.ts +13 -0
- package/dist/api/resources/accounting/types/PatchedItemRequestRequestType.js +5 -0
- package/dist/api/resources/accounting/types/SyncStatus.d.ts +1 -1
- package/dist/api/resources/accounting/types/SyncStatusStatus.d.ts +5 -0
- package/dist/api/resources/accounting/types/SyncStatusStatus.js +5 -0
- package/dist/api/resources/accounting/types/Type2BbEnum.d.ts +16 -0
- package/dist/api/resources/accounting/types/Type2BbEnum.js +12 -0
- package/dist/api/resources/accounting/types/index.d.ts +18 -0
- package/dist/api/resources/accounting/types/index.js +18 -0
- package/dist/api/resources/ats/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/accountDetails/client/Client.js +9 -6
- package/dist/api/resources/ats/resources/accountToken/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/accountToken/client/Client.js +9 -6
- package/dist/api/resources/ats/resources/activities/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/activities/client/Client.js +33 -22
- package/dist/api/resources/ats/resources/applications/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/applications/client/Client.js +41 -26
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +17 -10
- package/dist/api/resources/ats/resources/attachments/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/attachments/client/Client.js +33 -22
- package/dist/api/resources/ats/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/auditTrail/client/Client.js +9 -6
- package/dist/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/ats/resources/availableActions/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/availableActions/client/Client.js +9 -6
- package/dist/api/resources/ats/resources/candidates/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/candidates/client/Client.js +57 -36
- package/dist/api/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.d.ts +1 -1
- package/dist/api/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.d.ts +5 -0
- package/dist/api/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.js +5 -0
- package/dist/api/resources/ats/resources/candidates/types/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/candidates/types/index.js +1 -0
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +9 -6
- package/dist/api/resources/ats/resources/departments/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/departments/client/Client.js +17 -12
- package/dist/api/resources/ats/resources/eeocs/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/eeocs/client/Client.js +17 -12
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +49 -32
- package/dist/api/resources/ats/resources/forceResync/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/forceResync/client/Client.js +9 -6
- package/dist/api/resources/ats/resources/generateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/generateKey/client/Client.js +9 -4
- package/dist/api/resources/ats/resources/index.d.ts +2 -1
- package/dist/api/resources/ats/resources/index.js +3 -2
- package/dist/api/resources/ats/resources/interviews/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/interviews/client/Client.js +33 -22
- package/dist/api/resources/ats/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/issues/client/Client.js +17 -12
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +17 -12
- package/dist/api/resources/ats/resources/jobPostings/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/jobPostings/client/Client.js +17 -12
- package/dist/api/resources/ats/resources/jobs/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/jobs/client/Client.js +25 -18
- package/dist/api/resources/ats/resources/linkToken/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +9 -4
- package/dist/api/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -1
- package/dist/api/resources/ats/resources/linkToken/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/linkToken/index.js +1 -0
- package/dist/api/resources/ats/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/dist/api/resources/ats/resources/linkToken/types/EndUserDetailsRequestLanguage.js +5 -0
- package/dist/api/resources/ats/resources/linkToken/types/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/linkToken/types/index.js +17 -0
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +9 -6
- package/dist/api/resources/ats/resources/offers/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/offers/client/Client.js +17 -12
- package/dist/api/resources/ats/resources/offices/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/offices/client/Client.js +17 -12
- package/dist/api/resources/ats/resources/passthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +9 -4
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +9 -4
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +17 -12
- package/dist/api/resources/ats/resources/scopes/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/scopes/client/Client.js +25 -16
- package/dist/api/resources/ats/resources/scorecards/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +17 -12
- package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +9 -6
- package/dist/api/resources/ats/resources/tags/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/tags/client/Client.js +9 -6
- package/dist/api/resources/ats/resources/users/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/users/client/Client.js +17 -12
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +17 -10
- package/dist/api/resources/ats/types/AccountDetails.d.ts +1 -1
- package/dist/api/resources/ats/types/AccountDetailsAndActions.d.ts +3 -2
- package/dist/api/resources/ats/types/AccountDetailsAndActionsCategory.d.ts +5 -0
- package/dist/api/resources/ats/types/AccountDetailsAndActionsCategory.js +5 -0
- package/dist/api/resources/ats/types/AccountDetailsAndActionsStatus.d.ts +5 -0
- package/dist/api/resources/ats/types/AccountDetailsAndActionsStatus.js +5 -0
- package/dist/api/resources/ats/types/AccountDetailsCategory.d.ts +5 -0
- package/dist/api/resources/ats/types/AccountDetailsCategory.js +5 -0
- package/dist/api/resources/ats/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/ats/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/ats/types/EventTypeEnum.d.ts +1 -0
- package/dist/api/resources/ats/types/Job.d.ts +1 -1
- package/dist/api/resources/ats/types/JobPosting.d.ts +1 -1
- package/dist/api/resources/ats/types/JobPostingStatus.d.ts +14 -0
- package/dist/api/resources/ats/types/JobPostingStatus.js +5 -0
- package/dist/api/resources/ats/types/JobType.d.ts +12 -0
- package/dist/api/resources/ats/types/JobType.js +5 -0
- package/dist/api/resources/ats/types/SyncStatus.d.ts +2 -2
- package/dist/api/resources/ats/types/SyncStatusLastSyncResult.d.ts +5 -0
- package/dist/api/resources/ats/types/SyncStatusLastSyncResult.js +5 -0
- package/dist/api/resources/ats/types/SyncStatusStatus.d.ts +5 -0
- package/dist/api/resources/ats/types/SyncStatusStatus.js +5 -0
- package/dist/api/resources/ats/types/index.d.ts +7 -0
- package/dist/api/resources/ats/types/index.js +7 -0
- package/dist/api/resources/crm/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/accountDetails/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +9 -6
- package/dist/api/resources/crm/resources/accountToken/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +9 -6
- package/dist/api/resources/crm/resources/accounts/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/accounts/client/Client.js +61 -39
- package/dist/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/associationTypes/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +33 -22
- package/dist/api/resources/crm/resources/associations/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/associations/client/Client.js +17 -12
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +17 -10
- package/dist/api/resources/crm/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/auditTrail/client/Client.js +9 -6
- package/dist/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/crm/resources/availableActions/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +9 -6
- package/dist/api/resources/crm/resources/contacts/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/contacts/client/Client.js +69 -43
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +17 -12
- package/dist/api/resources/crm/resources/customObjects/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +45 -29
- package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +9 -6
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +29 -19
- package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/engagements/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/engagements/client/Client.js +61 -39
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +49 -32
- package/dist/api/resources/crm/resources/forceResync/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/forceResync/client/Client.js +9 -6
- package/dist/api/resources/crm/resources/generateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/generateKey/client/Client.js +9 -4
- package/dist/api/resources/crm/resources/index.d.ts +2 -1
- package/dist/api/resources/crm/resources/index.js +3 -2
- package/dist/api/resources/crm/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/issues/client/Client.js +17 -12
- package/dist/api/resources/crm/resources/leads/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/leads/client/Client.js +45 -29
- package/dist/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/linkToken/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +9 -4
- package/dist/api/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -1
- package/dist/api/resources/crm/resources/linkToken/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/linkToken/index.js +1 -0
- package/dist/api/resources/crm/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/dist/api/resources/crm/resources/linkToken/types/EndUserDetailsRequestLanguage.js +5 -0
- package/dist/api/resources/crm/resources/linkToken/types/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/linkToken/types/index.js +17 -0
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +9 -6
- package/dist/api/resources/crm/resources/notes/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/notes/client/Client.js +45 -29
- package/dist/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/opportunities/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +61 -39
- package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/passthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +9 -4
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +9 -4
- package/dist/api/resources/crm/resources/scopes/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/scopes/client/Client.js +25 -16
- package/dist/api/resources/crm/resources/stages/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/stages/client/Client.js +29 -19
- package/dist/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/syncStatus/client/Client.d.ts +4 -2
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +10 -7
- package/dist/api/resources/crm/resources/tasks/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/tasks/client/Client.js +61 -39
- package/dist/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/users/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/users/client/Client.js +37 -23
- package/dist/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +17 -10
- package/dist/api/resources/crm/types/AccountDetails.d.ts +1 -1
- package/dist/api/resources/crm/types/AccountDetailsAndActions.d.ts +2 -2
- package/dist/api/resources/crm/types/AccountDetailsAndActionsCategory.d.ts +5 -0
- package/dist/api/resources/crm/types/AccountDetailsAndActionsCategory.js +5 -0
- package/dist/api/resources/crm/types/AccountDetailsAndActionsStatus.d.ts +5 -0
- package/dist/api/resources/crm/types/AccountDetailsAndActionsStatus.js +5 -0
- package/dist/api/resources/crm/types/AccountDetailsCategory.d.ts +5 -0
- package/dist/api/resources/crm/types/AccountDetailsCategory.js +5 -0
- package/dist/api/resources/crm/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/crm/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/crm/types/CustomObjectRequest.d.ts +2 -0
- package/dist/api/resources/crm/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/crm/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/crm/types/IgnoreCommonModelRequest.d.ts +1 -1
- package/dist/api/resources/crm/types/IgnoreCommonModelRequestReason.d.ts +5 -0
- package/dist/api/resources/crm/types/IgnoreCommonModelRequestReason.js +5 -0
- package/dist/api/resources/crm/types/SyncStatus.d.ts +1 -1
- package/dist/api/resources/crm/types/SyncStatusStatus.d.ts +5 -0
- package/dist/api/resources/crm/types/SyncStatusStatus.js +5 -0
- package/dist/api/resources/crm/types/index.d.ts +5 -0
- package/dist/api/resources/crm/types/index.js +5 -0
- package/dist/api/resources/filestorage/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +9 -6
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +9 -6
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +17 -10
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +9 -6
- package/dist/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +9 -6
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +9 -6
- package/dist/api/resources/filestorage/resources/drives/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/drives/client/Client.js +17 -12
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +49 -32
- package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/files/client/Client.js +81 -44
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +23 -2
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +4 -0
- package/dist/api/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.d.ts +10 -0
- package/dist/api/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.js +12 -0
- package/dist/api/resources/filestorage/resources/files/types/FilesListRequestOrderBy.d.ts +10 -0
- package/dist/api/resources/filestorage/resources/files/types/FilesListRequestOrderBy.js +12 -0
- package/dist/api/resources/filestorage/resources/files/types/index.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/files/types/index.js +2 -0
- package/dist/api/resources/filestorage/resources/folders/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +33 -22
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +9 -6
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +9 -4
- package/dist/api/resources/filestorage/resources/groups/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +17 -12
- package/dist/api/resources/filestorage/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +17 -12
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +9 -4
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +9 -6
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +9 -4
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +9 -4
- package/dist/api/resources/filestorage/resources/scopes/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/scopes/client/Client.js +25 -16
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +4 -2
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +10 -7
- package/dist/api/resources/filestorage/resources/users/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/users/client/Client.js +17 -12
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +17 -10
- package/dist/api/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/api/resources/filestorage/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/filestorage/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/filestorage/types/DownloadRequestMeta.d.ts +0 -1
- package/dist/api/resources/filestorage/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/filestorage/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/filestorage/types/FileRequest.d.ts +2 -0
- package/dist/api/resources/filestorage/types/File_.d.ts +2 -0
- package/dist/api/resources/hris/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/accountDetails/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/accountDetails/client/Client.js +9 -6
- package/dist/api/resources/hris/resources/accountToken/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/accountToken/client/Client.js +9 -6
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +17 -10
- package/dist/api/resources/hris/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/auditTrail/client/Client.js +9 -6
- package/dist/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/hris/resources/availableActions/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/availableActions/client/Client.js +9 -6
- package/dist/api/resources/hris/resources/bankInfo/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/bankInfo/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/benefits/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/benefits/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/companies/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/companies/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +9 -6
- package/dist/api/resources/hris/resources/dependents/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/dependents/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/employees/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employees/client/Client.js +41 -26
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/employments/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employments/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +49 -32
- package/dist/api/resources/hris/resources/forceResync/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/forceResync/client/Client.js +9 -6
- package/dist/api/resources/hris/resources/generateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +9 -4
- package/dist/api/resources/hris/resources/groups/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/groups/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/index.d.ts +2 -1
- package/dist/api/resources/hris/resources/index.js +3 -2
- package/dist/api/resources/hris/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/issues/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/linkToken/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +9 -4
- package/dist/api/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -1
- package/dist/api/resources/hris/resources/linkToken/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/linkToken/index.js +1 -0
- package/dist/api/resources/hris/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/dist/api/resources/hris/resources/linkToken/types/EndUserDetailsRequestLanguage.js +5 -0
- package/dist/api/resources/hris/resources/linkToken/types/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/linkToken/types/index.js +17 -0
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +9 -6
- package/dist/api/resources/hris/resources/locations/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/locations/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/passthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +9 -4
- package/dist/api/resources/hris/resources/payGroups/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +9 -4
- package/dist/api/resources/hris/resources/scopes/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/scopes/client/Client.js +25 -16
- package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +9 -6
- package/dist/api/resources/hris/resources/teams/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/teams/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/timeOff/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/timeOff/client/Client.js +33 -22
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +17 -12
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +33 -22
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +17 -10
- package/dist/api/resources/hris/types/AccountDetails.d.ts +1 -1
- package/dist/api/resources/hris/types/AccountDetailsAndActions.d.ts +2 -1
- package/dist/api/resources/hris/types/AccountDetailsAndActionsCategory.d.ts +5 -0
- package/dist/api/resources/hris/types/AccountDetailsAndActionsCategory.js +5 -0
- package/dist/api/resources/hris/types/AccountDetailsCategory.d.ts +5 -0
- package/dist/api/resources/hris/types/AccountDetailsCategory.js +5 -0
- package/dist/api/resources/hris/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/hris/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/hris/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/hris/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/hris/types/index.d.ts +2 -0
- package/dist/api/resources/hris/types/index.js +2 -0
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/ticketing/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +9 -6
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +9 -6
- package/dist/api/resources/ticketing/resources/accounts/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +17 -12
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +17 -10
- package/dist/api/resources/ticketing/resources/attachments/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +41 -28
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +9 -6
- package/dist/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +9 -6
- package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +25 -18
- package/dist/api/resources/ticketing/resources/comments/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +33 -22
- package/dist/api/resources/ticketing/resources/contacts/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +33 -22
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +9 -6
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +49 -32
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +9 -6
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +9 -4
- package/dist/api/resources/ticketing/resources/index.d.ts +2 -1
- package/dist/api/resources/ticketing/resources/index.js +3 -2
- package/dist/api/resources/ticketing/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +17 -12
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +9 -4
- package/dist/api/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/linkToken/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/linkToken/index.js +1 -0
- package/dist/api/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/dist/api/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestLanguage.js +5 -0
- package/dist/api/resources/ticketing/resources/linkToken/types/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/linkToken/types/index.js +17 -0
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +9 -6
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +9 -4
- package/dist/api/resources/ticketing/resources/projects/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +25 -18
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +9 -4
- package/dist/api/resources/ticketing/resources/roles/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/roles/client/Client.js +17 -12
- package/dist/api/resources/ticketing/resources/scopes/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/scopes/client/Client.js +25 -16
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +9 -6
- package/dist/api/resources/ticketing/resources/tags/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +17 -12
- package/dist/api/resources/ticketing/resources/teams/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +17 -12
- package/dist/api/resources/ticketing/resources/tickets/client/Client.d.ts +5 -2
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +83 -49
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsMetaPostRetrieveRequest.d.ts +17 -0
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsMetaPostRetrieveRequest.js +5 -0
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/tickets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/users/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/users/client/Client.js +17 -12
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +17 -10
- package/dist/api/resources/ticketing/types/AccountDetails.d.ts +1 -1
- package/dist/api/resources/ticketing/types/AccountDetailsAndActions.d.ts +3 -2
- package/dist/api/resources/ticketing/types/AccountDetailsAndActionsCategory.d.ts +5 -0
- package/dist/api/resources/ticketing/types/AccountDetailsAndActionsCategory.js +5 -0
- package/dist/api/resources/ticketing/types/AccountDetailsAndActionsStatus.d.ts +5 -0
- package/dist/api/resources/ticketing/types/AccountDetailsAndActionsStatus.js +5 -0
- package/dist/api/resources/ticketing/types/AccountDetailsCategory.d.ts +5 -0
- package/dist/api/resources/ticketing/types/AccountDetailsCategory.js +5 -0
- package/dist/api/resources/ticketing/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/ticketing/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/ticketing/types/Collection.d.ts +9 -8
- package/dist/api/resources/ticketing/types/CollectionAccessLevel.d.ts +2 -1
- package/dist/api/resources/ticketing/types/CollectionAccessLevelEnum.d.ts +16 -0
- package/dist/api/resources/ticketing/types/CollectionAccessLevelEnum.js +12 -0
- package/dist/api/resources/ticketing/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/ticketing/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/ticketing/types/PatchedTicketRequest.d.ts +9 -0
- package/dist/api/resources/ticketing/types/PatchedTicketRequestAccessLevel.d.ts +13 -0
- package/dist/api/resources/ticketing/types/PatchedTicketRequestAccessLevel.js +5 -0
- package/dist/api/resources/ticketing/types/SyncStatus.d.ts +1 -1
- package/dist/api/resources/ticketing/types/SyncStatusLastSyncResult.d.ts +5 -0
- package/dist/api/resources/ticketing/types/SyncStatusLastSyncResult.js +5 -0
- package/dist/api/resources/ticketing/types/Ticket.d.ts +9 -0
- package/dist/api/resources/ticketing/types/TicketAccessLevel.d.ts +13 -0
- package/dist/api/resources/ticketing/types/TicketAccessLevel.js +5 -0
- package/dist/api/resources/ticketing/types/{AccessLevelEnum.d.ts → TicketAccessLevelEnum.d.ts} +6 -4
- package/dist/api/resources/ticketing/types/{AccessLevelEnum.js → TicketAccessLevelEnum.js} +4 -3
- package/dist/api/resources/ticketing/types/TicketRequest.d.ts +9 -0
- package/dist/api/resources/ticketing/types/TicketRequestAccessLevel.d.ts +13 -0
- package/dist/api/resources/ticketing/types/TicketRequestAccessLevel.js +5 -0
- package/dist/api/resources/ticketing/types/index.d.ts +10 -2
- package/dist/api/resources/ticketing/types/index.js +10 -2
- package/dist/core/fetcher/Fetcher.d.ts +2 -1
- package/dist/core/fetcher/Fetcher.js +22 -9
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +84 -0
- package/dist/core/fetcher/RawResponse.js +3 -2
- package/dist/core/headers.d.ts +3 -0
- package/dist/core/headers.js +29 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/errors/MergeError.d.ts +4 -1
- package/dist/errors/MergeError.js +4 -7
- package/dist/serialization/resources/accounting/resources/index.d.ts +3 -1
- package/dist/serialization/resources/accounting/resources/index.js +4 -2
- package/dist/serialization/resources/accounting/resources/items/client/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/items/client/index.js +17 -0
- package/dist/serialization/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts +13 -0
- package/dist/serialization/resources/accounting/resources/items/client/requests/ItemEndpointRequest.js +44 -0
- package/dist/serialization/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.d.ts +13 -0
- package/dist/serialization/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.js +44 -0
- package/dist/serialization/resources/accounting/resources/items/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/accounting/resources/items/client/requests/index.js +7 -0
- package/dist/serialization/resources/accounting/resources/items/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/items/index.js +1 -0
- package/dist/serialization/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -2
- package/dist/serialization/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.js +2 -2
- package/dist/serialization/resources/accounting/resources/linkToken/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/linkToken/index.js +1 -0
- package/dist/serialization/resources/accounting/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/dist/serialization/resources/accounting/resources/linkToken/types/EndUserDetailsRequestLanguage.js +42 -0
- package/dist/serialization/resources/accounting/resources/linkToken/types/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/linkToken/types/index.js +17 -0
- package/dist/serialization/resources/accounting/types/AccountDetails.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/AccountDetails.js +2 -2
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActions.d.ts +5 -4
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActions.js +5 -4
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActionsCategory.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActionsCategory.js +42 -0
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActionsStatus.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActionsStatus.js +42 -0
- package/dist/serialization/resources/accounting/types/AccountDetailsCategory.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/AccountDetailsCategory.js +42 -0
- package/dist/serialization/resources/accounting/types/DataPassthroughRequest.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/DataPassthroughRequest.js +2 -2
- package/dist/serialization/resources/accounting/types/DataPassthroughRequestMethod.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/DataPassthroughRequestMethod.js +42 -0
- package/dist/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequest.d.ts +30 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequest.js +61 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestCompany.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestCompany.js +42 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestPurchaseAccount.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestPurchaseAccount.js +42 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestPurchaseTaxRate.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestPurchaseTaxRate.js +42 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestSalesAccount.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestSalesAccount.js +42 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestSalesTaxRate.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestSalesTaxRate.js +42 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestStatus.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestStatus.js +42 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestType.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ItemRequestRequestType.js +42 -0
- package/dist/serialization/resources/accounting/types/ItemResponse.d.ts +19 -0
- package/dist/serialization/resources/accounting/types/ItemResponse.js +50 -0
- package/dist/serialization/resources/accounting/types/PatchedItemRequestRequest.d.ts +25 -0
- package/dist/serialization/resources/accounting/types/PatchedItemRequestRequest.js +56 -0
- package/dist/serialization/resources/accounting/types/PatchedItemRequestRequestStatus.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/PatchedItemRequestRequestStatus.js +42 -0
- package/dist/serialization/resources/accounting/types/PatchedItemRequestRequestType.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/PatchedItemRequestRequestType.js +42 -0
- package/dist/serialization/resources/accounting/types/SyncStatus.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/SyncStatus.js +2 -2
- package/dist/serialization/resources/accounting/types/SyncStatusStatus.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/SyncStatusStatus.js +42 -0
- package/dist/serialization/resources/accounting/types/Type2BbEnum.d.ts +10 -0
- package/dist/serialization/resources/{ticketing/types/AccessLevelEnum.js → accounting/types/Type2BbEnum.js} +2 -2
- package/dist/serialization/resources/accounting/types/index.d.ts +18 -0
- package/dist/serialization/resources/accounting/types/index.js +18 -0
- package/dist/serialization/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.d.ts +2 -2
- package/dist/serialization/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.js +2 -2
- package/dist/serialization/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.d.ts +11 -0
- package/dist/serialization/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.js +42 -0
- package/dist/serialization/resources/ats/resources/candidates/types/index.d.ts +1 -0
- package/dist/serialization/resources/ats/resources/candidates/types/index.js +1 -0
- package/dist/serialization/resources/ats/resources/index.d.ts +2 -1
- package/dist/serialization/resources/ats/resources/index.js +3 -2
- package/dist/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -2
- package/dist/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.js +2 -2
- package/dist/serialization/resources/ats/resources/linkToken/index.d.ts +1 -0
- package/dist/serialization/resources/ats/resources/linkToken/index.js +1 -0
- package/dist/serialization/resources/ats/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/dist/serialization/resources/ats/resources/linkToken/types/EndUserDetailsRequestLanguage.js +42 -0
- package/dist/serialization/resources/ats/resources/linkToken/types/index.d.ts +1 -0
- package/dist/serialization/resources/ats/resources/linkToken/types/index.js +17 -0
- package/dist/serialization/resources/ats/types/AccountDetails.d.ts +2 -2
- package/dist/serialization/resources/ats/types/AccountDetails.js +2 -2
- package/dist/serialization/resources/ats/types/AccountDetailsAndActions.d.ts +5 -4
- package/dist/serialization/resources/ats/types/AccountDetailsAndActions.js +5 -4
- package/dist/serialization/resources/ats/types/AccountDetailsAndActionsCategory.d.ts +11 -0
- package/dist/serialization/resources/ats/types/AccountDetailsAndActionsCategory.js +42 -0
- package/dist/serialization/resources/ats/types/AccountDetailsAndActionsStatus.d.ts +11 -0
- package/dist/serialization/resources/ats/types/AccountDetailsAndActionsStatus.js +42 -0
- package/dist/serialization/resources/ats/types/AccountDetailsCategory.d.ts +11 -0
- package/dist/serialization/resources/ats/types/AccountDetailsCategory.js +42 -0
- package/dist/serialization/resources/ats/types/Job.d.ts +2 -2
- package/dist/serialization/resources/ats/types/Job.js +2 -2
- package/dist/serialization/resources/ats/types/JobPosting.d.ts +2 -2
- package/dist/serialization/resources/ats/types/JobPosting.js +2 -2
- package/dist/serialization/resources/ats/types/JobPostingStatus.d.ts +11 -0
- package/dist/serialization/resources/ats/types/JobPostingStatus.js +42 -0
- package/dist/serialization/resources/ats/types/JobType.d.ts +11 -0
- package/dist/serialization/resources/ats/types/JobType.js +42 -0
- package/dist/serialization/resources/ats/types/SyncStatus.d.ts +4 -4
- package/dist/serialization/resources/ats/types/SyncStatus.js +4 -4
- package/dist/serialization/resources/ats/types/SyncStatusLastSyncResult.d.ts +11 -0
- package/dist/serialization/resources/ats/types/SyncStatusLastSyncResult.js +42 -0
- package/dist/serialization/resources/ats/types/SyncStatusStatus.d.ts +11 -0
- package/dist/serialization/resources/ats/types/SyncStatusStatus.js +42 -0
- package/dist/serialization/resources/ats/types/index.d.ts +7 -0
- package/dist/serialization/resources/ats/types/index.js +7 -0
- package/dist/serialization/resources/crm/resources/index.d.ts +2 -1
- package/dist/serialization/resources/crm/resources/index.js +3 -2
- package/dist/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -2
- package/dist/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.js +2 -2
- package/dist/serialization/resources/crm/resources/linkToken/index.d.ts +1 -0
- package/dist/serialization/resources/crm/resources/linkToken/index.js +1 -0
- package/dist/serialization/resources/crm/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/dist/serialization/resources/crm/resources/linkToken/types/EndUserDetailsRequestLanguage.js +42 -0
- package/dist/serialization/resources/crm/resources/linkToken/types/index.d.ts +1 -0
- package/dist/serialization/resources/crm/resources/linkToken/types/index.js +17 -0
- package/dist/serialization/resources/crm/types/AccountDetails.d.ts +2 -2
- package/dist/serialization/resources/crm/types/AccountDetails.js +2 -2
- package/dist/serialization/resources/crm/types/AccountDetailsAndActions.d.ts +4 -4
- package/dist/serialization/resources/crm/types/AccountDetailsAndActions.js +4 -4
- package/dist/serialization/resources/crm/types/AccountDetailsAndActionsCategory.d.ts +11 -0
- package/dist/serialization/resources/crm/types/AccountDetailsAndActionsCategory.js +42 -0
- package/dist/serialization/resources/crm/types/AccountDetailsAndActionsStatus.d.ts +11 -0
- package/dist/serialization/resources/crm/types/AccountDetailsAndActionsStatus.js +42 -0
- package/dist/serialization/resources/crm/types/AccountDetailsCategory.d.ts +11 -0
- package/dist/serialization/resources/crm/types/AccountDetailsCategory.js +42 -0
- package/dist/serialization/resources/crm/types/CustomObjectRequest.d.ts +2 -0
- package/dist/serialization/resources/crm/types/CustomObjectRequest.js +2 -0
- package/dist/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/crm/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/crm/types/IgnoreCommonModelRequest.d.ts +2 -2
- package/dist/serialization/resources/crm/types/IgnoreCommonModelRequest.js +2 -2
- package/dist/serialization/resources/crm/types/IgnoreCommonModelRequestReason.d.ts +11 -0
- package/dist/serialization/resources/crm/types/IgnoreCommonModelRequestReason.js +42 -0
- package/dist/serialization/resources/crm/types/SyncStatus.d.ts +2 -2
- package/dist/serialization/resources/crm/types/SyncStatus.js +2 -2
- package/dist/serialization/resources/crm/types/SyncStatusStatus.d.ts +11 -0
- package/dist/serialization/resources/crm/types/SyncStatusStatus.js +42 -0
- package/dist/serialization/resources/crm/types/index.d.ts +5 -0
- package/dist/serialization/resources/crm/types/index.js +5 -0
- package/dist/serialization/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.d.ts +10 -0
- package/dist/serialization/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.js +41 -0
- package/dist/serialization/resources/filestorage/resources/files/types/FilesListRequestOrderBy.d.ts +10 -0
- package/dist/serialization/resources/filestorage/resources/files/types/FilesListRequestOrderBy.js +41 -0
- package/dist/serialization/resources/filestorage/resources/files/types/index.d.ts +2 -0
- package/dist/serialization/resources/filestorage/resources/files/types/index.js +2 -0
- package/dist/serialization/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/serialization/resources/filestorage/types/AccountDetailsAndActions.js +1 -0
- package/dist/serialization/resources/filestorage/types/DownloadRequestMeta.d.ts +0 -1
- package/dist/serialization/resources/filestorage/types/DownloadRequestMeta.js +0 -1
- package/dist/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/filestorage/types/FileRequest.d.ts +1 -0
- package/dist/serialization/resources/filestorage/types/FileRequest.js +1 -0
- package/dist/serialization/resources/filestorage/types/File_.d.ts +1 -0
- package/dist/serialization/resources/filestorage/types/File_.js +1 -0
- package/dist/serialization/resources/hris/resources/index.d.ts +2 -1
- package/dist/serialization/resources/hris/resources/index.js +3 -2
- package/dist/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -2
- package/dist/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.js +2 -2
- package/dist/serialization/resources/hris/resources/linkToken/index.d.ts +1 -0
- package/dist/serialization/resources/hris/resources/linkToken/index.js +1 -0
- package/dist/serialization/resources/hris/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/dist/serialization/resources/hris/resources/linkToken/types/EndUserDetailsRequestLanguage.js +42 -0
- package/dist/serialization/resources/hris/resources/linkToken/types/index.d.ts +1 -0
- package/dist/serialization/resources/hris/resources/linkToken/types/index.js +17 -0
- package/dist/serialization/resources/hris/types/AccountDetails.d.ts +2 -2
- package/dist/serialization/resources/hris/types/AccountDetails.js +2 -2
- package/dist/serialization/resources/hris/types/AccountDetailsAndActions.d.ts +3 -2
- package/dist/serialization/resources/hris/types/AccountDetailsAndActions.js +3 -2
- package/dist/serialization/resources/hris/types/AccountDetailsAndActionsCategory.d.ts +11 -0
- package/dist/serialization/resources/hris/types/AccountDetailsAndActionsCategory.js +42 -0
- package/dist/serialization/resources/hris/types/AccountDetailsCategory.d.ts +11 -0
- package/dist/serialization/resources/hris/types/AccountDetailsCategory.js +42 -0
- package/dist/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/hris/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/hris/types/index.d.ts +2 -0
- package/dist/serialization/resources/hris/types/index.js +2 -0
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/ticketing/resources/index.d.ts +2 -1
- package/dist/serialization/resources/ticketing/resources/index.js +3 -2
- package/dist/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -2
- package/dist/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.js +2 -2
- package/dist/serialization/resources/ticketing/resources/linkToken/index.d.ts +1 -0
- package/dist/serialization/resources/ticketing/resources/linkToken/index.js +1 -0
- package/dist/serialization/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/dist/serialization/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestLanguage.js +42 -0
- package/dist/serialization/resources/ticketing/resources/linkToken/types/index.d.ts +1 -0
- package/dist/serialization/resources/ticketing/resources/linkToken/types/index.js +17 -0
- package/dist/serialization/resources/ticketing/types/AccountDetails.d.ts +2 -2
- package/dist/serialization/resources/ticketing/types/AccountDetails.js +2 -2
- package/dist/serialization/resources/ticketing/types/AccountDetailsAndActions.d.ts +5 -4
- package/dist/serialization/resources/ticketing/types/AccountDetailsAndActions.js +5 -4
- package/dist/serialization/resources/ticketing/types/AccountDetailsAndActionsCategory.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/AccountDetailsAndActionsCategory.js +42 -0
- package/dist/serialization/resources/ticketing/types/AccountDetailsAndActionsStatus.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/AccountDetailsAndActionsStatus.js +42 -0
- package/dist/serialization/resources/ticketing/types/AccountDetailsCategory.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/AccountDetailsCategory.js +42 -0
- package/dist/serialization/resources/ticketing/types/Collection.d.ts +2 -2
- package/dist/serialization/resources/ticketing/types/Collection.js +2 -2
- package/dist/serialization/resources/ticketing/types/CollectionAccessLevel.d.ts +2 -2
- package/dist/serialization/resources/ticketing/types/CollectionAccessLevel.js +2 -2
- package/dist/serialization/resources/ticketing/types/CollectionAccessLevelEnum.d.ts +10 -0
- package/dist/serialization/resources/ticketing/types/CollectionAccessLevelEnum.js +41 -0
- package/dist/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/ticketing/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -0
- package/dist/serialization/resources/ticketing/types/PatchedTicketRequest.js +2 -0
- package/dist/serialization/resources/ticketing/types/PatchedTicketRequestAccessLevel.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/PatchedTicketRequestAccessLevel.js +42 -0
- package/dist/serialization/resources/ticketing/types/SyncStatus.d.ts +2 -2
- package/dist/serialization/resources/ticketing/types/SyncStatus.js +2 -2
- package/dist/serialization/resources/ticketing/types/SyncStatusLastSyncResult.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/SyncStatusLastSyncResult.js +42 -0
- package/dist/serialization/resources/ticketing/types/Ticket.d.ts +2 -0
- package/dist/serialization/resources/ticketing/types/Ticket.js +2 -0
- package/dist/serialization/resources/ticketing/types/TicketAccessLevel.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/TicketAccessLevel.js +42 -0
- package/dist/serialization/resources/ticketing/types/TicketAccessLevelEnum.d.ts +10 -0
- package/dist/serialization/resources/ticketing/types/TicketAccessLevelEnum.js +41 -0
- package/dist/serialization/resources/ticketing/types/TicketRequest.d.ts +2 -0
- package/dist/serialization/resources/ticketing/types/TicketRequest.js +2 -0
- package/dist/serialization/resources/ticketing/types/TicketRequestAccessLevel.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/TicketRequestAccessLevel.js +42 -0
- package/dist/serialization/resources/ticketing/types/index.d.ts +10 -2
- package/dist/serialization/resources/ticketing/types/index.js +10 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/errors/MergeError.d.ts +4 -1
- package/errors/MergeError.js +4 -7
- package/jest.config.mjs +1 -0
- package/package.json +7 -3
- package/reference.md +2815 -2551
- package/scripts/rename-to-esm-files.js +10 -2
- package/serialization/resources/accounting/resources/index.d.ts +3 -1
- package/serialization/resources/accounting/resources/index.js +4 -2
- package/serialization/resources/accounting/resources/items/client/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/items/client/index.js +17 -0
- package/serialization/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts +13 -0
- package/serialization/resources/accounting/resources/items/client/requests/ItemEndpointRequest.js +44 -0
- package/serialization/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.d.ts +13 -0
- package/serialization/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.js +44 -0
- package/serialization/resources/accounting/resources/items/client/requests/index.d.ts +2 -0
- package/serialization/resources/accounting/resources/items/client/requests/index.js +7 -0
- package/serialization/resources/accounting/resources/items/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/items/index.js +1 -0
- package/serialization/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -2
- package/serialization/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.js +2 -2
- package/serialization/resources/accounting/resources/linkToken/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/linkToken/index.js +1 -0
- package/serialization/resources/accounting/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/serialization/resources/accounting/resources/linkToken/types/EndUserDetailsRequestLanguage.js +42 -0
- package/serialization/resources/accounting/resources/linkToken/types/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/linkToken/types/index.js +17 -0
- package/serialization/resources/accounting/types/AccountDetails.d.ts +2 -2
- package/serialization/resources/accounting/types/AccountDetails.js +2 -2
- package/serialization/resources/accounting/types/AccountDetailsAndActions.d.ts +5 -4
- package/serialization/resources/accounting/types/AccountDetailsAndActions.js +5 -4
- package/serialization/resources/accounting/types/AccountDetailsAndActionsCategory.d.ts +11 -0
- package/serialization/resources/accounting/types/AccountDetailsAndActionsCategory.js +42 -0
- package/serialization/resources/accounting/types/AccountDetailsAndActionsStatus.d.ts +11 -0
- package/serialization/resources/accounting/types/AccountDetailsAndActionsStatus.js +42 -0
- package/serialization/resources/accounting/types/AccountDetailsCategory.d.ts +11 -0
- package/serialization/resources/accounting/types/AccountDetailsCategory.js +42 -0
- package/serialization/resources/accounting/types/DataPassthroughRequest.d.ts +2 -2
- package/serialization/resources/accounting/types/DataPassthroughRequest.js +2 -2
- package/serialization/resources/accounting/types/DataPassthroughRequestMethod.d.ts +11 -0
- package/serialization/resources/accounting/types/DataPassthroughRequestMethod.js +42 -0
- package/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/accounting/types/EventTypeEnum.js +1 -0
- package/serialization/resources/accounting/types/ItemRequestRequest.d.ts +30 -0
- package/serialization/resources/accounting/types/ItemRequestRequest.js +61 -0
- package/serialization/resources/accounting/types/ItemRequestRequestCompany.d.ts +11 -0
- package/serialization/resources/accounting/types/ItemRequestRequestCompany.js +42 -0
- package/serialization/resources/accounting/types/ItemRequestRequestPurchaseAccount.d.ts +11 -0
- package/serialization/resources/accounting/types/ItemRequestRequestPurchaseAccount.js +42 -0
- package/serialization/resources/accounting/types/ItemRequestRequestPurchaseTaxRate.d.ts +11 -0
- package/serialization/resources/accounting/types/ItemRequestRequestPurchaseTaxRate.js +42 -0
- package/serialization/resources/accounting/types/ItemRequestRequestSalesAccount.d.ts +11 -0
- package/serialization/resources/accounting/types/ItemRequestRequestSalesAccount.js +42 -0
- package/serialization/resources/accounting/types/ItemRequestRequestSalesTaxRate.d.ts +11 -0
- package/serialization/resources/accounting/types/ItemRequestRequestSalesTaxRate.js +42 -0
- package/serialization/resources/accounting/types/ItemRequestRequestStatus.d.ts +11 -0
- package/serialization/resources/accounting/types/ItemRequestRequestStatus.js +42 -0
- package/serialization/resources/accounting/types/ItemRequestRequestType.d.ts +11 -0
- package/serialization/resources/accounting/types/ItemRequestRequestType.js +42 -0
- package/serialization/resources/accounting/types/ItemResponse.d.ts +19 -0
- package/serialization/resources/accounting/types/ItemResponse.js +50 -0
- package/serialization/resources/accounting/types/PatchedItemRequestRequest.d.ts +25 -0
- package/serialization/resources/accounting/types/PatchedItemRequestRequest.js +56 -0
- package/serialization/resources/accounting/types/PatchedItemRequestRequestStatus.d.ts +11 -0
- package/serialization/resources/accounting/types/PatchedItemRequestRequestStatus.js +42 -0
- package/serialization/resources/accounting/types/PatchedItemRequestRequestType.d.ts +11 -0
- package/serialization/resources/accounting/types/PatchedItemRequestRequestType.js +42 -0
- package/serialization/resources/accounting/types/SyncStatus.d.ts +2 -2
- package/serialization/resources/accounting/types/SyncStatus.js +2 -2
- package/serialization/resources/accounting/types/SyncStatusStatus.d.ts +11 -0
- package/serialization/resources/accounting/types/SyncStatusStatus.js +42 -0
- package/serialization/resources/accounting/types/Type2BbEnum.d.ts +10 -0
- package/serialization/resources/{ticketing/types/AccessLevelEnum.js → accounting/types/Type2BbEnum.js} +2 -2
- package/serialization/resources/accounting/types/index.d.ts +18 -0
- package/serialization/resources/accounting/types/index.js +18 -0
- package/serialization/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.d.ts +2 -2
- package/serialization/resources/ats/resources/candidates/client/requests/IgnoreCommonModelRequest.js +2 -2
- package/serialization/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.d.ts +11 -0
- package/serialization/resources/ats/resources/candidates/types/IgnoreCommonModelRequestReason.js +42 -0
- package/serialization/resources/ats/resources/candidates/types/index.d.ts +1 -0
- package/serialization/resources/ats/resources/candidates/types/index.js +1 -0
- package/serialization/resources/ats/resources/index.d.ts +2 -1
- package/serialization/resources/ats/resources/index.js +3 -2
- package/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -2
- package/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.js +2 -2
- package/serialization/resources/ats/resources/linkToken/index.d.ts +1 -0
- package/serialization/resources/ats/resources/linkToken/index.js +1 -0
- package/serialization/resources/ats/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/serialization/resources/ats/resources/linkToken/types/EndUserDetailsRequestLanguage.js +42 -0
- package/serialization/resources/ats/resources/linkToken/types/index.d.ts +1 -0
- package/serialization/resources/ats/resources/linkToken/types/index.js +17 -0
- package/serialization/resources/ats/types/AccountDetails.d.ts +2 -2
- package/serialization/resources/ats/types/AccountDetails.js +2 -2
- package/serialization/resources/ats/types/AccountDetailsAndActions.d.ts +5 -4
- package/serialization/resources/ats/types/AccountDetailsAndActions.js +5 -4
- package/serialization/resources/ats/types/AccountDetailsAndActionsCategory.d.ts +11 -0
- package/serialization/resources/ats/types/AccountDetailsAndActionsCategory.js +42 -0
- package/serialization/resources/ats/types/AccountDetailsAndActionsStatus.d.ts +11 -0
- package/serialization/resources/ats/types/AccountDetailsAndActionsStatus.js +42 -0
- package/serialization/resources/ats/types/AccountDetailsCategory.d.ts +11 -0
- package/serialization/resources/ats/types/AccountDetailsCategory.js +42 -0
- package/serialization/resources/ats/types/Job.d.ts +2 -2
- package/serialization/resources/ats/types/Job.js +2 -2
- package/serialization/resources/ats/types/JobPosting.d.ts +2 -2
- package/serialization/resources/ats/types/JobPosting.js +2 -2
- package/serialization/resources/ats/types/JobPostingStatus.d.ts +11 -0
- package/serialization/resources/ats/types/JobPostingStatus.js +42 -0
- package/serialization/resources/ats/types/JobType.d.ts +11 -0
- package/serialization/resources/ats/types/JobType.js +42 -0
- package/serialization/resources/ats/types/SyncStatus.d.ts +4 -4
- package/serialization/resources/ats/types/SyncStatus.js +4 -4
- package/serialization/resources/ats/types/SyncStatusLastSyncResult.d.ts +11 -0
- package/serialization/resources/ats/types/SyncStatusLastSyncResult.js +42 -0
- package/serialization/resources/ats/types/SyncStatusStatus.d.ts +11 -0
- package/serialization/resources/ats/types/SyncStatusStatus.js +42 -0
- package/serialization/resources/ats/types/index.d.ts +7 -0
- package/serialization/resources/ats/types/index.js +7 -0
- package/serialization/resources/crm/resources/index.d.ts +2 -1
- package/serialization/resources/crm/resources/index.js +3 -2
- package/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -2
- package/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.js +2 -2
- package/serialization/resources/crm/resources/linkToken/index.d.ts +1 -0
- package/serialization/resources/crm/resources/linkToken/index.js +1 -0
- package/serialization/resources/crm/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/serialization/resources/crm/resources/linkToken/types/EndUserDetailsRequestLanguage.js +42 -0
- package/serialization/resources/crm/resources/linkToken/types/index.d.ts +1 -0
- package/serialization/resources/crm/resources/linkToken/types/index.js +17 -0
- package/serialization/resources/crm/types/AccountDetails.d.ts +2 -2
- package/serialization/resources/crm/types/AccountDetails.js +2 -2
- package/serialization/resources/crm/types/AccountDetailsAndActions.d.ts +4 -4
- package/serialization/resources/crm/types/AccountDetailsAndActions.js +4 -4
- package/serialization/resources/crm/types/AccountDetailsAndActionsCategory.d.ts +11 -0
- package/serialization/resources/crm/types/AccountDetailsAndActionsCategory.js +42 -0
- package/serialization/resources/crm/types/AccountDetailsAndActionsStatus.d.ts +11 -0
- package/serialization/resources/crm/types/AccountDetailsAndActionsStatus.js +42 -0
- package/serialization/resources/crm/types/AccountDetailsCategory.d.ts +11 -0
- package/serialization/resources/crm/types/AccountDetailsCategory.js +42 -0
- package/serialization/resources/crm/types/CustomObjectRequest.d.ts +2 -0
- package/serialization/resources/crm/types/CustomObjectRequest.js +2 -0
- package/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/crm/types/EventTypeEnum.js +1 -0
- package/serialization/resources/crm/types/IgnoreCommonModelRequest.d.ts +2 -2
- package/serialization/resources/crm/types/IgnoreCommonModelRequest.js +2 -2
- package/serialization/resources/crm/types/IgnoreCommonModelRequestReason.d.ts +11 -0
- package/serialization/resources/crm/types/IgnoreCommonModelRequestReason.js +42 -0
- package/serialization/resources/crm/types/SyncStatus.d.ts +2 -2
- package/serialization/resources/crm/types/SyncStatus.js +2 -2
- package/serialization/resources/crm/types/SyncStatusStatus.d.ts +11 -0
- package/serialization/resources/crm/types/SyncStatusStatus.js +42 -0
- package/serialization/resources/crm/types/index.d.ts +5 -0
- package/serialization/resources/crm/types/index.js +5 -0
- package/serialization/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.d.ts +10 -0
- package/serialization/resources/filestorage/resources/files/types/FilesDownloadRequestMetaListRequestOrderBy.js +41 -0
- package/serialization/resources/filestorage/resources/files/types/FilesListRequestOrderBy.d.ts +10 -0
- package/serialization/resources/filestorage/resources/files/types/FilesListRequestOrderBy.js +41 -0
- package/serialization/resources/filestorage/resources/files/types/index.d.ts +2 -0
- package/serialization/resources/filestorage/resources/files/types/index.js +2 -0
- package/serialization/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
- package/serialization/resources/filestorage/types/AccountDetailsAndActions.js +1 -0
- package/serialization/resources/filestorage/types/DownloadRequestMeta.d.ts +0 -1
- package/serialization/resources/filestorage/types/DownloadRequestMeta.js +0 -1
- package/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/filestorage/types/EventTypeEnum.js +1 -0
- package/serialization/resources/filestorage/types/FileRequest.d.ts +1 -0
- package/serialization/resources/filestorage/types/FileRequest.js +1 -0
- package/serialization/resources/filestorage/types/File_.d.ts +1 -0
- package/serialization/resources/filestorage/types/File_.js +1 -0
- package/serialization/resources/hris/resources/index.d.ts +2 -1
- package/serialization/resources/hris/resources/index.js +3 -2
- package/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -2
- package/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.js +2 -2
- package/serialization/resources/hris/resources/linkToken/index.d.ts +1 -0
- package/serialization/resources/hris/resources/linkToken/index.js +1 -0
- package/serialization/resources/hris/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/serialization/resources/hris/resources/linkToken/types/EndUserDetailsRequestLanguage.js +42 -0
- package/serialization/resources/hris/resources/linkToken/types/index.d.ts +1 -0
- package/serialization/resources/hris/resources/linkToken/types/index.js +17 -0
- package/serialization/resources/hris/types/AccountDetails.d.ts +2 -2
- package/serialization/resources/hris/types/AccountDetails.js +2 -2
- package/serialization/resources/hris/types/AccountDetailsAndActions.d.ts +3 -2
- package/serialization/resources/hris/types/AccountDetailsAndActions.js +3 -2
- package/serialization/resources/hris/types/AccountDetailsAndActionsCategory.d.ts +11 -0
- package/serialization/resources/hris/types/AccountDetailsAndActionsCategory.js +42 -0
- package/serialization/resources/hris/types/AccountDetailsCategory.d.ts +11 -0
- package/serialization/resources/hris/types/AccountDetailsCategory.js +42 -0
- package/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/hris/types/EventTypeEnum.js +1 -0
- package/serialization/resources/hris/types/index.d.ts +2 -0
- package/serialization/resources/hris/types/index.js +2 -0
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/ticketing/resources/index.d.ts +2 -1
- package/serialization/resources/ticketing/resources/index.js +3 -2
- package/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -2
- package/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.js +2 -2
- package/serialization/resources/ticketing/resources/linkToken/index.d.ts +1 -0
- package/serialization/resources/ticketing/resources/linkToken/index.js +1 -0
- package/serialization/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestLanguage.d.ts +11 -0
- package/serialization/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestLanguage.js +42 -0
- package/serialization/resources/ticketing/resources/linkToken/types/index.d.ts +1 -0
- package/serialization/resources/ticketing/resources/linkToken/types/index.js +17 -0
- package/serialization/resources/ticketing/types/AccountDetails.d.ts +2 -2
- package/serialization/resources/ticketing/types/AccountDetails.js +2 -2
- package/serialization/resources/ticketing/types/AccountDetailsAndActions.d.ts +5 -4
- package/serialization/resources/ticketing/types/AccountDetailsAndActions.js +5 -4
- package/serialization/resources/ticketing/types/AccountDetailsAndActionsCategory.d.ts +11 -0
- package/serialization/resources/ticketing/types/AccountDetailsAndActionsCategory.js +42 -0
- package/serialization/resources/ticketing/types/AccountDetailsAndActionsStatus.d.ts +11 -0
- package/serialization/resources/ticketing/types/AccountDetailsAndActionsStatus.js +42 -0
- package/serialization/resources/ticketing/types/AccountDetailsCategory.d.ts +11 -0
- package/serialization/resources/ticketing/types/AccountDetailsCategory.js +42 -0
- package/serialization/resources/ticketing/types/Collection.d.ts +2 -2
- package/serialization/resources/ticketing/types/Collection.js +2 -2
- package/serialization/resources/ticketing/types/CollectionAccessLevel.d.ts +2 -2
- package/serialization/resources/ticketing/types/CollectionAccessLevel.js +2 -2
- package/serialization/resources/ticketing/types/CollectionAccessLevelEnum.d.ts +10 -0
- package/serialization/resources/ticketing/types/CollectionAccessLevelEnum.js +41 -0
- package/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/ticketing/types/EventTypeEnum.js +1 -0
- package/serialization/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -0
- package/serialization/resources/ticketing/types/PatchedTicketRequest.js +2 -0
- package/serialization/resources/ticketing/types/PatchedTicketRequestAccessLevel.d.ts +11 -0
- package/serialization/resources/ticketing/types/PatchedTicketRequestAccessLevel.js +42 -0
- package/serialization/resources/ticketing/types/SyncStatus.d.ts +2 -2
- package/serialization/resources/ticketing/types/SyncStatus.js +2 -2
- package/serialization/resources/ticketing/types/SyncStatusLastSyncResult.d.ts +11 -0
- package/serialization/resources/ticketing/types/SyncStatusLastSyncResult.js +42 -0
- package/serialization/resources/ticketing/types/Ticket.d.ts +2 -0
- package/serialization/resources/ticketing/types/Ticket.js +2 -0
- package/serialization/resources/ticketing/types/TicketAccessLevel.d.ts +11 -0
- package/serialization/resources/ticketing/types/TicketAccessLevel.js +42 -0
- package/serialization/resources/ticketing/types/TicketAccessLevelEnum.d.ts +10 -0
- package/serialization/resources/ticketing/types/TicketAccessLevelEnum.js +41 -0
- package/serialization/resources/ticketing/types/TicketRequest.d.ts +2 -0
- package/serialization/resources/ticketing/types/TicketRequest.js +2 -0
- package/serialization/resources/ticketing/types/TicketRequestAccessLevel.d.ts +11 -0
- package/serialization/resources/ticketing/types/TicketRequestAccessLevel.js +42 -0
- package/serialization/resources/ticketing/types/index.d.ts +10 -2
- package/serialization/resources/ticketing/types/index.js +10 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/resources/ticketing/types/AccessLevelEnum.d.ts +0 -10
- package/serialization/resources/ticketing/types/AccessLevelEnum.d.ts +0 -10
|
@@ -51,6 +51,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
51
51
|
exports.AccountingPeriods = void 0;
|
|
52
52
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
53
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
54
55
|
const url_join_1 = __importDefault(require("url-join"));
|
|
55
56
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
56
57
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
@@ -72,7 +73,7 @@ class AccountingPeriods {
|
|
|
72
73
|
}
|
|
73
74
|
__list() {
|
|
74
75
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
75
|
-
var _a, _b, _c;
|
|
76
|
+
var _a, _b, _c, _d;
|
|
76
77
|
const { cursor, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request;
|
|
77
78
|
const _queryParams = {};
|
|
78
79
|
if (cursor != null) {
|
|
@@ -93,12 +94,11 @@ class AccountingPeriods {
|
|
|
93
94
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
94
95
|
url: (0, url_join_1.default)((_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"),
|
|
95
96
|
method: "GET",
|
|
96
|
-
headers:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
98
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
99
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
100
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
100
101
|
queryParameters: _queryParams,
|
|
101
|
-
requestType: "json",
|
|
102
102
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
103
103
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
104
104
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -119,6 +119,7 @@ class AccountingPeriods {
|
|
|
119
119
|
throw new errors.MergeError({
|
|
120
120
|
statusCode: _response.error.statusCode,
|
|
121
121
|
body: _response.error.body,
|
|
122
|
+
rawResponse: _response.rawResponse,
|
|
122
123
|
});
|
|
123
124
|
}
|
|
124
125
|
switch (_response.error.reason) {
|
|
@@ -126,12 +127,14 @@ class AccountingPeriods {
|
|
|
126
127
|
throw new errors.MergeError({
|
|
127
128
|
statusCode: _response.error.statusCode,
|
|
128
129
|
body: _response.error.rawBody,
|
|
130
|
+
rawResponse: _response.rawResponse,
|
|
129
131
|
});
|
|
130
132
|
case "timeout":
|
|
131
133
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/accounting-periods.");
|
|
132
134
|
case "unknown":
|
|
133
135
|
throw new errors.MergeError({
|
|
134
136
|
message: _response.error.errorMessage,
|
|
137
|
+
rawResponse: _response.rawResponse,
|
|
135
138
|
});
|
|
136
139
|
}
|
|
137
140
|
});
|
|
@@ -151,7 +154,7 @@ class AccountingPeriods {
|
|
|
151
154
|
}
|
|
152
155
|
__retrieve(id_1) {
|
|
153
156
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
154
|
-
var _a, _b, _c;
|
|
157
|
+
var _a, _b, _c, _d;
|
|
155
158
|
const { includeRemoteData, includeShellData } = request;
|
|
156
159
|
const _queryParams = {};
|
|
157
160
|
if (includeRemoteData != null) {
|
|
@@ -163,12 +166,11 @@ class AccountingPeriods {
|
|
|
163
166
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
164
167
|
url: (0, url_join_1.default)((_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)}`),
|
|
165
168
|
method: "GET",
|
|
166
|
-
headers:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
169
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
170
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
171
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
172
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
170
173
|
queryParameters: _queryParams,
|
|
171
|
-
requestType: "json",
|
|
172
174
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
173
175
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
174
176
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -189,6 +191,7 @@ class AccountingPeriods {
|
|
|
189
191
|
throw new errors.MergeError({
|
|
190
192
|
statusCode: _response.error.statusCode,
|
|
191
193
|
body: _response.error.body,
|
|
194
|
+
rawResponse: _response.rawResponse,
|
|
192
195
|
});
|
|
193
196
|
}
|
|
194
197
|
switch (_response.error.reason) {
|
|
@@ -196,12 +199,14 @@ class AccountingPeriods {
|
|
|
196
199
|
throw new errors.MergeError({
|
|
197
200
|
statusCode: _response.error.statusCode,
|
|
198
201
|
body: _response.error.rawBody,
|
|
202
|
+
rawResponse: _response.rawResponse,
|
|
199
203
|
});
|
|
200
204
|
case "timeout":
|
|
201
205
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/accounting-periods/{id}.");
|
|
202
206
|
case "unknown":
|
|
203
207
|
throw new errors.MergeError({
|
|
204
208
|
message: _response.error.errorMessage,
|
|
209
|
+
rawResponse: _response.rawResponse,
|
|
205
210
|
});
|
|
206
211
|
}
|
|
207
212
|
});
|
|
@@ -12,6 +12,8 @@ export declare namespace Accounts {
|
|
|
12
12
|
apiKey: core.Supplier<core.BearerToken>;
|
|
13
13
|
/** Override the X-Account-Token header */
|
|
14
14
|
accountToken?: core.Supplier<string | undefined>;
|
|
15
|
+
/** Additional headers to include in requests. */
|
|
16
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
15
17
|
fetcher?: core.FetchFunction;
|
|
16
18
|
}
|
|
17
19
|
interface RequestOptions {
|
|
@@ -24,7 +26,7 @@ export declare namespace Accounts {
|
|
|
24
26
|
/** Override the X-Account-Token header */
|
|
25
27
|
accountToken?: string | undefined;
|
|
26
28
|
/** Additional headers to include in the request. */
|
|
27
|
-
headers?: Record<string, string>;
|
|
29
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export declare class Accounts {
|
|
@@ -63,6 +63,7 @@ exports.Accounts = void 0;
|
|
|
63
63
|
const environments = __importStar(require("../../../../../../environments"));
|
|
64
64
|
const core = __importStar(require("../../../../../../core"));
|
|
65
65
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
66
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
66
67
|
const url_join_1 = __importDefault(require("url-join"));
|
|
67
68
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
68
69
|
class Accounts {
|
|
@@ -83,12 +84,15 @@ class Accounts {
|
|
|
83
84
|
}
|
|
84
85
|
__list() {
|
|
85
86
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
86
|
-
var _a, _b, _c;
|
|
87
|
-
const { accountType, companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeShellData, modifiedAfter, modifiedBefore, name, pageSize, remoteFields, remoteId, showEnumOrigins, status, } = request;
|
|
87
|
+
var _a, _b, _c, _d;
|
|
88
|
+
const { accountType, classification, companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeShellData, modifiedAfter, modifiedBefore, name, pageSize, remoteFields, remoteId, showEnumOrigins, status, } = request;
|
|
88
89
|
const _queryParams = {};
|
|
89
90
|
if (accountType != null) {
|
|
90
91
|
_queryParams["account_type"] = accountType;
|
|
91
92
|
}
|
|
93
|
+
if (classification != null) {
|
|
94
|
+
_queryParams["classification"] = classification;
|
|
95
|
+
}
|
|
92
96
|
if (companyId != null) {
|
|
93
97
|
_queryParams["company_id"] = companyId;
|
|
94
98
|
}
|
|
@@ -140,12 +144,11 @@ class Accounts {
|
|
|
140
144
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
141
145
|
url: (0, url_join_1.default)((_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"),
|
|
142
146
|
method: "GET",
|
|
143
|
-
headers:
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
148
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
149
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
150
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
151
|
queryParameters: _queryParams,
|
|
148
|
-
requestType: "json",
|
|
149
152
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
150
153
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
151
154
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -166,6 +169,7 @@ class Accounts {
|
|
|
166
169
|
throw new errors.MergeError({
|
|
167
170
|
statusCode: _response.error.statusCode,
|
|
168
171
|
body: _response.error.body,
|
|
172
|
+
rawResponse: _response.rawResponse,
|
|
169
173
|
});
|
|
170
174
|
}
|
|
171
175
|
switch (_response.error.reason) {
|
|
@@ -173,12 +177,14 @@ class Accounts {
|
|
|
173
177
|
throw new errors.MergeError({
|
|
174
178
|
statusCode: _response.error.statusCode,
|
|
175
179
|
body: _response.error.rawBody,
|
|
180
|
+
rawResponse: _response.rawResponse,
|
|
176
181
|
});
|
|
177
182
|
case "timeout":
|
|
178
183
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/accounts.");
|
|
179
184
|
case "unknown":
|
|
180
185
|
throw new errors.MergeError({
|
|
181
186
|
message: _response.error.errorMessage,
|
|
187
|
+
rawResponse: _response.rawResponse,
|
|
182
188
|
});
|
|
183
189
|
}
|
|
184
190
|
});
|
|
@@ -199,7 +205,7 @@ class Accounts {
|
|
|
199
205
|
}
|
|
200
206
|
__create(request, requestOptions) {
|
|
201
207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
202
|
-
var _a, _b, _c;
|
|
208
|
+
var _a, _b, _c, _d;
|
|
203
209
|
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
204
210
|
const _queryParams = {};
|
|
205
211
|
if (isDebugMode != null) {
|
|
@@ -211,9 +217,10 @@ class Accounts {
|
|
|
211
217
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
212
218
|
url: (0, url_join_1.default)((_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"),
|
|
213
219
|
method: "POST",
|
|
214
|
-
headers:
|
|
215
|
-
|
|
216
|
-
|
|
220
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
221
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
222
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
223
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
217
224
|
contentType: "application/json",
|
|
218
225
|
queryParameters: _queryParams,
|
|
219
226
|
requestType: "json",
|
|
@@ -238,6 +245,7 @@ class Accounts {
|
|
|
238
245
|
throw new errors.MergeError({
|
|
239
246
|
statusCode: _response.error.statusCode,
|
|
240
247
|
body: _response.error.body,
|
|
248
|
+
rawResponse: _response.rawResponse,
|
|
241
249
|
});
|
|
242
250
|
}
|
|
243
251
|
switch (_response.error.reason) {
|
|
@@ -245,12 +253,14 @@ class Accounts {
|
|
|
245
253
|
throw new errors.MergeError({
|
|
246
254
|
statusCode: _response.error.statusCode,
|
|
247
255
|
body: _response.error.rawBody,
|
|
256
|
+
rawResponse: _response.rawResponse,
|
|
248
257
|
});
|
|
249
258
|
case "timeout":
|
|
250
259
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling POST /accounting/v1/accounts.");
|
|
251
260
|
case "unknown":
|
|
252
261
|
throw new errors.MergeError({
|
|
253
262
|
message: _response.error.errorMessage,
|
|
263
|
+
rawResponse: _response.rawResponse,
|
|
254
264
|
});
|
|
255
265
|
}
|
|
256
266
|
});
|
|
@@ -270,7 +280,7 @@ class Accounts {
|
|
|
270
280
|
}
|
|
271
281
|
__retrieve(id_1) {
|
|
272
282
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
273
|
-
var _a, _b, _c;
|
|
283
|
+
var _a, _b, _c, _d;
|
|
274
284
|
const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request;
|
|
275
285
|
const _queryParams = {};
|
|
276
286
|
if (expand != null) {
|
|
@@ -294,12 +304,11 @@ class Accounts {
|
|
|
294
304
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
295
305
|
url: (0, url_join_1.default)((_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)}`),
|
|
296
306
|
method: "GET",
|
|
297
|
-
headers:
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
307
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
308
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
309
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
310
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
301
311
|
queryParameters: _queryParams,
|
|
302
|
-
requestType: "json",
|
|
303
312
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
304
313
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
305
314
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -320,6 +329,7 @@ class Accounts {
|
|
|
320
329
|
throw new errors.MergeError({
|
|
321
330
|
statusCode: _response.error.statusCode,
|
|
322
331
|
body: _response.error.body,
|
|
332
|
+
rawResponse: _response.rawResponse,
|
|
323
333
|
});
|
|
324
334
|
}
|
|
325
335
|
switch (_response.error.reason) {
|
|
@@ -327,12 +337,14 @@ class Accounts {
|
|
|
327
337
|
throw new errors.MergeError({
|
|
328
338
|
statusCode: _response.error.statusCode,
|
|
329
339
|
body: _response.error.rawBody,
|
|
340
|
+
rawResponse: _response.rawResponse,
|
|
330
341
|
});
|
|
331
342
|
case "timeout":
|
|
332
343
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/accounts/{id}.");
|
|
333
344
|
case "unknown":
|
|
334
345
|
throw new errors.MergeError({
|
|
335
346
|
message: _response.error.errorMessage,
|
|
347
|
+
rawResponse: _response.rawResponse,
|
|
336
348
|
});
|
|
337
349
|
}
|
|
338
350
|
});
|
|
@@ -350,15 +362,14 @@ class Accounts {
|
|
|
350
362
|
}
|
|
351
363
|
__metaPostRetrieve(requestOptions) {
|
|
352
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
353
|
-
var _a, _b, _c;
|
|
365
|
+
var _a, _b, _c, _d;
|
|
354
366
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
355
367
|
url: (0, url_join_1.default)((_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"),
|
|
356
368
|
method: "GET",
|
|
357
|
-
headers:
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
requestType: "json",
|
|
369
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
370
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
371
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
372
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
362
373
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
363
374
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
364
375
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -379,6 +390,7 @@ class Accounts {
|
|
|
379
390
|
throw new errors.MergeError({
|
|
380
391
|
statusCode: _response.error.statusCode,
|
|
381
392
|
body: _response.error.body,
|
|
393
|
+
rawResponse: _response.rawResponse,
|
|
382
394
|
});
|
|
383
395
|
}
|
|
384
396
|
switch (_response.error.reason) {
|
|
@@ -386,12 +398,14 @@ class Accounts {
|
|
|
386
398
|
throw new errors.MergeError({
|
|
387
399
|
statusCode: _response.error.statusCode,
|
|
388
400
|
body: _response.error.rawBody,
|
|
401
|
+
rawResponse: _response.rawResponse,
|
|
389
402
|
});
|
|
390
403
|
case "timeout":
|
|
391
404
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/accounts/meta/post.");
|
|
392
405
|
case "unknown":
|
|
393
406
|
throw new errors.MergeError({
|
|
394
407
|
message: _response.error.errorMessage,
|
|
408
|
+
rawResponse: _response.rawResponse,
|
|
395
409
|
});
|
|
396
410
|
}
|
|
397
411
|
});
|
package/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts
CHANGED
|
@@ -8,9 +8,13 @@ import * as Merge from "../../../../../../index";
|
|
|
8
8
|
*/
|
|
9
9
|
export interface AccountsListRequest {
|
|
10
10
|
/**
|
|
11
|
-
* If provided, will only
|
|
11
|
+
* If provided, will only return accounts with the passed in enum.
|
|
12
12
|
*/
|
|
13
13
|
accountType?: string;
|
|
14
|
+
/**
|
|
15
|
+
* If provided, will only return accounts with this classification.
|
|
16
|
+
*/
|
|
17
|
+
classification?: string;
|
|
14
18
|
/**
|
|
15
19
|
* If provided, will only return accounts for this company.
|
|
16
20
|
*/
|
|
@@ -12,6 +12,8 @@ export declare namespace Addresses {
|
|
|
12
12
|
apiKey: core.Supplier<core.BearerToken>;
|
|
13
13
|
/** Override the X-Account-Token header */
|
|
14
14
|
accountToken?: core.Supplier<string | undefined>;
|
|
15
|
+
/** Additional headers to include in requests. */
|
|
16
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
15
17
|
fetcher?: core.FetchFunction;
|
|
16
18
|
}
|
|
17
19
|
interface RequestOptions {
|
|
@@ -24,7 +26,7 @@ export declare namespace Addresses {
|
|
|
24
26
|
/** Override the X-Account-Token header */
|
|
25
27
|
accountToken?: string | undefined;
|
|
26
28
|
/** Additional headers to include in the request. */
|
|
27
|
-
headers?: Record<string, string>;
|
|
29
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export declare class Addresses {
|
|
@@ -51,6 +51,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
51
51
|
exports.Addresses = void 0;
|
|
52
52
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
53
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
54
55
|
const url_join_1 = __importDefault(require("url-join"));
|
|
55
56
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
56
57
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
@@ -73,7 +74,7 @@ class Addresses {
|
|
|
73
74
|
}
|
|
74
75
|
__retrieve(id_1) {
|
|
75
76
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
76
|
-
var _a, _b, _c;
|
|
77
|
+
var _a, _b, _c, _d;
|
|
77
78
|
const { includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request;
|
|
78
79
|
const _queryParams = {};
|
|
79
80
|
if (includeRemoteData != null) {
|
|
@@ -91,12 +92,11 @@ class Addresses {
|
|
|
91
92
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
92
93
|
url: (0, url_join_1.default)((_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/addresses/${encodeURIComponent(id)}`),
|
|
93
94
|
method: "GET",
|
|
94
|
-
headers:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
96
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
97
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
98
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
98
99
|
queryParameters: _queryParams,
|
|
99
|
-
requestType: "json",
|
|
100
100
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
101
101
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
102
102
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -117,6 +117,7 @@ class Addresses {
|
|
|
117
117
|
throw new errors.MergeError({
|
|
118
118
|
statusCode: _response.error.statusCode,
|
|
119
119
|
body: _response.error.body,
|
|
120
|
+
rawResponse: _response.rawResponse,
|
|
120
121
|
});
|
|
121
122
|
}
|
|
122
123
|
switch (_response.error.reason) {
|
|
@@ -124,12 +125,14 @@ class Addresses {
|
|
|
124
125
|
throw new errors.MergeError({
|
|
125
126
|
statusCode: _response.error.statusCode,
|
|
126
127
|
body: _response.error.rawBody,
|
|
128
|
+
rawResponse: _response.rawResponse,
|
|
127
129
|
});
|
|
128
130
|
case "timeout":
|
|
129
131
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/addresses/{id}.");
|
|
130
132
|
case "unknown":
|
|
131
133
|
throw new errors.MergeError({
|
|
132
134
|
message: _response.error.errorMessage,
|
|
135
|
+
rawResponse: _response.rawResponse,
|
|
133
136
|
});
|
|
134
137
|
}
|
|
135
138
|
});
|
|
@@ -12,6 +12,8 @@ export declare namespace AsyncPassthrough {
|
|
|
12
12
|
apiKey: core.Supplier<core.BearerToken>;
|
|
13
13
|
/** Override the X-Account-Token header */
|
|
14
14
|
accountToken?: core.Supplier<string | undefined>;
|
|
15
|
+
/** Additional headers to include in requests. */
|
|
16
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
15
17
|
fetcher?: core.FetchFunction;
|
|
16
18
|
}
|
|
17
19
|
interface RequestOptions {
|
|
@@ -24,7 +26,7 @@ export declare namespace AsyncPassthrough {
|
|
|
24
26
|
/** Override the X-Account-Token header */
|
|
25
27
|
accountToken?: string | undefined;
|
|
26
28
|
/** Additional headers to include in the request. */
|
|
27
|
-
headers?: Record<string, string>;
|
|
29
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export declare class AsyncPassthrough {
|
|
@@ -51,6 +51,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
51
51
|
exports.AsyncPassthrough = void 0;
|
|
52
52
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
53
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
54
55
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
55
56
|
const url_join_1 = __importDefault(require("url-join"));
|
|
56
57
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
@@ -75,13 +76,14 @@ class AsyncPassthrough {
|
|
|
75
76
|
}
|
|
76
77
|
__create(request, requestOptions) {
|
|
77
78
|
return __awaiter(this, void 0, void 0, function* () {
|
|
78
|
-
var _a, _b, _c;
|
|
79
|
+
var _a, _b, _c, _d;
|
|
79
80
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
80
81
|
url: (0, url_join_1.default)((_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/async-passthrough"),
|
|
81
82
|
method: "POST",
|
|
82
|
-
headers:
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
84
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
85
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
86
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
87
|
contentType: "application/json",
|
|
86
88
|
requestType: "json",
|
|
87
89
|
body: serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, {
|
|
@@ -107,6 +109,7 @@ class AsyncPassthrough {
|
|
|
107
109
|
throw new errors.MergeError({
|
|
108
110
|
statusCode: _response.error.statusCode,
|
|
109
111
|
body: _response.error.body,
|
|
112
|
+
rawResponse: _response.rawResponse,
|
|
110
113
|
});
|
|
111
114
|
}
|
|
112
115
|
switch (_response.error.reason) {
|
|
@@ -114,12 +117,14 @@ class AsyncPassthrough {
|
|
|
114
117
|
throw new errors.MergeError({
|
|
115
118
|
statusCode: _response.error.statusCode,
|
|
116
119
|
body: _response.error.rawBody,
|
|
120
|
+
rawResponse: _response.rawResponse,
|
|
117
121
|
});
|
|
118
122
|
case "timeout":
|
|
119
123
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling POST /accounting/v1/async-passthrough.");
|
|
120
124
|
case "unknown":
|
|
121
125
|
throw new errors.MergeError({
|
|
122
126
|
message: _response.error.errorMessage,
|
|
127
|
+
rawResponse: _response.rawResponse,
|
|
123
128
|
});
|
|
124
129
|
}
|
|
125
130
|
});
|
|
@@ -138,15 +143,14 @@ class AsyncPassthrough {
|
|
|
138
143
|
}
|
|
139
144
|
__retrieve(asyncPassthroughReceiptId, requestOptions) {
|
|
140
145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
141
|
-
var _a, _b, _c;
|
|
146
|
+
var _a, _b, _c, _d;
|
|
142
147
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
143
148
|
url: (0, url_join_1.default)((_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/async-passthrough/${encodeURIComponent(asyncPassthroughReceiptId)}`),
|
|
144
149
|
method: "GET",
|
|
145
|
-
headers:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
requestType: "json",
|
|
150
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
151
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
152
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
153
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
150
154
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
151
155
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
152
156
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -167,6 +171,7 @@ class AsyncPassthrough {
|
|
|
167
171
|
throw new errors.MergeError({
|
|
168
172
|
statusCode: _response.error.statusCode,
|
|
169
173
|
body: _response.error.body,
|
|
174
|
+
rawResponse: _response.rawResponse,
|
|
170
175
|
});
|
|
171
176
|
}
|
|
172
177
|
switch (_response.error.reason) {
|
|
@@ -174,12 +179,14 @@ class AsyncPassthrough {
|
|
|
174
179
|
throw new errors.MergeError({
|
|
175
180
|
statusCode: _response.error.statusCode,
|
|
176
181
|
body: _response.error.rawBody,
|
|
182
|
+
rawResponse: _response.rawResponse,
|
|
177
183
|
});
|
|
178
184
|
case "timeout":
|
|
179
185
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/async-passthrough/{async_passthrough_receipt_id}.");
|
|
180
186
|
case "unknown":
|
|
181
187
|
throw new errors.MergeError({
|
|
182
188
|
message: _response.error.errorMessage,
|
|
189
|
+
rawResponse: _response.rawResponse,
|
|
183
190
|
});
|
|
184
191
|
}
|
|
185
192
|
});
|
|
@@ -12,6 +12,8 @@ export declare namespace AsyncTasks {
|
|
|
12
12
|
apiKey: core.Supplier<core.BearerToken>;
|
|
13
13
|
/** Override the X-Account-Token header */
|
|
14
14
|
accountToken?: core.Supplier<string | undefined>;
|
|
15
|
+
/** Additional headers to include in requests. */
|
|
16
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
15
17
|
fetcher?: core.FetchFunction;
|
|
16
18
|
}
|
|
17
19
|
interface RequestOptions {
|
|
@@ -24,7 +26,7 @@ export declare namespace AsyncTasks {
|
|
|
24
26
|
/** Override the X-Account-Token header */
|
|
25
27
|
accountToken?: string | undefined;
|
|
26
28
|
/** Additional headers to include in the request. */
|
|
27
|
-
headers?: Record<string, string>;
|
|
29
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export declare class AsyncTasks {
|
|
@@ -51,6 +51,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
51
51
|
exports.AsyncTasks = void 0;
|
|
52
52
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
53
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
54
55
|
const url_join_1 = __importDefault(require("url-join"));
|
|
55
56
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
56
57
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
@@ -72,15 +73,14 @@ class AsyncTasks {
|
|
|
72
73
|
}
|
|
73
74
|
__retrieve(id, requestOptions) {
|
|
74
75
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
|
-
var _a, _b, _c;
|
|
76
|
+
var _a, _b, _c, _d;
|
|
76
77
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
77
78
|
url: (0, url_join_1.default)((_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/async-tasks/${encodeURIComponent(id)}`),
|
|
78
79
|
method: "GET",
|
|
79
|
-
headers:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
requestType: "json",
|
|
80
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
81
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
82
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
83
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
84
84
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
85
85
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
86
86
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -101,6 +101,7 @@ class AsyncTasks {
|
|
|
101
101
|
throw new errors.MergeError({
|
|
102
102
|
statusCode: _response.error.statusCode,
|
|
103
103
|
body: _response.error.body,
|
|
104
|
+
rawResponse: _response.rawResponse,
|
|
104
105
|
});
|
|
105
106
|
}
|
|
106
107
|
switch (_response.error.reason) {
|
|
@@ -108,12 +109,14 @@ class AsyncTasks {
|
|
|
108
109
|
throw new errors.MergeError({
|
|
109
110
|
statusCode: _response.error.statusCode,
|
|
110
111
|
body: _response.error.rawBody,
|
|
112
|
+
rawResponse: _response.rawResponse,
|
|
111
113
|
});
|
|
112
114
|
case "timeout":
|
|
113
115
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/async-tasks/{id}.");
|
|
114
116
|
case "unknown":
|
|
115
117
|
throw new errors.MergeError({
|
|
116
118
|
message: _response.error.errorMessage,
|
|
119
|
+
rawResponse: _response.rawResponse,
|
|
117
120
|
});
|
|
118
121
|
}
|
|
119
122
|
});
|
|
@@ -12,6 +12,8 @@ export declare namespace Attachments {
|
|
|
12
12
|
apiKey: core.Supplier<core.BearerToken>;
|
|
13
13
|
/** Override the X-Account-Token header */
|
|
14
14
|
accountToken?: core.Supplier<string | undefined>;
|
|
15
|
+
/** Additional headers to include in requests. */
|
|
16
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
15
17
|
fetcher?: core.FetchFunction;
|
|
16
18
|
}
|
|
17
19
|
interface RequestOptions {
|
|
@@ -24,7 +26,7 @@ export declare namespace Attachments {
|
|
|
24
26
|
/** Override the X-Account-Token header */
|
|
25
27
|
accountToken?: string | undefined;
|
|
26
28
|
/** Additional headers to include in the request. */
|
|
27
|
-
headers?: Record<string, string>;
|
|
29
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export declare class Attachments {
|