@mergeapi/merge-node-client 1.1.9 → 2.0.1
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 +161 -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 +170 -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 +57 -14
- 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 +36 -13
- package/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.d.ts +24 -0
- 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 +36 -13
- package/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.d.ts +24 -0
- 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 +57 -14
- 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 +36 -13
- package/dist/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.d.ts +24 -0
- 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 +36 -13
- package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.d.ts +24 -0
- 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 +3366 -3102
- 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
|
@@ -52,6 +52,7 @@ exports.Issues = void 0;
|
|
|
52
52
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
53
|
const core = __importStar(require("../../../../../../core"));
|
|
54
54
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
55
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
55
56
|
const url_join_1 = __importDefault(require("url-join"));
|
|
56
57
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
57
58
|
class Issues {
|
|
@@ -72,7 +73,7 @@ class Issues {
|
|
|
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 { accountToken, cursor, endDate, endUserOrganizationName, firstIncidentTimeAfter, firstIncidentTimeBefore, includeMuted, integrationName, lastIncidentTimeAfter, lastIncidentTimeBefore, linkedAccountId, pageSize, startDate, status, } = request;
|
|
77
78
|
const _queryParams = {};
|
|
78
79
|
if (accountToken != null) {
|
|
@@ -122,12 +123,11 @@ class Issues {
|
|
|
122
123
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
123
124
|
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/issues"),
|
|
124
125
|
method: "GET",
|
|
125
|
-
headers:
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
127
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
128
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
129
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
129
130
|
queryParameters: _queryParams,
|
|
130
|
-
requestType: "json",
|
|
131
131
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
132
132
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
133
133
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -148,6 +148,7 @@ class Issues {
|
|
|
148
148
|
throw new errors.MergeError({
|
|
149
149
|
statusCode: _response.error.statusCode,
|
|
150
150
|
body: _response.error.body,
|
|
151
|
+
rawResponse: _response.rawResponse,
|
|
151
152
|
});
|
|
152
153
|
}
|
|
153
154
|
switch (_response.error.reason) {
|
|
@@ -155,12 +156,14 @@ class Issues {
|
|
|
155
156
|
throw new errors.MergeError({
|
|
156
157
|
statusCode: _response.error.statusCode,
|
|
157
158
|
body: _response.error.rawBody,
|
|
159
|
+
rawResponse: _response.rawResponse,
|
|
158
160
|
});
|
|
159
161
|
case "timeout":
|
|
160
162
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/issues.");
|
|
161
163
|
case "unknown":
|
|
162
164
|
throw new errors.MergeError({
|
|
163
165
|
message: _response.error.errorMessage,
|
|
166
|
+
rawResponse: _response.rawResponse,
|
|
164
167
|
});
|
|
165
168
|
}
|
|
166
169
|
});
|
|
@@ -179,15 +182,14 @@ class Issues {
|
|
|
179
182
|
}
|
|
180
183
|
__retrieve(id, requestOptions) {
|
|
181
184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
-
var _a, _b, _c;
|
|
185
|
+
var _a, _b, _c, _d;
|
|
183
186
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
184
187
|
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/issues/${encodeURIComponent(id)}`),
|
|
185
188
|
method: "GET",
|
|
186
|
-
headers:
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
requestType: "json",
|
|
189
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
190
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
191
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
192
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
191
193
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
192
194
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
193
195
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -208,6 +210,7 @@ class Issues {
|
|
|
208
210
|
throw new errors.MergeError({
|
|
209
211
|
statusCode: _response.error.statusCode,
|
|
210
212
|
body: _response.error.body,
|
|
213
|
+
rawResponse: _response.rawResponse,
|
|
211
214
|
});
|
|
212
215
|
}
|
|
213
216
|
switch (_response.error.reason) {
|
|
@@ -215,12 +218,14 @@ class Issues {
|
|
|
215
218
|
throw new errors.MergeError({
|
|
216
219
|
statusCode: _response.error.statusCode,
|
|
217
220
|
body: _response.error.rawBody,
|
|
221
|
+
rawResponse: _response.rawResponse,
|
|
218
222
|
});
|
|
219
223
|
case "timeout":
|
|
220
224
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/issues/{id}.");
|
|
221
225
|
case "unknown":
|
|
222
226
|
throw new errors.MergeError({
|
|
223
227
|
message: _response.error.errorMessage,
|
|
228
|
+
rawResponse: _response.rawResponse,
|
|
224
229
|
});
|
|
225
230
|
}
|
|
226
231
|
});
|
|
@@ -12,6 +12,8 @@ export declare namespace Items {
|
|
|
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 Items {
|
|
|
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 Items {
|
|
@@ -41,6 +43,19 @@ export declare class Items {
|
|
|
41
43
|
*/
|
|
42
44
|
list(request?: Merge.accounting.ItemsListRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Merge.accounting.PaginatedItemList>;
|
|
43
45
|
private __list;
|
|
46
|
+
/**
|
|
47
|
+
* Creates an `Item` object with the given values.
|
|
48
|
+
*
|
|
49
|
+
* @param {Merge.accounting.ItemEndpointRequest} request
|
|
50
|
+
* @param {Items.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* await client.accounting.items.create({
|
|
54
|
+
* model: {}
|
|
55
|
+
* })
|
|
56
|
+
*/
|
|
57
|
+
create(request: Merge.accounting.ItemEndpointRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Merge.accounting.ItemResponse>;
|
|
58
|
+
private __create;
|
|
44
59
|
/**
|
|
45
60
|
* Returns an `Item` object with the given `id`.
|
|
46
61
|
*
|
|
@@ -53,5 +68,40 @@ export declare class Items {
|
|
|
53
68
|
*/
|
|
54
69
|
retrieve(id: string, request?: Merge.accounting.ItemsRetrieveRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Merge.accounting.Item>;
|
|
55
70
|
private __retrieve;
|
|
71
|
+
/**
|
|
72
|
+
* Updates an `Item` object with the given `id`.
|
|
73
|
+
*
|
|
74
|
+
* @param {string} id
|
|
75
|
+
* @param {Merge.accounting.PatchedItemEndpointRequest} request
|
|
76
|
+
* @param {Items.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* await client.accounting.items.partialUpdate("id", {
|
|
80
|
+
* model: {}
|
|
81
|
+
* })
|
|
82
|
+
*/
|
|
83
|
+
partialUpdate(id: string, request: Merge.accounting.PatchedItemEndpointRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Merge.accounting.ItemResponse>;
|
|
84
|
+
private __partialUpdate;
|
|
85
|
+
/**
|
|
86
|
+
* Returns metadata for `Item` PATCHs.
|
|
87
|
+
*
|
|
88
|
+
* @param {string} id
|
|
89
|
+
* @param {Items.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* await client.accounting.items.metaPatchRetrieve("id")
|
|
93
|
+
*/
|
|
94
|
+
metaPatchRetrieve(id: string, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Merge.accounting.MetaResponse>;
|
|
95
|
+
private __metaPatchRetrieve;
|
|
96
|
+
/**
|
|
97
|
+
* Returns metadata for `Item` POSTs.
|
|
98
|
+
*
|
|
99
|
+
* @param {Items.RequestOptions} requestOptions - Request-specific configuration.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* await client.accounting.items.metaPostRetrieve()
|
|
103
|
+
*/
|
|
104
|
+
metaPostRetrieve(requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Merge.accounting.MetaResponse>;
|
|
105
|
+
private __metaPostRetrieve;
|
|
56
106
|
protected _getAuthorizationHeader(): Promise<string>;
|
|
57
107
|
}
|
|
@@ -44,6 +44,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
48
|
+
var t = {};
|
|
49
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
50
|
+
t[p] = s[p];
|
|
51
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
52
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
53
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
54
|
+
t[p[i]] = s[p[i]];
|
|
55
|
+
}
|
|
56
|
+
return t;
|
|
57
|
+
};
|
|
47
58
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
59
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
60
|
};
|
|
@@ -52,6 +63,7 @@ exports.Items = void 0;
|
|
|
52
63
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
64
|
const core = __importStar(require("../../../../../../core"));
|
|
54
65
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
66
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
55
67
|
const url_join_1 = __importDefault(require("url-join"));
|
|
56
68
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
57
69
|
class Items {
|
|
@@ -72,7 +84,7 @@ class Items {
|
|
|
72
84
|
}
|
|
73
85
|
__list() {
|
|
74
86
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
75
|
-
var _a, _b, _c;
|
|
87
|
+
var _a, _b, _c, _d;
|
|
76
88
|
const { companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeShellData, modifiedAfter, modifiedBefore, pageSize, remoteFields, remoteId, showEnumOrigins, } = request;
|
|
77
89
|
const _queryParams = {};
|
|
78
90
|
if (companyId != null) {
|
|
@@ -122,12 +134,11 @@ class Items {
|
|
|
122
134
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
123
135
|
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/items"),
|
|
124
136
|
method: "GET",
|
|
125
|
-
headers:
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
137
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
138
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
139
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
140
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
129
141
|
queryParameters: _queryParams,
|
|
130
|
-
requestType: "json",
|
|
131
142
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
132
143
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
133
144
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -148,6 +159,7 @@ class Items {
|
|
|
148
159
|
throw new errors.MergeError({
|
|
149
160
|
statusCode: _response.error.statusCode,
|
|
150
161
|
body: _response.error.body,
|
|
162
|
+
rawResponse: _response.rawResponse,
|
|
151
163
|
});
|
|
152
164
|
}
|
|
153
165
|
switch (_response.error.reason) {
|
|
@@ -155,12 +167,90 @@ class Items {
|
|
|
155
167
|
throw new errors.MergeError({
|
|
156
168
|
statusCode: _response.error.statusCode,
|
|
157
169
|
body: _response.error.rawBody,
|
|
170
|
+
rawResponse: _response.rawResponse,
|
|
158
171
|
});
|
|
159
172
|
case "timeout":
|
|
160
173
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/items.");
|
|
161
174
|
case "unknown":
|
|
162
175
|
throw new errors.MergeError({
|
|
163
176
|
message: _response.error.errorMessage,
|
|
177
|
+
rawResponse: _response.rawResponse,
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Creates an `Item` object with the given values.
|
|
184
|
+
*
|
|
185
|
+
* @param {Merge.accounting.ItemEndpointRequest} request
|
|
186
|
+
* @param {Items.RequestOptions} requestOptions - Request-specific configuration.
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* await client.accounting.items.create({
|
|
190
|
+
* model: {}
|
|
191
|
+
* })
|
|
192
|
+
*/
|
|
193
|
+
create(request, requestOptions) {
|
|
194
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
195
|
+
}
|
|
196
|
+
__create(request, requestOptions) {
|
|
197
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
198
|
+
var _a, _b, _c, _d;
|
|
199
|
+
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
200
|
+
const _queryParams = {};
|
|
201
|
+
if (isDebugMode != null) {
|
|
202
|
+
_queryParams["is_debug_mode"] = isDebugMode.toString();
|
|
203
|
+
}
|
|
204
|
+
if (runAsync != null) {
|
|
205
|
+
_queryParams["run_async"] = runAsync.toString();
|
|
206
|
+
}
|
|
207
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
208
|
+
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/items"),
|
|
209
|
+
method: "POST",
|
|
210
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
211
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
212
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
213
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
214
|
+
contentType: "application/json",
|
|
215
|
+
queryParameters: _queryParams,
|
|
216
|
+
requestType: "json",
|
|
217
|
+
body: serializers.accounting.ItemEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
218
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
219
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
220
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
221
|
+
});
|
|
222
|
+
if (_response.ok) {
|
|
223
|
+
return {
|
|
224
|
+
data: serializers.accounting.ItemResponse.parseOrThrow(_response.body, {
|
|
225
|
+
unrecognizedObjectKeys: "passthrough",
|
|
226
|
+
allowUnrecognizedUnionMembers: true,
|
|
227
|
+
allowUnrecognizedEnumValues: true,
|
|
228
|
+
skipValidation: true,
|
|
229
|
+
breadcrumbsPrefix: ["response"],
|
|
230
|
+
}),
|
|
231
|
+
rawResponse: _response.rawResponse,
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
if (_response.error.reason === "status-code") {
|
|
235
|
+
throw new errors.MergeError({
|
|
236
|
+
statusCode: _response.error.statusCode,
|
|
237
|
+
body: _response.error.body,
|
|
238
|
+
rawResponse: _response.rawResponse,
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
switch (_response.error.reason) {
|
|
242
|
+
case "non-json":
|
|
243
|
+
throw new errors.MergeError({
|
|
244
|
+
statusCode: _response.error.statusCode,
|
|
245
|
+
body: _response.error.rawBody,
|
|
246
|
+
rawResponse: _response.rawResponse,
|
|
247
|
+
});
|
|
248
|
+
case "timeout":
|
|
249
|
+
throw new errors.MergeTimeoutError("Timeout exceeded when calling POST /accounting/v1/items.");
|
|
250
|
+
case "unknown":
|
|
251
|
+
throw new errors.MergeError({
|
|
252
|
+
message: _response.error.errorMessage,
|
|
253
|
+
rawResponse: _response.rawResponse,
|
|
164
254
|
});
|
|
165
255
|
}
|
|
166
256
|
});
|
|
@@ -180,7 +270,7 @@ class Items {
|
|
|
180
270
|
}
|
|
181
271
|
__retrieve(id_1) {
|
|
182
272
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
183
|
-
var _a, _b, _c;
|
|
273
|
+
var _a, _b, _c, _d;
|
|
184
274
|
const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request;
|
|
185
275
|
const _queryParams = {};
|
|
186
276
|
if (expand != null) {
|
|
@@ -203,12 +293,11 @@ class Items {
|
|
|
203
293
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
204
294
|
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/items/${encodeURIComponent(id)}`),
|
|
205
295
|
method: "GET",
|
|
206
|
-
headers:
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
296
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
297
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
298
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
299
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
210
300
|
queryParameters: _queryParams,
|
|
211
|
-
requestType: "json",
|
|
212
301
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
213
302
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
214
303
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -229,6 +318,7 @@ class Items {
|
|
|
229
318
|
throw new errors.MergeError({
|
|
230
319
|
statusCode: _response.error.statusCode,
|
|
231
320
|
body: _response.error.body,
|
|
321
|
+
rawResponse: _response.rawResponse,
|
|
232
322
|
});
|
|
233
323
|
}
|
|
234
324
|
switch (_response.error.reason) {
|
|
@@ -236,12 +326,216 @@ class Items {
|
|
|
236
326
|
throw new errors.MergeError({
|
|
237
327
|
statusCode: _response.error.statusCode,
|
|
238
328
|
body: _response.error.rawBody,
|
|
329
|
+
rawResponse: _response.rawResponse,
|
|
239
330
|
});
|
|
240
331
|
case "timeout":
|
|
241
332
|
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/items/{id}.");
|
|
242
333
|
case "unknown":
|
|
243
334
|
throw new errors.MergeError({
|
|
244
335
|
message: _response.error.errorMessage,
|
|
336
|
+
rawResponse: _response.rawResponse,
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Updates an `Item` object with the given `id`.
|
|
343
|
+
*
|
|
344
|
+
* @param {string} id
|
|
345
|
+
* @param {Merge.accounting.PatchedItemEndpointRequest} request
|
|
346
|
+
* @param {Items.RequestOptions} requestOptions - Request-specific configuration.
|
|
347
|
+
*
|
|
348
|
+
* @example
|
|
349
|
+
* await client.accounting.items.partialUpdate("id", {
|
|
350
|
+
* model: {}
|
|
351
|
+
* })
|
|
352
|
+
*/
|
|
353
|
+
partialUpdate(id, request, requestOptions) {
|
|
354
|
+
return core.HttpResponsePromise.fromPromise(this.__partialUpdate(id, request, requestOptions));
|
|
355
|
+
}
|
|
356
|
+
__partialUpdate(id, request, requestOptions) {
|
|
357
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
358
|
+
var _a, _b, _c, _d;
|
|
359
|
+
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
360
|
+
const _queryParams = {};
|
|
361
|
+
if (isDebugMode != null) {
|
|
362
|
+
_queryParams["is_debug_mode"] = isDebugMode.toString();
|
|
363
|
+
}
|
|
364
|
+
if (runAsync != null) {
|
|
365
|
+
_queryParams["run_async"] = runAsync.toString();
|
|
366
|
+
}
|
|
367
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
368
|
+
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/items/${encodeURIComponent(id)}`),
|
|
369
|
+
method: "PATCH",
|
|
370
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
371
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
372
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
373
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
374
|
+
contentType: "application/json",
|
|
375
|
+
queryParameters: _queryParams,
|
|
376
|
+
requestType: "json",
|
|
377
|
+
body: serializers.accounting.PatchedItemEndpointRequest.jsonOrThrow(_body, {
|
|
378
|
+
unrecognizedObjectKeys: "strip",
|
|
379
|
+
}),
|
|
380
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
381
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
382
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
383
|
+
});
|
|
384
|
+
if (_response.ok) {
|
|
385
|
+
return {
|
|
386
|
+
data: serializers.accounting.ItemResponse.parseOrThrow(_response.body, {
|
|
387
|
+
unrecognizedObjectKeys: "passthrough",
|
|
388
|
+
allowUnrecognizedUnionMembers: true,
|
|
389
|
+
allowUnrecognizedEnumValues: true,
|
|
390
|
+
skipValidation: true,
|
|
391
|
+
breadcrumbsPrefix: ["response"],
|
|
392
|
+
}),
|
|
393
|
+
rawResponse: _response.rawResponse,
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
if (_response.error.reason === "status-code") {
|
|
397
|
+
throw new errors.MergeError({
|
|
398
|
+
statusCode: _response.error.statusCode,
|
|
399
|
+
body: _response.error.body,
|
|
400
|
+
rawResponse: _response.rawResponse,
|
|
401
|
+
});
|
|
402
|
+
}
|
|
403
|
+
switch (_response.error.reason) {
|
|
404
|
+
case "non-json":
|
|
405
|
+
throw new errors.MergeError({
|
|
406
|
+
statusCode: _response.error.statusCode,
|
|
407
|
+
body: _response.error.rawBody,
|
|
408
|
+
rawResponse: _response.rawResponse,
|
|
409
|
+
});
|
|
410
|
+
case "timeout":
|
|
411
|
+
throw new errors.MergeTimeoutError("Timeout exceeded when calling PATCH /accounting/v1/items/{id}.");
|
|
412
|
+
case "unknown":
|
|
413
|
+
throw new errors.MergeError({
|
|
414
|
+
message: _response.error.errorMessage,
|
|
415
|
+
rawResponse: _response.rawResponse,
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Returns metadata for `Item` PATCHs.
|
|
422
|
+
*
|
|
423
|
+
* @param {string} id
|
|
424
|
+
* @param {Items.RequestOptions} requestOptions - Request-specific configuration.
|
|
425
|
+
*
|
|
426
|
+
* @example
|
|
427
|
+
* await client.accounting.items.metaPatchRetrieve("id")
|
|
428
|
+
*/
|
|
429
|
+
metaPatchRetrieve(id, requestOptions) {
|
|
430
|
+
return core.HttpResponsePromise.fromPromise(this.__metaPatchRetrieve(id, requestOptions));
|
|
431
|
+
}
|
|
432
|
+
__metaPatchRetrieve(id, requestOptions) {
|
|
433
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
434
|
+
var _a, _b, _c, _d;
|
|
435
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
436
|
+
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/items/meta/patch/${encodeURIComponent(id)}`),
|
|
437
|
+
method: "GET",
|
|
438
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
439
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
440
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
441
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
442
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
443
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
444
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
445
|
+
});
|
|
446
|
+
if (_response.ok) {
|
|
447
|
+
return {
|
|
448
|
+
data: serializers.accounting.MetaResponse.parseOrThrow(_response.body, {
|
|
449
|
+
unrecognizedObjectKeys: "passthrough",
|
|
450
|
+
allowUnrecognizedUnionMembers: true,
|
|
451
|
+
allowUnrecognizedEnumValues: true,
|
|
452
|
+
skipValidation: true,
|
|
453
|
+
breadcrumbsPrefix: ["response"],
|
|
454
|
+
}),
|
|
455
|
+
rawResponse: _response.rawResponse,
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
if (_response.error.reason === "status-code") {
|
|
459
|
+
throw new errors.MergeError({
|
|
460
|
+
statusCode: _response.error.statusCode,
|
|
461
|
+
body: _response.error.body,
|
|
462
|
+
rawResponse: _response.rawResponse,
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
switch (_response.error.reason) {
|
|
466
|
+
case "non-json":
|
|
467
|
+
throw new errors.MergeError({
|
|
468
|
+
statusCode: _response.error.statusCode,
|
|
469
|
+
body: _response.error.rawBody,
|
|
470
|
+
rawResponse: _response.rawResponse,
|
|
471
|
+
});
|
|
472
|
+
case "timeout":
|
|
473
|
+
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/items/meta/patch/{id}.");
|
|
474
|
+
case "unknown":
|
|
475
|
+
throw new errors.MergeError({
|
|
476
|
+
message: _response.error.errorMessage,
|
|
477
|
+
rawResponse: _response.rawResponse,
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* Returns metadata for `Item` POSTs.
|
|
484
|
+
*
|
|
485
|
+
* @param {Items.RequestOptions} requestOptions - Request-specific configuration.
|
|
486
|
+
*
|
|
487
|
+
* @example
|
|
488
|
+
* await client.accounting.items.metaPostRetrieve()
|
|
489
|
+
*/
|
|
490
|
+
metaPostRetrieve(requestOptions) {
|
|
491
|
+
return core.HttpResponsePromise.fromPromise(this.__metaPostRetrieve(requestOptions));
|
|
492
|
+
}
|
|
493
|
+
__metaPostRetrieve(requestOptions) {
|
|
494
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
495
|
+
var _a, _b, _c, _d;
|
|
496
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
497
|
+
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/items/meta/post"),
|
|
498
|
+
method: "GET",
|
|
499
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
500
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
501
|
+
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
502
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
503
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
504
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
505
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
506
|
+
});
|
|
507
|
+
if (_response.ok) {
|
|
508
|
+
return {
|
|
509
|
+
data: serializers.accounting.MetaResponse.parseOrThrow(_response.body, {
|
|
510
|
+
unrecognizedObjectKeys: "passthrough",
|
|
511
|
+
allowUnrecognizedUnionMembers: true,
|
|
512
|
+
allowUnrecognizedEnumValues: true,
|
|
513
|
+
skipValidation: true,
|
|
514
|
+
breadcrumbsPrefix: ["response"],
|
|
515
|
+
}),
|
|
516
|
+
rawResponse: _response.rawResponse,
|
|
517
|
+
};
|
|
518
|
+
}
|
|
519
|
+
if (_response.error.reason === "status-code") {
|
|
520
|
+
throw new errors.MergeError({
|
|
521
|
+
statusCode: _response.error.statusCode,
|
|
522
|
+
body: _response.error.body,
|
|
523
|
+
rawResponse: _response.rawResponse,
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
switch (_response.error.reason) {
|
|
527
|
+
case "non-json":
|
|
528
|
+
throw new errors.MergeError({
|
|
529
|
+
statusCode: _response.error.statusCode,
|
|
530
|
+
body: _response.error.rawBody,
|
|
531
|
+
rawResponse: _response.rawResponse,
|
|
532
|
+
});
|
|
533
|
+
case "timeout":
|
|
534
|
+
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/items/meta/post.");
|
|
535
|
+
case "unknown":
|
|
536
|
+
throw new errors.MergeError({
|
|
537
|
+
message: _response.error.errorMessage,
|
|
538
|
+
rawResponse: _response.rawResponse,
|
|
245
539
|
});
|
|
246
540
|
}
|
|
247
541
|
});
|
package/dist/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Merge from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* model: {}
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface ItemEndpointRequest {
|
|
12
|
+
/**
|
|
13
|
+
* Whether to include debug fields (such as log file links) in the response.
|
|
14
|
+
*/
|
|
15
|
+
isDebugMode?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether or not third-party updates should be run asynchronously.
|
|
18
|
+
*/
|
|
19
|
+
runAsync?: boolean;
|
|
20
|
+
model: Merge.accounting.ItemRequestRequest;
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Merge from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* model: {}
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface PatchedItemEndpointRequest {
|
|
12
|
+
/**
|
|
13
|
+
* Whether to include debug fields (such as log file links) in the response.
|
|
14
|
+
*/
|
|
15
|
+
isDebugMode?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether or not third-party updates should be run asynchronously.
|
|
18
|
+
*/
|
|
19
|
+
runAsync?: boolean;
|
|
20
|
+
model: Merge.accounting.PatchedItemRequestRequest;
|
|
21
|
+
}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { type ItemsListRequest } from "./ItemsListRequest";
|
|
2
|
+
export { type ItemEndpointRequest } from "./ItemEndpointRequest";
|
|
2
3
|
export { type ItemsRetrieveRequest } from "./ItemsRetrieveRequest";
|
|
4
|
+
export { type PatchedItemEndpointRequest } from "./PatchedItemEndpointRequest";
|