@mergeapi/merge-node-client 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/accounting/__package__.yml +1 -0
- package/.mock/definition/accounting/accountDetails.yml +2 -1
- package/.mock/definition/accounting/accountToken.yml +2 -0
- package/.mock/definition/accounting/accountingPeriods.yml +6 -2
- package/.mock/definition/accounting/accounts.yml +10 -4
- package/.mock/definition/accounting/addresses.yml +2 -1
- package/.mock/definition/accounting/asyncPassthrough.yml +4 -2
- package/.mock/definition/accounting/asyncTasks.yml +2 -1
- package/.mock/definition/accounting/attachments.yml +10 -4
- package/.mock/definition/accounting/auditTrail.yml +5 -1
- package/.mock/definition/accounting/availableActions.yml +2 -1
- package/.mock/definition/accounting/balanceSheets.yml +6 -2
- package/.mock/definition/accounting/bankFeedAccounts.yml +10 -4
- package/.mock/definition/accounting/bankFeedTransactions.yml +10 -4
- package/.mock/definition/accounting/cashFlowStatements.yml +6 -2
- package/.mock/definition/accounting/companyInfo.yml +6 -2
- package/.mock/definition/accounting/contacts.yml +15 -5
- package/.mock/definition/accounting/creditNotes.yml +10 -5
- package/.mock/definition/accounting/deleteAccount.yml +2 -1
- package/.mock/definition/accounting/employees.yml +6 -2
- package/.mock/definition/accounting/expenseReports.yml +24 -7
- package/.mock/definition/accounting/expenses.yml +20 -8
- package/.mock/definition/accounting/fieldMapping.yml +12 -6
- package/.mock/definition/accounting/forceResync.yml +2 -1
- package/.mock/definition/accounting/generalLedgerTransactions.yml +6 -2
- package/.mock/definition/accounting/generateKey.yml +3 -1
- package/.mock/definition/accounting/incomeStatements.yml +6 -2
- package/.mock/definition/accounting/invoices.yml +24 -9
- package/.mock/definition/accounting/issues.yml +7 -1
- package/.mock/definition/accounting/items.yml +14 -6
- package/.mock/definition/accounting/journalEntries.yml +20 -8
- package/.mock/definition/accounting/linkToken.yml +3 -1
- package/.mock/definition/accounting/linkedAccounts.yml +5 -1
- package/.mock/definition/accounting/passthrough.yml +2 -1
- package/.mock/definition/accounting/paymentMethods.yml +6 -2
- package/.mock/definition/accounting/paymentTerms.yml +6 -2
- package/.mock/definition/accounting/payments.yml +24 -8
- package/.mock/definition/accounting/phoneNumbers.yml +2 -1
- package/.mock/definition/accounting/projects.yml +6 -2
- package/.mock/definition/accounting/purchaseOrders.yml +20 -8
- package/.mock/definition/accounting/regenerateKey.yml +3 -1
- package/.mock/definition/accounting/scopes.yml +7 -3
- package/.mock/definition/accounting/syncStatus.yml +4 -1
- package/.mock/definition/accounting/taxRates.yml +6 -2
- package/.mock/definition/accounting/trackingCategories.yml +6 -2
- package/.mock/definition/accounting/transactions.yml +6 -4
- package/.mock/definition/accounting/vendorCredits.yml +10 -6
- package/.mock/definition/accounting/webhookReceivers.yml +4 -2
- package/.mock/definition/ats/accountDetails.yml +2 -1
- package/.mock/definition/ats/accountToken.yml +2 -0
- package/.mock/definition/ats/activities.yml +10 -4
- package/.mock/definition/ats/applications.yml +12 -5
- package/.mock/definition/ats/asyncPassthrough.yml +4 -2
- package/.mock/definition/ats/attachments.yml +10 -4
- package/.mock/definition/ats/auditTrail.yml +5 -1
- package/.mock/definition/ats/availableActions.yml +2 -1
- package/.mock/definition/ats/candidates.yml +16 -7
- package/.mock/definition/ats/deleteAccount.yml +2 -1
- package/.mock/definition/ats/departments.yml +6 -2
- package/.mock/definition/ats/eeocs.yml +6 -2
- package/.mock/definition/ats/fieldMapping.yml +12 -6
- package/.mock/definition/ats/forceResync.yml +2 -1
- package/.mock/definition/ats/generateKey.yml +3 -1
- package/.mock/definition/ats/interviews.yml +10 -4
- package/.mock/definition/ats/issues.yml +7 -1
- package/.mock/definition/ats/jobInterviewStages.yml +6 -2
- package/.mock/definition/ats/jobPostings.yml +6 -2
- package/.mock/definition/ats/jobs.yml +10 -3
- package/.mock/definition/ats/linkToken.yml +3 -1
- package/.mock/definition/ats/linkedAccounts.yml +5 -1
- package/.mock/definition/ats/offers.yml +6 -2
- package/.mock/definition/ats/offices.yml +6 -2
- package/.mock/definition/ats/passthrough.yml +2 -1
- package/.mock/definition/ats/regenerateKey.yml +3 -1
- package/.mock/definition/ats/rejectReasons.yml +6 -2
- package/.mock/definition/ats/scopes.yml +7 -3
- package/.mock/definition/ats/scorecards.yml +6 -2
- package/.mock/definition/ats/syncStatus.yml +4 -1
- package/.mock/definition/ats/tags.yml +4 -1
- package/.mock/definition/ats/users.yml +6 -2
- package/.mock/definition/ats/webhookReceivers.yml +4 -2
- package/.mock/definition/crm/__package__.yml +1 -0
- package/.mock/definition/crm/accountDetails.yml +2 -1
- package/.mock/definition/crm/accountToken.yml +2 -0
- package/.mock/definition/crm/accounts.yml +19 -7
- package/.mock/definition/crm/associationTypes.yml +10 -4
- package/.mock/definition/crm/associations.yml +6 -2
- package/.mock/definition/crm/asyncPassthrough.yml +4 -2
- package/.mock/definition/crm/auditTrail.yml +5 -1
- package/.mock/definition/crm/availableActions.yml +2 -1
- package/.mock/definition/crm/contacts.yml +21 -8
- package/.mock/definition/crm/customObjectClasses.yml +6 -2
- package/.mock/definition/crm/customObjects.yml +15 -5
- package/.mock/definition/crm/deleteAccount.yml +2 -1
- package/.mock/definition/crm/engagementTypes.yml +11 -3
- package/.mock/definition/crm/engagements.yml +19 -7
- package/.mock/definition/crm/fieldMapping.yml +12 -6
- package/.mock/definition/crm/forceResync.yml +2 -1
- package/.mock/definition/crm/generateKey.yml +3 -1
- package/.mock/definition/crm/issues.yml +7 -1
- package/.mock/definition/crm/leads.yml +15 -5
- package/.mock/definition/crm/linkToken.yml +3 -1
- package/.mock/definition/crm/linkedAccounts.yml +5 -1
- package/.mock/definition/crm/notes.yml +15 -5
- package/.mock/definition/crm/opportunities.yml +19 -7
- package/.mock/definition/crm/passthrough.yml +2 -1
- package/.mock/definition/crm/regenerateKey.yml +3 -1
- package/.mock/definition/crm/scopes.yml +7 -3
- package/.mock/definition/crm/stages.yml +11 -3
- package/.mock/definition/crm/syncStatus.yml +4 -1
- package/.mock/definition/crm/tasks.yml +19 -7
- package/.mock/definition/crm/users.yml +13 -4
- package/.mock/definition/crm/webhookReceivers.yml +4 -2
- package/.mock/definition/filestorage/accountDetails.yml +2 -1
- package/.mock/definition/filestorage/accountToken.yml +2 -0
- package/.mock/definition/filestorage/asyncPassthrough.yml +4 -2
- package/.mock/definition/filestorage/auditTrail.yml +5 -1
- package/.mock/definition/filestorage/availableActions.yml +2 -1
- package/.mock/definition/filestorage/deleteAccount.yml +2 -1
- package/.mock/definition/filestorage/drives.yml +6 -2
- package/.mock/definition/filestorage/fieldMapping.yml +12 -6
- package/.mock/definition/filestorage/files.yml +16 -6
- package/.mock/definition/filestorage/folders.yml +10 -4
- package/.mock/definition/filestorage/forceResync.yml +2 -1
- package/.mock/definition/filestorage/generateKey.yml +3 -1
- package/.mock/definition/filestorage/groups.yml +6 -2
- package/.mock/definition/filestorage/issues.yml +7 -1
- package/.mock/definition/filestorage/linkToken.yml +3 -1
- package/.mock/definition/filestorage/linkedAccounts.yml +5 -1
- package/.mock/definition/filestorage/passthrough.yml +2 -1
- package/.mock/definition/filestorage/regenerateKey.yml +3 -1
- package/.mock/definition/filestorage/scopes.yml +7 -3
- package/.mock/definition/filestorage/syncStatus.yml +4 -1
- package/.mock/definition/filestorage/users.yml +6 -2
- package/.mock/definition/filestorage/webhookReceivers.yml +4 -2
- package/.mock/definition/hris/accountDetails.yml +2 -1
- package/.mock/definition/hris/accountToken.yml +2 -0
- package/.mock/definition/hris/asyncPassthrough.yml +4 -2
- package/.mock/definition/hris/auditTrail.yml +5 -1
- package/.mock/definition/hris/availableActions.yml +2 -1
- package/.mock/definition/hris/bankInfo.yml +6 -2
- package/.mock/definition/hris/benefits.yml +6 -4
- package/.mock/definition/hris/companies.yml +6 -2
- package/.mock/definition/hris/deleteAccount.yml +2 -1
- package/.mock/definition/hris/dependents.yml +6 -2
- package/.mock/definition/hris/employeePayrollRuns.yml +6 -2
- package/.mock/definition/hris/employees.yml +12 -11
- package/.mock/definition/hris/employerBenefits.yml +6 -2
- package/.mock/definition/hris/employments.yml +6 -2
- package/.mock/definition/hris/fieldMapping.yml +12 -6
- package/.mock/definition/hris/forceResync.yml +2 -1
- package/.mock/definition/hris/generateKey.yml +3 -1
- package/.mock/definition/hris/groups.yml +6 -2
- package/.mock/definition/hris/issues.yml +7 -1
- package/.mock/definition/hris/linkToken.yml +3 -1
- package/.mock/definition/hris/linkedAccounts.yml +5 -1
- package/.mock/definition/hris/locations.yml +6 -2
- package/.mock/definition/hris/passthrough.yml +2 -1
- package/.mock/definition/hris/payGroups.yml +6 -2
- package/.mock/definition/hris/payrollRuns.yml +6 -2
- package/.mock/definition/hris/regenerateKey.yml +3 -1
- package/.mock/definition/hris/scopes.yml +7 -3
- package/.mock/definition/hris/syncStatus.yml +4 -1
- package/.mock/definition/hris/teams.yml +6 -2
- package/.mock/definition/hris/timeOff.yml +10 -4
- package/.mock/definition/hris/timeOffBalances.yml +6 -2
- package/.mock/definition/hris/timesheetEntries.yml +10 -4
- package/.mock/definition/hris/webhookReceivers.yml +4 -2
- package/.mock/definition/ticketing/__package__.yml +1 -0
- package/.mock/definition/ticketing/accountDetails.yml +2 -1
- package/.mock/definition/ticketing/accountToken.yml +2 -0
- package/.mock/definition/ticketing/accounts.yml +6 -2
- package/.mock/definition/ticketing/asyncPassthrough.yml +4 -2
- package/.mock/definition/ticketing/attachments.yml +10 -4
- package/.mock/definition/ticketing/auditTrail.yml +5 -1
- package/.mock/definition/ticketing/availableActions.yml +2 -1
- package/.mock/definition/ticketing/collections.yml +10 -3
- package/.mock/definition/ticketing/comments.yml +10 -4
- package/.mock/definition/ticketing/contacts.yml +10 -4
- package/.mock/definition/ticketing/deleteAccount.yml +2 -1
- package/.mock/definition/ticketing/fieldMapping.yml +12 -6
- package/.mock/definition/ticketing/forceResync.yml +2 -1
- package/.mock/definition/ticketing/generateKey.yml +3 -1
- package/.mock/definition/ticketing/issues.yml +7 -1
- package/.mock/definition/ticketing/linkToken.yml +3 -1
- package/.mock/definition/ticketing/linkedAccounts.yml +5 -1
- package/.mock/definition/ticketing/passthrough.yml +2 -1
- package/.mock/definition/ticketing/projects.yml +10 -3
- package/.mock/definition/ticketing/regenerateKey.yml +3 -1
- package/.mock/definition/ticketing/roles.yml +6 -2
- package/.mock/definition/ticketing/scopes.yml +7 -3
- package/.mock/definition/ticketing/syncStatus.yml +4 -1
- package/.mock/definition/ticketing/tags.yml +6 -2
- package/.mock/definition/ticketing/teams.yml +6 -2
- package/.mock/definition/ticketing/tickets.yml +23 -8
- package/.mock/definition/ticketing/users.yml +6 -2
- package/.mock/definition/ticketing/webhookReceivers.yml +4 -2
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +3 -3
- package/Client.js +11 -11
- package/api/resources/accounting/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/accounting/resources/accountToken/client/Client.js +8 -7
- package/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/accountingPeriods/client/Client.js +19 -15
- package/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.d.ts +8 -16
- package/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/accounts/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/accounts/client/Client.js +35 -29
- package/api/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +21 -55
- package/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +5 -15
- package/api/resources/accounting/resources/addresses/client/Client.js +8 -7
- package/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -12
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/accounting/resources/asyncTasks/client/Client.js +8 -7
- package/api/resources/accounting/resources/attachments/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/attachments/client/Client.js +35 -29
- package/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.d.ts +14 -34
- package/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/accounting/resources/availableActions/client/Client.js +8 -7
- package/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +19 -15
- package/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +35 -29
- package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsListRequest.d.ts +8 -16
- package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +35 -29
- package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +19 -15
- package/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/companyInfo/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/companyInfo/client/Client.js +19 -15
- package/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.d.ts +14 -34
- package/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/contacts/client/Client.d.ts +6 -2
- package/api/resources/accounting/resources/contacts/client/Client.js +46 -37
- package/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +23 -61
- package/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +6 -18
- package/api/resources/accounting/resources/creditNotes/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/creditNotes/client/Client.js +35 -29
- package/api/resources/accounting/resources/creditNotes/client/requests/CreditNoteEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.d.ts +19 -49
- package/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +5 -15
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/accounting/resources/employees/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/employees/client/Client.js +19 -15
- package/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/expenseReports/client/Client.d.ts +12 -4
- package/api/resources/accounting/resources/expenseReports/client/Client.js +68 -53
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.d.ts +16 -40
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.d.ts +4 -12
- package/api/resources/accounting/resources/expenses/client/Client.d.ts +9 -3
- package/api/resources/accounting/resources/expenses/client/Client.js +57 -45
- package/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.d.ts +18 -46
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -12
- package/api/resources/accounting/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/accounting/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/accounting/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/accounting/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/forceResync/client/Client.js +8 -7
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +19 -15
- package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.d.ts +17 -43
- package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/generateKey/client/Client.js +8 -7
- package/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +19 -15
- package/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/invoices/client/Client.d.ts +9 -3
- package/api/resources/accounting/resources/invoices/client/Client.js +73 -59
- package/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts +22 -58
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +6 -18
- package/api/resources/accounting/resources/invoices/client/requests/PatchedInvoiceEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/issues/client/Client.js +19 -15
- package/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/accounting/resources/items/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/items/client/Client.js +51 -43
- package/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/items/client/requests/ItemsListRequest.d.ts +17 -43
- package/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +5 -15
- package/api/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/journalEntries/client/Client.d.ts +9 -3
- package/api/resources/accounting/resources/journalEntries/client/Client.js +57 -45
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.d.ts +18 -46
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -12
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/linkToken/client/Client.js +8 -7
- package/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/accounting/resources/passthrough/client/Client.js +8 -7
- package/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/paymentMethods/client/Client.js +19 -15
- package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +8 -16
- package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/paymentTerms/client/Client.js +19 -15
- package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +9 -19
- package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/payments/client/Client.d.ts +9 -3
- package/api/resources/accounting/resources/payments/client/Client.js +73 -59
- package/api/resources/accounting/resources/payments/client/requests/PatchedPaymentEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.d.ts +20 -52
- package/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -12
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +8 -7
- package/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +2 -6
- package/api/resources/accounting/resources/projects/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/projects/client/Client.js +19 -15
- package/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.d.ts +15 -37
- package/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +9 -3
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +57 -45
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.d.ts +20 -52
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.d.ts +10 -22
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +6 -18
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/accounting/resources/scopes/client/Client.js +24 -21
- package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/accounting/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/accounting/resources/taxRates/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/taxRates/client/Client.js +19 -15
- package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +16 -40
- package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +19 -15
- package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +20 -52
- package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +5 -15
- package/api/resources/accounting/resources/transactions/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/transactions/client/Client.js +19 -15
- package/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.d.ts +17 -43
- package/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +3 -1
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +35 -29
- package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditEndpointRequest.d.ts +2 -6
- package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.d.ts +17 -43
- package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +3 -9
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/api/resources/ats/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/ats/resources/accountToken/client/Client.js +8 -7
- package/api/resources/ats/resources/activities/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/activities/client/Client.js +35 -29
- package/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.d.ts +17 -43
- package/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/activities/client/requests/ActivityEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/applications/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/applications/client/Client.js +43 -36
- package/api/resources/ats/resources/applications/client/requests/ApplicationEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.d.ts +20 -52
- package/api/resources/ats/resources/applications/client/requests/ApplicationsMetaPostRetrieveRequest.d.ts +1 -3
- package/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +3 -9
- package/api/resources/ats/resources/applications/client/requests/UpdateApplicationStageRequest.d.ts +2 -6
- package/api/resources/ats/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/ats/resources/attachments/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/attachments/client/Client.js +35 -29
- package/api/resources/ats/resources/attachments/client/requests/AttachmentEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.d.ts +17 -43
- package/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/ats/resources/availableActions/client/Client.js +8 -7
- package/api/resources/ats/resources/candidates/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/candidates/client/Client.js +59 -50
- package/api/resources/ats/resources/candidates/client/requests/CandidateEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.d.ts +18 -46
- package/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +3 -9
- package/api/resources/ats/resources/candidates/client/requests/PatchedCandidateEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/ats/resources/departments/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/departments/client/Client.js +19 -15
- package/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.d.ts +13 -31
- package/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +2 -6
- package/api/resources/ats/resources/eeocs/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/eeocs/client/Client.js +19 -15
- package/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.d.ts +17 -43
- package/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/ats/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/ats/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/ats/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/ats/resources/forceResync/client/Client.js +8 -7
- package/api/resources/ats/resources/generateKey/client/Client.js +8 -7
- package/api/resources/ats/resources/interviews/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/interviews/client/Client.js +35 -29
- package/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.d.ts +20 -52
- package/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/interviews/client/requests/ScheduledInterviewEndpointRequest.d.ts +2 -6
- package/api/resources/ats/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/issues/client/Client.js +19 -15
- package/api/resources/ats/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/jobInterviewStages/client/Client.js +19 -15
- package/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.d.ts +15 -37
- package/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +3 -9
- package/api/resources/ats/resources/jobPostings/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/jobPostings/client/Client.js +19 -15
- package/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.d.ts +14 -34
- package/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +3 -9
- package/api/resources/ats/resources/jobs/client/Client.d.ts +6 -2
- package/api/resources/ats/resources/jobs/client/Client.js +30 -23
- package/api/resources/ats/resources/jobs/client/requests/JobsListRequest.d.ts +18 -46
- package/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.d.ts +9 -19
- package/api/resources/ats/resources/linkToken/client/Client.js +8 -7
- package/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/ats/resources/offers/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/offers/client/Client.js +19 -15
- package/api/resources/ats/resources/offers/client/requests/OffersListRequest.d.ts +18 -46
- package/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/offices/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/offices/client/Client.js +19 -15
- package/api/resources/ats/resources/offices/client/requests/OfficesListRequest.d.ts +13 -31
- package/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +2 -6
- package/api/resources/ats/resources/passthrough/client/Client.js +8 -7
- package/api/resources/ats/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/ats/resources/rejectReasons/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/rejectReasons/client/Client.js +19 -15
- package/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.d.ts +13 -31
- package/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +2 -6
- package/api/resources/ats/resources/scopes/client/Client.js +24 -21
- package/api/resources/ats/resources/scorecards/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/scorecards/client/Client.js +19 -15
- package/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.d.ts +19 -49
- package/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +5 -15
- package/api/resources/ats/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/ats/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/ats/resources/tags/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/tags/client/Client.js +11 -8
- package/api/resources/ats/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
- package/api/resources/ats/resources/users/client/Client.d.ts +3 -1
- package/api/resources/ats/resources/users/client/Client.js +19 -15
- package/api/resources/ats/resources/users/client/requests/UsersListRequest.d.ts +16 -40
- package/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -12
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/crm/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/crm/resources/accountToken/client/Client.js +8 -7
- package/api/resources/crm/resources/accounts/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/accounts/client/Client.js +62 -51
- package/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.d.ts +17 -43
- package/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/accounts/client/requests/CrmAccountEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/accounts/client/requests/PatchedCrmAccountEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/associationTypes/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/associationTypes/client/Client.js +35 -29
- package/api/resources/crm/resources/associationTypes/client/requests/CrmAssociationTypeEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.d.ts +14 -34
- package/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/associations/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/associations/client/Client.js +19 -15
- package/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.d.ts +15 -37
- package/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsUpdateRequest.d.ts +2 -6
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/crm/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/crm/resources/availableActions/client/Client.js +8 -7
- package/api/resources/crm/resources/contacts/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/contacts/client/Client.js +70 -58
- package/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +18 -46
- package/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/contacts/client/requests/CrmContactEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +19 -15
- package/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.d.ts +14 -34
- package/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/customObjects/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/customObjects/client/Client.js +46 -37
- package/api/resources/crm/resources/customObjects/client/requests/CrmCustomObjectEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.d.ts +14 -34
- package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/crm/resources/engagementTypes/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/engagementTypes/client/Client.js +30 -23
- package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.d.ts +14 -34
- package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/engagements/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/engagements/client/Client.js +62 -51
- package/api/resources/crm/resources/engagements/client/requests/EngagementEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.d.ts +17 -43
- package/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/engagements/client/requests/PatchedEngagementEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/crm/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/crm/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/crm/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/crm/resources/forceResync/client/Client.js +8 -7
- package/api/resources/crm/resources/generateKey/client/Client.js +8 -7
- package/api/resources/crm/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/issues/client/Client.js +19 -15
- package/api/resources/crm/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/crm/resources/leads/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/leads/client/Client.js +46 -37
- package/api/resources/crm/resources/leads/client/requests/LeadEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +20 -52
- package/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/linkToken/client/Client.js +8 -7
- package/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/crm/resources/notes/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/notes/client/Client.js +46 -37
- package/api/resources/crm/resources/notes/client/requests/NoteEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/notes/client/requests/NotesListRequest.d.ts +19 -49
- package/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/opportunities/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/opportunities/client/Client.js +62 -51
- package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.d.ts +21 -55
- package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +6 -18
- package/api/resources/crm/resources/opportunities/client/requests/OpportunityEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/opportunities/client/requests/PatchedOpportunityEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/passthrough/client/Client.js +8 -7
- package/api/resources/crm/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/crm/resources/scopes/client/Client.js +24 -21
- package/api/resources/crm/resources/stages/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/stages/client/Client.js +30 -23
- package/api/resources/crm/resources/stages/client/requests/StagesListRequest.d.ts +14 -34
- package/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/crm/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/crm/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/crm/resources/tasks/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/tasks/client/Client.js +62 -51
- package/api/resources/crm/resources/tasks/client/requests/PatchedTaskEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/tasks/client/requests/TaskEndpointRequest.d.ts +2 -6
- package/api/resources/crm/resources/tasks/client/requests/TasksListRequest.d.ts +15 -37
- package/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -12
- package/api/resources/crm/resources/users/client/Client.d.ts +6 -2
- package/api/resources/crm/resources/users/client/Client.js +38 -30
- package/api/resources/crm/resources/users/client/requests/UsersListRequest.d.ts +15 -37
- package/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/api/resources/filestorage/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/filestorage/resources/accountToken/client/Client.js +8 -7
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/filestorage/resources/availableActions/client/Client.js +8 -7
- package/api/resources/filestorage/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/filestorage/resources/drives/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/drives/client/Client.js +19 -15
- package/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.d.ts +14 -34
- package/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/filestorage/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/files/client/Client.d.ts +6 -2
- package/api/resources/filestorage/resources/files/client/Client.js +62 -51
- package/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +12 -28
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +1 -3
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +19 -49
- package/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +3 -9
- package/api/resources/filestorage/resources/folders/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/folders/client/Client.js +35 -29
- package/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.d.ts +17 -43
- package/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +3 -9
- package/api/resources/filestorage/resources/forceResync/client/Client.js +8 -7
- package/api/resources/filestorage/resources/generateKey/client/Client.js +8 -7
- package/api/resources/filestorage/resources/groups/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/groups/client/Client.js +19 -15
- package/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.d.ts +14 -34
- package/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +3 -9
- package/api/resources/filestorage/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/issues/client/Client.js +19 -15
- package/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/filestorage/resources/linkToken/client/Client.js +8 -7
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/filestorage/resources/passthrough/client/Client.js +8 -7
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/filestorage/resources/scopes/client/Client.js +24 -21
- package/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/filestorage/resources/users/client/Client.d.ts +3 -1
- package/api/resources/filestorage/resources/users/client/Client.js +19 -15
- package/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +14 -34
- package/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +2 -6
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/hris/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/hris/resources/accountToken/client/Client.js +8 -7
- package/api/resources/hris/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/hris/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/hris/resources/availableActions/client/Client.js +8 -7
- package/api/resources/hris/resources/bankInfo/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/bankInfo/client/Client.js +19 -15
- package/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.d.ts +19 -49
- package/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +5 -15
- package/api/resources/hris/resources/benefits/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/benefits/client/Client.js +19 -15
- package/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.d.ts +15 -37
- package/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +3 -9
- package/api/resources/hris/resources/companies/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/companies/client/Client.js +19 -15
- package/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.d.ts +13 -31
- package/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +2 -6
- package/api/resources/hris/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/hris/resources/dependents/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/dependents/client/Client.js +19 -15
- package/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.d.ts +14 -34
- package/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +3 -9
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +19 -15
- package/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.d.ts +20 -52
- package/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +3 -9
- package/api/resources/hris/resources/employees/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employees/client/Client.js +43 -36
- package/api/resources/hris/resources/employees/client/requests/EmployeeEndpointRequest.d.ts +2 -6
- package/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +35 -97
- package/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +6 -18
- package/api/resources/hris/resources/employerBenefits/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employerBenefits/client/Client.js +19 -15
- package/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.d.ts +13 -31
- package/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +2 -6
- package/api/resources/hris/resources/employments/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/employments/client/Client.js +19 -15
- package/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.d.ts +18 -46
- package/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +5 -15
- package/api/resources/hris/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/hris/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/hris/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/hris/resources/forceResync/client/Client.js +8 -7
- package/api/resources/hris/resources/generateKey/client/Client.js +8 -7
- package/api/resources/hris/resources/groups/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/groups/client/Client.js +19 -15
- package/api/resources/hris/resources/groups/client/requests/GroupsListRequest.d.ts +18 -46
- package/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -12
- package/api/resources/hris/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/issues/client/Client.js +19 -15
- package/api/resources/hris/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/hris/resources/linkToken/client/Client.js +8 -7
- package/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/hris/resources/locations/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/locations/client/Client.js +19 -15
- package/api/resources/hris/resources/locations/client/requests/LocationsListRequest.d.ts +15 -37
- package/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -12
- package/api/resources/hris/resources/passthrough/client/Client.js +8 -7
- package/api/resources/hris/resources/payGroups/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/payGroups/client/Client.js +19 -15
- package/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.d.ts +13 -31
- package/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +2 -6
- package/api/resources/hris/resources/payrollRuns/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/payrollRuns/client/Client.js +19 -15
- package/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.d.ts +19 -49
- package/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -12
- package/api/resources/hris/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/hris/resources/scopes/client/Client.js +24 -21
- package/api/resources/hris/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/hris/resources/teams/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/teams/client/Client.js +19 -15
- package/api/resources/hris/resources/teams/client/requests/TeamsListRequest.d.ts +15 -37
- package/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +3 -9
- package/api/resources/hris/resources/timeOff/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/timeOff/client/Client.js +35 -29
- package/api/resources/hris/resources/timeOff/client/requests/TimeOffEndpointRequest.d.ts +2 -6
- package/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.d.ts +22 -58
- package/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +5 -15
- package/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/timeOffBalances/client/Client.js +19 -15
- package/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.d.ts +17 -43
- package/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +5 -15
- package/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +3 -1
- package/api/resources/hris/resources/timesheetEntries/client/Client.js +35 -29
- package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.d.ts +20 -52
- package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +3 -9
- package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntryEndpointRequest.d.ts +2 -6
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +8 -7
- package/api/resources/ticketing/resources/accountToken/client/Client.js +8 -7
- package/api/resources/ticketing/resources/accounts/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/accounts/client/Client.js +19 -15
- package/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +16 -14
- package/api/resources/ticketing/resources/attachments/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/attachments/client/Client.js +43 -36
- package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.d.ts +16 -40
- package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +3 -9
- package/api/resources/ticketing/resources/attachments/client/requests/TicketingAttachmentEndpointRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/auditTrail/client/Client.js +11 -8
- package/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/api/resources/ticketing/resources/availableActions/client/Client.js +8 -7
- package/api/resources/ticketing/resources/collections/client/Client.d.ts +6 -2
- package/api/resources/ticketing/resources/collections/client/Client.js +30 -23
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +18 -46
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -15
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +9 -19
- package/api/resources/ticketing/resources/comments/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/comments/client/Client.js +35 -29
- package/api/resources/ticketing/resources/comments/client/requests/CommentEndpointRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.d.ts +16 -40
- package/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +3 -9
- package/api/resources/ticketing/resources/contacts/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/contacts/client/Client.js +35 -29
- package/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.d.ts +14 -34
- package/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +3 -9
- package/api/resources/ticketing/resources/contacts/client/requests/TicketingContactEndpointRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +8 -7
- package/api/resources/ticketing/resources/fieldMapping/client/Client.js +48 -42
- package/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/api/resources/ticketing/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/api/resources/ticketing/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/forceResync/client/Client.js +8 -7
- package/api/resources/ticketing/resources/generateKey/client/Client.js +8 -7
- package/api/resources/ticketing/resources/issues/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/issues/client/Client.js +19 -15
- package/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/linkToken/client/Client.js +8 -7
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +11 -8
- package/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/api/resources/ticketing/resources/passthrough/client/Client.js +8 -7
- package/api/resources/ticketing/resources/projects/client/Client.d.ts +6 -2
- package/api/resources/ticketing/resources/projects/client/Client.js +30 -23
- package/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.d.ts +9 -19
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +8 -7
- package/api/resources/ticketing/resources/roles/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/roles/client/Client.js +19 -15
- package/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/scopes/client/Client.js +24 -21
- package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +11 -8
- package/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/api/resources/ticketing/resources/tags/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/tags/client/Client.js +19 -15
- package/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/teams/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/teams/client/Client.js +19 -15
- package/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.d.ts +13 -31
- package/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/tickets/client/Client.d.ts +9 -3
- package/api/resources/ticketing/resources/tickets/client/Client.js +73 -59
- package/api/resources/ticketing/resources/tickets/client/requests/PatchedTicketEndpointRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/tickets/client/requests/TicketEndpointRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.d.ts +34 -94
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsMetaPostRetrieveRequest.d.ts +2 -6
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.d.ts +11 -25
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +6 -18
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.d.ts +9 -19
- package/api/resources/ticketing/resources/users/client/Client.d.ts +3 -1
- package/api/resources/ticketing/resources/users/client/Client.js +19 -15
- package/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +16 -40
- package/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +16 -14
- package/api/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/core/auth/AuthProvider.d.ts +4 -0
- package/core/auth/AuthProvider.js +2 -0
- package/core/auth/AuthRequest.d.ts +9 -0
- package/core/auth/AuthRequest.js +2 -0
- package/core/auth/index.d.ts +2 -0
- package/core/fetcher/Fetcher.js +2 -2
- package/core/fetcher/index.d.ts +5 -5
- package/core/fetcher/index.js +5 -5
- package/core/schemas/builders/lazy/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.js +3 -3
- package/core/schemas/builders/object/index.d.ts +2 -2
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/core/schemas/builders/object/types.d.ts +1 -1
- package/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/core/schemas/builders/union/index.d.ts +1 -1
- package/core/schemas/builders/union/types.d.ts +1 -1
- package/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +11 -11
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.d.ts +8 -16
- package/dist/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/accounts/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +21 -55
- package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/accounting/resources/addresses/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/accounting/resources/asyncTasks/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/attachments/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.d.ts +14 -34
- package/dist/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsListRequest.d.ts +8 -16
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.d.ts +14 -34
- package/dist/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/contacts/client/Client.d.ts +6 -2
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +46 -37
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +23 -61
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNoteEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.d.ts +19 -49
- package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/employees/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/employees/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/expenseReports/client/Client.d.ts +12 -4
- package/dist/api/resources/accounting/resources/expenseReports/client/Client.js +68 -53
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.d.ts +16 -40
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/accounting/resources/expenses/client/Client.d.ts +9 -3
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +57 -45
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.d.ts +18 -46
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/accounting/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/accounting/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/accounting/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.d.ts +17 -43
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/invoices/client/Client.d.ts +9 -3
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +73 -59
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts +22 -58
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/accounting/resources/invoices/client/requests/PatchedInvoiceEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/accounting/resources/items/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/items/client/Client.js +51 -43
- package/dist/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/items/client/requests/ItemsListRequest.d.ts +17 -43
- package/dist/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.d.ts +9 -3
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +57 -45
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.d.ts +18 -46
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +8 -16
- package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +9 -19
- package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/payments/client/Client.d.ts +9 -3
- package/dist/api/resources/accounting/resources/payments/client/Client.js +73 -59
- package/dist/api/resources/accounting/resources/payments/client/requests/PatchedPaymentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.d.ts +20 -52
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/projects/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/projects/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.d.ts +15 -37
- package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +9 -3
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +57 -45
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.d.ts +20 -52
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.d.ts +10 -22
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/accounting/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/accounting/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/accounting/resources/taxRates/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +16 -40
- package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +20 -52
- package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/accounting/resources/transactions/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +19 -15
- package/dist/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.d.ts +17 -43
- package/dist/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +3 -1
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +35 -29
- package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditEndpointRequest.d.ts +2 -6
- package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.d.ts +17 -43
- package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/activities/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/activities/client/Client.js +35 -29
- package/dist/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.d.ts +17 -43
- package/dist/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/activities/client/requests/ActivityEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/applications/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/applications/client/Client.js +43 -36
- package/dist/api/resources/ats/resources/applications/client/requests/ApplicationEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.d.ts +20 -52
- package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsMetaPostRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ats/resources/applications/client/requests/UpdateApplicationStageRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/ats/resources/attachments/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/attachments/client/Client.js +35 -29
- package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.d.ts +17 -43
- package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/ats/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/candidates/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/candidates/client/Client.js +59 -50
- package/dist/api/resources/ats/resources/candidates/client/requests/CandidateEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.d.ts +18 -46
- package/dist/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ats/resources/candidates/client/requests/PatchedCandidateEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/departments/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/departments/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.d.ts +13 -31
- package/dist/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/eeocs/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/eeocs/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.d.ts +17 -43
- package/dist/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/ats/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/ats/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/ats/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/interviews/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/interviews/client/Client.js +35 -29
- package/dist/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.d.ts +20 -52
- package/dist/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/interviews/client/requests/ScheduledInterviewEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.d.ts +15 -37
- package/dist/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ats/resources/jobPostings/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/jobPostings/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.d.ts +14 -34
- package/dist/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ats/resources/jobs/client/Client.d.ts +6 -2
- package/dist/api/resources/ats/resources/jobs/client/Client.js +30 -23
- package/dist/api/resources/ats/resources/jobs/client/requests/JobsListRequest.d.ts +18 -46
- package/dist/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.d.ts +9 -19
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/ats/resources/offers/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/offers/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/offers/client/requests/OffersListRequest.d.ts +18 -46
- package/dist/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/offices/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/offices/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/offices/client/requests/OfficesListRequest.d.ts +13 -31
- package/dist/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.d.ts +13 -31
- package/dist/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ats/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/ats/resources/scorecards/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.d.ts +19 -49
- package/dist/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/ats/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/ats/resources/tags/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/tags/client/Client.js +11 -8
- package/dist/api/resources/ats/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
- package/dist/api/resources/ats/resources/users/client/Client.d.ts +3 -1
- package/dist/api/resources/ats/resources/users/client/Client.js +19 -15
- package/dist/api/resources/ats/resources/users/client/requests/UsersListRequest.d.ts +16 -40
- package/dist/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/accounts/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/accounts/client/Client.js +62 -51
- package/dist/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.d.ts +17 -43
- package/dist/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/accounts/client/requests/CrmAccountEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/accounts/client/requests/PatchedCrmAccountEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/associationTypes/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +35 -29
- package/dist/api/resources/crm/resources/associationTypes/client/requests/CrmAssociationTypeEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/associations/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/associations/client/Client.js +19 -15
- package/dist/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.d.ts +15 -37
- package/dist/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsUpdateRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/crm/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/contacts/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/contacts/client/Client.js +70 -58
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +18 -46
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/contacts/client/requests/CrmContactEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +19 -15
- package/dist/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/customObjects/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +46 -37
- package/dist/api/resources/crm/resources/customObjects/client/requests/CrmCustomObjectEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +30 -23
- package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/engagements/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/engagements/client/Client.js +62 -51
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.d.ts +17 -43
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/engagements/client/requests/PatchedEngagementEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/crm/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/crm/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/crm/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/crm/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/crm/resources/leads/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/leads/client/Client.js +46 -37
- package/dist/api/resources/crm/resources/leads/client/requests/LeadEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +20 -52
- package/dist/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/notes/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/notes/client/Client.js +46 -37
- package/dist/api/resources/crm/resources/notes/client/requests/NoteEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/notes/client/requests/NotesListRequest.d.ts +19 -49
- package/dist/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/opportunities/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +62 -51
- package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.d.ts +21 -55
- package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunityEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/opportunities/client/requests/PatchedOpportunityEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/crm/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/crm/resources/stages/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/stages/client/Client.js +30 -23
- package/dist/api/resources/crm/resources/stages/client/requests/StagesListRequest.d.ts +14 -34
- package/dist/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/crm/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/crm/resources/tasks/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/tasks/client/Client.js +62 -51
- package/dist/api/resources/crm/resources/tasks/client/requests/PatchedTaskEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/tasks/client/requests/TaskEndpointRequest.d.ts +2 -6
- package/dist/api/resources/crm/resources/tasks/client/requests/TasksListRequest.d.ts +15 -37
- package/dist/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/crm/resources/users/client/Client.d.ts +6 -2
- package/dist/api/resources/crm/resources/users/client/Client.js +38 -30
- package/dist/api/resources/crm/resources/users/client/requests/UsersListRequest.d.ts +15 -37
- package/dist/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/drives/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/drives/client/Client.js +19 -15
- package/dist/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.d.ts +14 -34
- package/dist/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +6 -2
- package/dist/api/resources/filestorage/resources/files/client/Client.js +62 -51
- package/dist/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +12 -28
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +19 -49
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/filestorage/resources/folders/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +35 -29
- package/dist/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.d.ts +17 -43
- package/dist/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/groups/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +19 -15
- package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.d.ts +14 -34
- package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/filestorage/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/filestorage/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/filestorage/resources/users/client/Client.d.ts +3 -1
- package/dist/api/resources/filestorage/resources/users/client/Client.js +19 -15
- package/dist/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +14 -34
- package/dist/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/hris/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/hris/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/hris/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/bankInfo/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/bankInfo/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.d.ts +19 -49
- package/dist/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/hris/resources/benefits/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/benefits/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.d.ts +15 -37
- package/dist/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/hris/resources/companies/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/companies/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.d.ts +13 -31
- package/dist/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/dependents/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/dependents/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.d.ts +14 -34
- package/dist/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.d.ts +20 -52
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/hris/resources/employees/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employees/client/Client.js +43 -36
- package/dist/api/resources/hris/resources/employees/client/requests/EmployeeEndpointRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +35 -97
- package/dist/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.d.ts +13 -31
- package/dist/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/employments/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/employments/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.d.ts +18 -46
- package/dist/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/hris/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/hris/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/groups/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/groups/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/groups/client/requests/GroupsListRequest.d.ts +18 -46
- package/dist/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/hris/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/hris/resources/locations/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/locations/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/locations/client/requests/LocationsListRequest.d.ts +15 -37
- package/dist/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/payGroups/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.d.ts +13 -31
- package/dist/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.d.ts +19 -49
- package/dist/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -12
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/hris/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/hris/resources/teams/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/teams/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/teams/client/requests/TeamsListRequest.d.ts +15 -37
- package/dist/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/hris/resources/timeOff/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/timeOff/client/Client.js +35 -29
- package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffEndpointRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.d.ts +22 -58
- package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +19 -15
- package/dist/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.d.ts +17 -43
- package/dist/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +3 -1
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +35 -29
- package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.d.ts +20 -52
- package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntryEndpointRequest.d.ts +2 -6
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/accounts/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +16 -14
- package/dist/api/resources/ticketing/resources/attachments/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +43 -36
- package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.d.ts +16 -40
- package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ticketing/resources/attachments/client/requests/TicketingAttachmentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +11 -8
- package/dist/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +6 -2
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +30 -23
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +18 -46
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -15
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +9 -19
- package/dist/api/resources/ticketing/resources/comments/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +35 -29
- package/dist/api/resources/ticketing/resources/comments/client/requests/CommentEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.d.ts +16 -40
- package/dist/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ticketing/resources/contacts/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +35 -29
- package/dist/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.d.ts +14 -34
- package/dist/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ticketing/resources/contacts/client/requests/TicketingContactEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +48 -42
- package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
- package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
- package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/issues/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +11 -8
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/projects/client/Client.d.ts +6 -2
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +30 -23
- package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.d.ts +9 -19
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +8 -7
- package/dist/api/resources/ticketing/resources/roles/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/roles/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/scopes/client/Client.js +24 -21
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +11 -8
- package/dist/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
- package/dist/api/resources/ticketing/resources/tags/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/teams/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.d.ts +13 -31
- package/dist/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/tickets/client/Client.d.ts +9 -3
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +73 -59
- package/dist/api/resources/ticketing/resources/tickets/client/requests/PatchedTicketEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketEndpointRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.d.ts +34 -94
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsMetaPostRetrieveRequest.d.ts +2 -6
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.d.ts +11 -25
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +6 -18
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.d.ts +9 -19
- package/dist/api/resources/ticketing/resources/users/client/Client.d.ts +3 -1
- package/dist/api/resources/ticketing/resources/users/client/Client.js +19 -15
- package/dist/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +16 -40
- package/dist/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +16 -14
- package/dist/api/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/dist/core/auth/AuthProvider.d.ts +4 -0
- package/dist/core/auth/AuthProvider.js +2 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/AuthRequest.js +2 -0
- package/dist/core/auth/index.d.ts +2 -0
- package/dist/core/fetcher/Fetcher.js +2 -2
- package/dist/core/fetcher/index.d.ts +5 -5
- package/dist/core/fetcher/index.js +5 -5
- package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.js +3 -3
- package/dist/core/schemas/builders/object/index.d.ts +2 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/union/index.d.ts +1 -1
- package/dist/core/schemas/builders/union/types.d.ts +1 -1
- package/dist/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldClass.js +1 -0
- package/dist/serialization/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/dist/serialization/resources/crm/types/RemoteFieldClass.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/dist/serialization/resources/ticketing/types/RemoteFieldClass.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +2342 -2054
- package/serialization/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
- package/serialization/resources/accounting/types/RemoteFieldClass.js +1 -0
- package/serialization/resources/crm/types/RemoteFieldClass.d.ts +1 -0
- package/serialization/resources/crm/types/RemoteFieldClass.js +1 -0
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
- package/serialization/resources/ticketing/types/RemoteFieldClass.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -62,14 +62,16 @@ class AuditTrail {
|
|
|
62
62
|
* @param {AuditTrail.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
|
-
* await client.crm.auditTrail.list(
|
|
65
|
+
* await client.crm.auditTrail.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, endDate, eventType, pageSize, startDate, userEmail } = request;
|
|
74
76
|
const _queryParams = {};
|
|
75
77
|
if (cursor != null) {
|
|
@@ -90,13 +92,14 @@ class AuditTrail {
|
|
|
90
92
|
if (userEmail != null) {
|
|
91
93
|
_queryParams["user_email"] = userEmail;
|
|
92
94
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
96
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
97
|
+
"X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
|
|
98
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
99
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
100
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "crm/v1/audit-trail"),
|
|
95
101
|
method: "GET",
|
|
96
|
-
headers:
|
|
97
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
98
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
99
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
102
|
+
headers: _headers,
|
|
100
103
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
101
104
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
102
105
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -3,31 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
|
-
* {
|
|
6
|
+
* {
|
|
7
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
8
|
+
* }
|
|
7
9
|
*/
|
|
8
10
|
export interface AuditTrailListRequest {
|
|
9
|
-
/**
|
|
10
|
-
* The pagination cursor value.
|
|
11
|
-
*/
|
|
11
|
+
/** The pagination cursor value. */
|
|
12
12
|
cursor?: string;
|
|
13
|
-
/**
|
|
14
|
-
* If included, will only include audit trail events that occurred before this time
|
|
15
|
-
*/
|
|
13
|
+
/** If included, will only include audit trail events that occurred before this time */
|
|
16
14
|
endDate?: string;
|
|
17
|
-
/**
|
|
18
|
-
* If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
|
|
19
|
-
*/
|
|
15
|
+
/** If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` */
|
|
20
16
|
eventType?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Number of results to return per page.
|
|
23
|
-
*/
|
|
17
|
+
/** Number of results to return per page. */
|
|
24
18
|
pageSize?: number;
|
|
25
|
-
/**
|
|
26
|
-
* If included, will only include audit trail events that occurred after this time
|
|
27
|
-
*/
|
|
19
|
+
/** If included, will only include audit trail events that occurred after this time */
|
|
28
20
|
startDate?: string;
|
|
29
|
-
/**
|
|
30
|
-
* If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
|
|
31
|
-
*/
|
|
21
|
+
/** If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. */
|
|
32
22
|
userEmail?: string;
|
|
33
23
|
}
|
|
@@ -68,14 +68,15 @@ class AvailableActions {
|
|
|
68
68
|
}
|
|
69
69
|
__retrieve(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, "crm/v1/available-actions"),
|
|
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,
|
|
@@ -41,7 +41,9 @@ export declare class Contacts {
|
|
|
41
41
|
* @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
|
-
* await client.crm.contacts.list(
|
|
44
|
+
* await client.crm.contacts.list({
|
|
45
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
46
|
+
* })
|
|
45
47
|
*/
|
|
46
48
|
list(request?: Merge.crm.ContactsListRequest, requestOptions?: Contacts.RequestOptions): core.HttpResponsePromise<Merge.crm.PaginatedContactList>;
|
|
47
49
|
private __list;
|
|
@@ -126,7 +128,9 @@ export declare class Contacts {
|
|
|
126
128
|
* @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
127
129
|
*
|
|
128
130
|
* @example
|
|
129
|
-
* await client.crm.contacts.remoteFieldClassesList(
|
|
131
|
+
* await client.crm.contacts.remoteFieldClassesList({
|
|
132
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
133
|
+
* })
|
|
130
134
|
*/
|
|
131
135
|
remoteFieldClassesList(request?: Merge.crm.ContactsRemoteFieldClassesListRequest, requestOptions?: Contacts.RequestOptions): core.HttpResponsePromise<Merge.crm.PaginatedRemoteFieldClassList>;
|
|
132
136
|
private __remoteFieldClassesList;
|
|
@@ -73,14 +73,16 @@ class Contacts {
|
|
|
73
73
|
* @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
|
-
* await client.crm.contacts.list(
|
|
76
|
+
* await client.crm.contacts.list({
|
|
77
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
78
|
+
* })
|
|
77
79
|
*/
|
|
78
80
|
list(request = {}, requestOptions) {
|
|
79
81
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
80
82
|
}
|
|
81
83
|
__list() {
|
|
82
84
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
83
|
-
var _a, _b, _c, _d;
|
|
85
|
+
var _a, _b, _c, _d, _e, _f;
|
|
84
86
|
const { accountId, createdAfter, createdBefore, cursor, emailAddresses, expand, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, modifiedAfter, modifiedBefore, pageSize, phoneNumbers, remoteId, } = request;
|
|
85
87
|
const _queryParams = {};
|
|
86
88
|
if (accountId != null) {
|
|
@@ -130,13 +132,14 @@ class Contacts {
|
|
|
130
132
|
if (remoteId != null) {
|
|
131
133
|
_queryParams["remote_id"] = remoteId;
|
|
132
134
|
}
|
|
133
|
-
|
|
134
|
-
|
|
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, "crm/v1/contacts"),
|
|
135
141
|
method: "GET",
|
|
136
|
-
headers:
|
|
137
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
138
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
139
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
142
|
+
headers: _headers,
|
|
140
143
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
141
144
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
142
145
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -194,7 +197,7 @@ class Contacts {
|
|
|
194
197
|
}
|
|
195
198
|
__create(request, requestOptions) {
|
|
196
199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
197
|
-
var _a, _b, _c, _d;
|
|
200
|
+
var _a, _b, _c, _d, _e, _f;
|
|
198
201
|
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
199
202
|
const _queryParams = {};
|
|
200
203
|
if (isDebugMode != null) {
|
|
@@ -203,13 +206,14 @@ class Contacts {
|
|
|
203
206
|
if (runAsync != null) {
|
|
204
207
|
_queryParams["run_async"] = runAsync.toString();
|
|
205
208
|
}
|
|
206
|
-
|
|
207
|
-
|
|
209
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
210
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
211
|
+
"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,
|
|
212
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
213
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
214
|
+
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, "crm/v1/contacts"),
|
|
208
215
|
method: "POST",
|
|
209
|
-
headers:
|
|
210
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
211
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
212
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
216
|
+
headers: _headers,
|
|
213
217
|
contentType: "application/json",
|
|
214
218
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
215
219
|
requestType: "json",
|
|
@@ -269,7 +273,7 @@ class Contacts {
|
|
|
269
273
|
}
|
|
270
274
|
__retrieve(id_1) {
|
|
271
275
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
272
|
-
var _a, _b, _c, _d;
|
|
276
|
+
var _a, _b, _c, _d, _e, _f;
|
|
273
277
|
const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request;
|
|
274
278
|
const _queryParams = {};
|
|
275
279
|
if (expand != null) {
|
|
@@ -286,13 +290,14 @@ class Contacts {
|
|
|
286
290
|
if (includeShellData != null) {
|
|
287
291
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
288
292
|
}
|
|
289
|
-
|
|
290
|
-
|
|
293
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
294
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
295
|
+
"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,
|
|
296
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
297
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
298
|
+
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, `crm/v1/contacts/${encodeURIComponent(id)}`),
|
|
291
299
|
method: "GET",
|
|
292
|
-
headers:
|
|
293
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
294
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
295
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
300
|
+
headers: _headers,
|
|
296
301
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
297
302
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
298
303
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -351,7 +356,7 @@ class Contacts {
|
|
|
351
356
|
}
|
|
352
357
|
__partialUpdate(id, request, requestOptions) {
|
|
353
358
|
return __awaiter(this, void 0, void 0, function* () {
|
|
354
|
-
var _a, _b, _c, _d;
|
|
359
|
+
var _a, _b, _c, _d, _e, _f;
|
|
355
360
|
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
356
361
|
const _queryParams = {};
|
|
357
362
|
if (isDebugMode != null) {
|
|
@@ -360,13 +365,14 @@ class Contacts {
|
|
|
360
365
|
if (runAsync != null) {
|
|
361
366
|
_queryParams["run_async"] = runAsync.toString();
|
|
362
367
|
}
|
|
363
|
-
|
|
364
|
-
|
|
368
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
369
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
370
|
+
"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,
|
|
371
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
372
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
373
|
+
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, `crm/v1/contacts/${encodeURIComponent(id)}`),
|
|
365
374
|
method: "PATCH",
|
|
366
|
-
headers:
|
|
367
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
368
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
369
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
375
|
+
headers: _headers,
|
|
370
376
|
contentType: "application/json",
|
|
371
377
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
372
378
|
requestType: "json",
|
|
@@ -430,14 +436,15 @@ class Contacts {
|
|
|
430
436
|
}
|
|
431
437
|
__ignoreCreate(modelId, request, requestOptions) {
|
|
432
438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
433
|
-
var _a, _b, _c, _d;
|
|
434
|
-
|
|
435
|
-
|
|
439
|
+
var _a, _b, _c, _d, _e, _f;
|
|
440
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
441
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
442
|
+
"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,
|
|
443
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
444
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
445
|
+
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, `crm/v1/contacts/ignore/${encodeURIComponent(modelId)}`),
|
|
436
446
|
method: "POST",
|
|
437
|
-
headers:
|
|
438
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
439
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
440
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
447
|
+
headers: _headers,
|
|
441
448
|
contentType: "application/json",
|
|
442
449
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
443
450
|
requestType: "json",
|
|
@@ -487,14 +494,15 @@ class Contacts {
|
|
|
487
494
|
}
|
|
488
495
|
__metaPatchRetrieve(id, requestOptions) {
|
|
489
496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
490
|
-
var _a, _b, _c, _d;
|
|
491
|
-
|
|
492
|
-
|
|
497
|
+
var _a, _b, _c, _d, _e, _f;
|
|
498
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
499
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
500
|
+
"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,
|
|
501
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
502
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
503
|
+
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, `crm/v1/contacts/meta/patch/${encodeURIComponent(id)}`),
|
|
493
504
|
method: "GET",
|
|
494
|
-
headers:
|
|
495
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
496
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
497
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
505
|
+
headers: _headers,
|
|
498
506
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
499
507
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
500
508
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -549,14 +557,15 @@ class Contacts {
|
|
|
549
557
|
}
|
|
550
558
|
__metaPostRetrieve(requestOptions) {
|
|
551
559
|
return __awaiter(this, void 0, void 0, function* () {
|
|
552
|
-
var _a, _b, _c, _d;
|
|
553
|
-
|
|
554
|
-
|
|
560
|
+
var _a, _b, _c, _d, _e, _f;
|
|
561
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
562
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
563
|
+
"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,
|
|
564
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
565
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
566
|
+
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, "crm/v1/contacts/meta/post"),
|
|
555
567
|
method: "GET",
|
|
556
|
-
headers:
|
|
557
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
558
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
559
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
568
|
+
headers: _headers,
|
|
560
569
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
561
570
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
562
571
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -605,14 +614,16 @@ class Contacts {
|
|
|
605
614
|
* @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
606
615
|
*
|
|
607
616
|
* @example
|
|
608
|
-
* await client.crm.contacts.remoteFieldClassesList(
|
|
617
|
+
* await client.crm.contacts.remoteFieldClassesList({
|
|
618
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
619
|
+
* })
|
|
609
620
|
*/
|
|
610
621
|
remoteFieldClassesList(request = {}, requestOptions) {
|
|
611
622
|
return core.HttpResponsePromise.fromPromise(this.__remoteFieldClassesList(request, requestOptions));
|
|
612
623
|
}
|
|
613
624
|
__remoteFieldClassesList() {
|
|
614
625
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
615
|
-
var _a, _b, _c, _d;
|
|
626
|
+
var _a, _b, _c, _d, _e, _f;
|
|
616
627
|
const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, isCommonModelField, isCustom, pageSize, } = request;
|
|
617
628
|
const _queryParams = {};
|
|
618
629
|
if (cursor != null) {
|
|
@@ -639,13 +650,14 @@ class Contacts {
|
|
|
639
650
|
if (pageSize != null) {
|
|
640
651
|
_queryParams["page_size"] = pageSize.toString();
|
|
641
652
|
}
|
|
642
|
-
|
|
643
|
-
|
|
653
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
654
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
655
|
+
"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,
|
|
656
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
657
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
658
|
+
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, "crm/v1/contacts/remote-field-classes"),
|
|
644
659
|
method: "GET",
|
|
645
|
-
headers:
|
|
646
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
647
|
-
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
648
|
-
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
660
|
+
headers: _headers,
|
|
649
661
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
650
662
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
651
663
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -4,67 +4,39 @@
|
|
|
4
4
|
import * as Merge from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
9
|
+
* }
|
|
8
10
|
*/
|
|
9
11
|
export interface ContactsListRequest {
|
|
10
|
-
/**
|
|
11
|
-
* If provided, will only return contacts with this account.
|
|
12
|
-
*/
|
|
12
|
+
/** If provided, will only return contacts with this account. */
|
|
13
13
|
accountId?: 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
|
-
* If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas.
|
|
28
|
-
*/
|
|
20
|
+
/** If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. */
|
|
29
21
|
emailAddresses?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
32
|
-
*/
|
|
22
|
+
/** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */
|
|
33
23
|
expand?: Merge.crm.ContactsListRequestExpand;
|
|
34
|
-
/**
|
|
35
|
-
* 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/).
|
|
36
|
-
*/
|
|
24
|
+
/** 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/). */
|
|
37
25
|
includeDeletedData?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
40
|
-
*/
|
|
26
|
+
/** Whether to include the original data Merge fetched from the third-party to produce these models. */
|
|
41
27
|
includeRemoteData?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
|
|
44
|
-
*/
|
|
28
|
+
/** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */
|
|
45
29
|
includeRemoteFields?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
48
|
-
*/
|
|
30
|
+
/** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
|
|
49
31
|
includeShellData?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* If provided, only objects synced by Merge after this date time will be returned.
|
|
52
|
-
*/
|
|
32
|
+
/** If provided, only objects synced by Merge after this date time will be returned. */
|
|
53
33
|
modifiedAfter?: Date;
|
|
54
|
-
/**
|
|
55
|
-
* If provided, only objects synced by Merge before this date time will be returned.
|
|
56
|
-
*/
|
|
34
|
+
/** If provided, only objects synced by Merge before this date time will be returned. */
|
|
57
35
|
modifiedBefore?: Date;
|
|
58
|
-
/**
|
|
59
|
-
* Number of results to return per page.
|
|
60
|
-
*/
|
|
36
|
+
/** Number of results to return per page. */
|
|
61
37
|
pageSize?: number;
|
|
62
|
-
/**
|
|
63
|
-
* If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas.
|
|
64
|
-
*/
|
|
38
|
+
/** If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. */
|
|
65
39
|
phoneNumbers?: string;
|
|
66
|
-
/**
|
|
67
|
-
* The API provider's ID for the given object.
|
|
68
|
-
*/
|
|
40
|
+
/** The API provider's ID for the given object. */
|
|
69
41
|
remoteId?: string;
|
|
70
42
|
}
|
|
@@ -3,39 +3,25 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
|
-
* {
|
|
6
|
+
* {
|
|
7
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
8
|
+
* }
|
|
7
9
|
*/
|
|
8
10
|
export interface ContactsRemoteFieldClassesListRequest {
|
|
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 all remote fields, including fields that Merge did not map to common models, in a normalized format.
|
|
23
|
-
*/
|
|
17
|
+
/** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */
|
|
24
18
|
includeRemoteFields?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
27
|
-
*/
|
|
19
|
+
/** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
|
|
28
20
|
includeShellData?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* If provided, will only return remote field classes with this is_common_model_field value
|
|
31
|
-
*/
|
|
21
|
+
/** If provided, will only return remote field classes with this is_common_model_field value */
|
|
32
22
|
isCommonModelField?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* If provided, will only return remote fields classes with this is_custom value
|
|
35
|
-
*/
|
|
23
|
+
/** If provided, will only return remote fields classes with this is_custom value */
|
|
36
24
|
isCustom?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Number of results to return per page.
|
|
39
|
-
*/
|
|
25
|
+
/** Number of results to return per page. */
|
|
40
26
|
pageSize?: number;
|
|
41
27
|
}
|
|
@@ -7,20 +7,12 @@ import * as Merge from "../../../../../../index";
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface ContactsRetrieveRequest {
|
|
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.crm.ContactsRetrieveRequestExpand;
|
|
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
18
|
}
|
|
@@ -9,13 +9,9 @@ import * as Merge from "../../../../../../index";
|
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface CrmContactEndpointRequest {
|
|
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.crm.ContactRequest;
|
|
21
17
|
}
|
package/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.d.ts
CHANGED
|
@@ -9,13 +9,9 @@ import * as Merge from "../../../../../../index";
|
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface PatchedCrmContactEndpointRequest {
|
|
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.crm.PatchedContactRequest;
|
|
21
17
|
}
|
|
@@ -41,7 +41,9 @@ export declare class CustomObjectClasses {
|
|
|
41
41
|
* @param {CustomObjectClasses.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
|
-
* await client.crm.customObjectClasses.list(
|
|
44
|
+
* await client.crm.customObjectClasses.list({
|
|
45
|
+
* cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
|
|
46
|
+
* })
|
|
45
47
|
*/
|
|
46
48
|
list(request?: Merge.crm.CustomObjectClassesListRequest, requestOptions?: CustomObjectClasses.RequestOptions): core.HttpResponsePromise<Merge.crm.PaginatedCustomObjectClassList>;
|
|
47
49
|
private __list;
|