@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
|
@@ -73,14 +73,16 @@ class PurchaseOrders {
|
|
|
73
73
|
* @param {PurchaseOrders.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
|
-
* await client.accounting.purchaseOrders.list(
|
|
76
|
+
* await client.accounting.purchaseOrders.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 { companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, issueDateAfter, issueDateBefore, modifiedAfter, modifiedBefore, pageSize, remoteFields, remoteId, showEnumOrigins, } = request;
|
|
85
87
|
const _queryParams = {};
|
|
86
88
|
if (companyId != null) {
|
|
@@ -136,13 +138,14 @@ class PurchaseOrders {
|
|
|
136
138
|
if (showEnumOrigins != null) {
|
|
137
139
|
_queryParams["show_enum_origins"] = showEnumOrigins;
|
|
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/purchase-orders"),
|
|
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 PurchaseOrders {
|
|
|
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 PurchaseOrders {
|
|
|
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/purchase-orders"),
|
|
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",
|
|
@@ -277,7 +281,7 @@ class PurchaseOrders {
|
|
|
277
281
|
}
|
|
278
282
|
__retrieve(id_1) {
|
|
279
283
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
280
|
-
var _a, _b, _c, _d;
|
|
284
|
+
var _a, _b, _c, _d, _e, _f;
|
|
281
285
|
const { expand, includeRemoteData, includeRemoteFields, includeShellData, remoteFields, showEnumOrigins } = request;
|
|
282
286
|
const _queryParams = {};
|
|
283
287
|
if (expand != null) {
|
|
@@ -300,13 +304,14 @@ class PurchaseOrders {
|
|
|
300
304
|
if (showEnumOrigins != null) {
|
|
301
305
|
_queryParams["show_enum_origins"] = showEnumOrigins;
|
|
302
306
|
}
|
|
303
|
-
|
|
304
|
-
|
|
307
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
308
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
309
|
+
"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,
|
|
310
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
311
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
312
|
+
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/purchase-orders/${encodeURIComponent(id)}`),
|
|
305
313
|
method: "GET",
|
|
306
|
-
headers:
|
|
307
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
308
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
309
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
314
|
+
headers: _headers,
|
|
310
315
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
311
316
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
312
317
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -355,14 +360,16 @@ class PurchaseOrders {
|
|
|
355
360
|
* @param {PurchaseOrders.RequestOptions} requestOptions - Request-specific configuration.
|
|
356
361
|
*
|
|
357
362
|
* @example
|
|
358
|
-
* await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList(
|
|
363
|
+
* await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({
|
|
364
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
365
|
+
* })
|
|
359
366
|
*/
|
|
360
367
|
lineItemsRemoteFieldClassesList(request = {}, requestOptions) {
|
|
361
368
|
return core.HttpResponsePromise.fromPromise(this.__lineItemsRemoteFieldClassesList(request, requestOptions));
|
|
362
369
|
}
|
|
363
370
|
__lineItemsRemoteFieldClassesList() {
|
|
364
371
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
365
|
-
var _a, _b, _c, _d;
|
|
372
|
+
var _a, _b, _c, _d, _e, _f;
|
|
366
373
|
const { cursor, includeDeletedData, includeRemoteData, includeShellData, isCommonModelField, isCustom, pageSize, } = request;
|
|
367
374
|
const _queryParams = {};
|
|
368
375
|
if (cursor != null) {
|
|
@@ -386,13 +393,14 @@ class PurchaseOrders {
|
|
|
386
393
|
if (pageSize != null) {
|
|
387
394
|
_queryParams["page_size"] = pageSize.toString();
|
|
388
395
|
}
|
|
389
|
-
|
|
390
|
-
|
|
396
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
397
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
398
|
+
"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,
|
|
399
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
400
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
401
|
+
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/purchase-orders/line-items/remote-field-classes"),
|
|
391
402
|
method: "GET",
|
|
392
|
-
headers:
|
|
393
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
394
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
395
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
403
|
+
headers: _headers,
|
|
396
404
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
397
405
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
398
406
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -447,14 +455,15 @@ class PurchaseOrders {
|
|
|
447
455
|
}
|
|
448
456
|
__metaPostRetrieve(requestOptions) {
|
|
449
457
|
return __awaiter(this, void 0, void 0, function* () {
|
|
450
|
-
var _a, _b, _c, _d;
|
|
451
|
-
|
|
452
|
-
|
|
458
|
+
var _a, _b, _c, _d, _e, _f;
|
|
459
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
460
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
461
|
+
"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,
|
|
462
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
463
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
464
|
+
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/purchase-orders/meta/post"),
|
|
453
465
|
method: "GET",
|
|
454
|
-
headers:
|
|
455
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
456
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
457
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
466
|
+
headers: _headers,
|
|
458
467
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
459
468
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
460
469
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -503,14 +512,16 @@ class PurchaseOrders {
|
|
|
503
512
|
* @param {PurchaseOrders.RequestOptions} requestOptions - Request-specific configuration.
|
|
504
513
|
*
|
|
505
514
|
* @example
|
|
506
|
-
* await client.accounting.purchaseOrders.remoteFieldClassesList(
|
|
515
|
+
* await client.accounting.purchaseOrders.remoteFieldClassesList({
|
|
516
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
517
|
+
* })
|
|
507
518
|
*/
|
|
508
519
|
remoteFieldClassesList(request = {}, requestOptions) {
|
|
509
520
|
return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions));
|
|
510
521
|
}
|
|
511
522
|
__remoteFieldClassesList() {
|
|
512
523
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
513
|
-
var _a, _b, _c, _d;
|
|
524
|
+
var _a, _b, _c, _d, _e, _f;
|
|
514
525
|
const { cursor, includeDeletedData, includeRemoteData, includeShellData, isCommonModelField, isCustom, pageSize, } = request;
|
|
515
526
|
const _queryParams = {};
|
|
516
527
|
if (cursor != null) {
|
|
@@ -534,13 +545,14 @@ class PurchaseOrders {
|
|
|
534
545
|
if (pageSize != null) {
|
|
535
546
|
_queryParams["page_size"] = pageSize.toString();
|
|
536
547
|
}
|
|
537
|
-
|
|
538
|
-
|
|
548
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
549
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
550
|
+
"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,
|
|
551
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
552
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
553
|
+
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/purchase-orders/remote-field-classes"),
|
|
539
554
|
method: "GET",
|
|
540
|
-
headers:
|
|
541
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
542
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
543
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
555
|
+
headers: _headers,
|
|
544
556
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
545
557
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
546
558
|
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 PurchaseOrderEndpointRequest {
|
|
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.PurchaseOrderRequest;
|
|
21
17
|
}
|
|
@@ -3,35 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
|
-
* {
|
|
6
|
+
* {
|
|
7
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
8
|
+
* }
|
|
7
9
|
*/
|
|
8
10
|
export interface PurchaseOrdersLineItemsRemoteFieldClassesListRequest {
|
|
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
|
-
* If provided, will only return remote field classes with this is_common_model_field value
|
|
27
|
-
*/
|
|
19
|
+
/** If provided, will only return remote field classes with this is_common_model_field value */
|
|
28
20
|
isCommonModelField?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* If provided, will only return remote fields classes with this is_custom value
|
|
31
|
-
*/
|
|
21
|
+
/** If provided, will only return remote fields classes with this is_custom value */
|
|
32
22
|
isCustom?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Number of results to return per page.
|
|
35
|
-
*/
|
|
23
|
+
/** Number of results to return per page. */
|
|
36
24
|
pageSize?: number;
|
|
37
25
|
}
|
|
@@ -4,75 +4,43 @@
|
|
|
4
4
|
import * as Merge from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
9
|
+
* }
|
|
8
10
|
*/
|
|
9
11
|
export interface PurchaseOrdersListRequest {
|
|
10
|
-
/**
|
|
11
|
-
* If provided, will only return purchase orders for this company.
|
|
12
|
-
*/
|
|
12
|
+
/** If provided, will only return purchase orders for this company. */
|
|
13
13
|
companyId?: string;
|
|
14
|
-
/**
|
|
15
|
-
* If provided, will only return objects created after this datetime.
|
|
16
|
-
*/
|
|
14
|
+
/** If provided, will only return objects created after this datetime. */
|
|
17
15
|
createdAfter?: Date;
|
|
18
|
-
/**
|
|
19
|
-
* If provided, will only return objects created before this datetime.
|
|
20
|
-
*/
|
|
16
|
+
/** If provided, will only return objects created before this datetime. */
|
|
21
17
|
createdBefore?: Date;
|
|
22
|
-
/**
|
|
23
|
-
* The pagination cursor value.
|
|
24
|
-
*/
|
|
18
|
+
/** The pagination cursor value. */
|
|
25
19
|
cursor?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
28
|
-
*/
|
|
20
|
+
/** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */
|
|
29
21
|
expand?: Merge.accounting.PurchaseOrdersListRequestExpand;
|
|
30
|
-
/**
|
|
31
|
-
* 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/).
|
|
32
|
-
*/
|
|
22
|
+
/** 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/). */
|
|
33
23
|
includeDeletedData?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
36
|
-
*/
|
|
24
|
+
/** Whether to include the original data Merge fetched from the third-party to produce these models. */
|
|
37
25
|
includeRemoteData?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
|
|
40
|
-
*/
|
|
26
|
+
/** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */
|
|
41
27
|
includeRemoteFields?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
44
|
-
*/
|
|
28
|
+
/** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
|
|
45
29
|
includeShellData?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* If provided, will only return objects created after this datetime.
|
|
48
|
-
*/
|
|
30
|
+
/** If provided, will only return objects created after this datetime. */
|
|
49
31
|
issueDateAfter?: Date;
|
|
50
|
-
/**
|
|
51
|
-
* If provided, will only return objects created before this datetime.
|
|
52
|
-
*/
|
|
32
|
+
/** If provided, will only return objects created before this datetime. */
|
|
53
33
|
issueDateBefore?: Date;
|
|
54
|
-
/**
|
|
55
|
-
* If provided, only objects synced by Merge after this date time will be returned.
|
|
56
|
-
*/
|
|
34
|
+
/** If provided, only objects synced by Merge after this date time will be returned. */
|
|
57
35
|
modifiedAfter?: Date;
|
|
58
|
-
/**
|
|
59
|
-
* If provided, only objects synced by Merge before this date time will be returned.
|
|
60
|
-
*/
|
|
36
|
+
/** If provided, only objects synced by Merge before this date time will be returned. */
|
|
61
37
|
modifiedBefore?: Date;
|
|
62
|
-
/**
|
|
63
|
-
* Number of results to return per page.
|
|
64
|
-
*/
|
|
38
|
+
/** Number of results to return per page. */
|
|
65
39
|
pageSize?: number;
|
|
66
|
-
/**
|
|
67
|
-
* Deprecated. Use show_enum_origins.
|
|
68
|
-
*/
|
|
40
|
+
/** Deprecated. Use show_enum_origins. */
|
|
69
41
|
remoteFields?: "status";
|
|
70
|
-
/**
|
|
71
|
-
* The API provider's ID for the given object.
|
|
72
|
-
*/
|
|
42
|
+
/** The API provider's ID for the given object. */
|
|
73
43
|
remoteId?: string;
|
|
74
|
-
/**
|
|
75
|
-
* A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
76
|
-
*/
|
|
44
|
+
/** A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) */
|
|
77
45
|
showEnumOrigins?: "status";
|
|
78
46
|
}
|
|
@@ -3,35 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
|
-
* {
|
|
6
|
+
* {
|
|
7
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
8
|
+
* }
|
|
7
9
|
*/
|
|
8
10
|
export interface PurchaseOrdersRemoteFieldClassesListRequest {
|
|
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
|
-
* If provided, will only return remote field classes with this is_common_model_field value
|
|
27
|
-
*/
|
|
19
|
+
/** If provided, will only return remote field classes with this is_common_model_field value */
|
|
28
20
|
isCommonModelField?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* If provided, will only return remote fields classes with this is_custom value
|
|
31
|
-
*/
|
|
21
|
+
/** If provided, will only return remote fields classes with this is_custom value */
|
|
32
22
|
isCustom?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Number of results to return per page.
|
|
35
|
-
*/
|
|
23
|
+
/** Number of results to return per page. */
|
|
36
24
|
pageSize?: number;
|
|
37
25
|
}
|
|
@@ -7,28 +7,16 @@ import * as Merge from "../../../../../../index";
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface PurchaseOrdersRetrieveRequest {
|
|
10
|
-
/**
|
|
11
|
-
* Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
12
|
-
*/
|
|
10
|
+
/** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */
|
|
13
11
|
expand?: Merge.accounting.PurchaseOrdersRetrieveRequestExpand;
|
|
14
|
-
/**
|
|
15
|
-
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
16
|
-
*/
|
|
12
|
+
/** Whether to include the original data Merge fetched from the third-party to produce these models. */
|
|
17
13
|
includeRemoteData?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
|
|
20
|
-
*/
|
|
14
|
+
/** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */
|
|
21
15
|
includeRemoteFields?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
24
|
-
*/
|
|
16
|
+
/** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
|
|
25
17
|
includeShellData?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Deprecated. Use show_enum_origins.
|
|
28
|
-
*/
|
|
18
|
+
/** Deprecated. Use show_enum_origins. */
|
|
29
19
|
remoteFields?: "status";
|
|
30
|
-
/**
|
|
31
|
-
* A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
32
|
-
*/
|
|
20
|
+
/** A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) */
|
|
33
21
|
showEnumOrigins?: "status";
|
|
34
22
|
}
|
|
@@ -71,14 +71,15 @@ class RegenerateKey {
|
|
|
71
71
|
}
|
|
72
72
|
__create(request, requestOptions) {
|
|
73
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
-
var _a, _b, _c, _d;
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
var _a, _b, _c, _d, _e, _f;
|
|
75
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
76
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
77
|
+
"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,
|
|
78
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
79
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
80
|
+
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/regenerate-key"),
|
|
77
81
|
method: "POST",
|
|
78
|
-
headers:
|
|
79
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
80
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
81
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
|
+
headers: _headers,
|
|
82
83
|
contentType: "application/json",
|
|
83
84
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
84
85
|
requestType: "json",
|
|
@@ -68,14 +68,15 @@ class Scopes {
|
|
|
68
68
|
}
|
|
69
69
|
__defaultScopesRetrieve(requestOptions) {
|
|
70
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
-
var _a, _b, _c, _d;
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
var _a, _b, _c, _d, _e, _f;
|
|
72
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
73
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
74
|
+
"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,
|
|
75
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
76
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
77
|
+
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/default-scopes"),
|
|
74
78
|
method: "GET",
|
|
75
|
-
headers:
|
|
76
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
77
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
78
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
79
|
+
headers: _headers,
|
|
79
80
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
80
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
81
82
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -130,14 +131,15 @@ class Scopes {
|
|
|
130
131
|
}
|
|
131
132
|
__linkedAccountScopesRetrieve(requestOptions) {
|
|
132
133
|
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
-
var _a, _b, _c, _d;
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
var _a, _b, _c, _d, _e, _f;
|
|
135
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
136
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
137
|
+
"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,
|
|
138
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
139
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
140
|
+
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/linked-account-scopes"),
|
|
136
141
|
method: "GET",
|
|
137
|
-
headers:
|
|
138
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
139
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
140
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
142
|
+
headers: _headers,
|
|
141
143
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
142
144
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
143
145
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -216,14 +218,15 @@ class Scopes {
|
|
|
216
218
|
}
|
|
217
219
|
__linkedAccountScopesCreate(request, requestOptions) {
|
|
218
220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
219
|
-
var _a, _b, _c, _d;
|
|
220
|
-
|
|
221
|
-
|
|
221
|
+
var _a, _b, _c, _d, _e, _f;
|
|
222
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
223
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
224
|
+
"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,
|
|
225
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
226
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
227
|
+
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/linked-account-scopes"),
|
|
222
228
|
method: "POST",
|
|
223
|
-
headers:
|
|
224
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
225
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
226
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
229
|
+
headers: _headers,
|
|
227
230
|
contentType: "application/json",
|
|
228
231
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
229
232
|
requestType: "json",
|
|
@@ -41,7 +41,9 @@ export declare class SyncStatus {
|
|
|
41
41
|
* @param {SyncStatus.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
|
-
* await client.accounting.syncStatus.list(
|
|
44
|
+
* await client.accounting.syncStatus.list({
|
|
45
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
46
|
+
* })
|
|
45
47
|
*/
|
|
46
48
|
list(request?: Merge.accounting.SyncStatusListRequest, requestOptions?: SyncStatus.RequestOptions): core.HttpResponsePromise<Merge.accounting.PaginatedSyncStatusList>;
|
|
47
49
|
private __list;
|
|
@@ -62,14 +62,16 @@ class SyncStatus {
|
|
|
62
62
|
* @param {SyncStatus.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
|
-
* await client.accounting.syncStatus.list(
|
|
65
|
+
* await client.accounting.syncStatus.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, pageSize } = request;
|
|
74
76
|
const _queryParams = {};
|
|
75
77
|
if (cursor != null) {
|
|
@@ -78,13 +80,14 @@ class SyncStatus {
|
|
|
78
80
|
if (pageSize != null) {
|
|
79
81
|
_queryParams["page_size"] = pageSize.toString();
|
|
80
82
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
84
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
85
|
+
"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,
|
|
86
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
87
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
88
|
+
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/sync-status"),
|
|
83
89
|
method: "GET",
|
|
84
|
-
headers:
|
|
85
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
86
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
87
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
90
|
+
headers: _headers,
|
|
88
91
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
89
92
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
90
93
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|