@mergeapi/merge-node-client 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/accounting/__package__.yml +1 -0
- package/.mock/definition/accounting/accountDetails.yml +2 -1
- package/.mock/definition/accounting/accountToken.yml +2 -0
- package/.mock/definition/accounting/accountingPeriods.yml +6 -2
- package/.mock/definition/accounting/accounts.yml +10 -4
- package/.mock/definition/accounting/addresses.yml +2 -1
- package/.mock/definition/accounting/asyncPassthrough.yml +4 -2
- package/.mock/definition/accounting/asyncTasks.yml +2 -1
- package/.mock/definition/accounting/attachments.yml +10 -4
- package/.mock/definition/accounting/auditTrail.yml +5 -1
- package/.mock/definition/accounting/availableActions.yml +2 -1
- package/.mock/definition/accounting/balanceSheets.yml +6 -2
- package/.mock/definition/accounting/bankFeedAccounts.yml +10 -4
- package/.mock/definition/accounting/bankFeedTransactions.yml +10 -4
- package/.mock/definition/accounting/cashFlowStatements.yml +6 -2
- package/.mock/definition/accounting/companyInfo.yml +6 -2
- package/.mock/definition/accounting/contacts.yml +15 -5
- package/.mock/definition/accounting/creditNotes.yml +10 -5
- package/.mock/definition/accounting/deleteAccount.yml +2 -1
- package/.mock/definition/accounting/employees.yml +6 -2
- package/.mock/definition/accounting/expenseReports.yml +24 -7
- package/.mock/definition/accounting/expenses.yml +20 -8
- package/.mock/definition/accounting/fieldMapping.yml +12 -6
- package/.mock/definition/accounting/forceResync.yml +2 -1
- package/.mock/definition/accounting/generalLedgerTransactions.yml +6 -2
- package/.mock/definition/accounting/generateKey.yml +3 -1
- package/.mock/definition/accounting/incomeStatements.yml +6 -2
- package/.mock/definition/accounting/invoices.yml +24 -9
- package/.mock/definition/accounting/issues.yml +7 -1
- package/.mock/definition/accounting/items.yml +14 -6
- package/.mock/definition/accounting/journalEntries.yml +20 -8
- package/.mock/definition/accounting/linkToken.yml +3 -1
- package/.mock/definition/accounting/linkedAccounts.yml +5 -1
- package/.mock/definition/accounting/passthrough.yml +2 -1
- package/.mock/definition/accounting/paymentMethods.yml +6 -2
- package/.mock/definition/accounting/paymentTerms.yml +6 -2
- package/.mock/definition/accounting/payments.yml +24 -8
- package/.mock/definition/accounting/phoneNumbers.yml +2 -1
- package/.mock/definition/accounting/projects.yml +6 -2
- package/.mock/definition/accounting/purchaseOrders.yml +20 -8
- package/.mock/definition/accounting/regenerateKey.yml +3 -1
- package/.mock/definition/accounting/scopes.yml +7 -3
- package/.mock/definition/accounting/syncStatus.yml +4 -1
- package/.mock/definition/accounting/taxRates.yml +6 -2
- package/.mock/definition/accounting/trackingCategories.yml +6 -2
- package/.mock/definition/accounting/transactions.yml +6 -4
- package/.mock/definition/accounting/vendorCredits.yml +10 -6
- package/.mock/definition/accounting/webhookReceivers.yml +4 -2
- package/.mock/definition/ats/accountDetails.yml +2 -1
- package/.mock/definition/ats/accountToken.yml +2 -0
- package/.mock/definition/ats/activities.yml +10 -4
- package/.mock/definition/ats/applications.yml +12 -5
- package/.mock/definition/ats/asyncPassthrough.yml +4 -2
- package/.mock/definition/ats/attachments.yml +10 -4
- package/.mock/definition/ats/auditTrail.yml +5 -1
- package/.mock/definition/ats/availableActions.yml +2 -1
- package/.mock/definition/ats/candidates.yml +16 -7
- package/.mock/definition/ats/deleteAccount.yml +2 -1
- package/.mock/definition/ats/departments.yml +6 -2
- package/.mock/definition/ats/eeocs.yml +6 -2
- package/.mock/definition/ats/fieldMapping.yml +12 -6
- package/.mock/definition/ats/forceResync.yml +2 -1
- package/.mock/definition/ats/generateKey.yml +3 -1
- package/.mock/definition/ats/interviews.yml +10 -4
- package/.mock/definition/ats/issues.yml +7 -1
- package/.mock/definition/ats/jobInterviewStages.yml +6 -2
- package/.mock/definition/ats/jobPostings.yml +6 -2
- package/.mock/definition/ats/jobs.yml +10 -3
- package/.mock/definition/ats/linkToken.yml +3 -1
- package/.mock/definition/ats/linkedAccounts.yml +5 -1
- package/.mock/definition/ats/offers.yml +6 -2
- package/.mock/definition/ats/offices.yml +6 -2
- package/.mock/definition/ats/passthrough.yml +2 -1
- package/.mock/definition/ats/regenerateKey.yml +3 -1
- package/.mock/definition/ats/rejectReasons.yml +6 -2
- package/.mock/definition/ats/scopes.yml +7 -3
- package/.mock/definition/ats/scorecards.yml +6 -2
- package/.mock/definition/ats/syncStatus.yml +4 -1
- package/.mock/definition/ats/tags.yml +4 -1
- package/.mock/definition/ats/users.yml +6 -2
- package/.mock/definition/ats/webhookReceivers.yml +4 -2
- package/.mock/definition/crm/__package__.yml +1 -0
- package/.mock/definition/crm/accountDetails.yml +2 -1
- package/.mock/definition/crm/accountToken.yml +2 -0
- package/.mock/definition/crm/accounts.yml +19 -7
- package/.mock/definition/crm/associationTypes.yml +10 -4
- package/.mock/definition/crm/associations.yml +6 -2
- package/.mock/definition/crm/asyncPassthrough.yml +4 -2
- package/.mock/definition/crm/auditTrail.yml +5 -1
- package/.mock/definition/crm/availableActions.yml +2 -1
- package/.mock/definition/crm/contacts.yml +21 -8
- package/.mock/definition/crm/customObjectClasses.yml +6 -2
- package/.mock/definition/crm/customObjects.yml +15 -5
- package/.mock/definition/crm/deleteAccount.yml +2 -1
- package/.mock/definition/crm/engagementTypes.yml +11 -3
- package/.mock/definition/crm/engagements.yml +19 -7
- package/.mock/definition/crm/fieldMapping.yml +12 -6
- package/.mock/definition/crm/forceResync.yml +2 -1
- package/.mock/definition/crm/generateKey.yml +3 -1
- package/.mock/definition/crm/issues.yml +7 -1
- package/.mock/definition/crm/leads.yml +15 -5
- package/.mock/definition/crm/linkToken.yml +3 -1
- package/.mock/definition/crm/linkedAccounts.yml +5 -1
- package/.mock/definition/crm/notes.yml +15 -5
- package/.mock/definition/crm/opportunities.yml +19 -7
- package/.mock/definition/crm/passthrough.yml +2 -1
- package/.mock/definition/crm/regenerateKey.yml +3 -1
- package/.mock/definition/crm/scopes.yml +7 -3
- package/.mock/definition/crm/stages.yml +11 -3
- package/.mock/definition/crm/syncStatus.yml +4 -1
- package/.mock/definition/crm/tasks.yml +19 -7
- package/.mock/definition/crm/users.yml +13 -4
- package/.mock/definition/crm/webhookReceivers.yml +4 -2
- package/.mock/definition/filestorage/accountDetails.yml +2 -1
- package/.mock/definition/filestorage/accountToken.yml +2 -0
- package/.mock/definition/filestorage/asyncPassthrough.yml +4 -2
- package/.mock/definition/filestorage/auditTrail.yml +5 -1
- package/.mock/definition/filestorage/availableActions.yml +2 -1
- package/.mock/definition/filestorage/deleteAccount.yml +2 -1
- package/.mock/definition/filestorage/drives.yml +6 -2
- package/.mock/definition/filestorage/fieldMapping.yml +12 -6
- package/.mock/definition/filestorage/files.yml +16 -6
- package/.mock/definition/filestorage/folders.yml +10 -4
- package/.mock/definition/filestorage/forceResync.yml +2 -1
- package/.mock/definition/filestorage/generateKey.yml +3 -1
- package/.mock/definition/filestorage/groups.yml +6 -2
- package/.mock/definition/filestorage/issues.yml +7 -1
- package/.mock/definition/filestorage/linkToken.yml +3 -1
- package/.mock/definition/filestorage/linkedAccounts.yml +5 -1
- package/.mock/definition/filestorage/passthrough.yml +2 -1
- package/.mock/definition/filestorage/regenerateKey.yml +3 -1
- package/.mock/definition/filestorage/scopes.yml +7 -3
- package/.mock/definition/filestorage/syncStatus.yml +4 -1
- package/.mock/definition/filestorage/users.yml +6 -2
- package/.mock/definition/filestorage/webhookReceivers.yml +4 -2
- package/.mock/definition/hris/accountDetails.yml +2 -1
- package/.mock/definition/hris/accountToken.yml +2 -0
- package/.mock/definition/hris/asyncPassthrough.yml +4 -2
- package/.mock/definition/hris/auditTrail.yml +5 -1
- package/.mock/definition/hris/availableActions.yml +2 -1
- package/.mock/definition/hris/bankInfo.yml +6 -2
- package/.mock/definition/hris/benefits.yml +6 -4
- package/.mock/definition/hris/companies.yml +6 -2
- package/.mock/definition/hris/deleteAccount.yml +2 -1
- package/.mock/definition/hris/dependents.yml +6 -2
- package/.mock/definition/hris/employeePayrollRuns.yml +6 -2
- package/.mock/definition/hris/employees.yml +12 -11
- package/.mock/definition/hris/employerBenefits.yml +6 -2
- package/.mock/definition/hris/employments.yml +6 -2
- package/.mock/definition/hris/fieldMapping.yml +12 -6
- package/.mock/definition/hris/forceResync.yml +2 -1
- package/.mock/definition/hris/generateKey.yml +3 -1
- package/.mock/definition/hris/groups.yml +6 -2
- package/.mock/definition/hris/issues.yml +7 -1
- package/.mock/definition/hris/linkToken.yml +3 -1
- package/.mock/definition/hris/linkedAccounts.yml +5 -1
- package/.mock/definition/hris/locations.yml +6 -2
- package/.mock/definition/hris/passthrough.yml +2 -1
- package/.mock/definition/hris/payGroups.yml +6 -2
- package/.mock/definition/hris/payrollRuns.yml +6 -2
- package/.mock/definition/hris/regenerateKey.yml +3 -1
- package/.mock/definition/hris/scopes.yml +7 -3
- package/.mock/definition/hris/syncStatus.yml +4 -1
- package/.mock/definition/hris/teams.yml +6 -2
- package/.mock/definition/hris/timeOff.yml +10 -4
- package/.mock/definition/hris/timeOffBalances.yml +6 -2
- package/.mock/definition/hris/timesheetEntries.yml +10 -4
- package/.mock/definition/hris/webhookReceivers.yml +4 -2
- package/.mock/definition/ticketing/__package__.yml +1 -0
- package/.mock/definition/ticketing/accountDetails.yml +2 -1
- package/.mock/definition/ticketing/accountToken.yml +2 -0
- package/.mock/definition/ticketing/accounts.yml +6 -2
- package/.mock/definition/ticketing/asyncPassthrough.yml +4 -2
- package/.mock/definition/ticketing/attachments.yml +10 -4
- package/.mock/definition/ticketing/auditTrail.yml +5 -1
- package/.mock/definition/ticketing/availableActions.yml +2 -1
- package/.mock/definition/ticketing/collections.yml +10 -3
- package/.mock/definition/ticketing/comments.yml +10 -4
- package/.mock/definition/ticketing/contacts.yml +10 -4
- package/.mock/definition/ticketing/deleteAccount.yml +2 -1
- package/.mock/definition/ticketing/fieldMapping.yml +12 -6
- package/.mock/definition/ticketing/forceResync.yml +2 -1
- package/.mock/definition/ticketing/generateKey.yml +3 -1
- package/.mock/definition/ticketing/issues.yml +7 -1
- package/.mock/definition/ticketing/linkToken.yml +3 -1
- package/.mock/definition/ticketing/linkedAccounts.yml +5 -1
- package/.mock/definition/ticketing/passthrough.yml +2 -1
- package/.mock/definition/ticketing/projects.yml +10 -3
- package/.mock/definition/ticketing/regenerateKey.yml +3 -1
- package/.mock/definition/ticketing/roles.yml +6 -2
- package/.mock/definition/ticketing/scopes.yml +7 -3
- package/.mock/definition/ticketing/syncStatus.yml +4 -1
- package/.mock/definition/ticketing/tags.yml +6 -2
- package/.mock/definition/ticketing/teams.yml +6 -2
- package/.mock/definition/ticketing/tickets.yml +23 -8
- package/.mock/definition/ticketing/users.yml +6 -2
- package/.mock/definition/ticketing/webhookReceivers.yml +4 -2
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +3 -3
- package/Client.js +11 -11
- package/api/resources/accounting/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/accounting/resources/accountToken/client/Client.js +8 -7
- package/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/accountingPeriods/client/Client.js +19 -15
- package/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.d.ts +8 -16
- package/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/accounts/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/accounts/client/Client.js +35 -29
- package/api/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +21 -55
- package/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +5 -15
- package/api/resources/accounting/resources/addresses/client/Client.js +8 -7
- package/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -12
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/accounting/resources/asyncTasks/client/Client.js +8 -7
- package/api/resources/accounting/resources/attachments/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/attachments/client/Client.js +35 -29
- package/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.d.ts +14 -34
- package/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/accounting/resources/availableActions/client/Client.js +8 -7
- package/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +19 -15
- package/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +35 -29
- package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsListRequest.d.ts +8 -16
- package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +35 -29
- package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +19 -15
- package/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/companyInfo/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/companyInfo/client/Client.js +19 -15
- package/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.d.ts +14 -34
- package/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/contacts/client/Client.d.ts +6 -2
- package/api/resources/accounting/resources/contacts/client/Client.js +46 -37
- package/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +23 -61
- package/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +6 -18
- package/api/resources/accounting/resources/creditNotes/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/creditNotes/client/Client.js +35 -29
- package/api/resources/accounting/resources/creditNotes/client/requests/CreditNoteEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.d.ts +19 -49
- package/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +5 -15
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/accounting/resources/employees/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/employees/client/Client.js +19 -15
- package/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/expenseReports/client/Client.d.ts +12 -4
- package/api/resources/accounting/resources/expenseReports/client/Client.js +68 -53
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.d.ts +16 -40
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.d.ts +4 -12
- package/api/resources/accounting/resources/expenses/client/Client.d.ts +9 -3
- package/api/resources/accounting/resources/expenses/client/Client.js +57 -45
- package/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.d.ts +18 -46
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -12
- package/api/resources/accounting/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/accounting/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/accounting/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/accounting/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/forceResync/client/Client.js +8 -7
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +19 -15
- package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.d.ts +17 -43
- package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/generateKey/client/Client.js +8 -7
- package/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +19 -15
- package/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/invoices/client/Client.d.ts +9 -3
- package/api/resources/accounting/resources/invoices/client/Client.js +73 -59
- package/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts +22 -58
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +6 -18
- package/api/resources/accounting/resources/invoices/client/requests/PatchedInvoiceEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/issues/client/Client.js +19 -15
- package/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/accounting/resources/items/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/items/client/Client.js +51 -43
- package/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/items/client/requests/ItemsListRequest.d.ts +17 -43
- package/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +5 -15
- package/api/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/journalEntries/client/Client.d.ts +9 -3
- package/api/resources/accounting/resources/journalEntries/client/Client.js +57 -45
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.d.ts +18 -46
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -12
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/linkToken/client/Client.js +8 -7
- package/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/accounting/resources/passthrough/client/Client.js +8 -7
- package/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/paymentMethods/client/Client.js +19 -15
- package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +8 -16
- package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/paymentTerms/client/Client.js +19 -15
- package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +9 -19
- package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/payments/client/Client.d.ts +9 -3
- package/api/resources/accounting/resources/payments/client/Client.js +73 -59
- package/api/resources/accounting/resources/payments/client/requests/PatchedPaymentEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.d.ts +20 -52
- package/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -12
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +8 -7
- package/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/projects/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/projects/client/Client.js +19 -15
- package/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +9 -3
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +57 -45
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.d.ts +20 -52
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +6 -18
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/accounting/resources/scopes/client/Client.js +24 -21
- package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/accounting/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/accounting/resources/taxRates/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/taxRates/client/Client.js +19 -15
- package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +16 -40
- package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +19 -15
- package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +20 -52
- package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +5 -15
- package/api/resources/accounting/resources/transactions/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/transactions/client/Client.js +19 -15
- package/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.d.ts +17 -43
- package/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +35 -29
- package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.d.ts +17 -43
- package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/api/resources/ats/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/ats/resources/accountToken/client/Client.js +8 -7
- package/api/resources/ats/resources/activities/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/activities/client/Client.js +35 -29
- package/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.d.ts +17 -43
- package/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/activities/client/requests/ActivityEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/applications/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/applications/client/Client.js +43 -36
- package/api/resources/ats/resources/applications/client/requests/ApplicationEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.d.ts +20 -52
- package/api/resources/ats/resources/applications/client/requests/ApplicationsMetaPostRetrieveRequest.d.ts +1 -3
- package/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +3 -9
- package/api/resources/ats/resources/applications/client/requests/UpdateApplicationStageRequest.d.ts +2 -6
- package/api/resources/ats/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/ats/resources/attachments/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/attachments/client/Client.js +35 -29
- package/api/resources/ats/resources/attachments/client/requests/AttachmentEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.d.ts +17 -43
- package/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/ats/resources/availableActions/client/Client.js +8 -7
- package/api/resources/ats/resources/candidates/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/candidates/client/Client.js +59 -50
- package/api/resources/ats/resources/candidates/client/requests/CandidateEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.d.ts +18 -46
- package/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +3 -9
- package/api/resources/ats/resources/candidates/client/requests/PatchedCandidateEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/ats/resources/departments/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/departments/client/Client.js +19 -15
- package/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.d.ts +13 -31
- package/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +2 -6
- package/api/resources/ats/resources/eeocs/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/eeocs/client/Client.js +19 -15
- package/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.d.ts +17 -43
- package/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/ats/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/ats/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/ats/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/ats/resources/forceResync/client/Client.js +8 -7
- package/api/resources/ats/resources/generateKey/client/Client.js +8 -7
- package/api/resources/ats/resources/interviews/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/interviews/client/Client.js +35 -29
- package/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.d.ts +20 -52
- package/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/interviews/client/requests/ScheduledInterviewEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/issues/client/Client.js +19 -15
- package/api/resources/ats/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/jobInterviewStages/client/Client.js +19 -15
- package/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.d.ts +15 -37
- package/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +3 -9
- package/api/resources/ats/resources/jobPostings/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/jobPostings/client/Client.js +19 -15
- package/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.d.ts +14 -34
- package/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +3 -9
- package/api/resources/ats/resources/jobs/client/Client.d.ts +6 -2
- package/api/resources/ats/resources/jobs/client/Client.js +30 -23
- package/api/resources/ats/resources/jobs/client/requests/JobsListRequest.d.ts +18 -46
- package/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.d.ts +9 -19
- package/api/resources/ats/resources/linkToken/client/Client.js +8 -7
- package/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/ats/resources/offers/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/offers/client/Client.js +19 -15
- package/api/resources/ats/resources/offers/client/requests/OffersListRequest.d.ts +18 -46
- package/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/offices/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/offices/client/Client.js +19 -15
- package/api/resources/ats/resources/offices/client/requests/OfficesListRequest.d.ts +13 -31
- package/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +2 -6
- package/api/resources/ats/resources/passthrough/client/Client.js +8 -7
- package/api/resources/ats/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/ats/resources/rejectReasons/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/rejectReasons/client/Client.js +19 -15
- package/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.d.ts +13 -31
- package/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +2 -6
- package/api/resources/ats/resources/scopes/client/Client.js +24 -21
- package/api/resources/ats/resources/scorecards/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/scorecards/client/Client.js +19 -15
- package/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.d.ts +19 -49
- package/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/ats/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/ats/resources/tags/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/tags/client/Client.js +11 -8
- package/api/resources/ats/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
- package/api/resources/ats/resources/users/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/users/client/Client.js +19 -15
- package/api/resources/ats/resources/users/client/requests/UsersListRequest.d.ts +16 -40
- package/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -12
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/crm/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/crm/resources/accountToken/client/Client.js +8 -7
- package/api/resources/crm/resources/accounts/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/accounts/client/Client.js +62 -51
- package/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.d.ts +17 -43
- package/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/accounts/client/requests/CrmAccountEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/accounts/client/requests/PatchedCrmAccountEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/associationTypes/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/associationTypes/client/Client.js +35 -29
- package/api/resources/crm/resources/associationTypes/client/requests/CrmAssociationTypeEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.d.ts +14 -34
- package/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/associations/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/associations/client/Client.js +19 -15
- package/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.d.ts +15 -37
- package/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsUpdateRequest.d.ts +2 -6
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/crm/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/crm/resources/availableActions/client/Client.js +8 -7
- package/api/resources/crm/resources/contacts/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/contacts/client/Client.js +70 -58
- package/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +18 -46
- package/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/contacts/client/requests/CrmContactEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +19 -15
- package/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.d.ts +14 -34
- package/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/customObjects/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/customObjects/client/Client.js +46 -37
- package/api/resources/crm/resources/customObjects/client/requests/CrmCustomObjectEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.d.ts +14 -34
- package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/crm/resources/engagementTypes/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/engagementTypes/client/Client.js +30 -23
- package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.d.ts +14 -34
- package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/engagements/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/engagements/client/Client.js +62 -51
- package/api/resources/crm/resources/engagements/client/requests/EngagementEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.d.ts +17 -43
- package/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/engagements/client/requests/PatchedEngagementEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/crm/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/crm/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/crm/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/crm/resources/forceResync/client/Client.js +8 -7
- package/api/resources/crm/resources/generateKey/client/Client.js +8 -7
- package/api/resources/crm/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/issues/client/Client.js +19 -15
- package/api/resources/crm/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/crm/resources/leads/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/leads/client/Client.js +46 -37
- package/api/resources/crm/resources/leads/client/requests/LeadEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +20 -52
- package/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/linkToken/client/Client.js +8 -7
- package/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/crm/resources/notes/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/notes/client/Client.js +46 -37
- package/api/resources/crm/resources/notes/client/requests/NoteEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/notes/client/requests/NotesListRequest.d.ts +19 -49
- package/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/opportunities/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/opportunities/client/Client.js +62 -51
- package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.d.ts +21 -55
- package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +6 -18
- package/api/resources/crm/resources/opportunities/client/requests/OpportunityEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/opportunities/client/requests/PatchedOpportunityEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/passthrough/client/Client.js +8 -7
- package/api/resources/crm/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/crm/resources/scopes/client/Client.js +24 -21
- package/api/resources/crm/resources/stages/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/stages/client/Client.js +30 -23
- package/api/resources/crm/resources/stages/client/requests/StagesListRequest.d.ts +14 -34
- package/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/crm/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/crm/resources/tasks/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/tasks/client/Client.js +62 -51
- package/api/resources/crm/resources/tasks/client/requests/PatchedTaskEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/tasks/client/requests/TaskEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/tasks/client/requests/TasksListRequest.d.ts +15 -37
- package/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/users/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/users/client/Client.js +38 -30
- package/api/resources/crm/resources/users/client/requests/UsersListRequest.d.ts +15 -37
- package/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/api/resources/filestorage/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/filestorage/resources/accountToken/client/Client.js +8 -7
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/filestorage/resources/availableActions/client/Client.js +8 -7
- package/api/resources/filestorage/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/filestorage/resources/drives/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/drives/client/Client.js +19 -15
- package/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.d.ts +14 -34
- package/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/filestorage/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/files/client/Client.d.ts +6 -2
- package/api/resources/filestorage/resources/files/client/Client.js +62 -51
- package/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +12 -28
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +1 -3
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +19 -49
- package/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +3 -9
- package/api/resources/filestorage/resources/folders/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/folders/client/Client.js +35 -29
- package/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.d.ts +17 -43
- package/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +3 -9
- package/api/resources/filestorage/resources/forceResync/client/Client.js +8 -7
- package/api/resources/filestorage/resources/generateKey/client/Client.js +8 -7
- package/api/resources/filestorage/resources/groups/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/groups/client/Client.js +19 -15
- package/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.d.ts +14 -34
- package/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +3 -9
- package/api/resources/filestorage/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/issues/client/Client.js +19 -15
- package/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/filestorage/resources/linkToken/client/Client.js +8 -7
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/filestorage/resources/passthrough/client/Client.js +8 -7
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/filestorage/resources/scopes/client/Client.js +24 -21
- package/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/filestorage/resources/users/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/users/client/Client.js +19 -15
- package/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +14 -34
- package/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/hris/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/hris/resources/accountToken/client/Client.js +8 -7
- package/api/resources/hris/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/hris/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/hris/resources/availableActions/client/Client.js +8 -7
- package/api/resources/hris/resources/bankInfo/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/bankInfo/client/Client.js +19 -15
- package/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.d.ts +19 -49
- package/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +5 -15
- package/api/resources/hris/resources/benefits/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/benefits/client/Client.js +19 -15
- package/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.d.ts +15 -37
- package/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +3 -9
- package/api/resources/hris/resources/companies/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/companies/client/Client.js +19 -15
- package/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.d.ts +13 -31
- package/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +2 -6
- package/api/resources/hris/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/hris/resources/dependents/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/dependents/client/Client.js +19 -15
- package/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.d.ts +14 -34
- package/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +3 -9
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +19 -15
- package/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.d.ts +20 -52
- package/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +3 -9
- package/api/resources/hris/resources/employees/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employees/client/Client.js +43 -36
- package/api/resources/hris/resources/employees/client/requests/EmployeeEndpointRequest.d.ts +2 -6
- package/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +35 -97
- package/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +6 -18
- package/api/resources/hris/resources/employerBenefits/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employerBenefits/client/Client.js +19 -15
- package/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.d.ts +13 -31
- package/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +2 -6
- package/api/resources/hris/resources/employments/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employments/client/Client.js +19 -15
- package/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.d.ts +18 -46
- package/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +5 -15
- package/api/resources/hris/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/hris/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/hris/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/hris/resources/forceResync/client/Client.js +8 -7
- package/api/resources/hris/resources/generateKey/client/Client.js +8 -7
- package/api/resources/hris/resources/groups/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/groups/client/Client.js +19 -15
- package/api/resources/hris/resources/groups/client/requests/GroupsListRequest.d.ts +18 -46
- package/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -12
- package/api/resources/hris/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/issues/client/Client.js +19 -15
- package/api/resources/hris/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/hris/resources/linkToken/client/Client.js +8 -7
- package/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/hris/resources/locations/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/locations/client/Client.js +19 -15
- package/api/resources/hris/resources/locations/client/requests/LocationsListRequest.d.ts +15 -37
- package/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -12
- package/api/resources/hris/resources/passthrough/client/Client.js +8 -7
- package/api/resources/hris/resources/payGroups/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/payGroups/client/Client.js +19 -15
- package/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.d.ts +13 -31
- package/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +2 -6
- package/api/resources/hris/resources/payrollRuns/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/payrollRuns/client/Client.js +19 -15
- package/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.d.ts +19 -49
- package/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -12
- package/api/resources/hris/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/hris/resources/scopes/client/Client.js +24 -21
- package/api/resources/hris/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/hris/resources/teams/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/teams/client/Client.js +19 -15
- package/api/resources/hris/resources/teams/client/requests/TeamsListRequest.d.ts +15 -37
- package/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +3 -9
- package/api/resources/hris/resources/timeOff/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/timeOff/client/Client.js +35 -29
- package/api/resources/hris/resources/timeOff/client/requests/TimeOffEndpointRequest.d.ts +2 -6
- package/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.d.ts +22 -58
- package/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +5 -15
- package/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/timeOffBalances/client/Client.js +19 -15
- package/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.d.ts +17 -43
- package/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +5 -15
- package/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/timesheetEntries/client/Client.js +35 -29
- package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.d.ts +20 -52
- package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +3 -9
- package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntryEndpointRequest.d.ts +2 -6
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/ticketing/resources/accountToken/client/Client.js +8 -7
- package/api/resources/ticketing/resources/accounts/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/accounts/client/Client.js +19 -15
- package/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/ticketing/resources/attachments/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/attachments/client/Client.js +43 -36
- package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.d.ts +16 -40
- package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +3 -9
- package/api/resources/ticketing/resources/attachments/client/requests/TicketingAttachmentEndpointRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/ticketing/resources/availableActions/client/Client.js +8 -7
- package/api/resources/ticketing/resources/collections/client/Client.d.ts +6 -2
- package/api/resources/ticketing/resources/collections/client/Client.js +30 -23
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +18 -46
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -15
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +9 -19
- package/api/resources/ticketing/resources/comments/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/comments/client/Client.js +35 -29
- package/api/resources/ticketing/resources/comments/client/requests/CommentEndpointRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.d.ts +16 -40
- package/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +3 -9
- package/api/resources/ticketing/resources/contacts/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/contacts/client/Client.js +35 -29
- package/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.d.ts +14 -34
- package/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +3 -9
- package/api/resources/ticketing/resources/contacts/client/requests/TicketingContactEndpointRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/ticketing/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/ticketing/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/ticketing/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/forceResync/client/Client.js +8 -7
- package/api/resources/ticketing/resources/generateKey/client/Client.js +8 -7
- package/api/resources/ticketing/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/issues/client/Client.js +19 -15
- package/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/linkToken/client/Client.js +8 -7
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/ticketing/resources/passthrough/client/Client.js +8 -7
- package/api/resources/ticketing/resources/projects/client/Client.d.ts +6 -2
- package/api/resources/ticketing/resources/projects/client/Client.js +30 -23
- package/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.d.ts +9 -19
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/ticketing/resources/roles/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/roles/client/Client.js +19 -15
- package/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/scopes/client/Client.js +24 -21
- package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/ticketing/resources/tags/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/tags/client/Client.js +19 -15
- package/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/teams/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/teams/client/Client.js +19 -15
- package/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/tickets/client/Client.d.ts +9 -3
- package/api/resources/ticketing/resources/tickets/client/Client.js +73 -59
- package/api/resources/ticketing/resources/tickets/client/requests/PatchedTicketEndpointRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/tickets/client/requests/TicketEndpointRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.d.ts +34 -94
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsMetaPostRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +6 -18
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.d.ts +9 -19
- package/api/resources/ticketing/resources/users/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/users/client/Client.js +19 -15
- package/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +16 -40
- package/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/core/auth/AuthProvider.d.ts +4 -0
- package/core/auth/AuthProvider.js +2 -0
- package/core/auth/AuthRequest.d.ts +9 -0
- package/core/auth/AuthRequest.js +2 -0
- package/core/auth/index.d.ts +2 -0
- package/core/fetcher/Fetcher.js +2 -2
- package/core/fetcher/index.d.ts +5 -5
- package/core/fetcher/index.js +5 -5
- package/core/schemas/builders/lazy/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.js +3 -3
- package/core/schemas/builders/object/index.d.ts +2 -2
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/core/schemas/builders/object/types.d.ts +1 -1
- package/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/core/schemas/builders/union/index.d.ts +1 -1
- package/core/schemas/builders/union/types.d.ts +1 -1
- package/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +11 -11
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.d.ts +8 -16
- package/dist/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/accounts/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +21 -55
- package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/accounting/resources/addresses/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/accounting/resources/asyncTasks/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/attachments/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.d.ts +14 -34
- package/dist/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsListRequest.d.ts +8 -16
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.d.ts +14 -34
- package/dist/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/contacts/client/Client.d.ts +6 -2
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +46 -37
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +23 -61
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNoteEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.d.ts +19 -49
- package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/employees/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/employees/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/expenseReports/client/Client.d.ts +12 -4
- package/dist/api/resources/accounting/resources/expenseReports/client/Client.js +68 -53
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.d.ts +16 -40
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/accounting/resources/expenses/client/Client.d.ts +9 -3
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +57 -45
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.d.ts +18 -46
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/accounting/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/accounting/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/accounting/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.d.ts +17 -43
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/invoices/client/Client.d.ts +9 -3
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +73 -59
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts +22 -58
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/accounting/resources/invoices/client/requests/PatchedInvoiceEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/accounting/resources/items/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/items/client/Client.js +51 -43
- package/dist/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/items/client/requests/ItemsListRequest.d.ts +17 -43
- package/dist/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.d.ts +9 -3
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +57 -45
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.d.ts +18 -46
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +8 -16
- package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +9 -19
- package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/payments/client/Client.d.ts +9 -3
- package/dist/api/resources/accounting/resources/payments/client/Client.js +73 -59
- package/dist/api/resources/accounting/resources/payments/client/requests/PatchedPaymentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.d.ts +20 -52
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/projects/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/projects/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +9 -3
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +57 -45
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.d.ts +20 -52
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/accounting/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/accounting/resources/taxRates/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +16 -40
- package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +20 -52
- package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/accounting/resources/transactions/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.d.ts +17 -43
- package/dist/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.d.ts +17 -43
- package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/activities/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/activities/client/Client.js +35 -29
- package/dist/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.d.ts +17 -43
- package/dist/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/activities/client/requests/ActivityEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/applications/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/applications/client/Client.js +43 -36
- package/dist/api/resources/ats/resources/applications/client/requests/ApplicationEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.d.ts +20 -52
- package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsMetaPostRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ats/resources/applications/client/requests/UpdateApplicationStageRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/ats/resources/attachments/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/attachments/client/Client.js +35 -29
- package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.d.ts +17 -43
- package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/ats/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/candidates/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/candidates/client/Client.js +59 -50
- package/dist/api/resources/ats/resources/candidates/client/requests/CandidateEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.d.ts +18 -46
- package/dist/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ats/resources/candidates/client/requests/PatchedCandidateEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/departments/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/departments/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.d.ts +13 -31
- package/dist/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/eeocs/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/eeocs/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.d.ts +17 -43
- package/dist/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/ats/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/ats/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/ats/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/interviews/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/interviews/client/Client.js +35 -29
- package/dist/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.d.ts +20 -52
- package/dist/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/interviews/client/requests/ScheduledInterviewEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.d.ts +15 -37
- package/dist/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ats/resources/jobPostings/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/jobPostings/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.d.ts +14 -34
- package/dist/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ats/resources/jobs/client/Client.d.ts +6 -2
- package/dist/api/resources/ats/resources/jobs/client/Client.js +30 -23
- package/dist/api/resources/ats/resources/jobs/client/requests/JobsListRequest.d.ts +18 -46
- package/dist/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.d.ts +9 -19
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/ats/resources/offers/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/offers/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/offers/client/requests/OffersListRequest.d.ts +18 -46
- package/dist/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/offices/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/offices/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/offices/client/requests/OfficesListRequest.d.ts +13 -31
- package/dist/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.d.ts +13 -31
- package/dist/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/ats/resources/scorecards/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.d.ts +19 -49
- package/dist/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/ats/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/ats/resources/tags/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/tags/client/Client.js +11 -8
- package/dist/api/resources/ats/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
- package/dist/api/resources/ats/resources/users/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/users/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/users/client/requests/UsersListRequest.d.ts +16 -40
- package/dist/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/accounts/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/accounts/client/Client.js +62 -51
- package/dist/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.d.ts +17 -43
- package/dist/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/accounts/client/requests/CrmAccountEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/accounts/client/requests/PatchedCrmAccountEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/associationTypes/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +35 -29
- package/dist/api/resources/crm/resources/associationTypes/client/requests/CrmAssociationTypeEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/associations/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/associations/client/Client.js +19 -15
- package/dist/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.d.ts +15 -37
- package/dist/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsUpdateRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/crm/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/contacts/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/contacts/client/Client.js +70 -58
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +18 -46
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/contacts/client/requests/CrmContactEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +19 -15
- package/dist/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/customObjects/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +46 -37
- package/dist/api/resources/crm/resources/customObjects/client/requests/CrmCustomObjectEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +30 -23
- package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/engagements/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/engagements/client/Client.js +62 -51
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.d.ts +17 -43
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/engagements/client/requests/PatchedEngagementEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/crm/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/crm/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/crm/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/crm/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/crm/resources/leads/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/leads/client/Client.js +46 -37
- package/dist/api/resources/crm/resources/leads/client/requests/LeadEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +20 -52
- package/dist/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/notes/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/notes/client/Client.js +46 -37
- package/dist/api/resources/crm/resources/notes/client/requests/NoteEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/notes/client/requests/NotesListRequest.d.ts +19 -49
- package/dist/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/opportunities/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +62 -51
- package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.d.ts +21 -55
- package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunityEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/opportunities/client/requests/PatchedOpportunityEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/crm/resources/stages/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/stages/client/Client.js +30 -23
- package/dist/api/resources/crm/resources/stages/client/requests/StagesListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/crm/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/crm/resources/tasks/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/tasks/client/Client.js +62 -51
- package/dist/api/resources/crm/resources/tasks/client/requests/PatchedTaskEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/tasks/client/requests/TaskEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/tasks/client/requests/TasksListRequest.d.ts +15 -37
- package/dist/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/users/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/users/client/Client.js +38 -30
- package/dist/api/resources/crm/resources/users/client/requests/UsersListRequest.d.ts +15 -37
- package/dist/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/drives/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/drives/client/Client.js +19 -15
- package/dist/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.d.ts +14 -34
- package/dist/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +6 -2
- package/dist/api/resources/filestorage/resources/files/client/Client.js +62 -51
- package/dist/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +12 -28
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +19 -49
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/filestorage/resources/folders/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +35 -29
- package/dist/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.d.ts +17 -43
- package/dist/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/groups/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +19 -15
- package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.d.ts +14 -34
- package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/filestorage/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/filestorage/resources/users/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/users/client/Client.js +19 -15
- package/dist/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +14 -34
- package/dist/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/hris/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/hris/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/hris/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/bankInfo/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/bankInfo/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.d.ts +19 -49
- package/dist/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/hris/resources/benefits/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/benefits/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.d.ts +15 -37
- package/dist/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/hris/resources/companies/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/companies/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.d.ts +13 -31
- package/dist/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/dependents/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/dependents/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.d.ts +14 -34
- package/dist/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.d.ts +20 -52
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/hris/resources/employees/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employees/client/Client.js +43 -36
- package/dist/api/resources/hris/resources/employees/client/requests/EmployeeEndpointRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +35 -97
- package/dist/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.d.ts +13 -31
- package/dist/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/employments/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employments/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.d.ts +18 -46
- package/dist/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/hris/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/hris/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/groups/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/groups/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/groups/client/requests/GroupsListRequest.d.ts +18 -46
- package/dist/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/hris/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/hris/resources/locations/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/locations/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/locations/client/requests/LocationsListRequest.d.ts +15 -37
- package/dist/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/payGroups/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.d.ts +13 -31
- package/dist/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.d.ts +19 -49
- package/dist/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/hris/resources/teams/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/teams/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/teams/client/requests/TeamsListRequest.d.ts +15 -37
- package/dist/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/hris/resources/timeOff/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/timeOff/client/Client.js +35 -29
- package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffEndpointRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.d.ts +22 -58
- package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.d.ts +17 -43
- package/dist/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +35 -29
- package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.d.ts +20 -52
- package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntryEndpointRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/accounts/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/ticketing/resources/attachments/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +43 -36
- package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.d.ts +16 -40
- package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ticketing/resources/attachments/client/requests/TicketingAttachmentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +6 -2
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +30 -23
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +18 -46
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +9 -19
- package/dist/api/resources/ticketing/resources/comments/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +35 -29
- package/dist/api/resources/ticketing/resources/comments/client/requests/CommentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.d.ts +16 -40
- package/dist/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ticketing/resources/contacts/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +35 -29
- package/dist/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.d.ts +14 -34
- package/dist/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ticketing/resources/contacts/client/requests/TicketingContactEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/projects/client/Client.d.ts +6 -2
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +30 -23
- package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.d.ts +9 -19
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/roles/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/roles/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/ticketing/resources/tags/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/teams/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/tickets/client/Client.d.ts +9 -3
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +73 -59
- package/dist/api/resources/ticketing/resources/tickets/client/requests/PatchedTicketEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.d.ts +34 -94
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsMetaPostRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.d.ts +9 -19
- package/dist/api/resources/ticketing/resources/users/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/users/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +16 -40
- package/dist/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/dist/core/auth/AuthProvider.d.ts +4 -0
- package/dist/core/auth/AuthProvider.js +2 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/AuthRequest.js +2 -0
- package/dist/core/auth/index.d.ts +2 -0
- package/dist/core/fetcher/Fetcher.js +2 -2
- package/dist/core/fetcher/index.d.ts +5 -5
- package/dist/core/fetcher/index.js +5 -5
- package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.js +3 -3
- package/dist/core/schemas/builders/object/index.d.ts +2 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/union/index.d.ts +1 -1
- package/dist/core/schemas/builders/union/types.d.ts +1 -1
- package/dist/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldClass.js +1 -0
- package/dist/serialization/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/dist/serialization/resources/crm/types/RemoteFieldClass.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/dist/serialization/resources/ticketing/types/RemoteFieldClass.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +2342 -2054
- package/serialization/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/serialization/resources/accounting/types/RemoteFieldClass.js +1 -0
- package/serialization/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/serialization/resources/crm/types/RemoteFieldClass.js +1 -0
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/serialization/resources/ticketing/types/RemoteFieldClass.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -62,14 +62,16 @@ class PaymentMethods {
|
|
|
62
62
|
* @param {PaymentMethods.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
|
-
* await client.accounting.paymentMethods.list(
|
|
65
|
+
* await client.accounting.paymentMethods.list({
|
|
66
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
67
|
+
* })
|
|
66
68
|
*/
|
|
67
69
|
list(request = {}, requestOptions) {
|
|
68
70
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
69
71
|
}
|
|
70
72
|
__list() {
|
|
71
73
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
72
|
-
var _a, _b, _c, _d;
|
|
74
|
+
var _a, _b, _c, _d, _e, _f;
|
|
73
75
|
const { cursor, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request;
|
|
74
76
|
const _queryParams = {};
|
|
75
77
|
if (cursor != null) {
|
|
@@ -87,13 +89,14 @@ class PaymentMethods {
|
|
|
87
89
|
if (pageSize != null) {
|
|
88
90
|
_queryParams["page_size"] = pageSize.toString();
|
|
89
91
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
93
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
94
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
95
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
96
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
97
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/payment-methods"),
|
|
92
98
|
method: "GET",
|
|
93
|
-
headers:
|
|
94
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
95
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
96
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
99
|
+
headers: _headers,
|
|
97
100
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
98
101
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
99
102
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -150,7 +153,7 @@ class PaymentMethods {
|
|
|
150
153
|
}
|
|
151
154
|
__retrieve(id_1) {
|
|
152
155
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
153
|
-
var _a, _b, _c, _d;
|
|
156
|
+
var _a, _b, _c, _d, _e, _f;
|
|
154
157
|
const { includeRemoteData, includeShellData } = request;
|
|
155
158
|
const _queryParams = {};
|
|
156
159
|
if (includeRemoteData != null) {
|
|
@@ -159,13 +162,14 @@ class PaymentMethods {
|
|
|
159
162
|
if (includeShellData != null) {
|
|
160
163
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
161
164
|
}
|
|
162
|
-
|
|
163
|
-
|
|
165
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
166
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
167
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
168
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
169
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
170
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, `accounting/v1/payment-methods/${encodeURIComponent(id)}`),
|
|
164
171
|
method: "GET",
|
|
165
|
-
headers:
|
|
166
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
167
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
168
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
172
|
+
headers: _headers,
|
|
169
173
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
170
174
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
171
175
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -3,27 +3,19 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
|
-
* {
|
|
6
|
+
* {
|
|
7
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
8
|
+
* }
|
|
7
9
|
*/
|
|
8
10
|
export interface PaymentMethodsListRequest {
|
|
9
|
-
/**
|
|
10
|
-
* The pagination cursor value.
|
|
11
|
-
*/
|
|
11
|
+
/** The pagination cursor value. */
|
|
12
12
|
cursor?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
|
|
15
|
-
*/
|
|
13
|
+
/** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */
|
|
16
14
|
includeDeletedData?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
19
|
-
*/
|
|
15
|
+
/** Whether to include the original data Merge fetched from the third-party to produce these models. */
|
|
20
16
|
includeRemoteData?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
23
|
-
*/
|
|
17
|
+
/** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
|
|
24
18
|
includeShellData?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Number of results to return per page.
|
|
27
|
-
*/
|
|
19
|
+
/** Number of results to return per page. */
|
|
28
20
|
pageSize?: number;
|
|
29
21
|
}
|
|
@@ -6,12 +6,8 @@
|
|
|
6
6
|
* {}
|
|
7
7
|
*/
|
|
8
8
|
export interface PaymentMethodsRetrieveRequest {
|
|
9
|
-
/**
|
|
10
|
-
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
11
|
-
*/
|
|
9
|
+
/** Whether to include the original data Merge fetched from the third-party to produce these models. */
|
|
12
10
|
includeRemoteData?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
15
|
-
*/
|
|
11
|
+
/** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
|
|
16
12
|
includeShellData?: boolean;
|
|
17
13
|
}
|
|
@@ -41,7 +41,9 @@ export declare class PaymentTerms {
|
|
|
41
41
|
* @param {PaymentTerms.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
|
-
* await client.accounting.paymentTerms.list(
|
|
44
|
+
* await client.accounting.paymentTerms.list({
|
|
45
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
46
|
+
* })
|
|
45
47
|
*/
|
|
46
48
|
list(request?: Merge.accounting.PaymentTermsListRequest, requestOptions?: PaymentTerms.RequestOptions): core.HttpResponsePromise<Merge.accounting.PaginatedPaymentTermList>;
|
|
47
49
|
private __list;
|
|
@@ -62,14 +62,16 @@ class PaymentTerms {
|
|
|
62
62
|
* @param {PaymentTerms.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
|
-
* await client.accounting.paymentTerms.list(
|
|
65
|
+
* await client.accounting.paymentTerms.list({
|
|
66
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
67
|
+
* })
|
|
66
68
|
*/
|
|
67
69
|
list(request = {}, requestOptions) {
|
|
68
70
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
69
71
|
}
|
|
70
72
|
__list() {
|
|
71
73
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
72
|
-
var _a, _b, _c, _d;
|
|
74
|
+
var _a, _b, _c, _d, _e, _f;
|
|
73
75
|
const { cursor, expand, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request;
|
|
74
76
|
const _queryParams = {};
|
|
75
77
|
if (cursor != null) {
|
|
@@ -90,13 +92,14 @@ class PaymentTerms {
|
|
|
90
92
|
if (pageSize != null) {
|
|
91
93
|
_queryParams["page_size"] = pageSize.toString();
|
|
92
94
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
96
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
97
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
98
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
99
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
100
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/payment-terms"),
|
|
95
101
|
method: "GET",
|
|
96
|
-
headers:
|
|
97
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
98
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
99
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
102
|
+
headers: _headers,
|
|
100
103
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
101
104
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
102
105
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -153,7 +156,7 @@ class PaymentTerms {
|
|
|
153
156
|
}
|
|
154
157
|
__retrieve(id_1) {
|
|
155
158
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
156
|
-
var _a, _b, _c, _d;
|
|
159
|
+
var _a, _b, _c, _d, _e, _f;
|
|
157
160
|
const { expand, includeRemoteData, includeShellData } = request;
|
|
158
161
|
const _queryParams = {};
|
|
159
162
|
if (expand != null) {
|
|
@@ -165,13 +168,14 @@ class PaymentTerms {
|
|
|
165
168
|
if (includeShellData != null) {
|
|
166
169
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
167
170
|
}
|
|
168
|
-
|
|
169
|
-
|
|
171
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
172
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
173
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
174
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
175
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
176
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, `accounting/v1/payment-terms/${encodeURIComponent(id)}`),
|
|
170
177
|
method: "GET",
|
|
171
|
-
headers:
|
|
172
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
173
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
174
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
178
|
+
headers: _headers,
|
|
175
179
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
176
180
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
177
181
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts
CHANGED
|
@@ -3,31 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
|
-
* {
|
|
6
|
+
* {
|
|
7
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
8
|
+
* }
|
|
7
9
|
*/
|
|
8
10
|
export interface PaymentTermsListRequest {
|
|
9
|
-
/**
|
|
10
|
-
* The pagination cursor value.
|
|
11
|
-
*/
|
|
11
|
+
/** The pagination cursor value. */
|
|
12
12
|
cursor?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
15
|
-
*/
|
|
13
|
+
/** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */
|
|
16
14
|
expand?: "company";
|
|
17
|
-
/**
|
|
18
|
-
* Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
|
|
19
|
-
*/
|
|
15
|
+
/** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */
|
|
20
16
|
includeDeletedData?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
23
|
-
*/
|
|
17
|
+
/** Whether to include the original data Merge fetched from the third-party to produce these models. */
|
|
24
18
|
includeRemoteData?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
27
|
-
*/
|
|
19
|
+
/** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
|
|
28
20
|
includeShellData?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Number of results to return per page.
|
|
31
|
-
*/
|
|
21
|
+
/** Number of results to return per page. */
|
|
32
22
|
pageSize?: number;
|
|
33
23
|
}
|
|
@@ -6,16 +6,10 @@
|
|
|
6
6
|
* {}
|
|
7
7
|
*/
|
|
8
8
|
export interface PaymentTermsRetrieveRequest {
|
|
9
|
-
/**
|
|
10
|
-
* Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
11
|
-
*/
|
|
9
|
+
/** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */
|
|
12
10
|
expand?: "company";
|
|
13
|
-
/**
|
|
14
|
-
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
15
|
-
*/
|
|
11
|
+
/** Whether to include the original data Merge fetched from the third-party to produce these models. */
|
|
16
12
|
includeRemoteData?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
19
|
-
*/
|
|
13
|
+
/** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
|
|
20
14
|
includeShellData?: boolean;
|
|
21
15
|
}
|
|
@@ -41,7 +41,9 @@ export declare class Payments {
|
|
|
41
41
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
|
-
* await client.accounting.payments.list(
|
|
44
|
+
* await client.accounting.payments.list({
|
|
45
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
46
|
+
* })
|
|
45
47
|
*/
|
|
46
48
|
list(request?: Merge.accounting.PaymentsListRequest, requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Merge.accounting.PaginatedPaymentList>;
|
|
47
49
|
private __list;
|
|
@@ -91,7 +93,9 @@ export declare class Payments {
|
|
|
91
93
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
94
|
*
|
|
93
95
|
* @example
|
|
94
|
-
* await client.accounting.payments.lineItemsRemoteFieldClassesList(
|
|
96
|
+
* await client.accounting.payments.lineItemsRemoteFieldClassesList({
|
|
97
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
98
|
+
* })
|
|
95
99
|
*/
|
|
96
100
|
lineItemsRemoteFieldClassesList(request?: Merge.accounting.PaymentsLineItemsRemoteFieldClassesListRequest, requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Merge.accounting.PaginatedRemoteFieldClassList>;
|
|
97
101
|
private __lineItemsRemoteFieldClassesList;
|
|
@@ -123,7 +127,9 @@ export declare class Payments {
|
|
|
123
127
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
124
128
|
*
|
|
125
129
|
* @example
|
|
126
|
-
* await client.accounting.payments.remoteFieldClassesList(
|
|
130
|
+
* await client.accounting.payments.remoteFieldClassesList({
|
|
131
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
132
|
+
* })
|
|
127
133
|
*/
|
|
128
134
|
remoteFieldClassesList(request?: Merge.accounting.PaymentsRemoteFieldClassesListRequest, requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Merge.accounting.PaginatedRemoteFieldClassList>;
|
|
129
135
|
private __remoteFieldClassesList;
|
|
@@ -73,14 +73,16 @@ class Payments {
|
|
|
73
73
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
|
-
* await client.accounting.payments.list(
|
|
76
|
+
* await client.accounting.payments.list({
|
|
77
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
78
|
+
* })
|
|
77
79
|
*/
|
|
78
80
|
list(request = {}, requestOptions) {
|
|
79
81
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
80
82
|
}
|
|
81
83
|
__list() {
|
|
82
84
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
83
|
-
var _a, _b, _c, _d;
|
|
85
|
+
var _a, _b, _c, _d, _e, _f;
|
|
84
86
|
const { accountId, companyId, contactId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, modifiedAfter, modifiedBefore, pageSize, remoteId, transactionDateAfter, transactionDateBefore, } = request;
|
|
85
87
|
const _queryParams = {};
|
|
86
88
|
if (accountId != null) {
|
|
@@ -136,13 +138,14 @@ class Payments {
|
|
|
136
138
|
if (transactionDateBefore != null) {
|
|
137
139
|
_queryParams["transaction_date_before"] = transactionDateBefore.toISOString();
|
|
138
140
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
142
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
143
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
144
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
145
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
146
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/payments"),
|
|
141
147
|
method: "GET",
|
|
142
|
-
headers:
|
|
143
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
144
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
145
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
148
|
+
headers: _headers,
|
|
146
149
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
147
150
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
148
151
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -200,7 +203,7 @@ class Payments {
|
|
|
200
203
|
}
|
|
201
204
|
__create(request, requestOptions) {
|
|
202
205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
203
|
-
var _a, _b, _c, _d;
|
|
206
|
+
var _a, _b, _c, _d, _e, _f;
|
|
204
207
|
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
205
208
|
const _queryParams = {};
|
|
206
209
|
if (isDebugMode != null) {
|
|
@@ -209,13 +212,14 @@ class Payments {
|
|
|
209
212
|
if (runAsync != null) {
|
|
210
213
|
_queryParams["run_async"] = runAsync.toString();
|
|
211
214
|
}
|
|
212
|
-
|
|
213
|
-
|
|
215
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
216
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
217
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
218
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
219
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
220
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/payments"),
|
|
214
221
|
method: "POST",
|
|
215
|
-
headers:
|
|
216
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
217
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
218
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
222
|
+
headers: _headers,
|
|
219
223
|
contentType: "application/json",
|
|
220
224
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
221
225
|
requestType: "json",
|
|
@@ -275,7 +279,7 @@ class Payments {
|
|
|
275
279
|
}
|
|
276
280
|
__retrieve(id_1) {
|
|
277
281
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
278
|
-
var _a, _b, _c, _d;
|
|
282
|
+
var _a, _b, _c, _d, _e, _f;
|
|
279
283
|
const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request;
|
|
280
284
|
const _queryParams = {};
|
|
281
285
|
if (expand != null) {
|
|
@@ -292,13 +296,14 @@ class Payments {
|
|
|
292
296
|
if (includeShellData != null) {
|
|
293
297
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
294
298
|
}
|
|
295
|
-
|
|
296
|
-
|
|
299
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
300
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
301
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
302
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
303
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
304
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, `accounting/v1/payments/${encodeURIComponent(id)}`),
|
|
297
305
|
method: "GET",
|
|
298
|
-
headers:
|
|
299
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
300
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
301
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
306
|
+
headers: _headers,
|
|
302
307
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
303
308
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
304
309
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -357,7 +362,7 @@ class Payments {
|
|
|
357
362
|
}
|
|
358
363
|
__partialUpdate(id, request, requestOptions) {
|
|
359
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
360
|
-
var _a, _b, _c, _d;
|
|
365
|
+
var _a, _b, _c, _d, _e, _f;
|
|
361
366
|
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
362
367
|
const _queryParams = {};
|
|
363
368
|
if (isDebugMode != null) {
|
|
@@ -366,13 +371,14 @@ class Payments {
|
|
|
366
371
|
if (runAsync != null) {
|
|
367
372
|
_queryParams["run_async"] = runAsync.toString();
|
|
368
373
|
}
|
|
369
|
-
|
|
370
|
-
|
|
374
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
375
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
376
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
377
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
378
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
379
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, `accounting/v1/payments/${encodeURIComponent(id)}`),
|
|
371
380
|
method: "PATCH",
|
|
372
|
-
headers:
|
|
373
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
374
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
375
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
381
|
+
headers: _headers,
|
|
376
382
|
contentType: "application/json",
|
|
377
383
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
378
384
|
requestType: "json",
|
|
@@ -426,14 +432,16 @@ class Payments {
|
|
|
426
432
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
427
433
|
*
|
|
428
434
|
* @example
|
|
429
|
-
* await client.accounting.payments.lineItemsRemoteFieldClassesList(
|
|
435
|
+
* await client.accounting.payments.lineItemsRemoteFieldClassesList({
|
|
436
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
437
|
+
* })
|
|
430
438
|
*/
|
|
431
439
|
lineItemsRemoteFieldClassesList(request = {}, requestOptions) {
|
|
432
440
|
return core.HttpResponsePromise.fromPromise(this.__lineItemsRemoteFieldClassesList(request, requestOptions));
|
|
433
441
|
}
|
|
434
442
|
__lineItemsRemoteFieldClassesList() {
|
|
435
443
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
436
|
-
var _a, _b, _c, _d;
|
|
444
|
+
var _a, _b, _c, _d, _e, _f;
|
|
437
445
|
const { cursor, includeDeletedData, includeRemoteData, includeShellData, isCommonModelField, isCustom, pageSize, } = request;
|
|
438
446
|
const _queryParams = {};
|
|
439
447
|
if (cursor != null) {
|
|
@@ -457,13 +465,14 @@ class Payments {
|
|
|
457
465
|
if (pageSize != null) {
|
|
458
466
|
_queryParams["page_size"] = pageSize.toString();
|
|
459
467
|
}
|
|
460
|
-
|
|
461
|
-
|
|
468
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
469
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
470
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
471
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
472
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
473
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/payments/line-items/remote-field-classes"),
|
|
462
474
|
method: "GET",
|
|
463
|
-
headers:
|
|
464
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
465
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
466
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
475
|
+
headers: _headers,
|
|
467
476
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
468
477
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
469
478
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -519,14 +528,15 @@ class Payments {
|
|
|
519
528
|
}
|
|
520
529
|
__metaPatchRetrieve(id, requestOptions) {
|
|
521
530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
522
|
-
var _a, _b, _c, _d;
|
|
523
|
-
|
|
524
|
-
|
|
531
|
+
var _a, _b, _c, _d, _e, _f;
|
|
532
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
533
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
534
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
535
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
536
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
537
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, `accounting/v1/payments/meta/patch/${encodeURIComponent(id)}`),
|
|
525
538
|
method: "GET",
|
|
526
|
-
headers:
|
|
527
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
528
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
529
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
539
|
+
headers: _headers,
|
|
530
540
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
531
541
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
532
542
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -581,14 +591,15 @@ class Payments {
|
|
|
581
591
|
}
|
|
582
592
|
__metaPostRetrieve(requestOptions) {
|
|
583
593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
584
|
-
var _a, _b, _c, _d;
|
|
585
|
-
|
|
586
|
-
|
|
594
|
+
var _a, _b, _c, _d, _e, _f;
|
|
595
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
596
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
597
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
598
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
599
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
600
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/payments/meta/post"),
|
|
587
601
|
method: "GET",
|
|
588
|
-
headers:
|
|
589
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
590
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
591
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
602
|
+
headers: _headers,
|
|
592
603
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
593
604
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
594
605
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -637,14 +648,16 @@ class Payments {
|
|
|
637
648
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
638
649
|
*
|
|
639
650
|
* @example
|
|
640
|
-
* await client.accounting.payments.remoteFieldClassesList(
|
|
651
|
+
* await client.accounting.payments.remoteFieldClassesList({
|
|
652
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
653
|
+
* })
|
|
641
654
|
*/
|
|
642
655
|
remoteFieldClassesList(request = {}, requestOptions) {
|
|
643
656
|
return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions));
|
|
644
657
|
}
|
|
645
658
|
__remoteFieldClassesList() {
|
|
646
659
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
647
|
-
var _a, _b, _c, _d;
|
|
660
|
+
var _a, _b, _c, _d, _e, _f;
|
|
648
661
|
const { cursor, includeDeletedData, includeRemoteData, includeShellData, isCommonModelField, isCustom, pageSize, } = request;
|
|
649
662
|
const _queryParams = {};
|
|
650
663
|
if (cursor != null) {
|
|
@@ -668,13 +681,14 @@ class Payments {
|
|
|
668
681
|
if (pageSize != null) {
|
|
669
682
|
_queryParams["page_size"] = pageSize.toString();
|
|
670
683
|
}
|
|
671
|
-
|
|
672
|
-
|
|
684
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
685
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
686
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
687
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
688
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
689
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/payments/remote-field-classes"),
|
|
673
690
|
method: "GET",
|
|
674
|
-
headers:
|
|
675
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
676
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
677
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
691
|
+
headers: _headers,
|
|
678
692
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
679
693
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
680
694
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -9,13 +9,9 @@ import * as Merge from "../../../../../../index";
|
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface PatchedPaymentEndpointRequest {
|
|
12
|
-
/**
|
|
13
|
-
* Whether to include debug fields (such as log file links) in the response.
|
|
14
|
-
*/
|
|
12
|
+
/** Whether to include debug fields (such as log file links) in the response. */
|
|
15
13
|
isDebugMode?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Whether or not third-party updates should be run asynchronously.
|
|
18
|
-
*/
|
|
14
|
+
/** Whether or not third-party updates should be run asynchronously. */
|
|
19
15
|
runAsync?: boolean;
|
|
20
16
|
model: Merge.accounting.PatchedPaymentRequest;
|
|
21
17
|
}
|
package/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.d.ts
CHANGED
|
@@ -9,13 +9,9 @@ import * as Merge from "../../../../../../index";
|
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface PaymentEndpointRequest {
|
|
12
|
-
/**
|
|
13
|
-
* Whether to include debug fields (such as log file links) in the response.
|
|
14
|
-
*/
|
|
12
|
+
/** Whether to include debug fields (such as log file links) in the response. */
|
|
15
13
|
isDebugMode?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Whether or not third-party updates should be run asynchronously.
|
|
18
|
-
*/
|
|
14
|
+
/** Whether or not third-party updates should be run asynchronously. */
|
|
19
15
|
runAsync?: boolean;
|
|
20
16
|
model: Merge.accounting.PaymentRequest;
|
|
21
17
|
}
|