From 04cf0a30e67c30204cf7033710cdd9a7af3106e1 Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Tue, 10 Feb 2026 20:41:22 +0000
Subject: [PATCH 1/2] SDK regeneration
---
.fern/metadata.json | 5 +-
reference.md | 18343 +++++++++++-----
src/BaseClient.ts | 4 +-
src/Client.ts | 16 +-
src/api/resources/accounting/client/Client.ts | 12 +
.../resources/accountToken/client/Client.ts | 69 +
.../accountingPeriods/client/Client.ts | 140 +-
.../requests/AccountingPeriodsListRequest.ts | 2 +-
.../resources/accounts/client/Client.ts | 484 +-
.../client/requests/AccountBulkRequest.ts | 24 +
.../AccountsBatchObjectsListRequest.ts | 64 +
.../client/requests/AccountsCreateRequest.ts} | 8 +-
.../client/requests/AccountsListRequest.ts | 5 +-
.../requests/AccountsRetrieveRequest.ts | 3 +-
.../accounts/client/requests/index.ts | 4 +-
...tsBatchObjectsListRequestClassification.ts | 12 +
...untsBatchObjectsListRequestRemoteFields.ts | 9 +
...sBatchObjectsListRequestShowEnumOrigins.ts | 9 +
.../AccountsBatchObjectsListRequestStatus.ts | 10 +
.../resources/accounts/types/index.ts | 4 +
.../resources/attachments/client/Client.ts | 375 +-
.../AccountingAttachmentBulkRequest.ts | 24 +
.../AttachmentsBatchObjectsListRequest.ts | 42 +
.../requests/AttachmentsCreateRequest.ts | 21 +
.../client/requests/AttachmentsListRequest.ts | 2 +-
.../attachments/client/requests/index.ts | 4 +-
.../resources/auditTrail/client/Client.ts | 137 +-
.../resources/balanceSheets/client/Client.ts | 179 +-
.../requests/BalanceSheetsListRequest.ts | 5 +-
.../requests/BalanceSheetsRetrieveRequest.ts | 3 +-
.../bankFeedAccounts/client/Client.ts | 310 +-
.../requests/BankFeedAccountBulkRequest.ts | 24 +
...BankFeedAccountsBatchObjectsListRequest.ts | 24 +
.../requests/BankFeedAccountsCreateRequest.ts | 21 +
.../bankFeedAccounts/client/requests/index.ts | 4 +-
.../bankFeedTransactions/client/Client.ts | 380 +-
.../BankFeedTransactionBulkRequest.ts | 24 +
...FeedTransactionsBatchObjectsListRequest.ts | 44 +
.../BankFeedTransactionsCreateRequest.ts | 21 +
.../BankFeedTransactionsListRequest.ts | 3 +-
.../BankFeedTransactionsRetrieveRequest.ts | 3 +-
.../client/requests/index.ts | 4 +-
.../cashFlowStatements/client/Client.ts | 184 +-
.../requests/CashFlowStatementsListRequest.ts | 3 +-
.../CashFlowStatementsRetrieveRequest.ts | 3 +-
.../resources/companyInfo/client/Client.ts | 206 +-
.../client/requests/CompanyInfoListRequest.ts | 8 +-
.../requests/CompanyInfoRetrieveRequest.ts | 5 +-
.../types/CompanyInfoListRequestExpand.ts | 9 -
.../types/CompanyInfoListRequestExpandItem.ts | 8 +
.../types/CompanyInfoRetrieveRequestExpand.ts | 9 -
.../CompanyInfoRetrieveRequestExpandItem.ts | 8 +
.../resources/companyInfo/types/index.ts | 4 +-
.../resources/contacts/client/Client.ts | 636 +-
.../client/requests/ContactBulkRequest.ts | 24 +
.../client/requests/ContactEndpointRequest.ts | 19 -
.../ContactsBatchObjectsListRequest.ts | 72 +
.../client/requests/ContactsCreateRequest.ts} | 8 +-
.../client/requests/ContactsListRequest.ts | 5 +-
.../requests/ContactsRetrieveRequest.ts | 3 +-
.../contacts/client/requests/index.ts | 4 +-
...ntactsBatchObjectsListRequestExpandItem.ts | 9 +
.../ContactsBatchObjectsListRequestStatus.ts | 9 +
.../types/ContactsListRequestExpand.ts | 12 -
.../types/ContactsListRequestExpandItem.ts | 9 +
.../types/ContactsRetrieveRequestExpand.ts | 13 -
.../ContactsRetrieveRequestExpandItem.ts | 9 +
.../resources/contacts/types/index.ts | 6 +-
.../resources/creditNotes/client/Client.ts | 650 +-
.../client/requests/ApplyCreditNoteRequest.ts | 23 +
.../client/requests/CreditNoteBulkRequest.ts | 24 +
.../CreditNotesBatchObjectsListRequest.ts | 60 +
.../requests/CreditNotesCreateRequest.ts | 21 +
.../client/requests/CreditNotesListRequest.ts | 5 +-
.../requests/CreditNotesRetrieveRequest.ts | 5 +-
...ts => PatchedCreditNoteEndpointRequest.ts} | 2 +-
.../creditNotes/client/requests/index.ts | 6 +-
...tNotesBatchObjectsListRequestExpandItem.ts | 13 +
...otesBatchObjectsListRequestRemoteFields.ts | 9 +
...sBatchObjectsListRequestShowEnumOrigins.ts | 9 +
.../types/CreditNotesListRequestExpand.ts | 163 -
.../types/CreditNotesListRequestExpandItem.ts | 13 +
.../types/CreditNotesRetrieveRequestExpand.ts | 163 -
.../CreditNotesRetrieveRequestExpandItem.ts | 13 +
.../resources/creditNotes/types/index.ts | 7 +-
.../resources/employees/client/Client.ts | 179 +-
.../client/requests/EmployeesListRequest.ts | 5 +-
.../requests/EmployeesRetrieveRequest.ts | 3 +-
.../resources/expenseReports/client/Client.ts | 776 +-
.../requests/ExpenseReportBulkRequest.ts | 26 +
.../ExpenseReportsBatchObjectsListRequest.ts | 51 +
...uest.ts => ExpenseReportsCreateRequest.ts} | 10 +-
.../ExpenseReportsLinesListRequest.ts | 7 +-
...portsLinesRemoteFieldClassesListRequest.ts | 2 +-
.../requests/ExpenseReportsListRequest.ts | 7 +-
...nseReportsRemoteFieldClassesListRequest.ts | 2 +-
.../requests/ExpenseReportsRetrieveRequest.ts | 5 +-
.../expenseReports/client/requests/index.ts | 4 +-
...eportsBatchObjectsListRequestExpandItem.ts | 10 +
.../ExpenseReportsLinesListRequestExpand.ts | 69 -
...xpenseReportsLinesListRequestExpandItem.ts | 12 +
.../types/ExpenseReportsListRequestExpand.ts | 21 -
.../ExpenseReportsListRequestExpandItem.ts | 10 +
.../ExpenseReportsRetrieveRequestExpand.ts | 21 -
...ExpenseReportsRetrieveRequestExpandItem.ts | 10 +
.../resources/expenseReports/types/index.ts | 7 +-
.../resources/expenses/client/Client.ts | 602 +-
.../client/requests/ExpenseBulkRequest.ts | 24 +
.../client/requests/ExpenseEndpointRequest.ts | 19 -
.../ExpensesBatchObjectsListRequest.ts | 57 +
.../client/requests/ExpensesCreateRequest.ts | 21 +
...ensesLinesRemoteFieldClassesListRequest.ts | 2 +-
.../client/requests/ExpensesListRequest.ts | 5 +-
.../ExpensesRemoteFieldClassesListRequest.ts | 2 +-
.../requests/ExpensesRetrieveRequest.ts | 3 +-
.../expenses/client/requests/index.ts | 4 +-
...pensesBatchObjectsListRequestExpandItem.ts | 12 +
.../types/ExpensesListRequestExpand.ts | 73 -
.../types/ExpensesListRequestExpandItem.ts | 12 +
.../types/ExpensesRetrieveRequestExpand.ts | 74 -
.../ExpensesRetrieveRequestExpandItem.ts | 12 +
.../resources/expenses/types/index.ts | 5 +-
.../resources/fieldMapping/client/Client.ts | 16 +-
.../requests/CreateFieldMappingRequest.ts | 5 +
.../PatchedEditFieldMappingRequest.ts | 8 +-
.../client/Client.ts | 228 +-
.../GeneralLedgerTransactionsListRequest.ts | 7 +-
...eneralLedgerTransactionsRetrieveRequest.ts | 5 +-
...eralLedgerTransactionsListRequestExpand.ts | 24 -
...LedgerTransactionsListRequestExpandItem.ts | 10 +
...LedgerTransactionsRetrieveRequestExpand.ts | 24 -
...erTransactionsRetrieveRequestExpandItem.ts | 10 +
.../generalLedgerTransactions/types/index.ts | 4 +-
.../incomeStatements/client/Client.ts | 184 +-
.../requests/IncomeStatementsListRequest.ts | 5 +-
.../IncomeStatementsRetrieveRequest.ts | 3 +-
.../resources/accounting/resources/index.ts | 6 +
.../resources/invoices/client/Client.ts | 714 +-
.../client/requests/InvoiceBulkRequest.ts | 24 +
.../client/requests/InvoiceEndpointRequest.ts | 19 -
.../InvoicesBatchObjectsListRequest.ts | 89 +
.../client/requests/InvoicesCreateRequest.ts | 21 +
...sLineItemsRemoteFieldClassesListRequest.ts | 2 +-
.../client/requests/InvoicesListRequest.ts | 5 +-
.../InvoicesRemoteFieldClassesListRequest.ts | 2 +-
.../requests/InvoicesRetrieveRequest.ts | 3 +-
.../invoices/client/requests/index.ts | 4 +-
...voicesBatchObjectsListRequestExpandItem.ts | 19 +
.../InvoicesBatchObjectsListRequestStatus.ts | 12 +
.../InvoicesBatchObjectsListRequestType.ts | 8 +
.../types/InvoicesListRequestExpand.ts | 7516 -------
.../types/InvoicesListRequestExpandItem.ts | 19 +
.../types/InvoicesRetrieveRequestExpand.ts | 7517 -------
.../InvoicesRetrieveRequestExpandItem.ts | 19 +
.../resources/invoices/types/index.ts | 7 +-
.../resources/issues/client/Client.ts | 188 +-
.../client/requests/IssuesListRequest.ts | 2 +-
.../itemFulfillments/client/Client.ts | 829 +
.../itemFulfillments/client/index.ts | 1 +
.../requests/ItemFulfillmentBulkRequest.ts | 24 +
...ItemFulfillmentsBatchObjectsListRequest.ts | 39 +
.../requests/ItemFulfillmentsCreateRequest.ts | 21 +
...mentsLinesRemoteFieldClassesListRequest.ts | 30 +
.../requests/ItemFulfillmentsListRequest.ts | 39 +
...lfillmentsRemoteFieldClassesListRequest.ts | 30 +
.../ItemFulfillmentsRetrieveRequest.ts | 30 +
.../itemFulfillments/client/requests/index.ts | 7 +
.../resources/itemFulfillments/exports.ts | 4 +
.../resources/itemFulfillments/index.ts | 2 +
...lmentsBatchObjectsListRequestExpandItem.ts | 10 +
.../ItemFulfillmentsListRequestExpandItem.ts | 10 +
...emFulfillmentsRetrieveRequestExpandItem.ts | 10 +
.../resources/itemFulfillments/types/index.ts | 3 +
.../resources/items/client/Client.ts | 432 +-
.../items/client/requests/ItemBulkRequest.ts | 24 +
.../client/requests/ItemEndpointRequest.ts | 19 -
.../requests/ItemsBatchObjectsListRequest.ts | 57 +
.../client/requests/ItemsCreateRequest.ts} | 8 +-
.../items/client/requests/ItemsListRequest.ts | 8 +-
.../client/requests/ItemsRetrieveRequest.ts | 3 +-
.../resources/items/client/requests/index.ts | 4 +-
.../ItemsBatchObjectsListRequestExpandItem.ts | 11 +
.../items/types/ItemsListRequestExpand.ts | 38 -
.../items/types/ItemsListRequestExpandItem.ts | 10 +
.../items/types/ItemsRetrieveRequestExpand.ts | 38 -
.../types/ItemsRetrieveRequestExpandItem.ts | 11 +
.../accounting/resources/items/types/index.ts | 5 +-
.../resources/journalEntries/client/Client.ts | 609 +-
.../JournalEntriesBatchObjectsListRequest.ts | 57 +
.../requests/JournalEntriesCreateRequest.ts | 21 +
...triesLinesRemoteFieldClassesListRequest.ts | 2 +-
.../requests/JournalEntriesListRequest.ts | 7 +-
...nalEntriesRemoteFieldClassesListRequest.ts | 2 +-
.../requests/JournalEntriesRetrieveRequest.ts | 5 +-
.../requests/JournalEntryBulkRequest.ts | 24 +
.../requests/JournalEntryEndpointRequest.ts | 19 -
.../journalEntries/client/requests/index.ts | 4 +-
...ntriesBatchObjectsListRequestExpandItem.ts | 12 +
.../types/JournalEntriesListRequestExpand.ts | 78 -
.../JournalEntriesListRequestExpandItem.ts | 12 +
.../JournalEntriesRetrieveRequestExpand.ts | 78 -
...JournalEntriesRetrieveRequestExpandItem.ts | 12 +
.../resources/journalEntries/types/index.ts | 5 +-
.../resources/linkToken/client/Client.ts | 2 +-
.../resources/linkedAccounts/client/Client.ts | 202 +-
.../requests/LinkedAccountsListRequest.ts | 2 +-
.../resources/paymentMethods/client/Client.ts | 140 +-
.../resources/paymentTerms/client/Client.ts | 141 +-
.../requests/PaymentTermsListRequest.ts | 5 +-
.../requests/PaymentTermsRetrieveRequest.ts | 3 +-
.../resources/payments/client/Client.ts | 654 +-
.../client/requests/PaymentBulkRequest.ts | 24 +
.../client/requests/PaymentEndpointRequest.ts | 19 -
.../PaymentsBatchObjectsListRequest.ts | 63 +
.../client/requests/PaymentsCreateRequest.ts | 21 +
...sLineItemsRemoteFieldClassesListRequest.ts | 2 +-
.../client/requests/PaymentsListRequest.ts | 5 +-
.../PaymentsRemoteFieldClassesListRequest.ts | 2 +-
.../requests/PaymentsRetrieveRequest.ts | 3 +-
.../payments/client/requests/index.ts | 4 +-
...ymentsBatchObjectsListRequestExpandItem.ts | 13 +
.../types/PaymentsListRequestExpand.ts | 164 -
.../types/PaymentsListRequestExpandItem.ts | 13 +
.../types/PaymentsRetrieveRequestExpand.ts | 165 -
.../PaymentsRetrieveRequestExpandItem.ts | 13 +
.../resources/payments/types/index.ts | 5 +-
.../resources/projects/client/Client.ts | 207 +-
.../client/requests/ProjectsListRequest.ts | 5 +-
.../requests/ProjectsRetrieveRequest.ts | 3 +-
.../types/ProjectsListRequestExpand.ts | 8 -
.../types/ProjectsListRequestExpandItem.ts | 8 +
.../types/ProjectsRetrieveRequestExpand.ts | 9 -
.../ProjectsRetrieveRequestExpandItem.ts | 8 +
.../resources/projects/types/index.ts | 4 +-
.../resources/purchaseOrders/client/Client.ts | 623 +-
.../requests/PurchaseOrderBulkRequest.ts | 24 +
.../requests/PurchaseOrderEndpointRequest.ts | 19 -
.../PurchaseOrdersBatchObjectsListRequest.ts | 63 +
.../requests/PurchaseOrdersCreateRequest.ts | 21 +
...sLineItemsRemoteFieldClassesListRequest.ts | 2 +-
.../requests/PurchaseOrdersListRequest.ts | 7 +-
...haseOrdersRemoteFieldClassesListRequest.ts | 2 +-
.../requests/PurchaseOrdersRetrieveRequest.ts | 5 +-
.../purchaseOrders/client/requests/index.ts | 4 +-
...OrdersBatchObjectsListRequestExpandItem.ts | 13 +
.../types/PurchaseOrdersListRequestExpand.ts | 165 -
.../PurchaseOrdersListRequestExpandItem.ts | 13 +
.../PurchaseOrdersRetrieveRequestExpand.ts | 165 -
...PurchaseOrdersRetrieveRequestExpandItem.ts | 13 +
.../resources/purchaseOrders/types/index.ts | 5 +-
.../resources/salesOrders/client/Client.ts | 870 +
.../resources/salesOrders/client/index.ts | 1 +
.../client/requests/SalesOrderBulkRequest.ts | 24 +
.../SalesOrdersBatchObjectsListRequest.ts | 63 +
.../requests/SalesOrdersCreateRequest.ts | 21 +
...rdersLinesRemoteFieldClassesListRequest.ts | 30 +
.../client/requests/SalesOrdersListRequest.ts | 61 +
...alesOrdersRemoteFieldClassesListRequest.ts | 30 +
.../requests/SalesOrdersRetrieveRequest.ts | 30 +
.../salesOrders/client/requests/index.ts | 7 +
.../resources/salesOrders/exports.ts | 4 +
.../accounting/resources/salesOrders/index.ts | 2 +
...OrdersBatchObjectsListRequestExpandItem.ts | 12 +
.../types/SalesOrdersListRequestExpandItem.ts | 12 +
.../SalesOrdersRetrieveRequestExpandItem.ts | 12 +
.../resources/salesOrders/types/index.ts | 3 +
.../resources/syncStatus/client/Client.ts | 129 +-
.../client/requests/SyncStatusListRequest.ts | 2 +-
.../resources/taxRates/client/Client.ts | 183 +-
.../client/requests/TaxRatesListRequest.ts | 5 +-
.../requests/TaxRatesRetrieveRequest.ts | 3 +-
.../trackingCategories/client/Client.ts | 225 +-
.../requests/TrackingCategoriesListRequest.ts | 5 +-
.../TrackingCategoriesRetrieveRequest.ts | 3 +-
.../resources/transactions/client/Client.ts | 215 +-
.../requests/TransactionsListRequest.ts | 5 +-
.../requests/TransactionsRetrieveRequest.ts | 5 +-
.../types/TransactionsListRequestExpand.ts | 74 -
.../TransactionsListRequestExpandItem.ts | 12 +
.../TransactionsRetrieveRequestExpand.ts | 74 -
.../TransactionsRetrieveRequestExpandItem.ts | 12 +
.../resources/transactions/types/index.ts | 4 +-
.../resources/vendorCredits/client/Client.ts | 596 +-
.../requests/ApplyVendorCreditRequest.ts | 23 +
.../PatchedVendorCreditEndpointRequest.ts} | 4 +-
.../requests/VendorCreditBulkRequest.ts | 24 +
.../requests/VendorCreditEndpointRequest.ts | 19 -
.../VendorCreditsBatchObjectsListRequest.ts | 54 +
.../requests/VendorCreditsCreateRequest.ts | 21 +
.../requests/VendorCreditsListRequest.ts | 7 +-
.../requests/VendorCreditsRetrieveRequest.ts | 5 +-
.../vendorCredits/client/requests/index.ts | 6 +-
...reditsBatchObjectsListRequestExpandItem.ts | 11 +
.../types/VendorCreditsListRequestExpand.ts | 37 -
.../VendorCreditsListRequestExpandItem.ts | 11 +
.../VendorCreditsRetrieveRequestExpand.ts | 37 -
.../VendorCreditsRetrieveRequestExpandItem.ts | 11 +
.../resources/vendorCredits/types/index.ts | 5 +-
src/api/resources/accounting/types/Account.ts | 2 +-
.../types/AccountBatchItemRequest.ts | 9 +
.../accounting/types/AccountCompany.ts | 8 +
.../accounting/types/AccountDetails.ts | 2 +-
.../types/AccountEndpointRequest.ts | 7 +
.../accounting/types/AccountRequest.ts | 2 +-
.../accounting/types/AccountRequestCompany.ts | 8 +
.../AccountingAttachmentBatchItemRequest.ts | 9 +
.../AccountingAttachmentEndpointRequest.ts | 7 +
.../accounting/types/AuditLogEvent.ts | 1 +
.../accounting/types/AuditLogEventRole.ts | 1 +
.../types/BankFeedAccountBatchItemRequest.ts | 9 +
.../types/BankFeedAccountEndpointRequest.ts | 7 +
.../BankFeedTransactionBatchItemRequest.ts | 9 +
.../BankFeedTransactionEndpointRequest.ts | 7 +
.../types/ContactBatchItemRequest.ts | 9 +
.../types/ContactEndpointRequest.ts | 7 +
.../types/CreditNoteBatchItemRequest.ts | 9 +
.../types/CreditNoteEndpointRequest.ts | 7 +
.../types/CreditNoteLineItemRequestProject.ts | 2 +-
.../types/DataPassthroughRequest.ts | 2 +-
src/api/resources/accounting/types/Expense.ts | 2 +-
.../types/ExpenseBatchItemRequest.ts | 9 +
.../types/ExpenseEndpointRequest.ts | 7 +
.../types/ExpenseLineRequestProject.ts | 2 +-
.../accounting/types/ExpenseReport.ts | 8 +-
.../types/ExpenseReportAccountingPeriod.ts | 8 +
.../types/ExpenseReportBatchItemRequest.ts | 9 +
.../accounting/types/ExpenseReportCurrency.ts | 315 +
.../accounting/types/ExpenseReportEmployee.ts | 8 +
.../types/ExpenseReportEndpointRequest.ts | 7 +
.../accounting/types/ExpenseReportLine.ts | 2 +-
.../types/ExpenseReportLineCurrency.ts | 315 +
.../types/ExpenseReportLineRequest.ts | 2 +-
.../types/ExpenseReportLineRequestCurrency.ts | 315 +
...estMethod.ts => ExpenseReportLinesItem.ts} | 2 +-
.../accounting/types/ExpenseReportRequest.ts | 4 +-
.../types/ExpenseReportRequestCurrency.ts | 315 +
.../types/ExpenseReportRequestStatus.ts | 13 +
.../accounting/types/ExpenseRequest.ts | 2 +-
.../types/ExternalTargetFieldApiResponse.ts | 2 +
.../types/FieldMappingApiInstance.ts | 1 +
.../types/FieldMappingApiInstanceResponse.ts | 2 +
src/api/resources/accounting/types/Invoice.ts | 1 +
.../types/InvoiceBatchItemRequest.ts | 9 +
.../types/InvoiceEndpointRequest.ts | 7 +
...sCategory.ts => InvoiceSalesOrdersItem.ts} | 2 +-
.../accounting/types/ItemBatchItemRequest.ts | 9 +
.../accounting/types/ItemEndpointRequest.ts | 7 +
.../accounting/types/ItemFulfillment.ts | 50 +
.../types/ItemFulfillmentBatchItemRequest.ts | 9 +
.../types/ItemFulfillmentCompany.ts | 8 +
.../types/ItemFulfillmentCustomer.ts | 8 +
.../types/ItemFulfillmentEndpointRequest.ts | 7 +
.../accounting/types/ItemFulfillmentLine.ts | 34 +
.../types/ItemFulfillmentLineItem.ts} | 2 +-
.../types/ItemFulfillmentLineRequest.ts | 29 +
.../types/ItemFulfillmentLineRequestItem.ts} | 2 +-
...temFulfillmentLineRequestSalesOrderLine.ts | 5 +
...llmentLineRequestTrackingCategoriesItem.ts | 5 +
.../ItemFulfillmentLineSalesOrderLine.ts | 5 +
...emFulfillmentLineTrackingCategoriesItem.ts | 5 +
.../types/ItemFulfillmentLinesItem.ts | 5 +
.../types/ItemFulfillmentRequest.ts | 36 +
.../types/ItemFulfillmentRequestCompany.ts | 8 +
.../types/ItemFulfillmentRequestCustomer.ts | 8 +
.../types/ItemFulfillmentRequestSalesOrder.ts | 8 +
.../types/ItemFulfillmentRequestStatus.ts | 13 +
.../types/ItemFulfillmentResponse.ts | 10 +
.../types/ItemFulfillmentSalesOrder.ts | 8 +
.../accounting/types/ItemFulfillmentStatus.ts | 13 +
.../types/ItemFulfillmentStatusEnum.ts | 15 +
.../types/JournalEntryBatchItemRequest.ts | 9 +
.../types/JournalEntryEndpointRequest.ts | 7 +
.../types/PaginatedItemFulfillmentList.ts | 9 +
.../types/PaginatedSalesOrderList.ts | 9 +
.../accounting/types/PatchedContactRequest.ts | 4 +-
.../types/PatchedContactRequestStatus.ts | 11 +
.../types/PatchedVendorCreditRequest.ts | 340 +
.../PatchedVendorCreditRequestCurrency.ts | 315 +
.../types/PaymentBatchItemRequest.ts | 9 +
.../types/PaymentEndpointRequest.ts | 7 +
.../accounting/types/PaymentMethod.ts | 2 +-
.../types/PurchaseOrderBatchItemRequest.ts | 9 +
.../types/PurchaseOrderEndpointRequest.ts | 7 +
.../types/RegenerateAccountToken.ts | 14 +
.../types/RemoteFieldApiResponse.ts | 3 +
.../resources/accounting/types/RoleEnum.ts | 2 +
.../resources/accounting/types/SalesOrder.ts | 372 +
.../types/SalesOrderBatchItemRequest.ts | 9 +
.../accounting/types/SalesOrderCompany.ts | 8 +
.../accounting/types/SalesOrderCurrency.ts | 315 +
.../accounting/types/SalesOrderCustomer.ts | 8 +
.../types/SalesOrderEndpointRequest.ts | 7 +
.../accounting/types/SalesOrderLine.ts | 41 +
.../accounting/types/SalesOrderLineCompany.ts | 8 +
.../accounting/types/SalesOrderLineItem.ts | 5 +
.../accounting/types/SalesOrderLineRequest.ts | 36 +
.../types/SalesOrderLineRequestCompany.ts | 8 +
.../types/SalesOrderLineRequestItem.ts | 5 +
.../types/SalesOrderLineRequestTaxRate.ts | 8 +
...sOrderLineRequestTrackingCategoriesItem.ts | 5 +
.../accounting/types/SalesOrderLineTaxRate.ts | 8 +
.../SalesOrderLineTrackingCategoriesItem.ts | 5 +
.../accounting/types/SalesOrderLinesItem.ts | 5 +
.../accounting/types/SalesOrderPaymentTerm.ts | 8 +
.../accounting/types/SalesOrderRequest.ts | 358 +
.../types/SalesOrderRequestCompany.ts | 8 +
.../types/SalesOrderRequestCurrency.ts | 315 +
.../types/SalesOrderRequestCustomer.ts | 8 +
.../types/SalesOrderRequestPaymentTerm.ts | 8 +
.../types/SalesOrderRequestShippingAddress.ts | 8 +
.../types/SalesOrderRequestStatus.ts | 15 +
...SalesOrderRequestTrackingCategoriesItem.ts | 5 +
.../accounting/types/SalesOrderResponse.ts | 10 +
.../types/SalesOrderShippingAddress.ts | 8 +
.../accounting/types/SalesOrderStatus.ts | 15 +
.../accounting/types/SalesOrderStatusEnum.ts | 19 +
.../types/SalesOrderTrackingCategoriesItem.ts | 5 +
.../resources/accounting/types/SyncStatus.ts | 2 +-
.../types/SyncStatusLastSyncResult.ts | 5 +
.../resources/accounting/types/Transaction.ts | 2 +-
.../accounting/types/TransactionCompany.ts | 8 +
.../types/VendorCreditBatchItemRequest.ts | 9 +
.../types/VendorCreditEndpointRequest.ts | 7 +
src/api/resources/accounting/types/index.ts | 104 +-
.../resources/accountToken/client/Client.ts | 69 +
.../ats/resources/activities/client/Client.ts | 202 +-
.../client/requests/ActivitiesListRequest.ts | 5 +-
.../requests/ActivitiesRetrieveRequest.ts | 3 +-
.../resources/applications/client/Client.ts | 222 +-
.../requests/ApplicationsListRequest.ts | 3 +-
.../requests/ApplicationsRetrieveRequest.ts | 3 +-
.../types/ApplicationsListRequestExpand.ts | 397 -
.../ApplicationsListRequestExpandItem.ts | 14 +
.../ApplicationsRetrieveRequestExpand.ts | 397 -
.../ApplicationsRetrieveRequestExpandItem.ts | 14 +
.../ats/resources/applications/types/index.ts | 4 +-
.../resources/attachments/client/Client.ts | 182 +-
.../client/requests/AttachmentsListRequest.ts | 3 +-
.../requests/AttachmentsRetrieveRequest.ts | 3 +-
.../ats/resources/auditTrail/client/Client.ts | 132 +-
.../client/requests/AuditTrailListRequest.ts | 2 +-
.../ats/resources/candidates/client/Client.ts | 214 +-
.../client/requests/CandidatesListRequest.ts | 3 +-
.../requests/CandidatesRetrieveRequest.ts | 3 +-
.../candidates/client/requests/index.ts | 1 -
.../types/CandidatesListRequestExpand.ts | 9 -
.../types/CandidatesListRequestExpandItem.ts | 8 +
.../types/CandidatesRetrieveRequestExpand.ts | 9 -
.../CandidatesRetrieveRequestExpandItem.ts | 8 +
.../ats/resources/candidates/types/index.ts | 5 +-
.../resources/departments/client/Client.ts | 162 +-
.../ats/resources/eeocs/client/Client.ts | 200 +-
.../eeocs/client/requests/EeocsListRequest.ts | 5 +-
.../client/requests/EeocsRetrieveRequest.ts | 3 +-
.../resources/fieldMapping/client/Client.ts | 12 +-
.../requests/CreateFieldMappingRequest.ts | 2 +
.../PatchedEditFieldMappingRequest.ts | 8 +-
.../ats/resources/interviews/client/Client.ts | 222 +-
.../client/requests/InterviewsListRequest.ts | 5 +-
.../requests/InterviewsRetrieveRequest.ts | 3 +-
.../types/InterviewsListRequestExpand.ts | 21 -
.../types/InterviewsListRequestExpandItem.ts | 10 +
.../types/InterviewsRetrieveRequestExpand.ts | 21 -
.../InterviewsRetrieveRequestExpandItem.ts | 10 +
.../ats/resources/interviews/types/index.ts | 4 +-
.../ats/resources/issues/client/Client.ts | 186 +-
.../client/requests/IssuesListRequest.ts | 2 +-
.../jobInterviewStages/client/Client.ts | 179 +-
.../requests/JobInterviewStagesListRequest.ts | 5 +-
.../JobInterviewStagesRetrieveRequest.ts | 3 +-
.../resources/jobPostings/client/Client.ts | 184 +-
.../client/requests/JobPostingsListRequest.ts | 5 +-
.../requests/JobPostingsRetrieveRequest.ts | 3 +-
.../ats/resources/jobs/client/Client.ts | 381 +-
.../jobs/client/requests/JobsListRequest.ts | 5 +-
.../client/requests/JobsRetrieveRequest.ts | 3 +-
.../JobsScreeningQuestionsListRequest.ts | 7 +-
.../jobs/types/JobsListRequestExpand.ts | 37 -
.../jobs/types/JobsListRequestExpandItem.ts | 10 +
.../jobs/types/JobsRetrieveRequestExpand.ts | 37 -
.../types/JobsRetrieveRequestExpandItem.ts | 11 +
...JobsScreeningQuestionsListRequestExpand.ts | 9 -
...ScreeningQuestionsListRequestExpandItem.ts | 8 +
.../ats/resources/jobs/types/index.ts | 6 +-
.../ats/resources/linkToken/client/Client.ts | 2 +-
.../resources/linkedAccounts/client/Client.ts | 189 +-
.../requests/LinkedAccountsListRequest.ts | 2 +-
.../ats/resources/offers/client/Client.ts | 222 +-
.../client/requests/OffersListRequest.ts | 20 +-
.../client/requests/OffersRetrieveRequest.ts | 3 +-
.../offers/types/OffersListRequestExpand.ts | 8 -
.../types/OffersListRequestExpandItem.ts | 8 +
.../offers/types/OffersListRequestStatus.ts | 14 +
.../types/OffersRetrieveRequestExpand.ts | 9 -
.../types/OffersRetrieveRequestExpandItem.ts | 8 +
.../ats/resources/offers/types/index.ts | 5 +-
.../ats/resources/offices/client/Client.ts | 162 +-
.../client/requests/OfficesListRequest.ts | 2 +-
.../resources/rejectReasons/client/Client.ts | 167 +-
.../requests/RejectReasonsListRequest.ts | 2 +-
.../ats/resources/scorecards/client/Client.ts | 218 +-
.../client/requests/ScorecardsListRequest.ts | 5 +-
.../requests/ScorecardsRetrieveRequest.ts | 3 +-
.../types/ScorecardsListRequestExpand.ts | 13 -
.../types/ScorecardsListRequestExpandItem.ts | 9 +
.../types/ScorecardsRetrieveRequestExpand.ts | 13 -
.../ScorecardsRetrieveRequestExpandItem.ts | 9 +
.../ats/resources/scorecards/types/index.ts | 4 +-
.../ats/resources/syncStatus/client/Client.ts | 124 +-
.../client/requests/SyncStatusListRequest.ts | 2 +-
.../ats/resources/tags/client/Client.ts | 160 +-
.../tags/client/requests/TagsListRequest.ts | 2 +-
.../ats/resources/users/client/Client.ts | 174 +-
.../users/client/requests/UsersListRequest.ts | 2 +-
.../resources/ats/types/ActivityRequest.ts | 2 +-
.../ats/types/ActivityRequestActivityType.ts | 12 -
src/api/resources/ats/types/AuditLogEvent.ts | 1 +
.../resources/ats/types/AuditLogEventRole.ts | 1 +
.../ats/types/FieldMappingApiInstance.ts | 1 +
.../IgnoreCommonModelRequest.ts | 8 +-
.../types/IgnoreCommonModelRequestReason.ts | 2 +-
.../ats/types/RegenerateAccountToken.ts | 14 +
src/api/resources/ats/types/RoleEnum.ts | 2 +
.../resources/ats/types/ScreeningQuestion.ts | 2 +-
.../ats/types/ScreeningQuestionOptionsItem.ts | 5 +
src/api/resources/ats/types/index.ts | 5 +-
.../resources/accountToken/client/Client.ts | 69 +
.../crm/resources/accounts/client/Client.ts | 346 +-
.../client/requests/AccountsListRequest.ts | 5 +-
.../AccountsRemoteFieldClassesListRequest.ts | 2 +-
.../requests/AccountsRetrieveRequest.ts | 3 +-
.../associationTypes/client/Client.ts | 183 +-
...bjectClassesAssociationTypesListRequest.ts | 5 +-
...tClassesAssociationTypesRetrieveRequest.ts | 3 +-
.../resources/associations/client/Client.ts | 190 +-
...sesCustomObjectsAssociationsListRequest.ts | 5 +-
.../crm/resources/auditTrail/client/Client.ts | 132 +-
.../client/requests/AuditTrailListRequest.ts | 2 +-
.../crm/resources/contacts/client/Client.ts | 376 +-
.../client/requests/ContactsListRequest.ts | 5 +-
.../ContactsRemoteFieldClassesListRequest.ts | 2 +-
.../requests/ContactsRetrieveRequest.ts | 3 +-
.../types/ContactsListRequestExpand.ts | 8 -
.../types/ContactsListRequestExpandItem.ts | 8 +
.../types/ContactsRetrieveRequestExpand.ts | 9 -
.../ContactsRetrieveRequestExpandItem.ts | 8 +
.../crm/resources/contacts/types/index.ts | 4 +-
.../customObjectClasses/client/Client.ts | 175 +-
.../CustomObjectClassesListRequest.ts | 5 +-
.../CustomObjectClassesRetrieveRequest.ts | 3 +-
.../resources/customObjects/client/Client.ts | 345 +-
...omObjectClassesCustomObjectsListRequest.ts | 2 +-
...tomObjectsRemoteFieldClassesListRequest.ts | 2 +-
.../engagementTypes/client/Client.ts | 335 +-
.../requests/EngagementTypesListRequest.ts | 2 +-
...ementTypesRemoteFieldClassesListRequest.ts | 2 +-
.../resources/engagements/client/Client.ts | 374 +-
.../client/requests/EngagementsListRequest.ts | 5 +-
...ngagementsRemoteFieldClassesListRequest.ts | 2 +-
.../requests/EngagementsRetrieveRequest.ts | 3 +-
.../types/EngagementsListRequestExpand.ts | 21 -
.../types/EngagementsListRequestExpandItem.ts | 10 +
.../types/EngagementsRetrieveRequestExpand.ts | 21 -
.../EngagementsRetrieveRequestExpandItem.ts | 10 +
.../crm/resources/engagements/types/index.ts | 4 +-
.../resources/fieldMapping/client/Client.ts | 16 +-
.../requests/CreateFieldMappingRequest.ts | 5 +
.../PatchedEditFieldMappingRequest.ts | 8 +-
.../crm/resources/issues/client/Client.ts | 186 +-
.../client/requests/IssuesListRequest.ts | 2 +-
.../crm/resources/leads/client/Client.ts | 382 +-
.../leads/client/requests/LeadsListRequest.ts | 5 +-
.../LeadsRemoteFieldClassesListRequest.ts | 2 +-
.../client/requests/LeadsRetrieveRequest.ts | 3 +-
.../leads/types/LeadsListRequestExpand.ts | 12 -
.../leads/types/LeadsListRequestExpandItem.ts | 8 +
.../leads/types/LeadsRetrieveRequestExpand.ts | 12 -
.../types/LeadsRetrieveRequestExpandItem.ts | 9 +
.../crm/resources/leads/types/index.ts | 4 +-
.../crm/resources/linkToken/client/Client.ts | 2 +-
.../resources/linkedAccounts/client/Client.ts | 189 +-
.../requests/LinkedAccountsListRequest.ts | 2 +-
.../crm/resources/notes/client/Client.ts | 378 +-
.../notes/client/requests/NotesListRequest.ts | 5 +-
.../NotesRemoteFieldClassesListRequest.ts | 2 +-
.../client/requests/NotesRetrieveRequest.ts | 3 +-
.../notes/types/NotesListRequestExpand.ts | 20 -
.../notes/types/NotesListRequestExpandItem.ts | 9 +
.../notes/types/NotesRetrieveRequestExpand.ts | 20 -
.../types/NotesRetrieveRequestExpandItem.ts | 10 +
.../crm/resources/notes/types/index.ts | 4 +-
.../resources/opportunities/client/Client.ts | 404 +-
.../requests/OpportunitiesListRequest.ts | 5 +-
...ortunitiesRemoteFieldClassesListRequest.ts | 2 +-
.../requests/OpportunitiesRetrieveRequest.ts | 3 +-
.../types/OpportunitiesListRequestExpand.ts | 13 -
.../OpportunitiesListRequestExpandItem.ts | 9 +
.../OpportunitiesRetrieveRequestExpand.ts | 13 -
.../OpportunitiesRetrieveRequestExpandItem.ts | 9 +
.../resources/opportunities/types/index.ts | 4 +-
.../crm/resources/stages/client/Client.ts | 330 +-
.../client/requests/StagesListRequest.ts | 2 +-
.../StagesRemoteFieldClassesListRequest.ts | 2 +-
.../crm/resources/syncStatus/client/Client.ts | 124 +-
.../client/requests/SyncStatusListRequest.ts | 2 +-
.../crm/resources/tasks/client/Client.ts | 362 +-
.../tasks/client/requests/TasksListRequest.ts | 5 +-
.../TasksRemoteFieldClassesListRequest.ts | 2 +-
.../client/requests/TasksRetrieveRequest.ts | 3 +-
.../tasks/types/TasksListRequestExpand.ts | 12 -
.../tasks/types/TasksListRequestExpandItem.ts | 9 +
.../tasks/types/TasksRetrieveRequestExpand.ts | 12 -
.../types/TasksRetrieveRequestExpandItem.ts | 10 +
.../crm/resources/tasks/types/index.ts | 4 +-
.../crm/resources/users/client/Client.ts | 332 +-
.../users/client/requests/UsersListRequest.ts | 2 +-
.../UsersRemoteFieldClassesListRequest.ts | 2 +-
.../crm/types/AccountDetailsAndActions.ts | 1 +
src/api/resources/crm/types/AuditLogEvent.ts | 1 +
.../resources/crm/types/AuditLogEventRole.ts | 1 +
.../crm/types/FieldMappingApiInstance.ts | 1 +
src/api/resources/crm/types/Lead.ts | 9 +
src/api/resources/crm/types/LeadStatus.ts | 13 +
src/api/resources/crm/types/LeadStatusEnum.ts | 15 +
.../resources/crm/types/PatchedTaskRequest.ts | 2 +
.../crm/types/RegenerateAccountToken.ts | 14 +
.../resources/crm/types/RemoteFieldClass.ts | 4 +-
src/api/resources/crm/types/RemoteResponse.ts | 2 +-
...ormat.ts => RemoteResponseResponseType.ts} | 2 +-
src/api/resources/crm/types/RoleEnum.ts | 2 +
src/api/resources/crm/types/Task.ts | 2 +
src/api/resources/crm/types/TaskContact.ts | 8 +
src/api/resources/crm/types/TaskRequest.ts | 2 +
.../resources/crm/types/TaskRequestContact.ts | 8 +
src/api/resources/crm/types/index.ts | 8 +-
.../resources/accountToken/client/Client.ts | 69 +
.../resources/auditTrail/client/Client.ts | 137 +-
.../client/requests/AuditTrailListRequest.ts | 2 +-
.../resources/drives/client/Client.ts | 171 +-
.../resources/fieldMapping/client/Client.ts | 16 +-
.../requests/CreateFieldMappingRequest.ts | 5 +
.../PatchedEditFieldMappingRequest.ts | 8 +-
.../resources/files/client/Client.ts | 422 +-
...FilesDownloadRequestMetaRetrieveRequest.ts | 2 +-
.../files/client/requests/FilesListRequest.ts | 5 +-
.../client/requests/FilesRetrieveRequest.ts | 3 +-
.../files/types/FilesListRequestExpand.ts | 12 -
.../files/types/FilesListRequestExpandItem.ts | 8 +
.../files/types/FilesRetrieveRequestExpand.ts | 12 -
.../types/FilesRetrieveRequestExpandItem.ts | 9 +
.../resources/files/types/index.ts | 4 +-
.../resources/folders/client/Client.ts | 215 +-
.../client/requests/FoldersListRequest.ts | 5 +-
.../client/requests/FoldersRetrieveRequest.ts | 3 +-
.../folders/types/FoldersListRequestExpand.ts | 12 -
.../types/FoldersListRequestExpandItem.ts | 9 +
.../types/FoldersRetrieveRequestExpand.ts | 13 -
.../types/FoldersRetrieveRequestExpandItem.ts | 9 +
.../resources/folders/types/index.ts | 4 +-
.../resources/groups/client/Client.ts | 195 +-
.../client/requests/GroupsListRequest.ts | 7 +-
.../client/requests/GroupsRetrieveRequest.ts | 5 +-
.../filestorage/resources/groups/index.ts | 1 +
.../types/GroupsListRequestExpandItem.ts | 8 +
.../types/GroupsRetrieveRequestExpandItem.ts | 8 +
.../resources/groups/types/index.ts | 2 +
.../resources/filestorage/resources/index.ts | 2 +
.../resources/issues/client/Client.ts | 193 +-
.../client/requests/IssuesListRequest.ts | 2 +-
.../resources/linkToken/client/Client.ts | 2 +-
.../client/requests/EndUserDetailsRequest.ts | 2 +-
.../filestorage/resources/linkToken/index.ts | 1 +
.../types/EndUserDetailsRequestLanguage.ts | 11 +
.../resources/linkToken/types/index.ts | 1 +
.../resources/linkedAccounts/client/Client.ts | 202 +-
.../requests/LinkedAccountsListRequest.ts | 2 +-
.../resources/syncStatus/client/Client.ts | 129 +-
.../client/requests/SyncStatusListRequest.ts | 2 +-
.../resources/users/client/Client.ts | 169 +-
.../users/client/requests/UsersListRequest.ts | 5 +-
.../filestorage/types/AccountDetails.ts | 2 +-
.../types/AccountDetailsAndActions.ts | 4 +-
.../types/AccountDetailsAndActionsCategory.ts | 5 +
.../types/AccountDetailsAndActionsStatus.ts | 5 +
.../types/AccountDetailsCategory.ts | 5 +
.../types/FieldMappingApiInstance.ts | 1 +
.../resources/filestorage/types/Permission.ts | 3 +
.../types/RegenerateAccountToken.ts | 14 +
.../filestorage/types/RemoteResponse.ts | 2 +-
.../types/RemoteResponseResponseType.ts | 5 +
.../resources/filestorage/types/RoleEnum.ts | 2 +
.../resources/filestorage/types/SyncStatus.ts | 2 +-
.../filestorage/types/SyncStatusStatus.ts | 5 +
src/api/resources/filestorage/types/index.ts | 6 +
.../resources/accountToken/client/Client.ts | 69 +
.../resources/auditTrail/client/Client.ts | 132 +-
.../client/requests/AuditTrailListRequest.ts | 2 +-
.../hris/resources/bankInfo/client/Client.ts | 214 +-
.../client/requests/BankInfoListRequest.ts | 3 +-
.../requests/BankInfoRetrieveRequest.ts | 3 +-
.../hris/resources/benefits/client/Client.ts | 174 +-
.../client/requests/BenefitsListRequest.ts | 3 +-
.../requests/BenefitsRetrieveRequest.ts | 3 +-
.../hris/resources/companies/client/Client.ts | 162 +-
.../resources/dependents/client/Client.ts | 170 +-
.../employeePayrollRuns/client/Client.ts | 232 +-
.../EmployeePayrollRunsListRequest.ts | 5 +-
.../EmployeePayrollRunsRetrieveRequest.ts | 5 +-
.../EmployeePayrollRunsListRequestExpand.ts | 9 -
...mployeePayrollRunsListRequestExpandItem.ts | 8 +
...mployeePayrollRunsRetrieveRequestExpand.ts | 9 -
...yeePayrollRunsRetrieveRequestExpandItem.ts | 8 +
.../employeePayrollRuns/types/index.ts | 4 +-
.../hris/resources/employees/client/Client.ts | 320 +-
.../client/requests/EmployeesListRequest.ts | 5 +-
.../requests/EmployeesRetrieveRequest.ts | 3 +-
.../employees/client/requests/index.ts | 1 -
.../types/EmployeesListRequestExpand.ts | 278 -
.../types/EmployeesListRequestExpandItem.ts | 14 +
.../types/EmployeesRetrieveRequestExpand.ts | 279 -
.../EmployeesRetrieveRequestExpandItem.ts | 14 +
.../hris/resources/employees/types/index.ts | 5 +-
.../employerBenefits/client/Client.ts | 167 +-
.../resources/employments/client/Client.ts | 244 +-
.../client/requests/EmploymentsListRequest.ts | 3 +-
.../requests/EmploymentsRetrieveRequest.ts | 3 +-
.../types/EmploymentsListRequestExpand.ts | 9 -
.../types/EmploymentsListRequestExpandItem.ts | 8 +
.../types/EmploymentsRetrieveRequestExpand.ts | 9 -
.../EmploymentsRetrieveRequestExpandItem.ts | 8 +
.../hris/resources/employments/types/index.ts | 4 +-
.../resources/fieldMapping/client/Client.ts | 12 +-
.../PatchedEditFieldMappingRequest.ts | 6 +-
.../hris/resources/groups/client/Client.ts | 209 +-
.../client/requests/GroupsTypesListRequest.ts | 15 +
.../resources/groups/client/requests/index.ts | 1 +
.../resources/hris/resources/groups/index.ts | 1 +
.../groups/types/GroupsTypesListResponse.ts | 6 +
.../hris/resources/groups/types/index.ts | 1 +
src/api/resources/hris/resources/index.ts | 1 +
.../hris/resources/issues/client/Client.ts | 186 +-
.../hris/resources/linkToken/client/Client.ts | 2 +-
.../client/requests/EndUserDetailsRequest.ts | 6 -
...ilsRequestCompletedAccountInitialScreen.ts | 10 -
.../hris/resources/linkToken/types/index.ts | 1 -
.../resources/linkedAccounts/client/Client.ts | 189 +-
.../hris/resources/locations/client/Client.ts | 204 +-
.../hris/resources/payGroups/client/Client.ts | 162 +-
.../resources/payrollRuns/client/Client.ts | 220 +-
.../resources/syncStatus/client/Client.ts | 124 +-
.../hris/resources/teams/client/Client.ts | 174 +-
.../teams/client/requests/TeamsListRequest.ts | 3 +-
.../client/requests/TeamsRetrieveRequest.ts | 3 +-
.../hris/resources/timeOff/client/Client.ts | 274 +-
.../client/requests/TimeOffListRequest.ts | 5 +-
.../client/requests/TimeOffRetrieveRequest.ts | 3 +-
.../timeOff/types/TimeOffListRequestExpand.ts | 8 -
.../types/TimeOffListRequestExpandItem.ts | 8 +
.../types/TimeOffRetrieveRequestExpand.ts | 9 -
.../types/TimeOffRetrieveRequestExpandItem.ts | 8 +
.../hris/resources/timeOff/types/index.ts | 4 +-
.../timeOffBalances/client/Client.ts | 201 +-
.../requests/TimeOffBalancesListRequest.ts | 5 +-
.../TimeOffBalancesRetrieveRequest.ts | 3 +-
.../timesheetEntries/client/Client.ts | 209 +-
.../requests/TimesheetEntriesListRequest.ts | 3 +-
.../TimesheetEntriesRetrieveRequest.ts | 3 +-
src/api/resources/hris/types/AuditLogEvent.ts | 1 +
.../resources/hris/types/AuditLogEventRole.ts | 1 +
.../CompletedAccountInitialScreenEnum.ts | 6 -
.../IgnoreCommonModelRequest.ts | 8 +-
.../types/IgnoreCommonModelRequestReason.ts | 2 +-
src/api/resources/hris/types/MetaResponse.ts | 2 +
.../hris/types/MultipartFormFieldRequest.ts | 2 +-
.../MultipartFormFieldRequestEncoding.ts | 12 -
.../hris/types/RegenerateAccountToken.ts | 14 +
src/api/resources/hris/types/RoleEnum.ts | 2 +
src/api/resources/hris/types/SyncStatus.ts | 2 +-
.../resources/hris/types/SyncStatusStatus.ts | 5 +
src/api/resources/hris/types/index.ts | 6 +-
.../resources/accountToken/client/Client.ts | 69 +
.../resources/accounts/client/Client.ts | 167 +-
.../client/requests/AccountsListRequest.ts | 2 +-
.../resources/attachments/client/Client.ts | 183 +-
.../client/requests/AttachmentsListRequest.ts | 5 +-
.../requests/AttachmentsRetrieveRequest.ts | 3 +-
.../resources/auditTrail/client/Client.ts | 137 +-
.../resources/collections/client/Client.ts | 384 +-
.../client/requests/CollectionsListRequest.ts | 3 +-
.../requests/CollectionsRetrieveRequest.ts | 7 +-
.../requests/CollectionsViewersListRequest.ts | 7 +-
.../types/CollectionsListRequestExpandItem.ts | 8 +
.../CollectionsRetrieveRequestExpandItem.ts | 8 +
.../CollectionsViewersListRequestExpand.ts | 9 -
...CollectionsViewersListRequestExpandItem.ts | 8 +
.../resources/collections/types/index.ts | 4 +-
.../resources/comments/client/Client.ts | 211 +-
.../client/requests/CommentsListRequest.ts | 3 +-
.../requests/CommentsRetrieveRequest.ts | 3 +-
.../types/CommentsListRequestExpand.ts | 12 -
.../types/CommentsListRequestExpandItem.ts | 9 +
.../types/CommentsRetrieveRequestExpand.ts | 13 -
.../CommentsRetrieveRequestExpandItem.ts | 9 +
.../resources/comments/types/index.ts | 4 +-
.../resources/contacts/client/Client.ts | 179 +-
.../client/requests/ContactsListRequest.ts | 3 +-
.../requests/ContactsRetrieveRequest.ts | 3 +-
.../resources/fieldMapping/client/Client.ts | 16 +-
.../requests/CreateFieldMappingRequest.ts | 3 +
.../PatchedEditFieldMappingRequest.ts | 6 +-
.../resources/issues/client/Client.ts | 188 +-
.../resources/linkToken/client/Client.ts | 2 +-
.../client/requests/EndUserDetailsRequest.ts | 6 -
...ilsRequestCompletedAccountInitialScreen.ts | 12 -
.../resources/linkToken/types/index.ts | 1 -
.../resources/linkedAccounts/client/Client.ts | 194 +-
.../resources/projects/client/Client.ts | 326 +-
.../client/requests/ProjectsListRequest.ts | 2 +-
.../requests/ProjectsUsersListRequest.ts | 3 +-
.../types/ProjectsUsersListRequestExpand.ts | 9 -
.../ProjectsUsersListRequestExpandItem.ts | 8 +
.../resources/projects/types/index.ts | 2 +-
.../resources/roles/client/Client.ts | 162 +-
.../resources/syncStatus/client/Client.ts | 129 +-
.../ticketing/resources/tags/client/Client.ts | 162 +-
.../resources/teams/client/Client.ts | 162 +-
.../resources/tickets/client/Client.ts | 674 +-
.../client/requests/TicketsListRequest.ts | 6 +-
.../TicketsLiveSearchRetrieveRequest.ts | 32 +
.../client/requests/TicketsRetrieveRequest.ts | 3 +-
.../requests/TicketsViewersListRequest.ts | 5 +-
.../tickets/client/requests/index.ts | 1 +
.../tickets/types/TicketsListRequestExpand.ts | 300 -
.../types/TicketsListRequestExpandItem.ts | 15 +
...tsLiveSearchRetrieveRequestRemoteFields.ts | 13 +
...iveSearchRetrieveRequestShowEnumOrigins.ts | 13 +
.../types/TicketsRetrieveRequestExpand.ts | 301 -
.../types/TicketsRetrieveRequestExpandItem.ts | 15 +
.../types/TicketsViewersListRequestExpand.ts | 9 -
.../TicketsViewersListRequestExpandItem.ts | 8 +
.../resources/tickets/types/index.ts | 8 +-
.../resources/users/client/Client.ts | 217 +-
.../users/client/requests/UsersListRequest.ts | 14 +-
.../client/requests/UsersRetrieveRequest.ts | 3 +-
.../users/types/UsersListRequestExpand.ts | 8 -
.../users/types/UsersListRequestExpandItem.ts | 7 +
.../users/types/UsersRetrieveRequestExpand.ts | 8 -
.../types/UsersRetrieveRequestExpandItem.ts | 8 +
.../ticketing/resources/users/types/index.ts | 4 +-
.../resources/ticketing/types/ActionsEnum.ts | 15 +
.../ticketing/types/AuditLogEvent.ts | 1 +
.../ticketing/types/AuditLogEventRole.ts | 1 +
.../ticketing/types/CategoriesEnum.ts | 2 -
.../resources/ticketing/types/CategoryEnum.ts | 2 -
.../resources/ticketing/types/Collection.ts | 3 +-
.../types/CollectionCollectionType.ts | 11 -
.../types/CollectionPermissionsItem.ts | 5 +
.../CompletedAccountInitialScreenEnum.ts | 6 -
.../resources/ticketing/types/EffectEnum.ts | 13 +
.../ticketing/types/PatchedTicketRequest.ts | 6 +-
.../types/PatchedTicketRequestPriority.ts | 13 -
.../resources/ticketing/types/Permission.ts | 38 +
.../ticketing/types/PermissionEffect.ts | 12 +
.../ticketing/types/PermissionRequest.ts | 32 +
.../types/PermissionRequestEffect.ts | 12 +
.../ticketing/types/RegenerateAccountToken.ts | 14 +
.../ticketing/types/RemoteFieldClass.ts | 4 +-
.../types/RemoteFieldClassFieldFormat.ts | 5 -
.../ticketing/types/RemoteResponse.ts | 2 +-
.../types/RemoteResponseResponseType.ts} | 2 +-
src/api/resources/ticketing/types/RoleEnum.ts | 2 +
.../ticketing/types/RoleTicketAccess.ts | 2 +-
.../ticketing/types/RoleTicketActionsItem.ts | 2 +-
.../resources/ticketing/types/SyncStatus.ts | 2 +-
.../ticketing/types/SyncStatusStatus.ts | 5 +
src/api/resources/ticketing/types/Ticket.ts | 17 +-
src/api/resources/ticketing/types/index.ts | 15 +-
src/auth/BearerAuthProvider.ts | 2 +-
src/core/exports.ts | 1 +
src/core/index.ts | 2 +
src/core/pagination/CustomPager.ts | 194 +
src/core/pagination/Page.ts | 76 +
src/core/pagination/exports.ts | 1 +
src/core/pagination/index.ts | 2 +
src/core/utils/index.ts | 1 +
src/core/utils/setObjectProperty.ts | 43 +
src/environments.ts | 6 +-
.../client/requests/AccountBulkRequest.ts | 19 +
.../client/requests/AccountEndpointRequest.ts | 19 -
.../accounts/client/requests/index.ts | 2 +-
...tsBatchObjectsListRequestClassification.ts | 14 +
...untsBatchObjectsListRequestRemoteFields.ts | 14 +
...sBatchObjectsListRequestShowEnumOrigins.ts | 14 +
.../AccountsBatchObjectsListRequestStatus.ts | 14 +
.../resources/accounts/types/index.ts | 4 +
.../AccountingAttachmentBulkRequest.ts | 22 +
.../attachments/client/requests/index.ts | 2 +-
.../requests/BankFeedAccountBulkRequest.ts | 19 +
.../bankFeedAccounts/client/requests/index.ts | 2 +-
.../BankFeedTransactionBulkRequest.ts | 22 +
.../client/requests/index.ts | 2 +-
.../types/CompanyInfoListRequestExpand.ts | 14 -
.../types/CompanyInfoListRequestExpandItem.ts | 14 +
.../types/CompanyInfoRetrieveRequestExpand.ts | 14 -
.../CompanyInfoRetrieveRequestExpandItem.ts | 14 +
.../resources/companyInfo/types/index.ts | 4 +-
.../client/requests/ContactBulkRequest.ts | 19 +
.../client/requests/ContactEndpointRequest.ts | 19 -
.../contacts/client/requests/index.ts | 2 +-
...ntactsBatchObjectsListRequestExpandItem.ts | 14 +
.../ContactsBatchObjectsListRequestStatus.ts | 14 +
.../types/ContactsListRequestExpand.ts | 29 -
.../types/ContactsListRequestExpandItem.ts | 14 +
.../types/ContactsRetrieveRequestExpand.ts | 29 -
.../ContactsRetrieveRequestExpandItem.ts | 14 +
.../resources/contacts/types/index.ts | 6 +-
.../client/requests/ApplyCreditNoteRequest.ts | 22 +
.../client/requests/CreditNoteBulkRequest.ts | 19 +
...ts => PatchedCreditNoteEndpointRequest.ts} | 8 +-
.../creditNotes/client/requests/index.ts | 4 +-
...tNotesBatchObjectsListRequestExpandItem.ts | 29 +
...otesBatchObjectsListRequestRemoteFields.ts | 14 +
...sBatchObjectsListRequestShowEnumOrigins.ts | 14 +
.../types/CreditNotesListRequestExpand.ts | 269 -
.../types/CreditNotesListRequestExpandItem.ts | 29 +
.../types/CreditNotesRetrieveRequestExpand.ts | 269 -
.../CreditNotesRetrieveRequestExpandItem.ts | 29 +
.../resources/creditNotes/types/index.ts | 7 +-
.../requests/ExpenseReportBulkRequest.ts | 19 +
.../requests/ExpenseReportEndpointRequest.ts | 19 -
.../expenseReports/client/requests/index.ts | 2 +-
...eportsBatchObjectsListRequestExpandItem.ts | 14 +
.../ExpenseReportsLinesListRequestExpand.ts | 141 -
...xpenseReportsLinesListRequestExpandItem.ts | 14 +
.../types/ExpenseReportsListRequestExpand.ts | 45 -
.../ExpenseReportsListRequestExpandItem.ts | 14 +
.../ExpenseReportsRetrieveRequestExpand.ts | 45 -
...ExpenseReportsRetrieveRequestExpandItem.ts | 14 +
.../resources/expenseReports/types/index.ts | 7 +-
.../client/requests/ExpenseBulkRequest.ts | 19 +
.../client/requests/ExpenseEndpointRequest.ts | 19 -
.../expenses/client/requests/index.ts | 2 +-
...pensesBatchObjectsListRequestExpandItem.ts | 14 +
.../types/ExpensesListRequestExpand.ts | 141 -
.../types/ExpensesListRequestExpandItem.ts | 14 +
.../types/ExpensesRetrieveRequestExpand.ts | 141 -
.../ExpensesRetrieveRequestExpandItem.ts | 14 +
.../resources/expenses/types/index.ts | 5 +-
.../requests/CreateFieldMappingRequest.ts | 4 +-
.../PatchedEditFieldMappingRequest.ts | 4 +-
...eralLedgerTransactionsListRequestExpand.ts | 45 -
...LedgerTransactionsListRequestExpandItem.ts | 19 +
...LedgerTransactionsRetrieveRequestExpand.ts | 45 -
...erTransactionsRetrieveRequestExpandItem.ts | 19 +
.../generalLedgerTransactions/types/index.ts | 4 +-
.../resources/accounting/resources/index.ts | 6 +
.../client/requests/InvoiceBulkRequest.ts | 19 +
.../client/requests/InvoiceEndpointRequest.ts | 19 -
.../invoices/client/requests/index.ts | 2 +-
...voicesBatchObjectsListRequestExpandItem.ts | 41 +
.../InvoicesBatchObjectsListRequestStatus.ts | 14 +
.../InvoicesBatchObjectsListRequestType.ts | 14 +
.../types/InvoicesListRequestExpand.ts | 8205 -------
.../types/InvoicesListRequestExpandItem.ts | 41 +
.../types/InvoicesRetrieveRequestExpand.ts | 8205 -------
.../InvoicesRetrieveRequestExpandItem.ts | 41 +
.../resources/invoices/types/index.ts | 7 +-
.../itemFulfillments/client/index.ts | 1 +
.../requests/ItemFulfillmentBulkRequest.ts | 19 +
.../itemFulfillments/client/requests/index.ts | 1 +
.../resources/itemFulfillments/index.ts | 2 +
...lmentsBatchObjectsListRequestExpandItem.ts | 14 +
.../ItemFulfillmentsListRequestExpandItem.ts | 14 +
...emFulfillmentsRetrieveRequestExpandItem.ts | 14 +
.../resources/itemFulfillments/types/index.ts | 3 +
.../items/client/requests/ItemBulkRequest.ts | 19 +
.../client/requests/ItemEndpointRequest.ts | 19 -
.../resources/items/client/requests/index.ts | 2 +-
.../ItemsBatchObjectsListRequestExpandItem.ts | 14 +
.../items/types/ItemsListRequestExpand.ts | 77 -
.../items/types/ItemsListRequestExpandItem.ts | 14 +
.../items/types/ItemsRetrieveRequestExpand.ts | 77 -
.../types/ItemsRetrieveRequestExpandItem.ts | 14 +
.../accounting/resources/items/types/index.ts | 5 +-
.../requests/JournalEntryBulkRequest.ts | 19 +
.../requests/JournalEntryEndpointRequest.ts | 19 -
.../journalEntries/client/requests/index.ts | 2 +-
...ntriesBatchObjectsListRequestExpandItem.ts | 27 +
.../types/JournalEntriesListRequestExpand.ts | 141 -
.../JournalEntriesListRequestExpandItem.ts | 27 +
.../JournalEntriesRetrieveRequestExpand.ts | 141 -
...JournalEntriesRetrieveRequestExpandItem.ts | 27 +
.../resources/journalEntries/types/index.ts | 5 +-
.../client/requests/PaymentBulkRequest.ts | 19 +
.../client/requests/PaymentEndpointRequest.ts | 19 -
.../payments/client/requests/index.ts | 2 +-
...ymentsBatchObjectsListRequestExpandItem.ts | 29 +
.../types/PaymentsListRequestExpand.ts | 269 -
.../types/PaymentsListRequestExpandItem.ts | 29 +
.../types/PaymentsRetrieveRequestExpand.ts | 269 -
.../PaymentsRetrieveRequestExpandItem.ts | 29 +
.../resources/payments/types/index.ts | 5 +-
.../types/ProjectsListRequestExpand.ts | 14 -
.../types/ProjectsListRequestExpandItem.ts | 14 +
.../types/ProjectsRetrieveRequestExpand.ts | 14 -
.../ProjectsRetrieveRequestExpandItem.ts | 14 +
.../resources/projects/types/index.ts | 4 +-
.../requests/PurchaseOrderBulkRequest.ts | 19 +
.../requests/PurchaseOrderEndpointRequest.ts | 19 -
.../purchaseOrders/client/requests/index.ts | 2 +-
...OrdersBatchObjectsListRequestExpandItem.ts | 29 +
.../types/PurchaseOrdersListRequestExpand.ts | 269 -
.../PurchaseOrdersListRequestExpandItem.ts | 29 +
.../PurchaseOrdersRetrieveRequestExpand.ts | 269 -
...PurchaseOrdersRetrieveRequestExpandItem.ts | 29 +
.../resources/purchaseOrders/types/index.ts | 5 +-
.../resources/salesOrders/client/index.ts | 1 +
.../client/requests/SalesOrderBulkRequest.ts | 19 +
.../salesOrders/client/requests/index.ts | 1 +
.../accounting/resources/salesOrders/index.ts | 2 +
...OrdersBatchObjectsListRequestExpandItem.ts | 21 +
.../types/SalesOrdersListRequestExpandItem.ts | 21 +
.../SalesOrdersRetrieveRequestExpandItem.ts | 21 +
.../resources/salesOrders/types/index.ts | 3 +
.../types/TransactionsListRequestExpand.ts | 141 -
.../TransactionsListRequestExpandItem.ts | 21 +
.../TransactionsRetrieveRequestExpand.ts | 141 -
.../TransactionsRetrieveRequestExpandItem.ts | 21 +
.../resources/transactions/types/index.ts | 4 +-
.../requests/ApplyVendorCreditRequest.ts | 22 +
.../PatchedVendorCreditEndpointRequest.ts | 19 +
.../requests/VendorCreditBulkRequest.ts | 19 +
.../requests/VendorCreditEndpointRequest.ts | 19 -
.../vendorCredits/client/requests/index.ts | 4 +-
...reditsBatchObjectsListRequestExpandItem.ts | 14 +
.../types/VendorCreditsListRequestExpand.ts | 77 -
.../VendorCreditsListRequestExpandItem.ts | 14 +
.../VendorCreditsRetrieveRequestExpand.ts | 77 -
.../VendorCreditsRetrieveRequestExpandItem.ts | 14 +
.../resources/vendorCredits/types/index.ts | 5 +-
.../resources/accounting/types/Account.ts | 5 +-
.../types/AccountBatchItemRequest.ts | 21 +
.../accounting/types/AccountCompany.ts | 15 +
.../accounting/types/AccountDetails.ts | 6 +-
.../types/AccountEndpointRequest.ts | 19 +
.../accounting/types/AccountRequest.ts | 5 +-
.../accounting/types/AccountRequestCompany.ts | 15 +
.../AccountingAttachmentBatchItemRequest.ts | 21 +
.../AccountingAttachmentEndpointRequest.ts | 12 +-
.../types/BankFeedAccountBatchItemRequest.ts | 21 +
.../BankFeedAccountEndpointRequest.ts | 12 +-
.../BankFeedTransactionBatchItemRequest.ts | 21 +
.../BankFeedTransactionEndpointRequest.ts | 12 +-
.../types/ContactBatchItemRequest.ts | 21 +
.../types/ContactEndpointRequest.ts | 19 +
.../types/CreditNoteBatchItemRequest.ts | 21 +
.../types/CreditNoteEndpointRequest.ts | 19 +
.../types/CreditNoteLineItemRequestProject.ts | 6 +-
.../types/DataPassthroughRequest.ts | 6 +-
.../types/DataPassthroughRequestMethod.ts | 15 -
.../types/ExpenseBatchItemRequest.ts | 21 +
.../types/ExpenseEndpointRequest.ts | 19 +
.../types/ExpenseLineRequestProject.ts | 6 +-
.../accounting/types/ExpenseReport.ts | 22 +-
.../types/ExpenseReportAccountingPeriod.ts | 15 +
.../types/ExpenseReportBatchItemRequest.ts | 21 +
.../accounting/types/ExpenseReportCurrency.ts | 15 +
.../accounting/types/ExpenseReportEmployee.ts | 15 +
.../types/ExpenseReportEndpointRequest.ts | 19 +
.../accounting/types/ExpenseReportLine.ts | 6 +-
.../types/ExpenseReportLineCurrency.ts | 15 +
.../types/ExpenseReportLineRequest.ts | 6 +-
.../types/ExpenseReportLineRequestCurrency.ts | 15 +
.../types/ExpenseReportLinesItem.ts | 15 +
.../accounting/types/ExpenseReportRequest.ts | 12 +-
.../types/ExpenseReportRequestCurrency.ts | 15 +
.../types/ExpenseReportRequestStatus.ts | 15 +
.../types/ExternalTargetFieldApiResponse.ts | 7 +
.../types/FieldMappingApiInstance.ts | 2 +
.../types/FieldMappingApiInstanceResponse.ts | 7 +
.../resources/accounting/types/Invoice.ts | 6 +
.../types/InvoiceBatchItemRequest.ts | 21 +
.../types/InvoiceEndpointRequest.ts | 19 +
.../types/InvoiceSalesOrdersItem.ts | 15 +
.../accounting/types/ItemBatchItemRequest.ts | 21 +
.../accounting/types/ItemEndpointRequest.ts | 19 +
.../accounting/types/ItemFulfillment.ts | 60 +
.../types/ItemFulfillmentBatchItemRequest.ts | 21 +
.../types/ItemFulfillmentCompany.ts | 15 +
.../types/ItemFulfillmentCustomer.ts | 15 +
.../types/ItemFulfillmentEndpointRequest.ts | 19 +
.../accounting/types/ItemFulfillmentLine.ts | 47 +
.../types/ItemFulfillmentLineItem.ts | 15 +
.../types/ItemFulfillmentLineRequest.ts | 52 +
.../types/ItemFulfillmentLineRequestItem.ts | 15 +
...temFulfillmentLineRequestSalesOrderLine.ts | 15 +
...llmentLineRequestTrackingCategoriesItem.ts | 15 +
.../ItemFulfillmentLineSalesOrderLine.ts | 15 +
...emFulfillmentLineTrackingCategoriesItem.ts | 15 +
.../types/ItemFulfillmentLinesItem.ts | 15 +
.../types/ItemFulfillmentRequest.ts | 45 +
.../types/ItemFulfillmentRequestCompany.ts | 15 +
.../types/ItemFulfillmentRequestCustomer.ts | 15 +
.../types/ItemFulfillmentRequestSalesOrder.ts | 15 +
.../types/ItemFulfillmentRequestStatus.ts | 15 +
.../types/ItemFulfillmentResponse.ts | 28 +
.../types/ItemFulfillmentSalesOrder.ts | 15 +
.../accounting/types/ItemFulfillmentStatus.ts | 15 +
.../types/ItemFulfillmentStatusEnum.ts | 14 +
.../types/JournalEntryBatchItemRequest.ts | 21 +
.../types/JournalEntryEndpointRequest.ts | 19 +
.../types/PaginatedItemFulfillmentList.ts | 23 +
.../types/PaginatedSalesOrderList.ts | 23 +
.../accounting/types/PatchedContactRequest.ts | 11 +-
.../types/PatchedContactRequestStatus.ts | 15 +
.../types/PatchedVendorCreditRequest.ts | 46 +
.../PatchedVendorCreditRequestCurrency.ts | 15 +
.../types/PaymentBatchItemRequest.ts | 21 +
.../types/PaymentEndpointRequest.ts | 19 +
.../accounting/types/PaymentMethod.ts | 4 +-
.../types/PurchaseOrderBatchItemRequest.ts | 21 +
.../types/PurchaseOrderEndpointRequest.ts | 19 +
.../types/RegenerateAccountToken.ts | 20 +
.../types/RemoteFieldApiResponse.ts | 6 +
.../resources/accounting/types/RoleEnum.ts | 4 +-
.../resources/accounting/types/SalesOrder.ts | 78 +
.../types/SalesOrderBatchItemRequest.ts | 21 +
.../accounting/types/SalesOrderCompany.ts | 15 +
.../accounting/types/SalesOrderCurrency.ts | 15 +
.../accounting/types/SalesOrderCustomer.ts | 15 +
.../types/SalesOrderEndpointRequest.ts | 19 +
.../accounting/types/SalesOrderLine.ts | 54 +
.../accounting/types/SalesOrderLineCompany.ts | 15 +
.../accounting/types/SalesOrderLineItem.ts | 15 +
.../accounting/types/SalesOrderLineRequest.ts | 56 +
.../types/SalesOrderLineRequestCompany.ts | 15 +
.../types/SalesOrderLineRequestItem.ts | 15 +
.../types/SalesOrderLineRequestTaxRate.ts | 15 +
...sOrderLineRequestTrackingCategoriesItem.ts | 15 +
.../accounting/types/SalesOrderLineTaxRate.ts | 15 +
.../SalesOrderLineTrackingCategoriesItem.ts | 15 +
.../accounting/types/SalesOrderLinesItem.ts | 15 +
.../accounting/types/SalesOrderPaymentTerm.ts | 15 +
.../accounting/types/SalesOrderRequest.ts | 63 +
.../types/SalesOrderRequestCompany.ts | 15 +
.../types/SalesOrderRequestCurrency.ts | 15 +
.../types/SalesOrderRequestCustomer.ts | 15 +
.../types/SalesOrderRequestPaymentTerm.ts | 15 +
...ts => SalesOrderRequestShippingAddress.ts} | 8 +-
.../types/SalesOrderRequestStatus.ts | 15 +
...SalesOrderRequestTrackingCategoriesItem.ts | 15 +
.../accounting/types/SalesOrderResponse.ts | 28 +
.../types/SalesOrderShippingAddress.ts | 15 +
.../accounting/types/SalesOrderStatus.ts | 15 +
.../accounting/types/SalesOrderStatusEnum.ts | 14 +
.../types/SalesOrderTrackingCategoriesItem.ts | 15 +
.../resources/accounting/types/SyncStatus.ts | 6 +-
.../types/SyncStatusLastSyncResult.ts | 15 +
.../resources/accounting/types/Transaction.ts | 5 +-
.../accounting/types/TransactionCompany.ts | 15 +
.../types/VendorCreditBatchItemRequest.ts | 21 +
.../types/VendorCreditEndpointRequest.ts | 19 +
.../resources/accounting/types/index.ts | 104 +-
.../types/ApplicationsListRequestExpand.ts | 525 -
.../ApplicationsListRequestExpandItem.ts | 31 +
.../ApplicationsRetrieveRequestExpand.ts | 525 -
.../ApplicationsRetrieveRequestExpandItem.ts | 31 +
.../ats/resources/applications/types/index.ts | 4 +-
.../candidates/client/requests/index.ts | 1 -
.../types/CandidatesListRequestExpand.ts | 14 -
.../types/CandidatesListRequestExpandItem.ts | 14 +
.../types/CandidatesRetrieveRequestExpand.ts | 14 -
.../CandidatesRetrieveRequestExpandItem.ts | 14 +
.../ats/resources/candidates/types/index.ts | 5 +-
.../requests/CreateFieldMappingRequest.ts | 2 +
.../PatchedEditFieldMappingRequest.ts | 4 +-
.../types/InterviewsListRequestExpand.ts | 45 -
.../types/InterviewsListRequestExpandItem.ts | 14 +
.../types/InterviewsRetrieveRequestExpand.ts | 45 -
.../InterviewsRetrieveRequestExpandItem.ts | 14 +
.../ats/resources/interviews/types/index.ts | 4 +-
.../jobs/types/JobsListRequestExpand.ts | 77 -
.../jobs/types/JobsListRequestExpandItem.ts | 14 +
.../jobs/types/JobsRetrieveRequestExpand.ts | 77 -
.../types/JobsRetrieveRequestExpandItem.ts | 14 +
...JobsScreeningQuestionsListRequestExpand.ts | 14 -
...ScreeningQuestionsListRequestExpandItem.ts | 14 +
.../ats/resources/jobs/types/index.ts | 6 +-
.../offers/types/OffersListRequestExpand.ts | 14 -
.../types/OffersListRequestExpandItem.ts | 14 +
.../offers/types/OffersListRequestStatus.ts | 33 +
.../types/OffersRetrieveRequestExpand.ts | 14 -
.../types/OffersRetrieveRequestExpandItem.ts | 14 +
.../ats/resources/offers/types/index.ts | 5 +-
.../types/ScorecardsListRequestExpand.ts | 29 -
.../types/ScorecardsListRequestExpandItem.ts | 14 +
.../types/ScorecardsRetrieveRequestExpand.ts | 29 -
.../ScorecardsRetrieveRequestExpandItem.ts | 14 +
.../ats/resources/scorecards/types/index.ts | 4 +-
.../resources/ats/types/ActivityRequest.ts | 6 +-
.../ats/types/ActivityRequestActivityType.ts | 15 -
.../ats/types/FieldMappingApiInstance.ts | 2 +
.../IgnoreCommonModelRequest.ts | 10 +-
.../types/IgnoreCommonModelRequestReason.ts | 8 +-
.../ats/types/RegenerateAccountToken.ts | 20 +
.../resources/ats/types/RoleEnum.ts | 4 +-
.../resources/ats/types/ScreeningQuestion.ts | 5 +-
.../ats/types/ScreeningQuestionOptionsItem.ts | 15 +
.../resources/ats/types/index.ts | 5 +-
.../types/ContactsListRequestExpand.ts | 14 -
.../types/ContactsListRequestExpandItem.ts | 14 +
.../types/ContactsRetrieveRequestExpand.ts | 14 -
.../ContactsRetrieveRequestExpandItem.ts | 14 +
.../crm/resources/contacts/types/index.ts | 4 +-
.../types/EngagementsListRequestExpand.ts | 45 -
.../types/EngagementsListRequestExpandItem.ts | 14 +
.../types/EngagementsRetrieveRequestExpand.ts | 45 -
.../EngagementsRetrieveRequestExpandItem.ts | 14 +
.../crm/resources/engagements/types/index.ts | 4 +-
.../requests/CreateFieldMappingRequest.ts | 4 +-
.../PatchedEditFieldMappingRequest.ts | 4 +-
.../leads/types/LeadsListRequestExpand.ts | 29 -
.../leads/types/LeadsListRequestExpandItem.ts | 14 +
.../leads/types/LeadsRetrieveRequestExpand.ts | 29 -
.../types/LeadsRetrieveRequestExpandItem.ts | 14 +
.../crm/resources/leads/types/index.ts | 4 +-
.../notes/types/NotesListRequestExpand.ts | 45 -
.../notes/types/NotesListRequestExpandItem.ts | 14 +
.../notes/types/NotesRetrieveRequestExpand.ts | 45 -
.../types/NotesRetrieveRequestExpandItem.ts | 14 +
.../crm/resources/notes/types/index.ts | 4 +-
.../types/OpportunitiesListRequestExpand.ts | 29 -
.../OpportunitiesListRequestExpandItem.ts | 14 +
.../OpportunitiesRetrieveRequestExpand.ts | 29 -
.../OpportunitiesRetrieveRequestExpandItem.ts | 14 +
.../resources/opportunities/types/index.ts | 4 +-
.../tasks/types/TasksListRequestExpand.ts | 29 -
.../tasks/types/TasksListRequestExpandItem.ts | 14 +
.../tasks/types/TasksRetrieveRequestExpand.ts | 29 -
.../types/TasksRetrieveRequestExpandItem.ts | 14 +
.../crm/resources/tasks/types/index.ts | 4 +-
.../crm/types/AccountDetailsAndActions.ts | 5 +
.../crm/types/FieldMappingApiInstance.ts | 2 +
src/serialization/resources/crm/types/Lead.ts | 3 +
.../resources/crm/types/LeadStatus.ts | 13 +
.../resources/crm/types/LeadStatusEnum.ts | 12 +
.../resources/crm/types/PatchedTaskRequest.ts | 2 +
.../crm/types/RegenerateAccountToken.ts | 20 +
.../resources/crm/types/RemoteFieldClass.ts | 12 +-
.../crm/types/RemoteFieldClassFieldFormat.ts | 15 -
.../crm/types/RemoteFieldClassFieldType.ts | 15 -
.../resources/crm/types/RemoteResponse.ts | 6 +-
.../crm/types/RemoteResponseResponseType.ts | 15 +
.../resources/crm/types/RoleEnum.ts | 4 +-
src/serialization/resources/crm/types/Task.ts | 3 +
.../resources/crm/types/TaskContact.ts | 13 +
.../resources/crm/types/TaskRequest.ts | 3 +
.../resources/crm/types/TaskRequestContact.ts | 15 +
.../resources/crm/types/index.ts | 8 +-
.../requests/CreateFieldMappingRequest.ts | 4 +-
.../PatchedEditFieldMappingRequest.ts | 4 +-
.../files/types/FilesListRequestExpand.ts | 29 -
.../files/types/FilesListRequestExpandItem.ts | 14 +
.../files/types/FilesRetrieveRequestExpand.ts | 29 -
.../types/FilesRetrieveRequestExpandItem.ts | 14 +
.../resources/files/types/index.ts | 4 +-
.../folders/types/FoldersListRequestExpand.ts | 29 -
.../types/FoldersListRequestExpandItem.ts | 14 +
.../types/FoldersRetrieveRequestExpand.ts | 29 -
.../types/FoldersRetrieveRequestExpandItem.ts | 14 +
.../resources/folders/types/index.ts | 4 +-
.../filestorage/resources/groups/index.ts | 1 +
.../types/GroupsListRequestExpandItem.ts | 14 +
.../types/GroupsRetrieveRequestExpandItem.ts | 14 +
.../resources/groups/types/index.ts | 2 +
.../resources/filestorage/resources/index.ts | 3 +
.../client/requests/EndUserDetailsRequest.ts | 6 +-
.../filestorage/resources/linkToken/index.ts | 1 +
.../types/EndUserDetailsRequestLanguage.ts | 15 +
.../resources/linkToken/types/index.ts | 1 +
.../filestorage/types/AccountDetails.ts | 6 +-
.../types/AccountDetailsAndActions.ts | 12 +-
.../types/AccountDetailsAndActionsCategory.ts | 15 +
.../types/AccountDetailsAndActionsStatus.ts | 15 +
.../types/AccountDetailsCategory.ts | 4 +-
.../types/FieldMappingApiInstance.ts | 2 +
.../resources/filestorage/types/Permission.ts | 7 +
.../types/RegenerateAccountToken.ts | 20 +
.../filestorage/types/RemoteResponse.ts | 6 +-
.../types/RemoteResponseResponseType.ts | 15 +
.../resources/filestorage/types/RoleEnum.ts | 4 +-
.../resources/filestorage/types/SyncStatus.ts | 6 +-
.../filestorage/types/SyncStatusStatus.ts | 15 +
.../resources/filestorage/types/index.ts | 6 +
.../EmployeePayrollRunsListRequestExpand.ts | 14 -
...mployeePayrollRunsListRequestExpandItem.ts | 14 +
...mployeePayrollRunsRetrieveRequestExpand.ts | 14 -
...yeePayrollRunsRetrieveRequestExpandItem.ts | 14 +
.../employeePayrollRuns/types/index.ts | 4 +-
.../employees/client/requests/index.ts | 1 -
.../types/EmployeesListRequestExpand.ts | 525 -
.../types/EmployeesListRequestExpandItem.ts | 31 +
.../types/EmployeesRetrieveRequestExpand.ts | 525 -
.../EmployeesRetrieveRequestExpandItem.ts | 31 +
.../hris/resources/employees/types/index.ts | 5 +-
.../types/EmploymentsListRequestExpand.ts | 14 -
.../types/EmploymentsListRequestExpandItem.ts | 14 +
.../types/EmploymentsRetrieveRequestExpand.ts | 14 -
.../EmploymentsRetrieveRequestExpandItem.ts | 14 +
.../hris/resources/employments/types/index.ts | 4 +-
.../PatchedEditFieldMappingRequest.ts | 2 +-
.../resources/hris/resources/groups/index.ts | 1 +
.../groups/types/GroupsTypesListResponse.ts | 18 +
.../hris/resources/groups/types/index.ts | 1 +
.../resources/hris/resources/index.ts | 2 +
.../client/requests/EndUserDetailsRequest.ts | 6 -
...ilsRequestCompletedAccountInitialScreen.ts | 15 -
.../hris/resources/linkToken/types/index.ts | 1 -
.../timeOff/types/TimeOffListRequestExpand.ts | 14 -
.../types/TimeOffListRequestExpandItem.ts | 14 +
.../types/TimeOffRetrieveRequestExpand.ts | 14 -
.../types/TimeOffRetrieveRequestExpandItem.ts | 14 +
.../hris/resources/timeOff/types/index.ts | 4 +-
.../CompletedAccountInitialScreenEnum.ts | 14 -
.../IgnoreCommonModelRequest.ts | 10 +-
.../types/IgnoreCommonModelRequestReason.ts | 8 +-
.../resources/hris/types/MetaResponse.ts | 5 +
.../hris/types/MultipartFormFieldRequest.ts | 6 +-
.../MultipartFormFieldRequestEncoding.ts | 15 -
.../hris/types/RegenerateAccountToken.ts | 20 +
.../resources/hris/types/RoleEnum.ts | 4 +-
.../resources/hris/types/SyncStatus.ts | 6 +-
.../resources/hris/types/SyncStatusStatus.ts | 15 +
.../resources/hris/types/index.ts | 6 +-
.../types/CollectionsListRequestExpandItem.ts | 14 +
.../CollectionsRetrieveRequestExpandItem.ts | 14 +
.../CollectionsViewersListRequestExpand.ts | 14 -
...CollectionsViewersListRequestExpandItem.ts | 14 +
.../resources/collections/types/index.ts | 4 +-
.../types/CommentsListRequestExpand.ts | 29 -
.../types/CommentsListRequestExpandItem.ts | 14 +
.../types/CommentsRetrieveRequestExpand.ts | 29 -
.../CommentsRetrieveRequestExpandItem.ts | 14 +
.../resources/comments/types/index.ts | 4 +-
.../requests/CreateFieldMappingRequest.ts | 2 +-
.../PatchedEditFieldMappingRequest.ts | 2 +-
.../client/requests/EndUserDetailsRequest.ts | 6 -
...ilsRequestCompletedAccountInitialScreen.ts | 15 -
.../resources/linkToken/types/index.ts | 1 -
.../types/ProjectsUsersListRequestExpand.ts | 14 -
.../ProjectsUsersListRequestExpandItem.ts | 14 +
.../resources/projects/types/index.ts | 2 +-
.../tickets/types/TicketsListRequestExpand.ts | 525 -
.../types/TicketsListRequestExpandItem.ts | 33 +
...tsLiveSearchRetrieveRequestRemoteFields.ts | 29 +
...iveSearchRetrieveRequestShowEnumOrigins.ts | 29 +
.../types/TicketsRetrieveRequestExpand.ts | 525 -
.../types/TicketsRetrieveRequestExpandItem.ts | 33 +
.../types/TicketsViewersListRequestExpand.ts | 14 -
.../TicketsViewersListRequestExpandItem.ts | 14 +
.../resources/tickets/types/index.ts | 8 +-
.../users/types/UsersListRequestExpand.ts | 14 -
.../users/types/UsersListRequestExpandItem.ts | 14 +
.../users/types/UsersRetrieveRequestExpand.ts | 14 -
.../types/UsersRetrieveRequestExpandItem.ts | 14 +
.../ticketing/resources/users/types/index.ts | 4 +-
.../resources/ticketing/types/ActionsEnum.ts | 14 +
.../ticketing/types/CategoriesEnum.ts | 4 +-
.../resources/ticketing/types/CategoryEnum.ts | 4 +-
.../resources/ticketing/types/Collection.ts | 9 +-
.../types/CollectionCollectionType.ts | 15 -
.../types/CollectionPermissionsItem.ts | 15 +
.../CompletedAccountInitialScreenEnum.ts | 14 -
.../resources/ticketing/types/EffectEnum.ts | 12 +
.../ticketing/types/PatchedTicketRequest.ts | 10 +-
.../types/PatchedTicketRequestPriority.ts | 15 -
.../resources/ticketing/types/Permission.ts | 57 +
.../ticketing/types/PermissionEffect.ts | 15 +
.../ticketing/types/PermissionRequest.ts | 54 +
.../types/PermissionRequestEffect.ts | 15 +
.../ticketing/types/RegenerateAccountToken.ts | 20 +
.../ticketing/types/RemoteFieldClass.ts | 12 +-
.../types/RemoteFieldClassFieldFormat.ts | 15 -
.../types/RemoteFieldClassFieldType.ts | 15 -
.../ticketing/types/RemoteResponse.ts | 6 +-
.../types/RemoteResponseResponseType.ts | 15 +
.../resources/ticketing/types/RoleEnum.ts | 4 +-
.../ticketing/types/RoleTicketAccess.ts | 4 +-
.../ticketing/types/RoleTicketActionsItem.ts | 4 +-
.../resources/ticketing/types/SyncStatus.ts | 6 +-
.../ticketing/types/SyncStatusStatus.ts | 15 +
.../resources/ticketing/types/Ticket.ts | 11 +-
.../resources/ticketing/types/index.ts | 15 +-
src/version.ts | 2 +-
tests/unit/utils/setObjectProperty.test.ts | 76 +
.../wire/{ats => ATS}/accountDetails.test.ts | 0
tests/wire/{ats => ATS}/accountToken.test.ts | 28 +
tests/wire/{ats => ATS}/activities.test.ts | 47 +-
tests/wire/{ats => ATS}/applications.test.ts | 47 +-
.../{ats => ATS}/asyncPassthrough.test.ts | 0
tests/wire/{ats => ATS}/attachments.test.ts | 41 +-
tests/wire/{ats => ATS}/auditTrail.test.ts | 25 +-
.../{ats => ATS}/availableActions.test.ts | 0
tests/wire/{ats => ATS}/candidates.test.ts | 49 +-
tests/wire/{ats => ATS}/deleteAccount.test.ts | 0
tests/wire/{ats => ATS}/departments.test.ts | 33 +-
tests/wire/{ats => ATS}/eeocs.test.ts | 47 +-
tests/wire/{ats => ATS}/fieldMapping.test.ts | 42 +-
tests/wire/{ats => ATS}/forceResync.test.ts | 0
tests/wire/{ats => ATS}/generateKey.test.ts | 0
tests/wire/{ats => ATS}/interviews.test.ts | 53 +-
tests/wire/{ats => ATS}/issues.test.ts | 47 +-
.../{ats => ATS}/jobInterviewStages.test.ts | 37 +-
tests/wire/{ats => ATS}/jobPostings.test.ts | 37 +-
tests/wire/{ats => ATS}/jobs.test.ts | 101 +-
tests/wire/{ats => ATS}/linkToken.test.ts | 0
.../wire/{ats => ATS}/linkedAccounts.test.ts | 39 +-
tests/wire/{ats => ATS}/offers.test.ts | 50 +-
tests/wire/{ats => ATS}/offices.test.ts | 39 +-
tests/wire/{ats => ATS}/passthrough.test.ts | 0
tests/wire/{ats => ATS}/regenerateKey.test.ts | 0
tests/wire/{ats => ATS}/rejectReasons.test.ts | 33 +-
tests/wire/{ats => ATS}/scopes.test.ts | 0
tests/wire/{ats => ATS}/scorecards.test.ts | 51 +-
tests/wire/{ats => ATS}/syncStatus.test.ts | 17 +-
tests/wire/{ats => ATS}/tags.test.ts | 39 +-
tests/wire/{ats => ATS}/users.test.ts | 45 +-
.../{ats => ATS}/webhookReceivers.test.ts | 0
.../accountDetails.test.ts | 0
.../accountToken.test.ts | 28 +
.../accountingPeriods.test.ts | 23 +-
.../accounts.test.ts | 319 +-
.../addresses.test.ts | 0
.../asyncPassthrough.test.ts | 0
.../asyncTasks.test.ts | 0
.../attachments.test.ts | 255 +-
.../auditTrail.test.ts | 25 +-
.../availableActions.test.ts | 0
.../balanceSheets.test.ts | 37 +-
.../bankFeedAccounts.test.ts | 259 +-
.../bankFeedTransactions.test.ts | 247 +-
.../cashFlowStatements.test.ts | 37 +-
.../companyInfo.test.ts | 36 +-
.../contacts.test.ts | 382 +-
tests/wire/Accounting/creditNotes.test.ts | 2349 ++
.../deleteAccount.test.ts | 0
.../employees.test.ts | 37 +-
.../expenseReports.test.ts | 544 +-
.../expenses.test.ts | 962 +-
.../fieldMapping.test.ts | 275 +-
.../forceResync.test.ts | 0
.../generalLedgerTransactions.test.ts | 41 +-
.../generateKey.test.ts | 0
.../incomeStatements.test.ts | 37 +-
.../invoices.test.ts | 946 +-
.../{accounting => Accounting}/issues.test.ts | 41 +-
.../wire/Accounting/itemFulfillments.test.ts | 1161 +
.../{accounting => Accounting}/items.test.ts | 297 +-
.../journalEntries.test.ts | 950 +-
.../linkToken.test.ts | 0
.../linkedAccounts.test.ts | 39 +-
.../passthrough.test.ts | 0
.../paymentMethods.test.ts | 23 +-
.../paymentTerms.test.ts | 25 +-
.../payments.test.ts | 480 +-
.../phoneNumbers.test.ts | 0
.../projects.test.ts | 37 +-
.../purchaseOrders.test.ts} | 1301 +-
.../regenerateKey.test.ts | 0
.../salesOrders.test.ts} | 1062 +-
.../{accounting => Accounting}/scopes.test.ts | 0
.../syncStatus.test.ts | 17 +-
.../taxRates.test.ts | 39 +-
.../trackingCategories.test.ts | 47 +-
.../transactions.test.ts | 49 +-
tests/wire/Accounting/vendorCredits.test.ts | 2447 +++
.../webhookReceivers.test.ts | 0
.../wire/{crm => CRM}/accountDetails.test.ts | 0
tests/wire/{crm => CRM}/accountToken.test.ts | 28 +
tests/wire/{crm => CRM}/accounts.test.ts | 76 +-
.../{crm => CRM}/associationTypes.test.ts | 43 +-
tests/wire/{crm => CRM}/associations.test.ts | 36 +-
.../{crm => CRM}/asyncPassthrough.test.ts | 0
tests/wire/{crm => CRM}/auditTrail.test.ts | 25 +-
.../{crm => CRM}/availableActions.test.ts | 0
tests/wire/{crm => CRM}/contacts.test.ts | 78 +-
.../{crm => CRM}/customObjectClasses.test.ts | 35 +-
tests/wire/{crm => CRM}/customObjects.test.ts | 64 +-
tests/wire/{crm => CRM}/deleteAccount.test.ts | 0
.../wire/{crm => CRM}/engagementTypes.test.ts | 64 +-
tests/wire/{crm => CRM}/engagements.test.ts | 70 +-
tests/wire/{crm => CRM}/fieldMapping.test.ts | 29 +-
tests/wire/{crm => CRM}/forceResync.test.ts | 0
tests/wire/{crm => CRM}/generateKey.test.ts | 0
tests/wire/{crm => CRM}/issues.test.ts | 47 +-
tests/wire/{crm => CRM}/leads.test.ts | 88 +-
tests/wire/{crm => CRM}/linkToken.test.ts | 0
tests/wire/CRM/linkedAccounts.test.ts | 119 +
tests/wire/{crm => CRM}/notes.test.ts | 80 +-
tests/wire/{crm => CRM}/opportunities.test.ts | 80 +-
tests/wire/{crm => CRM}/passthrough.test.ts | 0
tests/wire/{crm => CRM}/regenerateKey.test.ts | 0
tests/wire/{crm => CRM}/scopes.test.ts | 0
tests/wire/{crm => CRM}/stages.test.ts | 70 +-
tests/wire/{crm => CRM}/syncStatus.test.ts | 17 +-
tests/wire/{crm => CRM}/tasks.test.ts | 80 +-
tests/wire/{crm => CRM}/users.test.ts | 72 +-
.../{crm => CRM}/webhookReceivers.test.ts | 0
.../{hris => HRIS}/accountDetails.test.ts | 0
.../wire/{hris => HRIS}/accountToken.test.ts | 28 +
.../{hris => HRIS}/asyncPassthrough.test.ts | 0
tests/wire/{hris => HRIS}/auditTrail.test.ts | 25 +-
.../{hris => HRIS}/availableActions.test.ts | 0
tests/wire/{hris => HRIS}/bankInfo.test.ts | 53 +-
tests/wire/{hris => HRIS}/benefits.test.ts | 43 +-
tests/wire/{hris => HRIS}/companies.test.ts | 39 +-
.../wire/{hris => HRIS}/deleteAccount.test.ts | 0
tests/wire/{hris => HRIS}/dependents.test.ts | 37 +-
.../employeePayrollRuns.test.ts | 47 +-
tests/wire/{hris => HRIS}/employees.test.ts | 89 +-
.../{hris => HRIS}/employerBenefits.test.ts | 33 +-
tests/wire/{hris => HRIS}/employments.test.ts | 43 +-
.../wire/{hris => HRIS}/fieldMapping.test.ts | 4 +-
tests/wire/{hris => HRIS}/forceResync.test.ts | 0
tests/wire/{hris => HRIS}/generateKey.test.ts | 0
tests/wire/{hris => HRIS}/groups.test.ts | 76 +-
tests/wire/{hris => HRIS}/issues.test.ts | 47 +-
tests/wire/{hris => HRIS}/linkToken.test.ts | 0
.../{hris => HRIS}/linkedAccounts.test.ts | 39 +-
tests/wire/{hris => HRIS}/locations.test.ts | 45 +-
tests/wire/{hris => HRIS}/passthrough.test.ts | 0
tests/wire/{hris => HRIS}/payGroups.test.ts | 33 +-
tests/wire/{hris => HRIS}/payrollRuns.test.ts | 47 +-
.../wire/{hris => HRIS}/regenerateKey.test.ts | 0
tests/wire/{hris => HRIS}/scopes.test.ts | 0
tests/wire/{hris => HRIS}/syncStatus.test.ts | 17 +-
tests/wire/{hris => HRIS}/teams.test.ts | 43 +-
tests/wire/{hris => HRIS}/timeOff.test.ts | 63 +-
.../{hris => HRIS}/timeOffBalances.test.ts | 43 +-
.../{hris => HRIS}/timesheetEntries.test.ts | 49 +-
.../{hris => HRIS}/webhookReceivers.test.ts | 0
.../accountDetails.test.ts | 0
.../accountToken.test.ts | 28 +
.../{ticketing => Ticketing}/accounts.test.ts | 33 +-
.../asyncPassthrough.test.ts | 0
.../attachments.test.ts | 39 +-
.../auditTrail.test.ts | 25 +-
.../availableActions.test.ts | 0
.../collections.test.ts | 73 +-
.../{ticketing => Ticketing}/comments.test.ts | 39 +-
.../{ticketing => Ticketing}/contacts.test.ts | 37 +-
.../deleteAccount.test.ts | 0
.../fieldMapping.test.ts | 5 +-
.../forceResync.test.ts | 0
.../generateKey.test.ts | 0
.../{ticketing => Ticketing}/issues.test.ts | 41 +-
.../linkToken.test.ts | 0
.../linkedAccounts.test.ts | 39 +-
.../passthrough.test.ts | 0
.../{ticketing => Ticketing}/projects.test.ts | 57 +-
.../regenerateKey.test.ts | 0
.../{ticketing => Ticketing}/roles.test.ts | 33 +-
.../{ticketing => Ticketing}/scopes.test.ts | 0
.../syncStatus.test.ts | 17 +-
.../{ticketing => Ticketing}/tags.test.ts | 39 +-
.../{ticketing => Ticketing}/teams.test.ts | 33 +-
.../{ticketing => Ticketing}/tickets.test.ts | 325 +-
.../{ticketing => Ticketing}/users.test.ts | 42 +-
.../webhookReceivers.test.ts | 0
tests/wire/accounting/creditNotes.test.ts | 1026 -
tests/wire/crm/linkedAccounts.test.ts | 110 -
tests/wire/filestorage/accountToken.test.ts | 28 +
tests/wire/filestorage/auditTrail.test.ts | 25 +-
tests/wire/filestorage/drives.test.ts | 35 +-
tests/wire/filestorage/fieldMapping.test.ts | 21 +-
tests/wire/filestorage/files.test.ts | 80 +-
tests/wire/filestorage/folders.test.ts | 41 +-
tests/wire/filestorage/groups.test.ts | 35 +-
tests/wire/filestorage/issues.test.ts | 41 +-
tests/wire/filestorage/linkedAccounts.test.ts | 39 +-
tests/wire/filestorage/syncStatus.test.ts | 17 +-
tests/wire/filestorage/users.test.ts | 36 +-
1582 files changed, 62652 insertions(+), 66351 deletions(-)
create mode 100644 src/api/resources/accounting/resources/accounts/client/requests/AccountBulkRequest.ts
create mode 100644 src/api/resources/accounting/resources/accounts/client/requests/AccountsBatchObjectsListRequest.ts
rename src/api/resources/accounting/resources/{bankFeedAccounts/client/requests/BankFeedAccountEndpointRequest.ts => accounts/client/requests/AccountsCreateRequest.ts} (74%)
create mode 100644 src/api/resources/accounting/resources/accounts/types/AccountsBatchObjectsListRequestClassification.ts
create mode 100644 src/api/resources/accounting/resources/accounts/types/AccountsBatchObjectsListRequestRemoteFields.ts
create mode 100644 src/api/resources/accounting/resources/accounts/types/AccountsBatchObjectsListRequestShowEnumOrigins.ts
create mode 100644 src/api/resources/accounting/resources/accounts/types/AccountsBatchObjectsListRequestStatus.ts
create mode 100644 src/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentBulkRequest.ts
create mode 100644 src/api/resources/accounting/resources/attachments/client/requests/AttachmentsBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/attachments/client/requests/AttachmentsCreateRequest.ts
create mode 100644 src/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountBulkRequest.ts
create mode 100644 src/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsCreateRequest.ts
create mode 100644 src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionBulkRequest.ts
create mode 100644 src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsCreateRequest.ts
delete mode 100644 src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/contacts/client/requests/ContactBulkRequest.ts
delete mode 100644 src/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.ts
create mode 100644 src/api/resources/accounting/resources/contacts/client/requests/ContactsBatchObjectsListRequest.ts
rename src/api/resources/accounting/resources/{bankFeedTransactions/client/requests/BankFeedTransactionEndpointRequest.ts => contacts/client/requests/ContactsCreateRequest.ts} (74%)
create mode 100644 src/api/resources/accounting/resources/contacts/types/ContactsBatchObjectsListRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/contacts/types/ContactsBatchObjectsListRequestStatus.ts
delete mode 100644 src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/contacts/types/ContactsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/creditNotes/client/requests/ApplyCreditNoteRequest.ts
create mode 100644 src/api/resources/accounting/resources/creditNotes/client/requests/CreditNoteBulkRequest.ts
create mode 100644 src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesCreateRequest.ts
rename src/api/resources/accounting/resources/creditNotes/client/requests/{CreditNoteEndpointRequest.ts => PatchedCreditNoteEndpointRequest.ts} (90%)
create mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesBatchObjectsListRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesBatchObjectsListRequestRemoteFields.ts
create mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesBatchObjectsListRequestShowEnumOrigins.ts
delete mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportBulkRequest.ts
create mode 100644 src/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsBatchObjectsListRequest.ts
rename src/api/resources/accounting/resources/expenseReports/client/requests/{ExpenseReportEndpointRequest.ts => ExpenseReportsCreateRequest.ts} (60%)
create mode 100644 src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/expenses/client/requests/ExpenseBulkRequest.ts
delete mode 100644 src/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.ts
create mode 100644 src/api/resources/accounting/resources/expenses/client/requests/ExpensesBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/expenses/client/requests/ExpensesCreateRequest.ts
create mode 100644 src/api/resources/accounting/resources/expenses/types/ExpensesBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/expenses/types/ExpensesListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/invoices/client/requests/InvoiceBulkRequest.ts
delete mode 100644 src/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.ts
create mode 100644 src/api/resources/accounting/resources/invoices/client/requests/InvoicesBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/invoices/client/requests/InvoicesCreateRequest.ts
create mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestStatus.ts
create mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestType.ts
delete mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/client/Client.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/client/index.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentBulkRequest.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentsBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentsCreateRequest.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentsLinesRemoteFieldClassesListRequest.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentsRemoteFieldClassesListRequest.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentsRetrieveRequest.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/client/requests/index.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/exports.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/index.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/types/ItemFulfillmentsBatchObjectsListRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/types/ItemFulfillmentsListRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/types/ItemFulfillmentsRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/itemFulfillments/types/index.ts
create mode 100644 src/api/resources/accounting/resources/items/client/requests/ItemBulkRequest.ts
delete mode 100644 src/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.ts
create mode 100644 src/api/resources/accounting/resources/items/client/requests/ItemsBatchObjectsListRequest.ts
rename src/api/resources/accounting/resources/{attachments/client/requests/AccountingAttachmentEndpointRequest.ts => items/client/requests/ItemsCreateRequest.ts} (75%)
create mode 100644 src/api/resources/accounting/resources/items/types/ItemsBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/items/types/ItemsListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/items/types/ItemsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesCreateRequest.ts
create mode 100644 src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryBulkRequest.ts
delete mode 100644 src/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.ts
create mode 100644 src/api/resources/accounting/resources/journalEntries/types/JournalEntriesBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/payments/client/requests/PaymentBulkRequest.ts
delete mode 100644 src/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.ts
create mode 100644 src/api/resources/accounting/resources/payments/client/requests/PaymentsBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/payments/client/requests/PaymentsCreateRequest.ts
create mode 100644 src/api/resources/accounting/resources/payments/types/PaymentsBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/payments/types/PaymentsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/projects/types/ProjectsListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/projects/types/ProjectsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderBulkRequest.ts
delete mode 100644 src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.ts
create mode 100644 src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersCreateRequest.ts
create mode 100644 src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/client/Client.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/client/index.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/client/requests/SalesOrderBulkRequest.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/client/requests/SalesOrdersBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/client/requests/SalesOrdersCreateRequest.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/client/requests/SalesOrdersLinesRemoteFieldClassesListRequest.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/client/requests/SalesOrdersListRequest.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/client/requests/SalesOrdersRemoteFieldClassesListRequest.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/client/requests/SalesOrdersRetrieveRequest.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/client/requests/index.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/exports.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/index.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/types/SalesOrdersBatchObjectsListRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/types/SalesOrdersListRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/types/SalesOrdersRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/salesOrders/types/index.ts
delete mode 100644 src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/resources/vendorCredits/client/requests/ApplyVendorCreditRequest.ts
rename src/api/resources/accounting/resources/{accounts/client/requests/AccountEndpointRequest.ts => vendorCredits/client/requests/PatchedVendorCreditEndpointRequest.ts} (80%)
create mode 100644 src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditBulkRequest.ts
delete mode 100644 src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditEndpointRequest.ts
create mode 100644 src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsBatchObjectsListRequest.ts
create mode 100644 src/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsCreateRequest.ts
create mode 100644 src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpandItem.ts
delete mode 100644 src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/accounting/types/AccountBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/AccountCompany.ts
create mode 100644 src/api/resources/accounting/types/AccountEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/AccountRequestCompany.ts
create mode 100644 src/api/resources/accounting/types/AccountingAttachmentBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/AccountingAttachmentEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/BankFeedAccountBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/BankFeedAccountEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/BankFeedTransactionBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/BankFeedTransactionEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/ContactBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/ContactEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/CreditNoteBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/CreditNoteEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/ExpenseBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/ExpenseEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/ExpenseReportAccountingPeriod.ts
create mode 100644 src/api/resources/accounting/types/ExpenseReportBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/ExpenseReportCurrency.ts
create mode 100644 src/api/resources/accounting/types/ExpenseReportEmployee.ts
create mode 100644 src/api/resources/accounting/types/ExpenseReportEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/ExpenseReportLineCurrency.ts
create mode 100644 src/api/resources/accounting/types/ExpenseReportLineRequestCurrency.ts
rename src/api/resources/accounting/types/{DataPassthroughRequestMethod.ts => ExpenseReportLinesItem.ts} (57%)
create mode 100644 src/api/resources/accounting/types/ExpenseReportRequestCurrency.ts
create mode 100644 src/api/resources/accounting/types/ExpenseReportRequestStatus.ts
create mode 100644 src/api/resources/accounting/types/InvoiceBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/InvoiceEndpointRequest.ts
rename src/api/resources/accounting/types/{AccountDetailsCategory.ts => InvoiceSalesOrdersItem.ts} (59%)
create mode 100644 src/api/resources/accounting/types/ItemBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/ItemEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillment.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentCompany.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentCustomer.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentLine.ts
rename src/api/resources/{crm/types/RemoteFieldClassFieldType.ts => accounting/types/ItemFulfillmentLineItem.ts} (60%)
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentLineRequest.ts
rename src/api/resources/{ticketing/types/RemoteFieldClassFieldType.ts => accounting/types/ItemFulfillmentLineRequestItem.ts} (58%)
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentLineRequestSalesOrderLine.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentLineRequestTrackingCategoriesItem.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentLineSalesOrderLine.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentLineTrackingCategoriesItem.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentLinesItem.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentRequest.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentRequestCompany.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentRequestCustomer.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentRequestSalesOrder.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentRequestStatus.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentResponse.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentSalesOrder.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentStatus.ts
create mode 100644 src/api/resources/accounting/types/ItemFulfillmentStatusEnum.ts
create mode 100644 src/api/resources/accounting/types/JournalEntryBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/JournalEntryEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/PaginatedItemFulfillmentList.ts
create mode 100644 src/api/resources/accounting/types/PaginatedSalesOrderList.ts
create mode 100644 src/api/resources/accounting/types/PatchedContactRequestStatus.ts
create mode 100644 src/api/resources/accounting/types/PatchedVendorCreditRequest.ts
create mode 100644 src/api/resources/accounting/types/PatchedVendorCreditRequestCurrency.ts
create mode 100644 src/api/resources/accounting/types/PaymentBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/PaymentEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/PurchaseOrderBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/PurchaseOrderEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/RegenerateAccountToken.ts
create mode 100644 src/api/resources/accounting/types/SalesOrder.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderCompany.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderCurrency.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderCustomer.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderEndpointRequest.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLine.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLineCompany.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLineItem.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLineRequest.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLineRequestCompany.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLineRequestItem.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLineRequestTaxRate.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLineRequestTrackingCategoriesItem.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLineTaxRate.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLineTrackingCategoriesItem.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderLinesItem.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderPaymentTerm.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderRequest.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderRequestCompany.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderRequestCurrency.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderRequestCustomer.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderRequestPaymentTerm.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderRequestShippingAddress.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderRequestStatus.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderRequestTrackingCategoriesItem.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderResponse.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderShippingAddress.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderStatus.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderStatusEnum.ts
create mode 100644 src/api/resources/accounting/types/SalesOrderTrackingCategoriesItem.ts
create mode 100644 src/api/resources/accounting/types/SyncStatusLastSyncResult.ts
create mode 100644 src/api/resources/accounting/types/TransactionCompany.ts
create mode 100644 src/api/resources/accounting/types/VendorCreditBatchItemRequest.ts
create mode 100644 src/api/resources/accounting/types/VendorCreditEndpointRequest.ts
delete mode 100644 src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/applications/types/ApplicationsListRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/candidates/types/CandidatesListRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/interviews/types/InterviewsListRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/jobs/types/JobsListRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/jobs/types/JobsListRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/jobs/types/JobsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/offers/types/OffersListRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/offers/types/OffersListRequestExpandItem.ts
create mode 100644 src/api/resources/ats/resources/offers/types/OffersListRequestStatus.ts
delete mode 100644 src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/offers/types/OffersRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/scorecards/types/ScorecardsListRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/ats/types/ActivityRequestActivityType.ts
rename src/api/resources/ats/{resources/candidates/client/requests => types}/IgnoreCommonModelRequest.ts (57%)
rename src/api/resources/ats/{resources/candidates => }/types/IgnoreCommonModelRequestReason.ts (73%)
create mode 100644 src/api/resources/ats/types/RegenerateAccountToken.ts
create mode 100644 src/api/resources/ats/types/ScreeningQuestionOptionsItem.ts
delete mode 100644 src/api/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/contacts/types/ContactsListRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/engagements/types/EngagementsListRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/leads/types/LeadsListRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/leads/types/LeadsListRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/leads/types/LeadsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/notes/types/NotesListRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/notes/types/NotesListRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/notes/types/NotesRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/tasks/types/TasksListRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/tasks/types/TasksListRequestExpandItem.ts
delete mode 100644 src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts
create mode 100644 src/api/resources/crm/resources/tasks/types/TasksRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/crm/types/LeadStatus.ts
create mode 100644 src/api/resources/crm/types/LeadStatusEnum.ts
create mode 100644 src/api/resources/crm/types/RegenerateAccountToken.ts
rename src/api/resources/crm/types/{RemoteFieldClassFieldFormat.ts => RemoteResponseResponseType.ts} (66%)
create mode 100644 src/api/resources/crm/types/TaskContact.ts
create mode 100644 src/api/resources/crm/types/TaskRequestContact.ts
delete mode 100644 src/api/resources/filestorage/resources/files/types/FilesListRequestExpand.ts
create mode 100644 src/api/resources/filestorage/resources/files/types/FilesListRequestExpandItem.ts
delete mode 100644 src/api/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts
create mode 100644 src/api/resources/filestorage/resources/files/types/FilesRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts
create mode 100644 src/api/resources/filestorage/resources/folders/types/FoldersListRequestExpandItem.ts
delete mode 100644 src/api/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts
create mode 100644 src/api/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/filestorage/resources/groups/types/GroupsListRequestExpandItem.ts
create mode 100644 src/api/resources/filestorage/resources/groups/types/GroupsRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/filestorage/resources/groups/types/index.ts
create mode 100644 src/api/resources/filestorage/resources/linkToken/types/EndUserDetailsRequestLanguage.ts
create mode 100644 src/api/resources/filestorage/resources/linkToken/types/index.ts
create mode 100644 src/api/resources/filestorage/types/AccountDetailsAndActionsCategory.ts
create mode 100644 src/api/resources/filestorage/types/AccountDetailsAndActionsStatus.ts
create mode 100644 src/api/resources/filestorage/types/AccountDetailsCategory.ts
create mode 100644 src/api/resources/filestorage/types/RegenerateAccountToken.ts
create mode 100644 src/api/resources/filestorage/types/RemoteResponseResponseType.ts
create mode 100644 src/api/resources/filestorage/types/SyncStatusStatus.ts
delete mode 100644 src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts
create mode 100644 src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpandItem.ts
delete mode 100644 src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts
create mode 100644 src/api/resources/hris/resources/employees/types/EmployeesListRequestExpandItem.ts
delete mode 100644 src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts
create mode 100644 src/api/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts
create mode 100644 src/api/resources/hris/resources/employments/types/EmploymentsListRequestExpandItem.ts
delete mode 100644 src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/hris/resources/groups/client/requests/GroupsTypesListRequest.ts
create mode 100644 src/api/resources/hris/resources/groups/types/GroupsTypesListResponse.ts
create mode 100644 src/api/resources/hris/resources/groups/types/index.ts
delete mode 100644 src/api/resources/hris/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts
delete mode 100644 src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts
create mode 100644 src/api/resources/hris/resources/timeOff/types/TimeOffListRequestExpandItem.ts
delete mode 100644 src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts
create mode 100644 src/api/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/hris/types/CompletedAccountInitialScreenEnum.ts
rename src/api/resources/hris/{resources/employees/client/requests => types}/IgnoreCommonModelRequest.ts (57%)
rename src/api/resources/hris/{resources/employees => }/types/IgnoreCommonModelRequestReason.ts (73%)
delete mode 100644 src/api/resources/hris/types/MultipartFormFieldRequestEncoding.ts
create mode 100644 src/api/resources/hris/types/RegenerateAccountToken.ts
create mode 100644 src/api/resources/hris/types/SyncStatusStatus.ts
create mode 100644 src/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpandItem.ts
create mode 100644 src/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.ts
create mode 100644 src/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpandItem.ts
delete mode 100644 src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts
create mode 100644 src/api/resources/ticketing/resources/comments/types/CommentsListRequestExpandItem.ts
delete mode 100644 src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts
delete mode 100644 src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts
create mode 100644 src/api/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpandItem.ts
create mode 100644 src/api/resources/ticketing/resources/tickets/client/requests/TicketsLiveSearchRetrieveRequest.ts
delete mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts
create mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpandItem.ts
create mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsLiveSearchRetrieveRequestRemoteFields.ts
create mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsLiveSearchRetrieveRequestShowEnumOrigins.ts
delete mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts
create mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpandItem.ts
delete mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.ts
create mode 100644 src/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpandItem.ts
delete mode 100644 src/api/resources/ticketing/resources/users/types/UsersListRequestExpand.ts
create mode 100644 src/api/resources/ticketing/resources/users/types/UsersListRequestExpandItem.ts
delete mode 100644 src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts
create mode 100644 src/api/resources/ticketing/resources/users/types/UsersRetrieveRequestExpandItem.ts
create mode 100644 src/api/resources/ticketing/types/ActionsEnum.ts
delete mode 100644 src/api/resources/ticketing/types/CollectionCollectionType.ts
create mode 100644 src/api/resources/ticketing/types/CollectionPermissionsItem.ts
delete mode 100644 src/api/resources/ticketing/types/CompletedAccountInitialScreenEnum.ts
create mode 100644 src/api/resources/ticketing/types/EffectEnum.ts
delete mode 100644 src/api/resources/ticketing/types/PatchedTicketRequestPriority.ts
create mode 100644 src/api/resources/ticketing/types/Permission.ts
create mode 100644 src/api/resources/ticketing/types/PermissionEffect.ts
create mode 100644 src/api/resources/ticketing/types/PermissionRequest.ts
create mode 100644 src/api/resources/ticketing/types/PermissionRequestEffect.ts
create mode 100644 src/api/resources/ticketing/types/RegenerateAccountToken.ts
delete mode 100644 src/api/resources/ticketing/types/RemoteFieldClassFieldFormat.ts
rename src/api/resources/{accounting/types/PatchedContactRequestAddressesItem.ts => ticketing/types/RemoteResponseResponseType.ts} (57%)
create mode 100644 src/api/resources/ticketing/types/SyncStatusStatus.ts
create mode 100644 src/core/pagination/CustomPager.ts
create mode 100644 src/core/pagination/Page.ts
create mode 100644 src/core/pagination/exports.ts
create mode 100644 src/core/pagination/index.ts
create mode 100644 src/core/utils/index.ts
create mode 100644 src/core/utils/setObjectProperty.ts
create mode 100644 src/serialization/resources/accounting/resources/accounts/client/requests/AccountBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/accounts/types/AccountsBatchObjectsListRequestClassification.ts
create mode 100644 src/serialization/resources/accounting/resources/accounts/types/AccountsBatchObjectsListRequestRemoteFields.ts
create mode 100644 src/serialization/resources/accounting/resources/accounts/types/AccountsBatchObjectsListRequestShowEnumOrigins.ts
create mode 100644 src/serialization/resources/accounting/resources/accounts/types/AccountsBatchObjectsListRequestStatus.ts
create mode 100644 src/serialization/resources/accounting/resources/attachments/client/requests/AccountingAttachmentBulkRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountBulkRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/companyInfo/types/CompanyInfoRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/contacts/client/requests/ContactBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/contacts/types/ContactsBatchObjectsListRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/contacts/types/ContactsBatchObjectsListRequestStatus.ts
delete mode 100644 src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/contacts/types/ContactsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/creditNotes/client/requests/ApplyCreditNoteRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/creditNotes/client/requests/CreditNoteBulkRequest.ts
rename src/serialization/resources/accounting/resources/creditNotes/client/requests/{CreditNoteEndpointRequest.ts => PatchedCreditNoteEndpointRequest.ts} (61%)
create mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesBatchObjectsListRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesBatchObjectsListRequestRemoteFields.ts
create mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesBatchObjectsListRequestShowEnumOrigins.ts
delete mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/creditNotes/types/CreditNotesRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/expenseReports/client/requests/ExpenseReportBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/expenses/client/requests/ExpenseBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/expenses/types/ExpensesBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/expenses/types/ExpensesListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/expenses/types/ExpensesRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/invoices/client/requests/InvoiceBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestStatus.ts
create mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestType.ts
delete mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/itemFulfillments/client/index.ts
create mode 100644 src/serialization/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentBulkRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/itemFulfillments/client/requests/index.ts
create mode 100644 src/serialization/resources/accounting/resources/itemFulfillments/index.ts
create mode 100644 src/serialization/resources/accounting/resources/itemFulfillments/types/ItemFulfillmentsBatchObjectsListRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/itemFulfillments/types/ItemFulfillmentsListRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/itemFulfillments/types/ItemFulfillmentsRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/itemFulfillments/types/index.ts
create mode 100644 src/serialization/resources/accounting/resources/items/client/requests/ItemBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/items/client/requests/ItemEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/items/types/ItemsBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/items/types/ItemsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/journalEntries/client/requests/JournalEntryBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/journalEntries/types/JournalEntriesRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/payments/client/requests/PaymentBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/payments/types/PaymentsBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/salesOrders/client/index.ts
create mode 100644 src/serialization/resources/accounting/resources/salesOrders/client/requests/SalesOrderBulkRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/salesOrders/client/requests/index.ts
create mode 100644 src/serialization/resources/accounting/resources/salesOrders/index.ts
create mode 100644 src/serialization/resources/accounting/resources/salesOrders/types/SalesOrdersBatchObjectsListRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/salesOrders/types/SalesOrdersListRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/salesOrders/types/SalesOrdersRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/salesOrders/types/index.ts
delete mode 100644 src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/resources/vendorCredits/client/requests/ApplyVendorCreditRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/vendorCredits/client/requests/PatchedVendorCreditEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/vendorCredits/client/requests/VendorCreditBulkRequest.ts
delete mode 100644 src/serialization/resources/accounting/resources/vendorCredits/client/requests/VendorCreditEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsBatchObjectsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/accounting/resources/vendorCredits/types/VendorCreditsRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/accounting/types/AccountBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/AccountCompany.ts
create mode 100644 src/serialization/resources/accounting/types/AccountEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/AccountRequestCompany.ts
create mode 100644 src/serialization/resources/accounting/types/AccountingAttachmentBatchItemRequest.ts
rename src/serialization/resources/accounting/{resources/attachments/client/requests => types}/AccountingAttachmentEndpointRequest.ts (53%)
create mode 100644 src/serialization/resources/accounting/types/BankFeedAccountBatchItemRequest.ts
rename src/serialization/resources/accounting/{resources/bankFeedAccounts/client/requests => types}/BankFeedAccountEndpointRequest.ts (53%)
create mode 100644 src/serialization/resources/accounting/types/BankFeedTransactionBatchItemRequest.ts
rename src/serialization/resources/accounting/{resources/bankFeedTransactions/client/requests => types}/BankFeedTransactionEndpointRequest.ts (53%)
create mode 100644 src/serialization/resources/accounting/types/ContactBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ContactEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/CreditNoteBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/CreditNoteEndpointRequest.ts
delete mode 100644 src/serialization/resources/accounting/types/DataPassthroughRequestMethod.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseReportAccountingPeriod.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseReportBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseReportCurrency.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseReportEmployee.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseReportEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineCurrency.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseReportLineRequestCurrency.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseReportLinesItem.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseReportRequestCurrency.ts
create mode 100644 src/serialization/resources/accounting/types/ExpenseReportRequestStatus.ts
create mode 100644 src/serialization/resources/accounting/types/InvoiceBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/InvoiceEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/InvoiceSalesOrdersItem.ts
create mode 100644 src/serialization/resources/accounting/types/ItemBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ItemEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillment.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentCompany.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentCustomer.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentLine.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentLineItem.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentLineRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentLineRequestItem.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentLineRequestSalesOrderLine.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentLineRequestTrackingCategoriesItem.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentLineSalesOrderLine.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentLineTrackingCategoriesItem.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentLinesItem.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentRequest.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentRequestCompany.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentRequestCustomer.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentRequestSalesOrder.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentRequestStatus.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentResponse.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentSalesOrder.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentStatus.ts
create mode 100644 src/serialization/resources/accounting/types/ItemFulfillmentStatusEnum.ts
create mode 100644 src/serialization/resources/accounting/types/JournalEntryBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/JournalEntryEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/PaginatedItemFulfillmentList.ts
create mode 100644 src/serialization/resources/accounting/types/PaginatedSalesOrderList.ts
create mode 100644 src/serialization/resources/accounting/types/PatchedContactRequestStatus.ts
create mode 100644 src/serialization/resources/accounting/types/PatchedVendorCreditRequest.ts
create mode 100644 src/serialization/resources/accounting/types/PatchedVendorCreditRequestCurrency.ts
create mode 100644 src/serialization/resources/accounting/types/PaymentBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/PaymentEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/PurchaseOrderBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/PurchaseOrderEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/RegenerateAccountToken.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrder.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderCompany.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderCurrency.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderCustomer.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderEndpointRequest.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLine.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLineCompany.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLineItem.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLineRequest.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLineRequestCompany.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLineRequestItem.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLineRequestTaxRate.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLineRequestTrackingCategoriesItem.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLineTaxRate.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLineTrackingCategoriesItem.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderLinesItem.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderPaymentTerm.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderRequest.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderRequestCompany.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderRequestCurrency.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderRequestCustomer.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderRequestPaymentTerm.ts
rename src/serialization/resources/accounting/types/{PatchedContactRequestAddressesItem.ts => SalesOrderRequestShippingAddress.ts} (59%)
create mode 100644 src/serialization/resources/accounting/types/SalesOrderRequestStatus.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderRequestTrackingCategoriesItem.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderResponse.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderShippingAddress.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderStatus.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderStatusEnum.ts
create mode 100644 src/serialization/resources/accounting/types/SalesOrderTrackingCategoriesItem.ts
create mode 100644 src/serialization/resources/accounting/types/SyncStatusLastSyncResult.ts
create mode 100644 src/serialization/resources/accounting/types/TransactionCompany.ts
create mode 100644 src/serialization/resources/accounting/types/VendorCreditBatchItemRequest.ts
create mode 100644 src/serialization/resources/accounting/types/VendorCreditEndpointRequest.ts
delete mode 100644 src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/applications/types/ApplicationsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/applications/types/ApplicationsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/candidates/types/CandidatesListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/candidates/types/CandidatesRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/interviews/types/InterviewsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/interviews/types/InterviewsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/jobs/types/JobsScreeningQuestionsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/offers/types/OffersListRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/offers/types/OffersListRequestExpandItem.ts
create mode 100644 src/serialization/resources/ats/resources/offers/types/OffersListRequestStatus.ts
delete mode 100644 src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/offers/types/OffersRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/scorecards/types/ScorecardsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/ats/resources/scorecards/types/ScorecardsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ats/types/ActivityRequestActivityType.ts
rename src/serialization/resources/ats/{resources/candidates/client/requests => types}/IgnoreCommonModelRequest.ts (58%)
rename src/serialization/resources/ats/{resources/candidates => }/types/IgnoreCommonModelRequestReason.ts (66%)
create mode 100644 src/serialization/resources/ats/types/RegenerateAccountToken.ts
create mode 100644 src/serialization/resources/ats/types/ScreeningQuestionOptionsItem.ts
delete mode 100644 src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/contacts/types/ContactsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/contacts/types/ContactsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/engagements/types/EngagementsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/engagements/types/EngagementsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/leads/types/LeadsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/leads/types/LeadsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/notes/types/NotesListRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/notes/types/NotesListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/notes/types/NotesRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/opportunities/types/OpportunitiesListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/opportunities/types/OpportunitiesRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/tasks/types/TasksListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/crm/resources/tasks/types/TasksRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/crm/types/LeadStatus.ts
create mode 100644 src/serialization/resources/crm/types/LeadStatusEnum.ts
create mode 100644 src/serialization/resources/crm/types/RegenerateAccountToken.ts
delete mode 100644 src/serialization/resources/crm/types/RemoteFieldClassFieldFormat.ts
delete mode 100644 src/serialization/resources/crm/types/RemoteFieldClassFieldType.ts
create mode 100644 src/serialization/resources/crm/types/RemoteResponseResponseType.ts
create mode 100644 src/serialization/resources/crm/types/TaskContact.ts
create mode 100644 src/serialization/resources/crm/types/TaskRequestContact.ts
delete mode 100644 src/serialization/resources/filestorage/resources/files/types/FilesListRequestExpand.ts
create mode 100644 src/serialization/resources/filestorage/resources/files/types/FilesListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/filestorage/resources/files/types/FilesRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/filestorage/resources/files/types/FilesRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/filestorage/resources/folders/types/FoldersListRequestExpand.ts
create mode 100644 src/serialization/resources/filestorage/resources/folders/types/FoldersListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/filestorage/resources/folders/types/FoldersRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/filestorage/resources/groups/index.ts
create mode 100644 src/serialization/resources/filestorage/resources/groups/types/GroupsListRequestExpandItem.ts
create mode 100644 src/serialization/resources/filestorage/resources/groups/types/GroupsRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/filestorage/resources/groups/types/index.ts
create mode 100644 src/serialization/resources/filestorage/resources/linkToken/types/EndUserDetailsRequestLanguage.ts
create mode 100644 src/serialization/resources/filestorage/resources/linkToken/types/index.ts
create mode 100644 src/serialization/resources/filestorage/types/AccountDetailsAndActionsCategory.ts
create mode 100644 src/serialization/resources/filestorage/types/AccountDetailsAndActionsStatus.ts
rename src/serialization/resources/{accounting => filestorage}/types/AccountDetailsCategory.ts (83%)
create mode 100644 src/serialization/resources/filestorage/types/RegenerateAccountToken.ts
create mode 100644 src/serialization/resources/filestorage/types/RemoteResponseResponseType.ts
create mode 100644 src/serialization/resources/filestorage/types/SyncStatusStatus.ts
delete mode 100644 src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpand.ts
create mode 100644 src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/hris/resources/employeePayrollRuns/types/EmployeePayrollRunsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpand.ts
create mode 100644 src/serialization/resources/hris/resources/employees/types/EmployeesListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/hris/resources/employees/types/EmployeesRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpand.ts
create mode 100644 src/serialization/resources/hris/resources/employments/types/EmploymentsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/hris/resources/employments/types/EmploymentsRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/hris/resources/groups/index.ts
create mode 100644 src/serialization/resources/hris/resources/groups/types/GroupsTypesListResponse.ts
create mode 100644 src/serialization/resources/hris/resources/groups/types/index.ts
delete mode 100644 src/serialization/resources/hris/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts
delete mode 100644 src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpand.ts
create mode 100644 src/serialization/resources/hris/resources/timeOff/types/TimeOffListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/hris/resources/timeOff/types/TimeOffRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/hris/types/CompletedAccountInitialScreenEnum.ts
rename src/serialization/resources/hris/{resources/employees/client/requests => types}/IgnoreCommonModelRequest.ts (58%)
rename src/serialization/resources/hris/{resources/employees => }/types/IgnoreCommonModelRequestReason.ts (66%)
delete mode 100644 src/serialization/resources/hris/types/MultipartFormFieldRequestEncoding.ts
create mode 100644 src/serialization/resources/hris/types/RegenerateAccountToken.ts
create mode 100644 src/serialization/resources/hris/types/SyncStatusStatus.ts
create mode 100644 src/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestExpandItem.ts
create mode 100644 src/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.ts
create mode 100644 src/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpand.ts
create mode 100644 src/serialization/resources/ticketing/resources/comments/types/CommentsListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/ticketing/resources/comments/types/CommentsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ticketing/resources/linkToken/types/EndUserDetailsRequestCompletedAccountInitialScreen.ts
delete mode 100644 src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpand.ts
create mode 100644 src/serialization/resources/ticketing/resources/projects/types/ProjectsUsersListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.ts
create mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpandItem.ts
create mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsLiveSearchRetrieveRequestRemoteFields.ts
create mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsLiveSearchRetrieveRequestShowEnumOrigins.ts
delete mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.ts
create mode 100644 src/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpand.ts
create mode 100644 src/serialization/resources/ticketing/resources/users/types/UsersListRequestExpandItem.ts
delete mode 100644 src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpand.ts
create mode 100644 src/serialization/resources/ticketing/resources/users/types/UsersRetrieveRequestExpandItem.ts
create mode 100644 src/serialization/resources/ticketing/types/ActionsEnum.ts
delete mode 100644 src/serialization/resources/ticketing/types/CollectionCollectionType.ts
create mode 100644 src/serialization/resources/ticketing/types/CollectionPermissionsItem.ts
delete mode 100644 src/serialization/resources/ticketing/types/CompletedAccountInitialScreenEnum.ts
create mode 100644 src/serialization/resources/ticketing/types/EffectEnum.ts
delete mode 100644 src/serialization/resources/ticketing/types/PatchedTicketRequestPriority.ts
create mode 100644 src/serialization/resources/ticketing/types/Permission.ts
create mode 100644 src/serialization/resources/ticketing/types/PermissionEffect.ts
create mode 100644 src/serialization/resources/ticketing/types/PermissionRequest.ts
create mode 100644 src/serialization/resources/ticketing/types/PermissionRequestEffect.ts
create mode 100644 src/serialization/resources/ticketing/types/RegenerateAccountToken.ts
delete mode 100644 src/serialization/resources/ticketing/types/RemoteFieldClassFieldFormat.ts
delete mode 100644 src/serialization/resources/ticketing/types/RemoteFieldClassFieldType.ts
create mode 100644 src/serialization/resources/ticketing/types/RemoteResponseResponseType.ts
create mode 100644 src/serialization/resources/ticketing/types/SyncStatusStatus.ts
create mode 100644 tests/unit/utils/setObjectProperty.test.ts
rename tests/wire/{ats => ATS}/accountDetails.test.ts (100%)
rename tests/wire/{ats => ATS}/accountToken.test.ts (69%)
rename tests/wire/{ats => ATS}/activities.test.ts (98%)
rename tests/wire/{ats => ATS}/applications.test.ts (99%)
rename tests/wire/{ats => ATS}/asyncPassthrough.test.ts (100%)
rename tests/wire/{ats => ATS}/attachments.test.ts (98%)
rename tests/wire/{ats => ATS}/auditTrail.test.ts (87%)
rename tests/wire/{ats => ATS}/availableActions.test.ts (100%)
rename tests/wire/{ats => ATS}/candidates.test.ts (99%)
rename tests/wire/{ats => ATS}/deleteAccount.test.ts (100%)
rename tests/wire/{ats => ATS}/departments.test.ts (93%)
rename tests/wire/{ats => ATS}/eeocs.test.ts (92%)
rename tests/wire/{ats => ATS}/fieldMapping.test.ts (97%)
rename tests/wire/{ats => ATS}/forceResync.test.ts (100%)
rename tests/wire/{ats => ATS}/generateKey.test.ts (100%)
rename tests/wire/{ats => ATS}/interviews.test.ts (98%)
rename tests/wire/{ats => ATS}/issues.test.ts (89%)
rename tests/wire/{ats => ATS}/jobInterviewStages.test.ts (94%)
rename tests/wire/{ats => ATS}/jobPostings.test.ts (95%)
rename tests/wire/{ats => ATS}/jobs.test.ts (86%)
rename tests/wire/{ats => ATS}/linkToken.test.ts (100%)
rename tests/wire/{ats => ATS}/linkedAccounts.test.ts (93%)
rename tests/wire/{ats => ATS}/offers.test.ts (92%)
rename tests/wire/{ats => ATS}/offices.test.ts (91%)
rename tests/wire/{ats => ATS}/passthrough.test.ts (100%)
rename tests/wire/{ats => ATS}/regenerateKey.test.ts (100%)
rename tests/wire/{ats => ATS}/rejectReasons.test.ts (93%)
rename tests/wire/{ats => ATS}/scopes.test.ts (100%)
rename tests/wire/{ats => ATS}/scorecards.test.ts (92%)
rename tests/wire/{ats => ATS}/syncStatus.test.ts (86%)
rename tests/wire/{ats => ATS}/tags.test.ts (85%)
rename tests/wire/{ats => ATS}/users.test.ts (92%)
rename tests/wire/{ats => ATS}/webhookReceivers.test.ts (100%)
rename tests/wire/{accounting => Accounting}/accountDetails.test.ts (100%)
rename tests/wire/{accounting => Accounting}/accountToken.test.ts (69%)
rename tests/wire/{accounting => Accounting}/accountingPeriods.test.ts (93%)
rename tests/wire/{accounting => Accounting}/accounts.test.ts (76%)
rename tests/wire/{accounting => Accounting}/addresses.test.ts (100%)
rename tests/wire/{accounting => Accounting}/asyncPassthrough.test.ts (100%)
rename tests/wire/{accounting => Accounting}/asyncTasks.test.ts (100%)
rename tests/wire/{accounting => Accounting}/attachments.test.ts (78%)
rename tests/wire/{accounting => Accounting}/auditTrail.test.ts (87%)
rename tests/wire/{accounting => Accounting}/availableActions.test.ts (100%)
rename tests/wire/{accounting => Accounting}/balanceSheets.test.ts (97%)
rename tests/wire/{accounting => Accounting}/bankFeedAccounts.test.ts (77%)
rename tests/wire/{accounting => Accounting}/bankFeedTransactions.test.ts (79%)
rename tests/wire/{accounting => Accounting}/cashFlowStatements.test.ts (97%)
rename tests/wire/{accounting => Accounting}/companyInfo.test.ts (96%)
rename tests/wire/{accounting => Accounting}/contacts.test.ts (84%)
create mode 100644 tests/wire/Accounting/creditNotes.test.ts
rename tests/wire/{accounting => Accounting}/deleteAccount.test.ts (100%)
rename tests/wire/{accounting => Accounting}/employees.test.ts (94%)
rename tests/wire/{accounting => Accounting}/expenseReports.test.ts (73%)
rename tests/wire/{accounting => Accounting}/expenses.test.ts (71%)
rename tests/wire/{accounting => Accounting}/fieldMapping.test.ts (90%)
rename tests/wire/{accounting => Accounting}/forceResync.test.ts (100%)
rename tests/wire/{accounting => Accounting}/generalLedgerTransactions.test.ts (97%)
rename tests/wire/{accounting => Accounting}/generateKey.test.ts (100%)
rename tests/wire/{accounting => Accounting}/incomeStatements.test.ts (98%)
rename tests/wire/{accounting => Accounting}/invoices.test.ts (76%)
rename tests/wire/{accounting => Accounting}/issues.test.ts (92%)
create mode 100644 tests/wire/Accounting/itemFulfillments.test.ts
rename tests/wire/{accounting => Accounting}/items.test.ts (85%)
rename tests/wire/{accounting => Accounting}/journalEntries.test.ts (71%)
rename tests/wire/{accounting => Accounting}/linkToken.test.ts (100%)
rename tests/wire/{accounting => Accounting}/linkedAccounts.test.ts (93%)
rename tests/wire/{accounting => Accounting}/passthrough.test.ts (100%)
rename tests/wire/{accounting => Accounting}/paymentMethods.test.ts (93%)
rename tests/wire/{accounting => Accounting}/paymentTerms.test.ts (94%)
rename tests/wire/{accounting => Accounting}/payments.test.ts (81%)
rename tests/wire/{accounting => Accounting}/phoneNumbers.test.ts (100%)
rename tests/wire/{accounting => Accounting}/projects.test.ts (94%)
rename tests/wire/{accounting/vendorCredits.test.ts => Accounting/purchaseOrders.test.ts} (53%)
rename tests/wire/{accounting => Accounting}/regenerateKey.test.ts (100%)
rename tests/wire/{accounting/purchaseOrders.test.ts => Accounting/salesOrders.test.ts} (72%)
rename tests/wire/{accounting => Accounting}/scopes.test.ts (100%)
rename tests/wire/{accounting => Accounting}/syncStatus.test.ts (86%)
rename tests/wire/{accounting => Accounting}/taxRates.test.ts (96%)
rename tests/wire/{accounting => Accounting}/trackingCategories.test.ts (94%)
rename tests/wire/{accounting => Accounting}/transactions.test.ts (97%)
create mode 100644 tests/wire/Accounting/vendorCredits.test.ts
rename tests/wire/{accounting => Accounting}/webhookReceivers.test.ts (100%)
rename tests/wire/{crm => CRM}/accountDetails.test.ts (100%)
rename tests/wire/{crm => CRM}/accountToken.test.ts (69%)
rename tests/wire/{crm => CRM}/accounts.test.ts (98%)
rename tests/wire/{crm => CRM}/associationTypes.test.ts (98%)
rename tests/wire/{crm => CRM}/associations.test.ts (91%)
rename tests/wire/{crm => CRM}/asyncPassthrough.test.ts (100%)
rename tests/wire/{crm => CRM}/auditTrail.test.ts (87%)
rename tests/wire/{crm => CRM}/availableActions.test.ts (100%)
rename tests/wire/{crm => CRM}/contacts.test.ts (98%)
rename tests/wire/{crm => CRM}/customObjectClasses.test.ts (96%)
rename tests/wire/{crm => CRM}/customObjects.test.ts (97%)
rename tests/wire/{crm => CRM}/deleteAccount.test.ts (100%)
rename tests/wire/{crm => CRM}/engagementTypes.test.ts (90%)
rename tests/wire/{crm => CRM}/engagements.test.ts (98%)
rename tests/wire/{crm => CRM}/fieldMapping.test.ts (97%)
rename tests/wire/{crm => CRM}/forceResync.test.ts (100%)
rename tests/wire/{crm => CRM}/generateKey.test.ts (100%)
rename tests/wire/{crm => CRM}/issues.test.ts (89%)
rename tests/wire/{crm => CRM}/leads.test.ts (97%)
rename tests/wire/{crm => CRM}/linkToken.test.ts (100%)
create mode 100644 tests/wire/CRM/linkedAccounts.test.ts
rename tests/wire/{crm => CRM}/notes.test.ts (97%)
rename tests/wire/{crm => CRM}/opportunities.test.ts (98%)
rename tests/wire/{crm => CRM}/passthrough.test.ts (100%)
rename tests/wire/{crm => CRM}/regenerateKey.test.ts (100%)
rename tests/wire/{crm => CRM}/scopes.test.ts (100%)
rename tests/wire/{crm => CRM}/stages.test.ts (89%)
rename tests/wire/{crm => CRM}/syncStatus.test.ts (86%)
rename tests/wire/{crm => CRM}/tasks.test.ts (98%)
rename tests/wire/{crm => CRM}/users.test.ts (91%)
rename tests/wire/{crm => CRM}/webhookReceivers.test.ts (100%)
rename tests/wire/{hris => HRIS}/accountDetails.test.ts (100%)
rename tests/wire/{hris => HRIS}/accountToken.test.ts (69%)
rename tests/wire/{hris => HRIS}/asyncPassthrough.test.ts (100%)
rename tests/wire/{hris => HRIS}/auditTrail.test.ts (87%)
rename tests/wire/{hris => HRIS}/availableActions.test.ts (100%)
rename tests/wire/{hris => HRIS}/bankInfo.test.ts (92%)
rename tests/wire/{hris => HRIS}/benefits.test.ts (92%)
rename tests/wire/{hris => HRIS}/companies.test.ts (91%)
rename tests/wire/{hris => HRIS}/deleteAccount.test.ts (100%)
rename tests/wire/{hris => HRIS}/dependents.test.ts (95%)
rename tests/wire/{hris => HRIS}/employeePayrollRuns.test.ts (98%)
rename tests/wire/{hris => HRIS}/employees.test.ts (98%)
rename tests/wire/{hris => HRIS}/employerBenefits.test.ts (94%)
rename tests/wire/{hris => HRIS}/employments.test.ts (95%)
rename tests/wire/{hris => HRIS}/fieldMapping.test.ts (99%)
rename tests/wire/{hris => HRIS}/forceResync.test.ts (100%)
rename tests/wire/{hris => HRIS}/generateKey.test.ts (100%)
rename tests/wire/{hris => HRIS}/groups.test.ts (82%)
rename tests/wire/{hris => HRIS}/issues.test.ts (89%)
rename tests/wire/{hris => HRIS}/linkToken.test.ts (100%)
rename tests/wire/{hris => HRIS}/linkedAccounts.test.ts (93%)
rename tests/wire/{hris => HRIS}/locations.test.ts (92%)
rename tests/wire/{hris => HRIS}/passthrough.test.ts (100%)
rename tests/wire/{hris => HRIS}/payGroups.test.ts (93%)
rename tests/wire/{hris => HRIS}/payrollRuns.test.ts (94%)
rename tests/wire/{hris => HRIS}/regenerateKey.test.ts (100%)
rename tests/wire/{hris => HRIS}/scopes.test.ts (100%)
rename tests/wire/{hris => HRIS}/syncStatus.test.ts (86%)
rename tests/wire/{hris => HRIS}/teams.test.ts (91%)
rename tests/wire/{hris => HRIS}/timeOff.test.ts (98%)
rename tests/wire/{hris => HRIS}/timeOffBalances.test.ts (94%)
rename tests/wire/{hris => HRIS}/timesheetEntries.test.ts (98%)
rename tests/wire/{hris => HRIS}/webhookReceivers.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/accountDetails.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/accountToken.test.ts (69%)
rename tests/wire/{ticketing => Ticketing}/accounts.test.ts (94%)
rename tests/wire/{ticketing => Ticketing}/asyncPassthrough.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/attachments.test.ts (98%)
rename tests/wire/{ticketing => Ticketing}/auditTrail.test.ts (87%)
rename tests/wire/{ticketing => Ticketing}/availableActions.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/collections.test.ts (89%)
rename tests/wire/{ticketing => Ticketing}/comments.test.ts (98%)
rename tests/wire/{ticketing => Ticketing}/contacts.test.ts (98%)
rename tests/wire/{ticketing => Ticketing}/deleteAccount.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/fieldMapping.test.ts (99%)
rename tests/wire/{ticketing => Ticketing}/forceResync.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/generateKey.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/issues.test.ts (92%)
rename tests/wire/{ticketing => Ticketing}/linkToken.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/linkedAccounts.test.ts (93%)
rename tests/wire/{ticketing => Ticketing}/passthrough.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/projects.test.ts (92%)
rename tests/wire/{ticketing => Ticketing}/regenerateKey.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/roles.test.ts (94%)
rename tests/wire/{ticketing => Ticketing}/scopes.test.ts (100%)
rename tests/wire/{ticketing => Ticketing}/syncStatus.test.ts (86%)
rename tests/wire/{ticketing => Ticketing}/tags.test.ts (90%)
rename tests/wire/{ticketing => Ticketing}/teams.test.ts (94%)
rename tests/wire/{ticketing => Ticketing}/tickets.test.ts (88%)
rename tests/wire/{ticketing => Ticketing}/users.test.ts (93%)
rename tests/wire/{ticketing => Ticketing}/webhookReceivers.test.ts (100%)
delete mode 100644 tests/wire/accounting/creditNotes.test.ts
delete mode 100644 tests/wire/crm/linkedAccounts.test.ts
diff --git a/.fern/metadata.json b/.fern/metadata.json
index 3594085a7..39791a512 100644
--- a/.fern/metadata.json
+++ b/.fern/metadata.json
@@ -17,7 +17,8 @@
"fetchSupport": "node-fetch",
"generateSubpackageExports": true,
"packageManager": "yarn",
- "testFramework": "jest"
+ "testFramework": "jest",
+ "enableForwardCompatibleEnums": true
},
- "sdkVersion": "3.0.1"
+ "sdkVersion": "3.0.2"
}
diff --git a/reference.md b/reference.md
index ccb2348b5..6be9409b3 100644
--- a/reference.md
+++ b/reference.md
@@ -115,12 +115,67 @@ await client.ats.accountToken.retrieve("public_token");
+
+
+
+
+client.ats.accountToken.regenerateCreate() -> Merge.RegenerateAccountToken
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Exchange Linked Account account tokens.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.ats.accountToken.regenerateCreate();
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**requestOptions:** `AccountTokenClient.RequestOptions`
+
+
+
+
+
+
+
## Ats Activities
-client.ats.activities.list({ ...params }) -> Merge.PaginatedActivityList
+client.ats.activities.list({ ...params }) -> core.Page
-
@@ -147,11 +202,30 @@ Returns a list of `Activity` objects.
-
```typescript
-await client.ats.activities.list({
+const pageableResponse = await client.ats.activities.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "activity_type",
+ remoteId: "remote_id",
+ showEnumOrigins: "activity_type",
+ userId: "user_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.activities.list({
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "user",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -163,6 +237,12 @@ await client.ats.activities.list({
showEnumOrigins: "activity_type",
userId: "user_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -294,7 +374,6 @@ Returns an `Activity` object with the given `id`.
```typescript
await client.ats.activities.retrieve("id", {
- expand: "user",
includeRemoteData: true,
includeShellData: true,
remoteFields: "activity_type",
@@ -399,7 +478,7 @@ await client.ats.activities.metaPostRetrieve();
## Ats Applications
-client.ats.applications.list({ ...params }) -> Merge.PaginatedApplicationList
+client.ats.applications.list({ ...params }) -> core.Page
-
@@ -426,14 +505,13 @@ Returns a list of `Application` objects.
-
```typescript
-await client.ats.applications.list({
+const pageableResponse = await client.ats.applications.list({
candidateId: "candidate_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
creditedToId: "credited_to_id",
currentStageId: "current_stage_id",
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "candidate",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -445,6 +523,35 @@ await client.ats.applications.list({
remoteId: "remote_id",
source: "source"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.applications.list({
+ candidateId: "candidate_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ creditedToId: "credited_to_id",
+ currentStageId: "current_stage_id",
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ jobId: "job_id",
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ rejectReasonId: "reject_reason_id",
+ remoteId: "remote_id",
+ source: "source"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -579,7 +686,6 @@ Returns an `Application` object with the given `id`.
```typescript
await client.ats.applications.retrieve("id", {
- expand: "candidate",
includeRemoteData: true,
includeShellData: true
});
@@ -896,7 +1002,7 @@ await client.ats.asyncPassthrough.retrieve("async_passthrough_receipt_id");
## Ats Attachments
-client.ats.attachments.list({ ...params }) -> Merge.PaginatedAttachmentList
+client.ats.attachments.list({ ...params }) -> core.Page
-
@@ -923,12 +1029,31 @@ Returns a list of `Attachment` objects.
-
```typescript
-await client.ats.attachments.list({
+const pageableResponse = await client.ats.attachments.list({
+ candidateId: "candidate_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "attachment_type",
+ remoteId: "remote_id",
+ showEnumOrigins: "attachment_type"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.attachments.list({
candidateId: "candidate_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "candidate",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -939,6 +1064,12 @@ await client.ats.attachments.list({
remoteId: "remote_id",
showEnumOrigins: "attachment_type"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -1070,7 +1201,6 @@ Returns an `Attachment` object with the given `id`.
```typescript
await client.ats.attachments.retrieve("id", {
- expand: "candidate",
includeRemoteData: true,
includeShellData: true,
remoteFields: "attachment_type",
@@ -1175,7 +1305,7 @@ await client.ats.attachments.metaPostRetrieve();
## Ats AuditTrail
-client.ats.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList
+client.ats.auditTrail.list({ ...params }) -> core.Page
-
@@ -1202,7 +1332,7 @@ Gets a list of audit trail events.
-
```typescript
-await client.ats.auditTrail.list({
+const pageableResponse = await client.ats.auditTrail.list({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
endDate: "end_date",
eventType: "event_type",
@@ -1210,6 +1340,25 @@ await client.ats.auditTrail.list({
startDate: "start_date",
userEmail: "user_email"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.auditTrail.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ endDate: "end_date",
+ eventType: "event_type",
+ pageSize: 1,
+ startDate: "start_date",
+ userEmail: "user_email"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -1302,7 +1451,7 @@ await client.ats.availableActions.retrieve();
## Ats Candidates
-client.ats.candidates.list({ ...params }) -> Merge.PaginatedCandidateList
+client.ats.candidates.list({ ...params }) -> core.Page
-
@@ -1329,12 +1478,11 @@ Returns a list of `Candidate` objects.
-
```typescript
-await client.ats.candidates.list({
+const pageableResponse = await client.ats.candidates.list({
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
emailAddresses: "email_addresses",
- expand: "applications",
firstName: "first_name",
includeDeletedData: true,
includeRemoteData: true,
@@ -1346,6 +1494,33 @@ await client.ats.candidates.list({
remoteId: "remote_id",
tags: "tags"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.candidates.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ emailAddresses: "email_addresses",
+ firstName: "first_name",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ lastName: "last_name",
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ tags: "tags"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -1477,7 +1652,6 @@ Returns a `Candidate` object with the given `id`.
```typescript
await client.ats.candidates.retrieve("id", {
- expand: "applications",
includeRemoteData: true,
includeShellData: true
});
@@ -1653,7 +1827,7 @@ await client.ats.candidates.ignoreCreate("model_id", {
-
-**request:** `Merge.ats.IgnoreCommonModelRequest`
+**request:** `Merge.IgnoreCommonModelRequest`
@@ -2045,7 +2219,7 @@ await client.ats.deleteAccount.delete();
## Ats Departments
-client.ats.departments.list({ ...params }) -> Merge.PaginatedDepartmentList
+client.ats.departments.list({ ...params }) -> core.Page
-
@@ -2072,7 +2246,24 @@ Returns a list of `Department` objects.
-
```typescript
-await client.ats.departments.list({
+const pageableResponse = await client.ats.departments.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.departments.list({
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
@@ -2084,6 +2275,12 @@ await client.ats.departments.list({
pageSize: 1,
remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -2194,7 +2391,7 @@ await client.ats.departments.retrieve("id", {
## Ats Eeocs
-client.ats.eeocs.list({ ...params }) -> Merge.PaginatedEeocList
+client.ats.eeocs.list({ ...params }) -> core.Page
-
@@ -2221,12 +2418,31 @@ Returns a list of `EEOC` objects.
-
```typescript
-await client.ats.eeocs.list({
+const pageableResponse = await client.ats.eeocs.list({
+ candidateId: "candidate_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "disability_status",
+ remoteId: "remote_id",
+ showEnumOrigins: "disability_status"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.eeocs.list({
candidateId: "candidate_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "candidate",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -2237,6 +2453,12 @@ await client.ats.eeocs.list({
remoteId: "remote_id",
showEnumOrigins: "disability_status"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -2300,7 +2522,6 @@ Returns an `EEOC` object with the given `id`.
```typescript
await client.ats.eeocs.retrieve("id", {
- expand: "candidate",
includeRemoteData: true,
includeShellData: true,
remoteFields: "disability_status",
@@ -2576,7 +2797,9 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r
-
```typescript
-await client.ats.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
+await client.ats.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id", {
+ remoteDataIterationCount: 1
+});
```
@@ -2808,7 +3031,7 @@ await client.ats.generateKey.create({
## Ats Interviews
-client.ats.interviews.list({ ...params }) -> Merge.PaginatedScheduledInterviewList
+client.ats.interviews.list({ ...params }) -> core.Page
-
@@ -2835,12 +3058,11 @@ Returns a list of `ScheduledInterview` objects.
-
```typescript
-await client.ats.interviews.list({
+const pageableResponse = await client.ats.interviews.list({
applicationId: "application_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "application",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -2854,6 +3076,35 @@ await client.ats.interviews.list({
remoteId: "remote_id",
showEnumOrigins: "status"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.interviews.list({
+ applicationId: "application_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ jobId: "job_id",
+ jobInterviewStageId: "job_interview_stage_id",
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ organizerId: "organizer_id",
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -2985,7 +3236,6 @@ Returns a `ScheduledInterview` object with the given `id`.
```typescript
await client.ats.interviews.retrieve("id", {
- expand: "application",
includeRemoteData: true,
includeShellData: true,
remoteFields: "status",
@@ -3090,7 +3340,7 @@ await client.ats.interviews.metaPostRetrieve();
## Ats Issues
-client.ats.issues.list({ ...params }) -> Merge.PaginatedIssueList
+client.ats.issues.list({ ...params }) -> core.Page
-
@@ -3117,7 +3367,7 @@ Gets all issues for Organization.
-
```typescript
-await client.ats.issues.list({
+const pageableResponse = await client.ats.issues.list({
accountToken: "account_token",
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
endDate: "end_date",
@@ -3133,6 +3383,33 @@ await client.ats.issues.list({
startDate: "start_date",
status: "ONGOING"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.issues.list({
+ accountToken: "account_token",
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ endDate: "end_date",
+ endUserOrganizationName: "end_user_organization_name",
+ firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
+ firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
+ includeMuted: "include_muted",
+ integrationName: "integration_name",
+ lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
+ lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
+ linkedAccountId: "linked_account_id",
+ pageSize: 1,
+ startDate: "start_date",
+ status: "ONGOING"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -3232,7 +3509,7 @@ await client.ats.issues.retrieve("id");
## Ats JobInterviewStages
-client.ats.jobInterviewStages.list({ ...params }) -> Merge.PaginatedJobInterviewStageList
+client.ats.jobInterviewStages.list({ ...params }) -> core.Page
-
@@ -3259,11 +3536,10 @@ Returns a list of `JobInterviewStage` objects.
-
```typescript
-await client.ats.jobInterviewStages.list({
+const pageableResponse = await client.ats.jobInterviewStages.list({
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "job",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -3273,6 +3549,30 @@ await client.ats.jobInterviewStages.list({
pageSize: 1,
remoteId: "remote_id"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.jobInterviewStages.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ jobId: "job_id",
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -3336,7 +3636,6 @@ Returns a `JobInterviewStage` object with the given `id`.
```typescript
await client.ats.jobInterviewStages.retrieve("id", {
- expand: "job",
includeRemoteData: true,
includeShellData: true
});
@@ -3384,7 +3683,7 @@ await client.ats.jobInterviewStages.retrieve("id", {
## Ats JobPostings
-client.ats.jobPostings.list({ ...params }) -> Merge.PaginatedJobPostingList
+client.ats.jobPostings.list({ ...params }) -> core.Page
-
@@ -3411,11 +3710,10 @@ Returns a list of `JobPosting` objects.
-
```typescript
-await client.ats.jobPostings.list({
+const pageableResponse = await client.ats.jobPostings.list({
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "job",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -3425,6 +3723,30 @@ await client.ats.jobPostings.list({
remoteId: "remote_id",
status: "CLOSED"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.jobPostings.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ status: "CLOSED"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -3488,7 +3810,6 @@ Returns a `JobPosting` object with the given `id`.
```typescript
await client.ats.jobPostings.retrieve("id", {
- expand: "job",
includeRemoteData: true,
includeShellData: true
});
@@ -3536,7 +3857,7 @@ await client.ats.jobPostings.retrieve("id", {
## Ats Jobs
-client.ats.jobs.list({ ...params }) -> Merge.PaginatedJobList
+client.ats.jobs.list({ ...params }) -> core.Page
-
@@ -3563,12 +3884,33 @@ Returns a list of `Job` objects.
-
```typescript
-await client.ats.jobs.list({
+const pageableResponse = await client.ats.jobs.list({
+ code: "code",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ offices: "offices",
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status",
+ status: "ARCHIVED"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.jobs.list({
code: "code",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "departments",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -3581,6 +3923,12 @@ await client.ats.jobs.list({
showEnumOrigins: "status",
status: "ARCHIVED"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -3644,7 +3992,6 @@ Returns a `Job` object with the given `id`.
```typescript
await client.ats.jobs.retrieve("id", {
- expand: "departments",
includeRemoteData: true,
includeShellData: true,
remoteFields: "status",
@@ -3693,7 +4040,7 @@ await client.ats.jobs.retrieve("id", {
-client.ats.jobs.screeningQuestionsList(job_id, { ...params }) -> Merge.PaginatedScreeningQuestionList
+client.ats.jobs.screeningQuestionsList(job_id, { ...params }) -> core.Page
-
@@ -3720,14 +4067,31 @@ Returns a list of `ScreeningQuestion` objects.
-
```typescript
-await client.ats.jobs.screeningQuestionsList("job_id", {
+const pageableResponse = await client.ats.jobs.screeningQuestionsList("job_id", {
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "job",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
pageSize: 1
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.jobs.screeningQuestionsList("job_id", {
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -3784,7 +4148,7 @@ await client.ats.jobs.screeningQuestionsList("job_id", {
-
-Creates a link token to be used when linking a new end user.
+Creates a link token to be used when linking a new end user. The link token expires after single use.
@@ -3841,7 +4205,7 @@ await client.ats.linkToken.create({
## Ats LinkedAccounts
-client.ats.linkedAccounts.list({ ...params }) -> Merge.PaginatedAccountDetailsAndActionsList
+client.ats.linkedAccounts.list({ ...params }) -> core.Page
-
@@ -3868,7 +4232,7 @@ List linked accounts for your organization.
-
```typescript
-await client.ats.linkedAccounts.list({
+const pageableResponse = await client.ats.linkedAccounts.list({
category: "accounting",
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
endUserEmailAddress: "end_user_email_address",
@@ -3883,6 +4247,32 @@ await client.ats.linkedAccounts.list({
pageSize: 1,
status: "status"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.linkedAccounts.list({
+ category: "accounting",
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ endUserEmailAddress: "end_user_email_address",
+ endUserOrganizationName: "end_user_organization_name",
+ endUserOriginId: "end_user_origin_id",
+ endUserOriginIds: "end_user_origin_ids",
+ id: "id",
+ ids: "ids",
+ includeDuplicates: true,
+ integrationName: "integration_name",
+ isTestAccount: "is_test_account",
+ pageSize: 1,
+ status: "status"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -3919,7 +4309,7 @@ await client.ats.linkedAccounts.list({
## Ats Offers
-client.ats.offers.list({ ...params }) -> Merge.PaginatedOfferList
+client.ats.offers.list({ ...params }) -> core.Page
-
@@ -3946,13 +4336,12 @@ Returns a list of `Offer` objects.
-
```typescript
-await client.ats.offers.list({
+const pageableResponse = await client.ats.offers.list({
applicationId: "application_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
creatorId: "creator_id",
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "application",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -3961,8 +4350,37 @@ await client.ats.offers.list({
pageSize: 1,
remoteFields: "status",
remoteId: "remote_id",
- showEnumOrigins: "status"
+ showEnumOrigins: "status",
+ status: "APPROVAL-SENT"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.offers.list({
+ applicationId: "application_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ creatorId: "creator_id",
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status",
+ status: "APPROVAL-SENT"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -4026,7 +4444,6 @@ Returns an `Offer` object with the given `id`.
```typescript
await client.ats.offers.retrieve("id", {
- expand: "application",
includeRemoteData: true,
includeShellData: true,
remoteFields: "status",
@@ -4076,7 +4493,7 @@ await client.ats.offers.retrieve("id", {
## Ats Offices
-client.ats.offices.list({ ...params }) -> Merge.PaginatedOfficeList
+client.ats.offices.list({ ...params }) -> core.Page
-
@@ -4103,7 +4520,24 @@ Returns a list of `Office` objects.
-
```typescript
-await client.ats.offices.list({
+const pageableResponse = await client.ats.offices.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.offices.list({
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
@@ -4115,6 +4549,12 @@ await client.ats.offices.list({
pageSize: 1,
remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -4358,7 +4798,7 @@ await client.ats.regenerateKey.create({
## Ats RejectReasons
-client.ats.rejectReasons.list({ ...params }) -> Merge.PaginatedRejectReasonList
+client.ats.rejectReasons.list({ ...params }) -> core.Page
-
@@ -4385,7 +4825,24 @@ Returns a list of `RejectReason` objects.
-
```typescript
-await client.ats.rejectReasons.list({
+const pageableResponse = await client.ats.rejectReasons.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.rejectReasons.list({
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
@@ -4397,6 +4854,12 @@ await client.ats.rejectReasons.list({
pageSize: 1,
remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -4507,7 +4970,7 @@ await client.ats.rejectReasons.retrieve("id", {
## Ats Scorecards
-client.ats.scorecards.list({ ...params }) -> Merge.PaginatedScorecardList
+client.ats.scorecards.list({ ...params }) -> core.Page
-
@@ -4534,12 +4997,11 @@ Returns a list of `Scorecard` objects.
-
```typescript
-await client.ats.scorecards.list({
+const pageableResponse = await client.ats.scorecards.list({
applicationId: "application_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "application",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -4552,6 +5014,34 @@ await client.ats.scorecards.list({
remoteId: "remote_id",
showEnumOrigins: "overall_recommendation"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.scorecards.list({
+ applicationId: "application_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ interviewId: "interview_id",
+ interviewerId: "interviewer_id",
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "overall_recommendation",
+ remoteId: "remote_id",
+ showEnumOrigins: "overall_recommendation"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -4615,7 +5105,6 @@ Returns a `Scorecard` object with the given `id`.
```typescript
await client.ats.scorecards.retrieve("id", {
- expand: "application",
includeRemoteData: true,
includeShellData: true,
remoteFields: "overall_recommendation",
@@ -4665,7 +5154,7 @@ await client.ats.scorecards.retrieve("id", {
## Ats SyncStatus
-client.ats.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList
+client.ats.syncStatus.list({ ...params }) -> core.Page
-
@@ -4692,10 +5181,25 @@ Get sync status for the current sync and the most recently finished sync. `last_
-
```typescript
-await client.ats.syncStatus.list({
+const pageableResponse = await client.ats.syncStatus.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.syncStatus.list({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -4788,7 +5292,7 @@ await client.ats.forceResync.syncStatusResyncCreate();
## Ats Tags
-client.ats.tags.list({ ...params }) -> Merge.PaginatedTagList
+client.ats.tags.list({ ...params }) -> core.Page
-
@@ -4815,7 +5319,7 @@ Returns a list of `Tag` objects.
-
```typescript
-await client.ats.tags.list({
+const pageableResponse = await client.ats.tags.list({
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
@@ -4827,6 +5331,29 @@ await client.ats.tags.list({
pageSize: 1,
remoteId: "remote_id"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.tags.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -4863,7 +5390,7 @@ await client.ats.tags.list({
## Ats Users
-client.ats.users.list({ ...params }) -> Merge.PaginatedRemoteUserList
+client.ats.users.list({ ...params }) -> core.Page
-
@@ -4890,7 +5417,7 @@ Returns a list of `RemoteUser` objects.
-
```typescript
-await client.ats.users.list({
+const pageableResponse = await client.ats.users.list({
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
@@ -4905,6 +5432,32 @@ await client.ats.users.list({
remoteId: "remote_id",
showEnumOrigins: "access_role"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.ats.users.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ email: "email",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "access_role",
+ remoteId: "remote_id",
+ showEnumOrigins: "access_role"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -5138,8 +5691,8 @@ await client.ats.webhookReceivers.create({
-## Crm AccountDetails
-client.crm.accountDetails.retrieve() -> Merge.AccountDetails
+## Accounting AccountDetails
+client.accounting.accountDetails.retrieve() -> Merge.AccountDetails
-
@@ -5166,7 +5719,7 @@ Get details for a linked account.
-
```typescript
-await client.crm.accountDetails.retrieve();
+await client.accounting.accountDetails.retrieve();
```
@@ -5194,8 +5747,8 @@ await client.crm.accountDetails.retrieve();
-## Crm AccountToken
-client.crm.accountToken.retrieve(public_token) -> Merge.AccountToken
+## Accounting AccountToken
+client.accounting.accountToken.retrieve(public_token) -> Merge.AccountToken
-
@@ -5222,7 +5775,7 @@ Returns the account token for the end user with the provided public token.
-
```typescript
-await client.crm.accountToken.retrieve("public_token");
+await client.accounting.accountToken.retrieve("public_token");
```
@@ -5258,8 +5811,7 @@ await client.crm.accountToken.retrieve("public_token");
-## Crm Accounts
-client.crm.accounts.list({ ...params }) -> Merge.PaginatedAccountList
+client.accounting.accountToken.regenerateCreate() -> Merge.RegenerateAccountToken
-
@@ -5271,7 +5823,7 @@ await client.crm.accountToken.retrieve("public_token");
-
-Returns a list of `Account` objects.
+Exchange Linked Account account tokens.
@@ -5286,22 +5838,7 @@ Returns a list of `Account` objects.
-
```typescript
-await client.crm.accounts.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "owner",
- includeDeletedData: true,
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- name: "name",
- ownerId: "owner_id",
- pageSize: 1,
- remoteId: "remote_id"
-});
+await client.accounting.accountToken.regenerateCreate();
```
@@ -5317,15 +5854,7 @@ await client.crm.accounts.list({
-
-**request:** `Merge.crm.AccountsListRequest`
-
-
-
-
-
--
-
-**requestOptions:** `AccountsClient.RequestOptions`
+**requestOptions:** `AccountTokenClient.RequestOptions`
@@ -5337,7 +5866,8 @@ await client.crm.accounts.list({
-client.crm.accounts.create({ ...params }) -> Merge.CrmAccountResponse
+## Accounting AccountingPeriods
+client.accounting.accountingPeriods.list({ ...params }) -> core.Page
-
@@ -5349,7 +5879,7 @@ await client.crm.accounts.list({
-
-Creates an `Account` object with the given values.
+Returns a list of `AccountingPeriod` objects.
@@ -5364,11 +5894,31 @@ Creates an `Account` object with the given values.
-
```typescript
-await client.crm.accounts.create({
- isDebugMode: true,
- runAsync: true,
- model: {}
+const pageableResponse = await client.accounting.accountingPeriods.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ pageSize: 1
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.accountingPeriods.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -5384,7 +5934,7 @@ await client.crm.accounts.create({
-
-**request:** `Merge.crm.CrmAccountEndpointRequest`
+**request:** `Merge.accounting.AccountingPeriodsListRequest`
@@ -5392,7 +5942,7 @@ await client.crm.accounts.create({
-
-**requestOptions:** `AccountsClient.RequestOptions`
+**requestOptions:** `AccountingPeriodsClient.RequestOptions`
@@ -5404,7 +5954,7 @@ await client.crm.accounts.create({
-client.crm.accounts.retrieve(id, { ...params }) -> Merge.Account
+client.accounting.accountingPeriods.retrieve(id, { ...params }) -> Merge.AccountingPeriod
-
@@ -5416,7 +5966,7 @@ await client.crm.accounts.create({
-
-Returns an `Account` object with the given `id`.
+Returns an `AccountingPeriod` object with the given `id`.
@@ -5431,10 +5981,8 @@ Returns an `Account` object with the given `id`.
-
```typescript
-await client.crm.accounts.retrieve("id", {
- expand: "owner",
+await client.accounting.accountingPeriods.retrieve("id", {
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true
});
@@ -5460,7 +6008,7 @@ await client.crm.accounts.retrieve("id", {
-
-**request:** `Merge.crm.AccountsRetrieveRequest`
+**request:** `Merge.accounting.AccountingPeriodsRetrieveRequest`
@@ -5468,7 +6016,7 @@ await client.crm.accounts.retrieve("id", {
-
-**requestOptions:** `AccountsClient.RequestOptions`
+**requestOptions:** `AccountingPeriodsClient.RequestOptions`
@@ -5480,7 +6028,8 @@ await client.crm.accounts.retrieve("id", {
-client.crm.accounts.partialUpdate(id, { ...params }) -> Merge.CrmAccountResponse
+## Accounting Accounts
+client.accounting.accounts.list({ ...params }) -> core.Page
-
@@ -5492,7 +6041,7 @@ await client.crm.accounts.retrieve("id", {
-
-Updates an `Account` object with the given `id`.
+Returns a list of `Account` objects.
@@ -5507,11 +6056,55 @@ Updates an `Account` object with the given `id`.
-
```typescript
-await client.crm.accounts.partialUpdate("id", {
- isDebugMode: true,
- runAsync: true,
- model: {}
+const pageableResponse = await client.accounting.accounts.list({
+ accountType: "account_type",
+ classification: "",
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "classification",
+ remoteId: "remote_id",
+ showEnumOrigins: "classification",
+ status: ""
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.accounts.list({
+ accountType: "account_type",
+ classification: "",
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "classification",
+ remoteId: "remote_id",
+ showEnumOrigins: "classification",
+ status: ""
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -5527,15 +6120,7 @@ await client.crm.accounts.partialUpdate("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.PatchedCrmAccountEndpointRequest`
+**request:** `Merge.accounting.AccountsListRequest`
@@ -5555,7 +6140,7 @@ await client.crm.accounts.partialUpdate("id", {
-client.crm.accounts.metaPatchRetrieve(id) -> Merge.MetaResponse
+client.accounting.accounts.create({ ...params }) -> Merge.AccountResponse
-
@@ -5567,7 +6152,7 @@ await client.crm.accounts.partialUpdate("id", {
-
-Returns metadata for `CRMAccount` PATCHs.
+Creates an `Account` object with the given values.
@@ -5582,7 +6167,13 @@ Returns metadata for `CRMAccount` PATCHs.
-
```typescript
-await client.crm.accounts.metaPatchRetrieve("id");
+await client.accounting.accounts.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
+});
```
@@ -5598,7 +6189,7 @@ await client.crm.accounts.metaPatchRetrieve("id");
-
-**id:** `string`
+**request:** `Merge.accounting.AccountsCreateRequest`
@@ -5618,7 +6209,7 @@ await client.crm.accounts.metaPatchRetrieve("id");
-client.crm.accounts.metaPostRetrieve() -> Merge.MetaResponse
+client.accounting.accounts.retrieve(id, { ...params }) -> Merge.Account
-
@@ -5630,7 +6221,7 @@ await client.crm.accounts.metaPatchRetrieve("id");
-
-Returns metadata for `CRMAccount` POSTs.
+Returns an `Account` object with the given `id`.
@@ -5645,7 +6236,12 @@ Returns metadata for `CRMAccount` POSTs.
-
```typescript
-await client.crm.accounts.metaPostRetrieve();
+await client.accounting.accounts.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true,
+ remoteFields: "classification",
+ showEnumOrigins: "classification"
+});
```
@@ -5661,6 +6257,22 @@ await client.crm.accounts.metaPostRetrieve();
-
+**id:** `string`
+
+
+
+
+
+-
+
+**request:** `Merge.accounting.AccountsRetrieveRequest`
+
+
+
+
+
+-
+
**requestOptions:** `AccountsClient.RequestOptions`
@@ -5673,7 +6285,7 @@ await client.crm.accounts.metaPostRetrieve();
-client.crm.accounts.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+client.accounting.accounts.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedAccountList
-
@@ -5685,7 +6297,7 @@ await client.crm.accounts.metaPostRetrieve();
-
-Returns a list of `RemoteFieldClass` objects.
+Returns a list of `Account` objects.
@@ -5700,15 +6312,24 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.accounts.remoteFieldClassesList({
+await client.accounting.accounts.batchObjectsList("batch_id", {
+ accountType: "account_type",
+ classification: "",
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
includeDeletedData: true,
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true,
- isCommonModelField: true,
- isCustom: true,
- pageSize: 1
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "classification",
+ remoteId: "remote_id",
+ showEnumOrigins: "classification",
+ status: ""
});
```
@@ -5725,7 +6346,15 @@ await client.crm.accounts.remoteFieldClassesList({
-
-**request:** `Merge.crm.AccountsRemoteFieldClassesListRequest`
+**batch_id:** `string`
+
+
+
+
+
+-
+
+**request:** `Merge.accounting.AccountsBatchObjectsListRequest`
@@ -5745,8 +6374,7 @@ await client.crm.accounts.remoteFieldClassesList({
-## Crm AsyncPassthrough
-client.crm.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
+client.accounting.accounts.asyncBulkCreate({ ...params }) -> Merge.AccountResponse
-
@@ -5758,7 +6386,7 @@ await client.crm.accounts.remoteFieldClassesList({
-
-Asynchronously pull data from an endpoint not currently supported by Merge.
+Creates an `Account` object with the given values.
@@ -5773,9 +6401,15 @@ Asynchronously pull data from an endpoint not currently supported by Merge.
-
```typescript
-await client.crm.asyncPassthrough.create({
- method: "GET",
- path: "/scooters"
+await client.accounting.accounts.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
});
```
@@ -5792,7 +6426,7 @@ await client.crm.asyncPassthrough.create({
-
-**request:** `Merge.DataPassthroughRequest`
+**request:** `Merge.accounting.AccountBulkRequest`
@@ -5800,7 +6434,7 @@ await client.crm.asyncPassthrough.create({
-
-**requestOptions:** `AsyncPassthroughClient.RequestOptions`
+**requestOptions:** `AccountsClient.RequestOptions`
@@ -5812,7 +6446,7 @@ await client.crm.asyncPassthrough.create({
-client.crm.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
+client.accounting.accounts.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -5824,7 +6458,7 @@ await client.crm.asyncPassthrough.create({
-
-Retrieves data from earlier async-passthrough POST request
+Returns metadata for `Account` POSTs.
@@ -5839,7 +6473,7 @@ Retrieves data from earlier async-passthrough POST request
-
```typescript
-await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id");
+await client.accounting.accounts.metaPostRetrieve();
```
@@ -5855,15 +6489,7 @@ await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-
-**async_passthrough_receipt_id:** `string`
-
-
-
-
-
--
-
-**requestOptions:** `AsyncPassthroughClient.RequestOptions`
+**requestOptions:** `AccountsClient.RequestOptions`
@@ -5875,8 +6501,8 @@ await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-## Crm AuditTrail
-client.crm.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList
+## Accounting Addresses
+client.accounting.addresses.retrieve(id, { ...params }) -> Merge.Address
-
@@ -5888,7 +6514,7 @@ await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-
-Gets a list of audit trail events.
+Returns an `Address` object with the given `id`.
@@ -5903,13 +6529,11 @@ Gets a list of audit trail events.
-
```typescript
-await client.crm.auditTrail.list({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- endDate: "end_date",
- eventType: "event_type",
- pageSize: 1,
- startDate: "start_date",
- userEmail: "user_email"
+await client.accounting.addresses.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true,
+ remoteFields: "type",
+ showEnumOrigins: "type"
});
```
@@ -5926,7 +6550,7 @@ await client.crm.auditTrail.list({
-
-**request:** `Merge.crm.AuditTrailListRequest`
+**id:** `string`
@@ -5934,63 +6558,15 @@ await client.crm.auditTrail.list({
-
-**requestOptions:** `AuditTrailClient.RequestOptions`
+**request:** `Merge.accounting.AddressesRetrieveRequest`
-
-
-
-
-
-
-
-
-## Crm AvailableActions
-client.crm.availableActions.retrieve() -> Merge.AvailableActions
-
--
-
-#### 📝 Description
-
-
--
-
-
--
-
-Returns a list of models and actions available for an account.
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-```typescript
-await client.crm.availableActions.retrieve();
-
-```
-
-
-
-
-
-#### ⚙️ Parameters
-
-
--
-
-
--
-
-**requestOptions:** `AvailableActionsClient.RequestOptions`
+**requestOptions:** `AddressesClient.RequestOptions`
@@ -6002,8 +6578,8 @@ await client.crm.availableActions.retrieve();
-## Crm Contacts
-client.crm.contacts.list({ ...params }) -> Merge.PaginatedContactList
+## Accounting AsyncPassthrough
+client.accounting.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
-
@@ -6015,7 +6591,7 @@ await client.crm.availableActions.retrieve();
-
-Returns a list of `Contact` objects.
+Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -6030,22 +6606,9 @@ Returns a list of `Contact` objects.
-
```typescript
-await client.crm.contacts.list({
- accountId: "account_id",
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- emailAddresses: "email_addresses",
- expand: "account",
- includeDeletedData: true,
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- phoneNumbers: "phone_numbers",
- remoteId: "remote_id"
+await client.accounting.asyncPassthrough.create({
+ method: "GET",
+ path: "/scooters"
});
```
@@ -6062,7 +6625,7 @@ await client.crm.contacts.list({
-
-**request:** `Merge.crm.ContactsListRequest`
+**request:** `Merge.DataPassthroughRequest`
@@ -6070,7 +6633,7 @@ await client.crm.contacts.list({
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -6082,7 +6645,7 @@ await client.crm.contacts.list({
-client.crm.contacts.create({ ...params }) -> Merge.CrmContactResponse
+client.accounting.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
-
@@ -6094,7 +6657,7 @@ await client.crm.contacts.list({
-
-Creates a `Contact` object with the given values.
+Retrieves data from earlier async-passthrough POST request
@@ -6109,11 +6672,7 @@ Creates a `Contact` object with the given values.
-
```typescript
-await client.crm.contacts.create({
- isDebugMode: true,
- runAsync: true,
- model: {}
-});
+await client.accounting.asyncPassthrough.retrieve("async_passthrough_receipt_id");
```
@@ -6129,7 +6688,7 @@ await client.crm.contacts.create({
-
-**request:** `Merge.crm.CrmContactEndpointRequest`
+**async_passthrough_receipt_id:** `string`
@@ -6137,7 +6696,7 @@ await client.crm.contacts.create({
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -6149,7 +6708,8 @@ await client.crm.contacts.create({
-client.crm.contacts.retrieve(id, { ...params }) -> Merge.Contact
+## Accounting AsyncTasks
+client.accounting.asyncTasks.retrieve(id) -> Merge.AsyncPostTask
-
@@ -6161,7 +6721,7 @@ await client.crm.contacts.create({
-
-Returns a `Contact` object with the given `id`.
+Returns an `AsyncPostTask` object with the given `id`.
@@ -6176,12 +6736,7 @@ Returns a `Contact` object with the given `id`.
-
```typescript
-await client.crm.contacts.retrieve("id", {
- expand: "account",
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true
-});
+await client.accounting.asyncTasks.retrieve("id");
```
@@ -6205,15 +6760,7 @@ await client.crm.contacts.retrieve("id", {
-
-**request:** `Merge.crm.ContactsRetrieveRequest`
-
-
-
-
-
--
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**requestOptions:** `AsyncTasksClient.RequestOptions`
@@ -6225,7 +6772,8 @@ await client.crm.contacts.retrieve("id", {
-client.crm.contacts.partialUpdate(id, { ...params }) -> Merge.CrmContactResponse
+## Accounting Attachments
+client.accounting.attachments.list({ ...params }) -> core.Page
-
@@ -6237,7 +6785,7 @@ await client.crm.contacts.retrieve("id", {
-
-Updates a `Contact` object with the given `id`.
+Returns a list of `AccountingAttachment` objects.
@@ -6252,11 +6800,43 @@ Updates a `Contact` object with the given `id`.
-
```typescript
-await client.crm.contacts.partialUpdate("id", {
- isDebugMode: true,
- runAsync: true,
- model: {}
+const pageableResponse = await client.accounting.attachments.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.attachments.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -6272,15 +6852,7 @@ await client.crm.contacts.partialUpdate("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.PatchedCrmContactEndpointRequest`
+**request:** `Merge.accounting.AttachmentsListRequest`
@@ -6288,7 +6860,7 @@ await client.crm.contacts.partialUpdate("id", {
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -6300,7 +6872,7 @@ await client.crm.contacts.partialUpdate("id", {
-client.crm.contacts.ignoreCreate(model_id, { ...params }) -> void
+client.accounting.attachments.create({ ...params }) -> Merge.AccountingAttachmentResponse
-
@@ -6312,7 +6884,7 @@ await client.crm.contacts.partialUpdate("id", {
-
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
+Creates an `AccountingAttachment` object with the given values.
@@ -6327,8 +6899,12 @@ Ignores a specific row based on the `model_id` in the url. These records will ha
-
```typescript
-await client.crm.contacts.ignoreCreate("model_id", {
- reason: "GENERAL_CUSTOMER_REQUEST"
+await client.accounting.attachments.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
});
```
@@ -6345,15 +6921,7 @@ await client.crm.contacts.ignoreCreate("model_id", {
-
-**model_id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.IgnoreCommonModelRequest`
+**request:** `Merge.accounting.AttachmentsCreateRequest`
@@ -6361,7 +6929,7 @@ await client.crm.contacts.ignoreCreate("model_id", {
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -6373,7 +6941,7 @@ await client.crm.contacts.ignoreCreate("model_id", {
-client.crm.contacts.metaPatchRetrieve(id) -> Merge.MetaResponse
+client.accounting.attachments.retrieve(id, { ...params }) -> Merge.AccountingAttachment
-
@@ -6385,7 +6953,7 @@ await client.crm.contacts.ignoreCreate("model_id", {
-
-Returns metadata for `CRMContact` PATCHs.
+Returns an `AccountingAttachment` object with the given `id`.
@@ -6400,7 +6968,10 @@ Returns metadata for `CRMContact` PATCHs.
-
```typescript
-await client.crm.contacts.metaPatchRetrieve("id");
+await client.accounting.attachments.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true
+});
```
@@ -6424,7 +6995,15 @@ await client.crm.contacts.metaPatchRetrieve("id");
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**request:** `Merge.accounting.AttachmentsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -6436,7 +7015,7 @@ await client.crm.contacts.metaPatchRetrieve("id");
-client.crm.contacts.metaPostRetrieve() -> Merge.MetaResponse
+client.accounting.attachments.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedAccountingAttachmentList
-
@@ -6448,7 +7027,7 @@ await client.crm.contacts.metaPatchRetrieve("id");
-
-Returns metadata for `CRMContact` POSTs.
+Returns a list of `AccountingAttachment` objects.
@@ -6463,7 +7042,19 @@ Returns metadata for `CRMContact` POSTs.
-
```typescript
-await client.crm.contacts.metaPostRetrieve();
+await client.accounting.attachments.batchObjectsList("batch_id", {
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
```
@@ -6479,7 +7070,23 @@ await client.crm.contacts.metaPostRetrieve();
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**batch_id:** `string`
+
+
+
+
+
+-
+
+**request:** `Merge.accounting.AttachmentsBatchObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -6491,7 +7098,7 @@ await client.crm.contacts.metaPostRetrieve();
-client.crm.contacts.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+client.accounting.attachments.asyncBulkCreate({ ...params }) -> Merge.AccountingAttachmentResponse
-
@@ -6503,7 +7110,7 @@ await client.crm.contacts.metaPostRetrieve();
-
-Returns a list of `RemoteFieldClass` objects.
+Creates an `AccountingAttachment` object with the given values.
@@ -6518,15 +7125,15 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.contacts.remoteFieldClassesList({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- isCommonModelField: true,
- isCustom: true,
- pageSize: 1
+await client.accounting.attachments.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
});
```
@@ -6543,7 +7150,7 @@ await client.crm.contacts.remoteFieldClassesList({
-
-**request:** `Merge.crm.ContactsRemoteFieldClassesListRequest`
+**request:** `Merge.accounting.AccountingAttachmentBulkRequest`
@@ -6551,7 +7158,7 @@ await client.crm.contacts.remoteFieldClassesList({
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -6563,8 +7170,7 @@ await client.crm.contacts.remoteFieldClassesList({
-## Crm CustomObjectClasses
-client.crm.customObjectClasses.list({ ...params }) -> Merge.PaginatedCustomObjectClassList
+client.accounting.attachments.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -6576,7 +7182,7 @@ await client.crm.contacts.remoteFieldClassesList({
-
-Returns a list of `CustomObjectClass` objects.
+Returns metadata for `AccountingAttachment` POSTs.
@@ -6591,19 +7197,7 @@ Returns a list of `CustomObjectClass` objects.
-
```typescript
-await client.crm.customObjectClasses.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "fields",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
-});
+await client.accounting.attachments.metaPostRetrieve();
```
@@ -6619,15 +7213,7 @@ await client.crm.customObjectClasses.list({
-
-**request:** `Merge.crm.CustomObjectClassesListRequest`
-
-
-
-
-
--
-
-**requestOptions:** `CustomObjectClassesClient.RequestOptions`
+**requestOptions:** `AttachmentsClient.RequestOptions`
@@ -6639,7 +7225,8 @@ await client.crm.customObjectClasses.list({
-client.crm.customObjectClasses.retrieve(id, { ...params }) -> Merge.CustomObjectClass
+## Accounting AuditTrail
+client.accounting.auditTrail.list({ ...params }) -> core.Page
-
@@ -6651,7 +7238,7 @@ await client.crm.customObjectClasses.list({
-
-Returns a `CustomObjectClass` object with the given `id`.
+Gets a list of audit trail events.
@@ -6666,11 +7253,33 @@ Returns a `CustomObjectClass` object with the given `id`.
-
```typescript
-await client.crm.customObjectClasses.retrieve("id", {
- expand: "fields",
- includeRemoteData: true,
- includeShellData: true
+const pageableResponse = await client.accounting.auditTrail.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ endDate: "end_date",
+ eventType: "event_type",
+ pageSize: 1,
+ startDate: "start_date",
+ userEmail: "user_email"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.auditTrail.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ endDate: "end_date",
+ eventType: "event_type",
+ pageSize: 1,
+ startDate: "start_date",
+ userEmail: "user_email"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -6686,15 +7295,7 @@ await client.crm.customObjectClasses.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.CustomObjectClassesRetrieveRequest`
+**request:** `Merge.accounting.AuditTrailListRequest`
@@ -6702,7 +7303,7 @@ await client.crm.customObjectClasses.retrieve("id", {
-
-**requestOptions:** `CustomObjectClassesClient.RequestOptions`
+**requestOptions:** `AuditTrailClient.RequestOptions`
@@ -6714,8 +7315,8 @@ await client.crm.customObjectClasses.retrieve("id", {
-## Crm AssociationTypes
-client.crm.associationTypes.customObjectClassesAssociationTypesList(custom_object_class_id, { ...params }) -> Merge.PaginatedAssociationTypeList
+## Accounting AvailableActions
+client.accounting.availableActions.retrieve() -> Merge.AvailableActions
-
@@ -6727,7 +7328,7 @@ await client.crm.customObjectClasses.retrieve("id", {
-
-Returns a list of `AssociationType` objects.
+Returns a list of models and actions available for an account.
@@ -6742,19 +7343,7 @@ Returns a list of `AssociationType` objects.
-
```typescript
-await client.crm.associationTypes.customObjectClassesAssociationTypesList("custom_object_class_id", {
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "target_object_classes",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
-});
+await client.accounting.availableActions.retrieve();
```
@@ -6770,23 +7359,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesList("custo
-
-**custom_object_class_id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.CustomObjectClassesAssociationTypesListRequest`
-
-
-
-
-
--
-
-**requestOptions:** `AssociationTypesClient.RequestOptions`
+**requestOptions:** `AvailableActionsClient.RequestOptions`
@@ -6798,7 +7371,8 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesList("custo
-client.crm.associationTypes.customObjectClassesAssociationTypesCreate(custom_object_class_id, { ...params }) -> Merge.CrmAssociationTypeResponse
+## Accounting BalanceSheets
+client.accounting.balanceSheets.list({ ...params }) -> core.Page
-
@@ -6810,7 +7384,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesList("custo
-
-Creates an `AssociationType` object with the given values.
+Returns a list of `BalanceSheet` objects.
@@ -6825,21 +7399,43 @@ Creates an `AssociationType` object with the given values.
-
```typescript
-await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("custom_object_class_id", {
- isDebugMode: true,
- runAsync: true,
- model: {
- sourceObjectClass: {
- id: "id",
- originType: "CUSTOM_OBJECT"
- },
- targetObjectClasses: [{
- id: "id",
- originType: "CUSTOM_OBJECT"
- }],
- remoteKeyName: "remote_key_name"
- }
+const pageableResponse = await client.accounting.balanceSheets.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.balanceSheets.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -6855,15 +7451,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("cus
-
-**custom_object_class_id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.CrmAssociationTypeEndpointRequest`
+**request:** `Merge.accounting.BalanceSheetsListRequest`
@@ -6871,7 +7459,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("cus
-
-**requestOptions:** `AssociationTypesClient.RequestOptions`
+**requestOptions:** `BalanceSheetsClient.RequestOptions`
@@ -6883,7 +7471,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("cus
-client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve(custom_object_class_id, id, { ...params }) -> Merge.AssociationType
+client.accounting.balanceSheets.retrieve(id, { ...params }) -> Merge.BalanceSheet
-
@@ -6895,7 +7483,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("cus
-
-Returns an `AssociationType` object with the given `id`.
+Returns a `BalanceSheet` object with the given `id`.
@@ -6910,8 +7498,7 @@ Returns an `AssociationType` object with the given `id`.
-
```typescript
-await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("custom_object_class_id", "id", {
- expand: "target_object_classes",
+await client.accounting.balanceSheets.retrieve("id", {
includeRemoteData: true,
includeShellData: true
});
@@ -6930,14 +7517,6 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("c
-
-**custom_object_class_id:** `string`
-
-
-
-
-
--
-
**id:** `string`
@@ -6946,7 +7525,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("c
-
-**request:** `Merge.crm.CustomObjectClassesAssociationTypesRetrieveRequest`
+**request:** `Merge.accounting.BalanceSheetsRetrieveRequest`
@@ -6954,7 +7533,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("c
-
-**requestOptions:** `AssociationTypesClient.RequestOptions`
+**requestOptions:** `BalanceSheetsClient.RequestOptions`
@@ -6966,7 +7545,8 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("c
-client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRetrieve(custom_object_class_id) -> Merge.MetaResponse
+## Accounting BankFeedAccounts
+client.accounting.bankFeedAccounts.list({ ...params }) -> core.Page
-
@@ -6978,7 +7558,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("c
-
-Returns metadata for `CRMAssociationType` POSTs.
+Returns a list of `BankFeedAccount` objects.
@@ -6993,7 +7573,31 @@ Returns metadata for `CRMAssociationType` POSTs.
-
```typescript
-await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRetrieve("custom_object_class_id");
+const pageableResponse = await client.accounting.bankFeedAccounts.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.bankFeedAccounts.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -7009,7 +7613,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRet
-
-**custom_object_class_id:** `string`
+**request:** `Merge.accounting.BankFeedAccountsListRequest`
@@ -7017,7 +7621,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRet
-
-**requestOptions:** `AssociationTypesClient.RequestOptions`
+**requestOptions:** `BankFeedAccountsClient.RequestOptions`
@@ -7029,8 +7633,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRet
-## Crm CustomObjects
-client.crm.customObjects.customObjectClassesCustomObjectsList(custom_object_class_id, { ...params }) -> Merge.PaginatedCustomObjectList
+client.accounting.bankFeedAccounts.create({ ...params }) -> Merge.BankFeedAccountResponse
-
@@ -7042,7 +7645,7 @@ await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRet
-
-Returns a list of `CustomObject` objects.
+Creates a `BankFeedAccount` object with the given values.
@@ -7057,18 +7660,12 @@ Returns a list of `CustomObject` objects.
-
```typescript
-await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_object_class_id", {
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
+await client.accounting.bankFeedAccounts.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
});
```
@@ -7085,15 +7682,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_obje
-
-**custom_object_class_id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.CustomObjectClassesCustomObjectsListRequest`
+**request:** `Merge.accounting.BankFeedAccountsCreateRequest`
@@ -7101,7 +7690,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_obje
-
-**requestOptions:** `CustomObjectsClient.RequestOptions`
+**requestOptions:** `BankFeedAccountsClient.RequestOptions`
@@ -7113,7 +7702,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_obje
-client.crm.customObjects.customObjectClassesCustomObjectsCreate(custom_object_class_id, { ...params }) -> Merge.CrmCustomObjectResponse
+client.accounting.bankFeedAccounts.retrieve(id, { ...params }) -> Merge.BankFeedAccount
-
@@ -7125,7 +7714,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_obje
-
-Creates a `CustomObject` object with the given values.
+Returns a `BankFeedAccount` object with the given `id`.
@@ -7140,14 +7729,9 @@ Creates a `CustomObject` object with the given values.
-
```typescript
-await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_object_class_id", {
- isDebugMode: true,
- runAsync: true,
- model: {
- fields: {
- "test_field": "hello"
- }
- }
+await client.accounting.bankFeedAccounts.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true
});
```
@@ -7164,7 +7748,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_ob
-
-**custom_object_class_id:** `string`
+**id:** `string`
@@ -7172,7 +7756,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_ob
-
-**request:** `Merge.crm.CrmCustomObjectEndpointRequest`
+**request:** `Merge.accounting.BankFeedAccountsRetrieveRequest`
@@ -7180,7 +7764,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_ob
-
-**requestOptions:** `CustomObjectsClient.RequestOptions`
+**requestOptions:** `BankFeedAccountsClient.RequestOptions`
@@ -7192,7 +7776,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_ob
-client.crm.customObjects.customObjectClassesCustomObjectsRetrieve(custom_object_class_id, id, { ...params }) -> Merge.CustomObject
+client.accounting.bankFeedAccounts.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedBankFeedAccountList
-
@@ -7204,7 +7788,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_ob
-
-Returns a `CustomObject` object with the given `id`.
+Returns a list of `BankFeedAccount` objects.
@@ -7219,10 +7803,12 @@ Returns a `CustomObject` object with the given `id`.
-
```typescript
-await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_object_class_id", "id", {
+await client.accounting.bankFeedAccounts.batchObjectsList("batch_id", {
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true
+ includeShellData: true,
+ pageSize: 1
});
```
@@ -7239,15 +7825,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_
-
-**custom_object_class_id:** `string`
-
-
-
-
-
--
-
-**id:** `string`
+**batch_id:** `string`
@@ -7255,7 +7833,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_
-
-**request:** `Merge.crm.CustomObjectClassesCustomObjectsRetrieveRequest`
+**request:** `Merge.accounting.BankFeedAccountsBatchObjectsListRequest`
@@ -7263,7 +7841,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_
-
-**requestOptions:** `CustomObjectsClient.RequestOptions`
+**requestOptions:** `BankFeedAccountsClient.RequestOptions`
@@ -7275,7 +7853,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_
-client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve(custom_object_class_id) -> Merge.MetaResponse
+client.accounting.bankFeedAccounts.asyncBulkCreate({ ...params }) -> Merge.BankFeedAccountResponse
-
@@ -7287,7 +7865,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_
-
-Returns metadata for `CRMCustomObject` POSTs.
+Creates a `BankFeedAccount` object with the given values.
@@ -7302,7 +7880,16 @@ Returns metadata for `CRMCustomObject` POSTs.
-
```typescript
-await client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve("custom_object_class_id");
+await client.accounting.bankFeedAccounts.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
+});
```
@@ -7318,7 +7905,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve(
-
-**custom_object_class_id:** `string`
+**request:** `Merge.accounting.BankFeedAccountBulkRequest`
@@ -7326,7 +7913,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve(
-
-**requestOptions:** `CustomObjectsClient.RequestOptions`
+**requestOptions:** `BankFeedAccountsClient.RequestOptions`
@@ -7338,7 +7925,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve(
-client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+client.accounting.bankFeedAccounts.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -7350,7 +7937,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve(
-
-Returns a list of `RemoteFieldClass` objects.
+Returns metadata for `BankFeedAccount` POSTs.
@@ -7365,16 +7952,7 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- isCommonModelField: true,
- isCustom: true,
- pageSize: 1
-});
+await client.accounting.bankFeedAccounts.metaPostRetrieve();
```
@@ -7390,15 +7968,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClasse
-
-**request:** `Merge.crm.CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest`
-
-
-
-
-
--
-
-**requestOptions:** `CustomObjectsClient.RequestOptions`
+**requestOptions:** `BankFeedAccountsClient.RequestOptions`
@@ -7410,8 +7980,8 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClasse
-## Crm Associations
-client.crm.associations.customObjectClassesCustomObjectsAssociationsList(custom_object_class_id, object_id, { ...params }) -> Merge.PaginatedAssociationList
+## Accounting BankFeedTransactions
+client.accounting.bankFeedTransactions.list({ ...params }) -> core.Page
-
@@ -7423,7 +7993,7 @@ await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClasse
-
-Returns a list of `Association` objects.
+Returns a list of `BankFeedTransaction` objects.
@@ -7438,20 +8008,43 @@ Returns a list of `Association` objects.
-
```typescript
-await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("custom_object_class_id", "object_id", {
- associationTypeId: "association_type_id",
+const pageableResponse = await client.accounting.bankFeedTransactions.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isProcessed: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.bankFeedTransactions.list({
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "association_type",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
+ isProcessed: true,
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -7467,23 +8060,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("
-
-**custom_object_class_id:** `string`
-
-
-
-
-
--
-
-**object_id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.CustomObjectClassesCustomObjectsAssociationsListRequest`
+**request:** `Merge.accounting.BankFeedTransactionsListRequest`
@@ -7491,7 +8068,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("
-
-**requestOptions:** `AssociationsClient.RequestOptions`
+**requestOptions:** `BankFeedTransactionsClient.RequestOptions`
@@ -7503,7 +8080,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("
-client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate(source_class_id, source_object_id, target_class_id, target_object_id, association_type_id, { ...params }) -> Merge.Association
+client.accounting.bankFeedTransactions.create({ ...params }) -> Merge.BankFeedTransactionResponse
-
@@ -7515,7 +8092,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("
-
-Creates an Association between `source_object_id` and `target_object_id` of type `association_type_id`.
+Creates a `BankFeedTransaction` object with the given values.
@@ -7530,9 +8107,12 @@ Creates an Association between `source_object_id` and `target_object_id` of type
-
```typescript
-await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate("source_class_id", "source_object_id", "target_class_id", "target_object_id", "association_type_id", {
+await client.accounting.bankFeedTransactions.create({
isDebugMode: true,
- runAsync: true
+ runAsync: true,
+ body: {
+ model: {}
+ }
});
```
@@ -7549,7 +8129,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate
-
-**source_class_id:** `string`
+**request:** `Merge.accounting.BankFeedTransactionsCreateRequest`
@@ -7557,31 +8137,65 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate
-
-**source_object_id:** `string`
+**requestOptions:** `BankFeedTransactionsClient.RequestOptions`
+
+
+
+
+
+
+
+client.accounting.bankFeedTransactions.retrieve(id, { ...params }) -> Merge.BankFeedTransaction
-
-**target_class_id:** `string`
-
+#### 📝 Description
+
+
+-
+
+
+-
+
+Returns a `BankFeedTransaction` object with the given `id`.
+
+
+#### 🔌 Usage
+
-
-**target_object_id:** `string`
-
+
+-
+
+```typescript
+await client.accounting.bankFeedTransactions.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true
+});
+
+```
+
+
+#### ⚙️ Parameters
+
-
-**association_type_id:** `string`
+
+-
+
+**id:** `string`
@@ -7589,7 +8203,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate
-
-**request:** `Merge.crm.CustomObjectClassesCustomObjectsAssociationsUpdateRequest`
+**request:** `Merge.accounting.BankFeedTransactionsRetrieveRequest`
@@ -7597,7 +8211,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate
-
-**requestOptions:** `AssociationsClient.RequestOptions`
+**requestOptions:** `BankFeedTransactionsClient.RequestOptions`
@@ -7609,8 +8223,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate
-## Crm Scopes
-client.crm.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
+client.accounting.bankFeedTransactions.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedBankFeedTransactionList
-
@@ -7622,7 +8235,7 @@ await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate
-
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
+Returns a list of `BankFeedTransaction` objects.
@@ -7637,7 +8250,19 @@ Get the default permissions for Merge Common Models and fields across all Linked
-
```typescript
-await client.crm.scopes.defaultScopesRetrieve();
+await client.accounting.bankFeedTransactions.batchObjectsList("batch_id", {
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isProcessed: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
```
@@ -7653,7 +8278,23 @@ await client.crm.scopes.defaultScopesRetrieve();
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**batch_id:** `string`
+
+
+
+
+
+-
+
+**request:** `Merge.accounting.BankFeedTransactionsBatchObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `BankFeedTransactionsClient.RequestOptions`
@@ -7665,7 +8306,7 @@ await client.crm.scopes.defaultScopesRetrieve();
-client.crm.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
+client.accounting.bankFeedTransactions.asyncBulkCreate({ ...params }) -> Merge.BankFeedTransactionResponse
-
@@ -7677,7 +8318,7 @@ await client.crm.scopes.defaultScopesRetrieve();
-
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
+Creates a `BankFeedTransaction` object with the given values.
@@ -7692,7 +8333,16 @@ Get all available permissions for Merge Common Models and fields for a single Li
-
```typescript
-await client.crm.scopes.linkedAccountScopesRetrieve();
+await client.accounting.bankFeedTransactions.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
+});
```
@@ -7708,7 +8358,15 @@ await client.crm.scopes.linkedAccountScopesRetrieve();
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**request:** `Merge.accounting.BankFeedTransactionBulkRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `BankFeedTransactionsClient.RequestOptions`
@@ -7720,7 +8378,7 @@ await client.crm.scopes.linkedAccountScopesRetrieve();
-client.crm.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
+client.accounting.bankFeedTransactions.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -7732,7 +8390,7 @@ await client.crm.scopes.linkedAccountScopesRetrieve();
-
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
+Returns metadata for `BankFeedTransaction` POSTs.
@@ -7747,30 +8405,7 @@ Update permissions for any Common Model or field for a single Linked Account. An
-
```typescript
-await client.crm.scopes.linkedAccountScopesCreate({
- commonModels: [{
- modelName: "Employee",
- modelPermissions: {
- "READ": {
- isEnabled: true
- },
- "WRITE": {
- isEnabled: false
- }
- },
- fieldPermissions: {
- enabledFields: ["avatar", "home_location"],
- disabledFields: ["work_location"]
- }
- }, {
- modelName: "Benefit",
- modelPermissions: {
- "WRITE": {
- isEnabled: false
- }
- }
- }]
-});
+await client.accounting.bankFeedTransactions.metaPostRetrieve();
```
@@ -7786,15 +8421,7 @@ await client.crm.scopes.linkedAccountScopesCreate({
-
-**request:** `Merge.crm.LinkedAccountCommonModelScopeDeserializerRequest`
-
-
-
-
-
--
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**requestOptions:** `BankFeedTransactionsClient.RequestOptions`
@@ -7806,8 +8433,8 @@ await client.crm.scopes.linkedAccountScopesCreate({
-## Crm DeleteAccount
-client.crm.deleteAccount.delete() -> void
+## Accounting CashFlowStatements
+client.accounting.cashFlowStatements.list({ ...params }) -> core.Page
-
@@ -7819,7 +8446,7 @@ await client.crm.scopes.linkedAccountScopesCreate({
-
-Delete a linked account.
+Returns a list of `CashFlowStatement` objects.
@@ -7834,75 +8461,43 @@ Delete a linked account.
-
```typescript
-await client.crm.deleteAccount.delete();
-
-```
-
-
-
-
-
-#### ⚙️ Parameters
-
-
--
-
-
--
-
-**requestOptions:** `DeleteAccountClient.RequestOptions`
-
-
-
-
-
-
-
-
-
-
-
-## Crm EngagementTypes
-client.crm.engagementTypes.list({ ...params }) -> Merge.PaginatedEngagementTypeList
-
--
-
-#### 📝 Description
-
-
--
-
-
--
-
-Returns a list of `EngagementType` objects.
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-
--
+const pageableResponse = await client.accounting.cashFlowStatements.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
-```typescript
-await client.crm.engagementTypes.list({
+// Or you can manually iterate page-by-page
+let page = await client.accounting.cashFlowStatements.list({
+ companyId: "company_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
includeDeletedData: true,
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true,
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -7918,7 +8513,7 @@ await client.crm.engagementTypes.list({
-
-**request:** `Merge.crm.EngagementTypesListRequest`
+**request:** `Merge.accounting.CashFlowStatementsListRequest`
@@ -7926,7 +8521,7 @@ await client.crm.engagementTypes.list({
-
-**requestOptions:** `EngagementTypesClient.RequestOptions`
+**requestOptions:** `CashFlowStatementsClient.RequestOptions`
@@ -7938,7 +8533,7 @@ await client.crm.engagementTypes.list({
-client.crm.engagementTypes.retrieve(id, { ...params }) -> Merge.EngagementType
+client.accounting.cashFlowStatements.retrieve(id, { ...params }) -> Merge.CashFlowStatement
-
@@ -7950,7 +8545,7 @@ await client.crm.engagementTypes.list({
-
-Returns an `EngagementType` object with the given `id`.
+Returns a `CashFlowStatement` object with the given `id`.
@@ -7965,9 +8560,8 @@ Returns an `EngagementType` object with the given `id`.
-
```typescript
-await client.crm.engagementTypes.retrieve("id", {
+await client.accounting.cashFlowStatements.retrieve("id", {
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true
});
@@ -7993,7 +8587,7 @@ await client.crm.engagementTypes.retrieve("id", {
-
-**request:** `Merge.crm.EngagementTypesRetrieveRequest`
+**request:** `Merge.accounting.CashFlowStatementsRetrieveRequest`
@@ -8001,7 +8595,7 @@ await client.crm.engagementTypes.retrieve("id", {
-
-**requestOptions:** `EngagementTypesClient.RequestOptions`
+**requestOptions:** `CashFlowStatementsClient.RequestOptions`
@@ -8013,7 +8607,8 @@ await client.crm.engagementTypes.retrieve("id", {
-client.crm.engagementTypes.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+## Accounting CompanyInfo
+client.accounting.companyInfo.list({ ...params }) -> core.Page
-
@@ -8025,7 +8620,7 @@ await client.crm.engagementTypes.retrieve("id", {
-
-Returns a list of `RemoteFieldClass` objects.
+Returns a list of `CompanyInfo` objects.
@@ -8040,16 +8635,43 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.engagementTypes.remoteFieldClassesList({
+const pageableResponse = await client.accounting.companyInfo.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
includeDeletedData: true,
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true,
- isCommonModelField: true,
- isCustom: true,
- pageSize: 1
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteId: "remote_id"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.companyInfo.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -8065,7 +8687,7 @@ await client.crm.engagementTypes.remoteFieldClassesList({
-
-**request:** `Merge.crm.EngagementTypesRemoteFieldClassesListRequest`
+**request:** `Merge.accounting.CompanyInfoListRequest`
@@ -8073,7 +8695,7 @@ await client.crm.engagementTypes.remoteFieldClassesList({
-
-**requestOptions:** `EngagementTypesClient.RequestOptions`
+**requestOptions:** `CompanyInfoClient.RequestOptions`
@@ -8085,8 +8707,7 @@ await client.crm.engagementTypes.remoteFieldClassesList({
-## Crm Engagements
-client.crm.engagements.list({ ...params }) -> Merge.PaginatedEngagementList
+client.accounting.companyInfo.retrieve(id, { ...params }) -> Merge.CompanyInfo
-
@@ -8098,7 +8719,7 @@ await client.crm.engagementTypes.remoteFieldClassesList({
-
-Returns a list of `Engagement` objects.
+Returns a `CompanyInfo` object with the given `id`.
@@ -8113,21 +8734,9 @@ Returns a list of `Engagement` objects.
-
```typescript
-await client.crm.engagements.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "account",
- includeDeletedData: true,
+await client.accounting.companyInfo.retrieve("id", {
includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id",
- startedAfter: new Date("2024-01-15T09:30:00.000Z"),
- startedBefore: new Date("2024-01-15T09:30:00.000Z")
+ includeShellData: true
});
```
@@ -8144,7 +8753,7 @@ await client.crm.engagements.list({
-
-**request:** `Merge.crm.EngagementsListRequest`
+**id:** `string`
@@ -8152,7 +8761,15 @@ await client.crm.engagements.list({
-
-**requestOptions:** `EngagementsClient.RequestOptions`
+**request:** `Merge.accounting.CompanyInfoRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `CompanyInfoClient.RequestOptions`
@@ -8164,7 +8781,8 @@ await client.crm.engagements.list({
-client.crm.engagements.create({ ...params }) -> Merge.EngagementResponse
+## Accounting Contacts
+client.accounting.contacts.list({ ...params }) -> core.Page
-
@@ -8176,7 +8794,7 @@ await client.crm.engagements.list({
-
-Creates an `Engagement` object with the given values.
+Returns a list of `Contact` objects.
@@ -8191,11 +8809,59 @@ Creates an `Engagement` object with the given values.
-
```typescript
-await client.crm.engagements.create({
- isDebugMode: true,
- runAsync: true,
- model: {}
+const pageableResponse = await client.accounting.contacts.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ emailAddress: "email_address",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCustomer: "is_customer",
+ isSupplier: "is_supplier",
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status",
+ status: ""
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.contacts.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ emailAddress: "email_address",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCustomer: "is_customer",
+ isSupplier: "is_supplier",
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status",
+ status: ""
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -8211,7 +8877,7 @@ await client.crm.engagements.create({
-
-**request:** `Merge.crm.EngagementEndpointRequest`
+**request:** `Merge.accounting.ContactsListRequest`
@@ -8219,7 +8885,7 @@ await client.crm.engagements.create({
-
-**requestOptions:** `EngagementsClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -8231,7 +8897,7 @@ await client.crm.engagements.create({
-client.crm.engagements.retrieve(id, { ...params }) -> Merge.Engagement
+client.accounting.contacts.create({ ...params }) -> Merge.ContactResponse
-
@@ -8243,7 +8909,7 @@ await client.crm.engagements.create({
-
-Returns an `Engagement` object with the given `id`.
+Creates a `Contact` object with the given values.
@@ -8258,11 +8924,12 @@ Returns an `Engagement` object with the given `id`.
-
```typescript
-await client.crm.engagements.retrieve("id", {
- expand: "account",
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true
+await client.accounting.contacts.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
});
```
@@ -8279,15 +8946,7 @@ await client.crm.engagements.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.EngagementsRetrieveRequest`
+**request:** `Merge.accounting.ContactsCreateRequest`
@@ -8295,7 +8954,7 @@ await client.crm.engagements.retrieve("id", {
-
-**requestOptions:** `EngagementsClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -8307,7 +8966,7 @@ await client.crm.engagements.retrieve("id", {
-client.crm.engagements.partialUpdate(id, { ...params }) -> Merge.EngagementResponse
+client.accounting.contacts.retrieve(id, { ...params }) -> Merge.Contact
-
@@ -8319,7 +8978,7 @@ await client.crm.engagements.retrieve("id", {
-
-Updates an `Engagement` object with the given `id`.
+Returns a `Contact` object with the given `id`.
@@ -8334,10 +8993,12 @@ Updates an `Engagement` object with the given `id`.
-
```typescript
-await client.crm.engagements.partialUpdate("id", {
- isDebugMode: true,
- runAsync: true,
- model: {}
+await client.accounting.contacts.retrieve("id", {
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ remoteFields: "status",
+ showEnumOrigins: "status"
});
```
@@ -8362,7 +9023,7 @@ await client.crm.engagements.partialUpdate("id", {
-
-**request:** `Merge.crm.PatchedEngagementEndpointRequest`
+**request:** `Merge.accounting.ContactsRetrieveRequest`
@@ -8370,7 +9031,7 @@ await client.crm.engagements.partialUpdate("id", {
-
-**requestOptions:** `EngagementsClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -8382,7 +9043,7 @@ await client.crm.engagements.partialUpdate("id", {
-client.crm.engagements.metaPatchRetrieve(id) -> Merge.MetaResponse
+client.accounting.contacts.partialUpdate(id, { ...params }) -> Merge.ContactResponse
-
@@ -8394,7 +9055,7 @@ await client.crm.engagements.partialUpdate("id", {
-
-Returns metadata for `Engagement` PATCHs.
+Updates a `Contact` object with the given `id`.
@@ -8409,7 +9070,11 @@ Returns metadata for `Engagement` PATCHs.
-
```typescript
-await client.crm.engagements.metaPatchRetrieve("id");
+await client.accounting.contacts.partialUpdate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
+});
```
@@ -8433,62 +9098,15 @@ await client.crm.engagements.metaPatchRetrieve("id");
-
-**requestOptions:** `EngagementsClient.RequestOptions`
+**request:** `Merge.accounting.PatchedContactEndpointRequest`
-
-
-
-
-
-
-
-
-client.crm.engagements.metaPostRetrieve() -> Merge.MetaResponse
-
--
-
-#### 📝 Description
-
-
--
-
-Returns metadata for `Engagement` POSTs.
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-
--
-
-```typescript
-await client.crm.engagements.metaPostRetrieve();
-
-```
-
-
-
-
-
-#### ⚙️ Parameters
-
-
--
-
-
--
-
-**requestOptions:** `EngagementsClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -8500,7 +9118,7 @@ await client.crm.engagements.metaPostRetrieve();
-client.crm.engagements.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+client.accounting.contacts.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedContactList
-
@@ -8512,7 +9130,7 @@ await client.crm.engagements.metaPostRetrieve();
-
-Returns a list of `RemoteFieldClass` objects.
+Returns a list of `Contact` objects.
@@ -8527,15 +9145,26 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.engagements.remoteFieldClassesList({
+await client.accounting.contacts.batchObjectsList("batch_id", {
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ emailAddress: "email_address",
includeDeletedData: true,
includeRemoteData: true,
includeRemoteFields: true,
includeShellData: true,
- isCommonModelField: true,
- isCustom: true,
- pageSize: 1
+ isCustomer: "is_customer",
+ isSupplier: "is_supplier",
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status",
+ status: ""
});
```
@@ -8552,7 +9181,7 @@ await client.crm.engagements.remoteFieldClassesList({
-
-**request:** `Merge.crm.EngagementsRemoteFieldClassesListRequest`
+**batch_id:** `string`
@@ -8560,65 +9189,7 @@ await client.crm.engagements.remoteFieldClassesList({
-
-**requestOptions:** `EngagementsClient.RequestOptions`
-
-
-
-
-
-
-
-
-
-
-
-## Crm FieldMapping
-client.crm.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
-
--
-
-#### 📝 Description
-
-
--
-
-
--
-
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-
--
-
-```typescript
-await client.crm.fieldMapping.fieldMappingsRetrieve({
- excludeRemoteFieldMetadata: true
-});
-
-```
-
-
-
-
-
-#### ⚙️ Parameters
-
-
--
-
-
--
-
-**request:** `Merge.crm.FieldMappingsRetrieveRequest`
+**request:** `Merge.accounting.ContactsBatchObjectsListRequest`
@@ -8626,7 +9197,7 @@ await client.crm.fieldMapping.fieldMappingsRetrieve({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -8638,7 +9209,7 @@ await client.crm.fieldMapping.fieldMappingsRetrieve({
-client.crm.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
+client.accounting.contacts.asyncBulkCreate({ ...params }) -> Merge.ContactResponse
-
@@ -8650,7 +9221,7 @@ await client.crm.fieldMapping.fieldMappingsRetrieve({
-
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Creates a `Contact` object with the given values.
@@ -8665,14 +9236,15 @@ Create new Field Mappings that will be available after the next scheduled sync.
-
```typescript
-await client.crm.fieldMapping.fieldMappingsCreate({
- excludeRemoteFieldMetadata: true,
- targetFieldName: "example_target_field_name",
- targetFieldDescription: "this is a example description of the target field",
- remoteFieldTraversalPath: ["example_remote_field"],
- remoteMethod: "GET",
- remoteUrlPath: "/example-url-path",
- commonModelName: "ExampleCommonModel"
+await client.accounting.contacts.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
});
```
@@ -8689,7 +9261,7 @@ await client.crm.fieldMapping.fieldMappingsCreate({
-
-**request:** `Merge.crm.CreateFieldMappingRequest`
+**request:** `Merge.accounting.ContactBulkRequest`
@@ -8697,7 +9269,7 @@ await client.crm.fieldMapping.fieldMappingsCreate({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -8709,7 +9281,7 @@ await client.crm.fieldMapping.fieldMappingsCreate({
-client.crm.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
+client.accounting.contacts.metaPatchRetrieve(id) -> Merge.MetaResponse
-
@@ -8721,7 +9293,7 @@ await client.crm.fieldMapping.fieldMappingsCreate({
-
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Returns metadata for `Contact` PATCHs.
@@ -8736,7 +9308,7 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp
-
```typescript
-await client.crm.fieldMapping.fieldMappingsDestroy("field_mapping_id");
+await client.accounting.contacts.metaPatchRetrieve("id");
```
@@ -8752,7 +9324,7 @@ await client.crm.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-**field_mapping_id:** `string`
+**id:** `string`
@@ -8760,7 +9332,7 @@ await client.crm.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -8772,7 +9344,7 @@ await client.crm.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-client.crm.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse
+client.accounting.contacts.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -8784,7 +9356,7 @@ await client.crm.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Returns metadata for `Contact` POSTs.
@@ -8799,7 +9371,7 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r
-
```typescript
-await client.crm.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
+await client.accounting.contacts.metaPostRetrieve();
```
@@ -8815,23 +9387,7 @@ await client.crm.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-
-**field_mapping_id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.PatchedEditFieldMappingRequest`
-
-
-
-
-
--
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -8843,7 +9399,7 @@ await client.crm.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-client.crm.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse
+client.accounting.contacts.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -8855,7 +9411,7 @@ await client.crm.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
+Returns a list of `RemoteFieldClass` objects.
@@ -8870,10 +9426,35 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields
-
```typescript
-await client.crm.fieldMapping.remoteFieldsRetrieve({
- commonModels: "common_models",
- includeExampleValues: "include_example_values"
+const pageableResponse = await client.accounting.contacts.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.contacts.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -8889,7 +9470,7 @@ await client.crm.fieldMapping.remoteFieldsRetrieve({
-
-**request:** `Merge.crm.RemoteFieldsRetrieveRequest`
+**request:** `Merge.accounting.ContactsRemoteFieldClassesListRequest`
@@ -8897,7 +9478,7 @@ await client.crm.fieldMapping.remoteFieldsRetrieve({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -8909,7 +9490,8 @@ await client.crm.fieldMapping.remoteFieldsRetrieve({
-client.crm.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse
+## Accounting CreditNotes
+client.accounting.creditNotes.list({ ...params }) -> core.Page
-
@@ -8921,7 +9503,7 @@ await client.crm.fieldMapping.remoteFieldsRetrieve({
-
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
+Returns a list of `CreditNote` objects.
@@ -8936,7 +9518,51 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun
-
```typescript
-await client.crm.fieldMapping.targetFieldsRetrieve();
+const pageableResponse = await client.accounting.creditNotes.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.creditNotes.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -8952,7 +9578,15 @@ await client.crm.fieldMapping.targetFieldsRetrieve();
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**request:** `Merge.accounting.CreditNotesListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -8964,8 +9598,7 @@ await client.crm.fieldMapping.targetFieldsRetrieve();
-## Crm GenerateKey
-client.crm.generateKey.create({ ...params }) -> Merge.RemoteKey
+client.accounting.creditNotes.create({ ...params }) -> Merge.CreditNoteResponse
-
@@ -8977,7 +9610,7 @@ await client.crm.fieldMapping.targetFieldsRetrieve();
-
-Create a remote key.
+Creates a `CreditNote` object with the given values.
@@ -8992,8 +9625,12 @@ Create a remote key.
-
```typescript
-await client.crm.generateKey.create({
- name: "Remote Deployment Key 1"
+await client.accounting.creditNotes.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
});
```
@@ -9010,7 +9647,7 @@ await client.crm.generateKey.create({
-
-**request:** `Merge.crm.GenerateRemoteKeyRequest`
+**request:** `Merge.accounting.CreditNotesCreateRequest`
@@ -9018,7 +9655,7 @@ await client.crm.generateKey.create({
-
-**requestOptions:** `GenerateKeyClient.RequestOptions`
+**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -9030,8 +9667,7 @@ await client.crm.generateKey.create({
-## Crm Issues
-client.crm.issues.list({ ...params }) -> Merge.PaginatedIssueList
+client.accounting.creditNotes.retrieve(id, { ...params }) -> Merge.CreditNote
-
@@ -9043,7 +9679,7 @@ await client.crm.generateKey.create({
-
-Gets all issues for Organization.
+Returns a `CreditNote` object with the given `id`.
@@ -9058,21 +9694,11 @@ Gets all issues for Organization.
-
```typescript
-await client.crm.issues.list({
- accountToken: "account_token",
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- endDate: "end_date",
- endUserOrganizationName: "end_user_organization_name",
- firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
- firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
- includeMuted: "include_muted",
- integrationName: "integration_name",
- lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
- lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
- linkedAccountId: "linked_account_id",
- pageSize: 1,
- startDate: "start_date",
- status: "ONGOING"
+await client.accounting.creditNotes.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true,
+ remoteFields: "status",
+ showEnumOrigins: "status"
});
```
@@ -9089,7 +9715,7 @@ await client.crm.issues.list({
-
-**request:** `Merge.crm.IssuesListRequest`
+**id:** `string`
@@ -9097,7 +9723,15 @@ await client.crm.issues.list({
-
-**requestOptions:** `IssuesClient.RequestOptions`
+**request:** `Merge.accounting.CreditNotesRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -9109,7 +9743,7 @@ await client.crm.issues.list({
-client.crm.issues.retrieve(id) -> Merge.Issue
+client.accounting.creditNotes.partialUpdate(id, { ...params }) -> Merge.CreditNoteResponse
-
@@ -9121,7 +9755,7 @@ await client.crm.issues.list({
-
-Get a specific issue.
+Updates a `CreditNote` object with the given `id`.
@@ -9136,7 +9770,11 @@ Get a specific issue.
-
```typescript
-await client.crm.issues.retrieve("id");
+await client.accounting.creditNotes.partialUpdate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
+});
```
@@ -9160,7 +9798,15 @@ await client.crm.issues.retrieve("id");
-
-**requestOptions:** `IssuesClient.RequestOptions`
+**request:** `Merge.accounting.PatchedCreditNoteEndpointRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -9172,8 +9818,7 @@ await client.crm.issues.retrieve("id");
-## Crm Leads
-client.crm.leads.list({ ...params }) -> Merge.PaginatedLeadList
+client.accounting.creditNotes.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedCreditNoteList
-
@@ -9185,7 +9830,7 @@ await client.crm.issues.retrieve("id");
-
-Returns a list of `Lead` objects.
+Returns a list of `CreditNote` objects.
@@ -9200,24 +9845,22 @@ Returns a list of `Lead` objects.
-
```typescript
-await client.crm.leads.list({
- convertedAccountId: "converted_account_id",
- convertedContactId: "converted_contact_id",
+await client.accounting.creditNotes.batchObjectsList("batch_id", {
+ companyId: "company_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- emailAddresses: "email_addresses",
- expand: "converted_account",
includeDeletedData: true,
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true,
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- ownerId: "owner_id",
pageSize: 1,
- phoneNumbers: "phone_numbers",
- remoteId: "remote_id"
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
});
```
@@ -9234,7 +9877,7 @@ await client.crm.leads.list({
-
-**request:** `Merge.crm.LeadsListRequest`
+**batch_id:** `string`
@@ -9242,7 +9885,15 @@ await client.crm.leads.list({
-
-**requestOptions:** `LeadsClient.RequestOptions`
+**request:** `Merge.accounting.CreditNotesBatchObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -9254,7 +9905,7 @@ await client.crm.leads.list({
-client.crm.leads.create({ ...params }) -> Merge.LeadResponse
+client.accounting.creditNotes.asyncBulkCreate({ ...params }) -> Merge.CreditNoteResponse
-
@@ -9266,7 +9917,7 @@ await client.crm.leads.list({
-
-Creates a `Lead` object with the given values.
+Creates a `CreditNote` object with the given values.
@@ -9281,10 +9932,15 @@ Creates a `Lead` object with the given values.
-
```typescript
-await client.crm.leads.create({
+await client.accounting.creditNotes.asyncBulkCreate({
isDebugMode: true,
runAsync: true,
- model: {}
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
});
```
@@ -9301,7 +9957,7 @@ await client.crm.leads.create({
-
-**request:** `Merge.crm.LeadEndpointRequest`
+**request:** `Merge.accounting.CreditNoteBulkRequest`
@@ -9309,7 +9965,7 @@ await client.crm.leads.create({
-
-**requestOptions:** `LeadsClient.RequestOptions`
+**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -9321,7 +9977,7 @@ await client.crm.leads.create({
-client.crm.leads.retrieve(id, { ...params }) -> Merge.Lead
+client.accounting.creditNotes.applicationCreate(id, { ...params }) -> Merge.CreditNoteResponse
-
@@ -9333,7 +9989,7 @@ await client.crm.leads.create({
-
-Returns a `Lead` object with the given `id`.
+Creates a new CreditNoteApplyLine to apply a credit note to an invoice
@@ -9348,11 +10004,11 @@ Returns a `Lead` object with the given `id`.
-
```typescript
-await client.crm.leads.retrieve("id", {
- expand: "converted_account",
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true
+await client.accounting.creditNotes.applicationCreate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ appliedDate: new Date("2024-01-15T09:30:00.000Z"),
+ appliedAmount: "applied_amount"
});
```
@@ -9377,7 +10033,7 @@ await client.crm.leads.retrieve("id", {
-
-**request:** `Merge.crm.LeadsRetrieveRequest`
+**request:** `Merge.accounting.ApplyCreditNoteRequest`
@@ -9385,7 +10041,7 @@ await client.crm.leads.retrieve("id", {
-
-**requestOptions:** `LeadsClient.RequestOptions`
+**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -9397,7 +10053,7 @@ await client.crm.leads.retrieve("id", {
-client.crm.leads.metaPostRetrieve() -> Merge.MetaResponse
+client.accounting.creditNotes.metaPatchRetrieve(id) -> Merge.MetaResponse
-
@@ -9409,7 +10065,7 @@ await client.crm.leads.retrieve("id", {
-
-Returns metadata for `Lead` POSTs.
+Returns metadata for `CreditNote` PATCHs.
@@ -9424,7 +10080,7 @@ Returns metadata for `Lead` POSTs.
-
```typescript
-await client.crm.leads.metaPostRetrieve();
+await client.accounting.creditNotes.metaPatchRetrieve("id");
```
@@ -9440,7 +10096,15 @@ await client.crm.leads.metaPostRetrieve();
-
-**requestOptions:** `LeadsClient.RequestOptions`
+**id:** `string`
+
+
+
+
+
+-
+
+**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -9452,7 +10116,7 @@ await client.crm.leads.metaPostRetrieve();
-client.crm.leads.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+client.accounting.creditNotes.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -9464,7 +10128,7 @@ await client.crm.leads.metaPostRetrieve();
-
-Returns a list of `RemoteFieldClass` objects.
+Returns metadata for `CreditNote` POSTs.
@@ -9479,16 +10143,7 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.leads.remoteFieldClassesList({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- isCommonModelField: true,
- isCustom: true,
- pageSize: 1
-});
+await client.accounting.creditNotes.metaPostRetrieve();
```
@@ -9504,15 +10159,7 @@ await client.crm.leads.remoteFieldClassesList({
-
-**request:** `Merge.crm.LeadsRemoteFieldClassesListRequest`
-
-
-
-
-
--
-
-**requestOptions:** `LeadsClient.RequestOptions`
+**requestOptions:** `CreditNotesClient.RequestOptions`
@@ -9524,8 +10171,8 @@ await client.crm.leads.remoteFieldClassesList({
-## Crm LinkToken
-client.crm.linkToken.create({ ...params }) -> Merge.LinkToken
+## Accounting Scopes
+client.accounting.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
-
@@ -9537,7 +10184,7 @@ await client.crm.leads.remoteFieldClassesList({
-
-Creates a link token to be used when linking a new end user.
+Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -9552,12 +10199,7 @@ Creates a link token to be used when linking a new end user.
-
```typescript
-await client.crm.linkToken.create({
- endUserEmailAddress: "example@gmail.com",
- endUserOrganizationName: "Test Organization",
- endUserOriginId: "12345",
- categories: ["hris", "ats"]
-});
+await client.accounting.scopes.defaultScopesRetrieve();
```
@@ -9573,15 +10215,62 @@ await client.crm.linkToken.create({
-
-**request:** `Merge.crm.EndUserDetailsRequest`
+**requestOptions:** `ScopesClient.RequestOptions`
+
+
+
+
+
+
+
+client.accounting.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
-
-**requestOptions:** `LinkTokenClient.RequestOptions`
+#### 📝 Description
+
+
+-
+
+
+-
+
+Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.accounting.scopes.linkedAccountScopesRetrieve();
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**requestOptions:** `ScopesClient.RequestOptions`
@@ -9593,8 +10282,7 @@ await client.crm.linkToken.create({
-## Crm LinkedAccounts
-client.crm.linkedAccounts.list({ ...params }) -> Merge.PaginatedAccountDetailsAndActionsList
+client.accounting.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
-
@@ -9606,7 +10294,7 @@ await client.crm.linkToken.create({
-
-List linked accounts for your organization.
+Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -9621,20 +10309,29 @@ List linked accounts for your organization.
-
```typescript
-await client.crm.linkedAccounts.list({
- category: "accounting",
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- endUserEmailAddress: "end_user_email_address",
- endUserOrganizationName: "end_user_organization_name",
- endUserOriginId: "end_user_origin_id",
- endUserOriginIds: "end_user_origin_ids",
- id: "id",
- ids: "ids",
- includeDuplicates: true,
- integrationName: "integration_name",
- isTestAccount: "is_test_account",
- pageSize: 1,
- status: "status"
+await client.accounting.scopes.linkedAccountScopesCreate({
+ commonModels: [{
+ modelName: "Employee",
+ modelPermissions: {
+ "READ": {
+ isEnabled: true
+ },
+ "WRITE": {
+ isEnabled: false
+ }
+ },
+ fieldPermissions: {
+ enabledFields: ["avatar", "home_location"],
+ disabledFields: ["work_location"]
+ }
+ }, {
+ modelName: "Benefit",
+ modelPermissions: {
+ "WRITE": {
+ isEnabled: false
+ }
+ }
+ }]
});
```
@@ -9651,7 +10348,7 @@ await client.crm.linkedAccounts.list({
-
-**request:** `Merge.crm.LinkedAccountsListRequest`
+**request:** `Merge.accounting.LinkedAccountCommonModelScopeDeserializerRequest`
@@ -9659,7 +10356,7 @@ await client.crm.linkedAccounts.list({
-
-**requestOptions:** `LinkedAccountsClient.RequestOptions`
+**requestOptions:** `ScopesClient.RequestOptions`
@@ -9671,8 +10368,8 @@ await client.crm.linkedAccounts.list({
-## Crm Notes
-client.crm.notes.list({ ...params }) -> Merge.PaginatedNoteList
+## Accounting DeleteAccount
+client.accounting.deleteAccount.delete() -> void
-
@@ -9684,7 +10381,7 @@ await client.crm.linkedAccounts.list({
-
-Returns a list of `Note` objects.
+Delete a linked account.
@@ -9699,24 +10396,7 @@ Returns a list of `Note` objects.
-
```typescript
-await client.crm.notes.list({
- accountId: "account_id",
- contactId: "contact_id",
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "account",
- includeDeletedData: true,
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- opportunityId: "opportunity_id",
- ownerId: "owner_id",
- pageSize: 1,
- remoteId: "remote_id"
-});
+await client.accounting.deleteAccount.delete();
```
@@ -9732,15 +10412,7 @@ await client.crm.notes.list({
-
-**request:** `Merge.crm.NotesListRequest`
-
-
-
-
-
--
-
-**requestOptions:** `NotesClient.RequestOptions`
+**requestOptions:** `DeleteAccountClient.RequestOptions`
@@ -9752,7 +10424,8 @@ await client.crm.notes.list({
-client.crm.notes.create({ ...params }) -> Merge.NoteResponse
+## Accounting Employees
+client.accounting.employees.list({ ...params }) -> core.Page
-
@@ -9764,7 +10437,7 @@ await client.crm.notes.list({
-
-Creates a `Note` object with the given values.
+Returns a list of `Employee` objects.
@@ -9779,11 +10452,43 @@ Creates a `Note` object with the given values.
-
```typescript
-await client.crm.notes.create({
- isDebugMode: true,
- runAsync: true,
- model: {}
+const pageableResponse = await client.accounting.employees.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.employees.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -9799,7 +10504,7 @@ await client.crm.notes.create({
-
-**request:** `Merge.crm.NoteEndpointRequest`
+**request:** `Merge.accounting.EmployeesListRequest`
@@ -9807,7 +10512,7 @@ await client.crm.notes.create({
-
-**requestOptions:** `NotesClient.RequestOptions`
+**requestOptions:** `EmployeesClient.RequestOptions`
@@ -9819,7 +10524,7 @@ await client.crm.notes.create({
-client.crm.notes.retrieve(id, { ...params }) -> Merge.Note
+client.accounting.employees.retrieve(id, { ...params }) -> Merge.Employee
-
@@ -9831,7 +10536,7 @@ await client.crm.notes.create({
-
-Returns a `Note` object with the given `id`.
+Returns an `Employee` object with the given `id`.
@@ -9846,10 +10551,8 @@ Returns a `Note` object with the given `id`.
-
```typescript
-await client.crm.notes.retrieve("id", {
- expand: "account",
+await client.accounting.employees.retrieve("id", {
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true
});
@@ -9875,7 +10578,7 @@ await client.crm.notes.retrieve("id", {
-
-**request:** `Merge.crm.NotesRetrieveRequest`
+**request:** `Merge.accounting.EmployeesRetrieveRequest`
@@ -9883,7 +10586,7 @@ await client.crm.notes.retrieve("id", {
-
-**requestOptions:** `NotesClient.RequestOptions`
+**requestOptions:** `EmployeesClient.RequestOptions`
@@ -9895,7 +10598,8 @@ await client.crm.notes.retrieve("id", {
-client.crm.notes.metaPostRetrieve() -> Merge.MetaResponse
+## Accounting ExpenseReports
+client.accounting.expenseReports.list({ ...params }) -> core.Page
-
@@ -9907,7 +10611,7 @@ await client.crm.notes.retrieve("id", {
-
-Returns metadata for `Note` POSTs.
+Returns a list of `ExpenseReport` objects.
@@ -9922,7 +10626,45 @@ Returns metadata for `Note` POSTs.
-
```typescript
-await client.crm.notes.metaPostRetrieve();
+const pageableResponse = await client.accounting.expenseReports.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.expenseReports.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -9938,7 +10680,15 @@ await client.crm.notes.metaPostRetrieve();
-
-**requestOptions:** `NotesClient.RequestOptions`
+**request:** `Merge.accounting.ExpenseReportsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `ExpenseReportsClient.RequestOptions`
@@ -9950,7 +10700,7 @@ await client.crm.notes.metaPostRetrieve();
-client.crm.notes.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+client.accounting.expenseReports.create({ ...params }) -> Merge.ExpenseReportResponse
-
@@ -9962,7 +10712,7 @@ await client.crm.notes.metaPostRetrieve();
-
-Returns a list of `RemoteFieldClass` objects.
+Creates an `ExpenseReport` object with the given values.
@@ -9977,15 +10727,14 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.notes.remoteFieldClassesList({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- isCommonModelField: true,
- isCustom: true,
- pageSize: 1
+await client.accounting.expenseReports.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {
+ trackingCategories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"]
+ }
+ }
});
```
@@ -10002,7 +10751,7 @@ await client.crm.notes.remoteFieldClassesList({
-
-**request:** `Merge.crm.NotesRemoteFieldClassesListRequest`
+**request:** `Merge.accounting.ExpenseReportsCreateRequest`
@@ -10010,7 +10759,7 @@ await client.crm.notes.remoteFieldClassesList({
-
-**requestOptions:** `NotesClient.RequestOptions`
+**requestOptions:** `ExpenseReportsClient.RequestOptions`
@@ -10022,8 +10771,7 @@ await client.crm.notes.remoteFieldClassesList({
-## Crm Opportunities
-client.crm.opportunities.list({ ...params }) -> Merge.PaginatedOpportunityList
+client.accounting.expenseReports.linesList(expense_report_id, { ...params }) -> core.Page
-
@@ -10035,7 +10783,7 @@ await client.crm.notes.remoteFieldClassesList({
-
-Returns a list of `Opportunity` objects.
+Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id.
@@ -10050,27 +10798,33 @@ Returns a list of `Opportunity` objects.
-
```typescript
-await client.crm.opportunities.list({
- accountId: "account_id",
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+const pageableResponse = await client.accounting.expenseReports.linesList("expense_report_id", {
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "account",
includeDeletedData: true,
includeRemoteData: true,
includeRemoteFields: true,
includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- ownerId: "owner_id",
- pageSize: 1,
- remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"),
- remoteFields: "status",
- remoteId: "remote_id",
- showEnumOrigins: "status",
- stageId: "stage_id",
- status: "LOST"
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.expenseReports.linesList("expense_report_id", {
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -10086,7 +10840,7 @@ await client.crm.opportunities.list({
-
-**request:** `Merge.crm.OpportunitiesListRequest`
+**expense_report_id:** `string`
@@ -10094,7 +10848,15 @@ await client.crm.opportunities.list({
-
-**requestOptions:** `OpportunitiesClient.RequestOptions`
+**request:** `Merge.accounting.ExpenseReportsLinesListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `ExpenseReportsClient.RequestOptions`
@@ -10106,7 +10868,7 @@ await client.crm.opportunities.list({
-client.crm.opportunities.create({ ...params }) -> Merge.OpportunityResponse
+client.accounting.expenseReports.retrieve(id, { ...params }) -> Merge.ExpenseReport
-
@@ -10118,7 +10880,7 @@ await client.crm.opportunities.list({
-
-Creates an `Opportunity` object with the given values.
+Returns an `ExpenseReport` object with the given `id`.
@@ -10133,10 +10895,10 @@ Creates an `Opportunity` object with the given values.
-
```typescript
-await client.crm.opportunities.create({
- isDebugMode: true,
- runAsync: true,
- model: {}
+await client.accounting.expenseReports.retrieve("id", {
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true
});
```
@@ -10153,7 +10915,7 @@ await client.crm.opportunities.create({
-
-**request:** `Merge.crm.OpportunityEndpointRequest`
+**id:** `string`
@@ -10161,7 +10923,15 @@ await client.crm.opportunities.create({
-
-**requestOptions:** `OpportunitiesClient.RequestOptions`
+**request:** `Merge.accounting.ExpenseReportsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `ExpenseReportsClient.RequestOptions`
@@ -10173,7 +10943,7 @@ await client.crm.opportunities.create({
-client.crm.opportunities.retrieve(id, { ...params }) -> Merge.Opportunity
+client.accounting.expenseReports.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedExpenseReportList
-
@@ -10185,7 +10955,7 @@ await client.crm.opportunities.create({
-
-Returns an `Opportunity` object with the given `id`.
+Returns a list of `ExpenseReport` objects.
@@ -10200,13 +10970,19 @@ Returns an `Opportunity` object with the given `id`.
-
```typescript
-await client.crm.opportunities.retrieve("id", {
- expand: "account",
+await client.accounting.expenseReports.batchObjectsList("batch_id", {
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
includeRemoteData: true,
includeRemoteFields: true,
includeShellData: true,
- remoteFields: "status",
- showEnumOrigins: "status"
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
});
```
@@ -10223,7 +10999,7 @@ await client.crm.opportunities.retrieve("id", {
-
-**id:** `string`
+**batch_id:** `string`
@@ -10231,7 +11007,7 @@ await client.crm.opportunities.retrieve("id", {
-
-**request:** `Merge.crm.OpportunitiesRetrieveRequest`
+**request:** `Merge.accounting.ExpenseReportsBatchObjectsListRequest`
@@ -10239,7 +11015,7 @@ await client.crm.opportunities.retrieve("id", {
-
-**requestOptions:** `OpportunitiesClient.RequestOptions`
+**requestOptions:** `ExpenseReportsClient.RequestOptions`
@@ -10251,7 +11027,7 @@ await client.crm.opportunities.retrieve("id", {
-client.crm.opportunities.partialUpdate(id, { ...params }) -> Merge.OpportunityResponse
+client.accounting.expenseReports.asyncBulkCreate({ ...params }) -> Merge.ExpenseReportResponse
-
@@ -10263,7 +11039,7 @@ await client.crm.opportunities.retrieve("id", {
-
-Updates an `Opportunity` object with the given `id`.
+Creates an `ExpenseReport` object with the given values.
@@ -10278,10 +11054,17 @@ Updates an `Opportunity` object with the given `id`.
-
```typescript
-await client.crm.opportunities.partialUpdate("id", {
+await client.accounting.expenseReports.asyncBulkCreate({
isDebugMode: true,
runAsync: true,
- model: {}
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {
+ trackingCategories: ["a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p"]
+ }
+ }
+ }]
});
```
@@ -10298,15 +11081,7 @@ await client.crm.opportunities.partialUpdate("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.PatchedOpportunityEndpointRequest`
+**request:** `Merge.accounting.ExpenseReportBulkRequest`
@@ -10314,7 +11089,7 @@ await client.crm.opportunities.partialUpdate("id", {
-
-**requestOptions:** `OpportunitiesClient.RequestOptions`
+**requestOptions:** `ExpenseReportsClient.RequestOptions`
@@ -10326,7 +11101,7 @@ await client.crm.opportunities.partialUpdate("id", {
-client.crm.opportunities.metaPatchRetrieve(id) -> Merge.MetaResponse
+client.accounting.expenseReports.linesRemoteFieldClassesList({ ...params }) -> core.Page
-
@@ -10338,7 +11113,7 @@ await client.crm.opportunities.partialUpdate("id", {
-
-Returns metadata for `Opportunity` PATCHs.
+Returns a list of `RemoteFieldClass` objects.
@@ -10353,7 +11128,35 @@ Returns metadata for `Opportunity` PATCHs.
-
```typescript
-await client.crm.opportunities.metaPatchRetrieve("id");
+const pageableResponse = await client.accounting.expenseReports.linesRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.expenseReports.linesRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -10369,7 +11172,7 @@ await client.crm.opportunities.metaPatchRetrieve("id");
-
-**id:** `string`
+**request:** `Merge.accounting.ExpenseReportsLinesRemoteFieldClassesListRequest`
@@ -10377,7 +11180,7 @@ await client.crm.opportunities.metaPatchRetrieve("id");
-
-**requestOptions:** `OpportunitiesClient.RequestOptions`
+**requestOptions:** `ExpenseReportsClient.RequestOptions`
@@ -10389,7 +11192,7 @@ await client.crm.opportunities.metaPatchRetrieve("id");
-client.crm.opportunities.metaPostRetrieve() -> Merge.MetaResponse
+client.accounting.expenseReports.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -10401,7 +11204,7 @@ await client.crm.opportunities.metaPatchRetrieve("id");
-
-Returns metadata for `Opportunity` POSTs.
+Returns metadata for `ExpenseReport` POSTs.
@@ -10416,7 +11219,7 @@ Returns metadata for `Opportunity` POSTs.
-
```typescript
-await client.crm.opportunities.metaPostRetrieve();
+await client.accounting.expenseReports.metaPostRetrieve();
```
@@ -10432,7 +11235,7 @@ await client.crm.opportunities.metaPostRetrieve();
-
-**requestOptions:** `OpportunitiesClient.RequestOptions`
+**requestOptions:** `ExpenseReportsClient.RequestOptions`
@@ -10444,7 +11247,7 @@ await client.crm.opportunities.metaPostRetrieve();
-client.crm.opportunities.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+client.accounting.expenseReports.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -10471,16 +11274,35 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.opportunities.remoteFieldClassesList({
+const pageableResponse = await client.accounting.expenseReports.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.expenseReports.remoteFieldClassesList({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
includeDeletedData: true,
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true,
isCommonModelField: true,
isCustom: true,
pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -10496,7 +11318,7 @@ await client.crm.opportunities.remoteFieldClassesList({
-
-**request:** `Merge.crm.OpportunitiesRemoteFieldClassesListRequest`
+**request:** `Merge.accounting.ExpenseReportsRemoteFieldClassesListRequest`
@@ -10504,7 +11326,7 @@ await client.crm.opportunities.remoteFieldClassesList({
-
-**requestOptions:** `OpportunitiesClient.RequestOptions`
+**requestOptions:** `ExpenseReportsClient.RequestOptions`
@@ -10516,8 +11338,8 @@ await client.crm.opportunities.remoteFieldClassesList({
-## Crm Passthrough
-client.crm.passthrough.create({ ...params }) -> Merge.RemoteResponse
+## Accounting Expenses
+client.accounting.expenses.list({ ...params }) -> core.Page
-
@@ -10529,7 +11351,7 @@ await client.crm.opportunities.remoteFieldClassesList({
-
-Pull data from an endpoint not currently supported by Merge.
+Returns a list of `Expense` objects.
@@ -10544,10 +11366,49 @@ Pull data from an endpoint not currently supported by Merge.
-
```typescript
-await client.crm.passthrough.create({
- method: "GET",
- path: "/scooters"
+const pageableResponse = await client.accounting.expenses.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.expenses.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -10563,7 +11424,7 @@ await client.crm.passthrough.create({
-
-**request:** `Merge.DataPassthroughRequest`
+**request:** `Merge.accounting.ExpensesListRequest`
@@ -10571,7 +11432,7 @@ await client.crm.passthrough.create({
-
-**requestOptions:** `PassthroughClient.RequestOptions`
+**requestOptions:** `ExpensesClient.RequestOptions`
@@ -10583,8 +11444,7 @@ await client.crm.passthrough.create({
-## Crm RegenerateKey
-client.crm.regenerateKey.create({ ...params }) -> Merge.RemoteKey
+client.accounting.expenses.create({ ...params }) -> Merge.ExpenseResponse
-
@@ -10596,7 +11456,7 @@ await client.crm.passthrough.create({
-
-Exchange remote keys.
+Creates an `Expense` object with the given values.
@@ -10611,8 +11471,12 @@ Exchange remote keys.
-
```typescript
-await client.crm.regenerateKey.create({
- name: "Remote Deployment Key 1"
+await client.accounting.expenses.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
});
```
@@ -10629,7 +11493,7 @@ await client.crm.regenerateKey.create({
-
-**request:** `Merge.crm.RemoteKeyForRegenerationRequest`
+**request:** `Merge.accounting.ExpensesCreateRequest`
@@ -10637,7 +11501,7 @@ await client.crm.regenerateKey.create({
-
-**requestOptions:** `RegenerateKeyClient.RequestOptions`
+**requestOptions:** `ExpensesClient.RequestOptions`
@@ -10649,8 +11513,7 @@ await client.crm.regenerateKey.create({
-## Crm Stages
-client.crm.stages.list({ ...params }) -> Merge.PaginatedStageList
+client.accounting.expenses.retrieve(id, { ...params }) -> Merge.Expense
-
@@ -10662,7 +11525,7 @@ await client.crm.regenerateKey.create({
-
-Returns a list of `Stage` objects.
+Returns an `Expense` object with the given `id`.
@@ -10677,18 +11540,10 @@ Returns a list of `Stage` objects.
-
```typescript
-await client.crm.stages.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
+await client.accounting.expenses.retrieve("id", {
includeRemoteData: true,
includeRemoteFields: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
+ includeShellData: true
});
```
@@ -10705,7 +11560,7 @@ await client.crm.stages.list({
-
-**request:** `Merge.crm.StagesListRequest`
+**id:** `string`
@@ -10713,7 +11568,15 @@ await client.crm.stages.list({
-
-**requestOptions:** `StagesClient.RequestOptions`
+**request:** `Merge.accounting.ExpensesRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `ExpensesClient.RequestOptions`
@@ -10725,7 +11588,7 @@ await client.crm.stages.list({
-client.crm.stages.retrieve(id, { ...params }) -> Merge.Stage
+client.accounting.expenses.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedExpenseList
-
@@ -10737,7 +11600,7 @@ await client.crm.stages.list({
-
-Returns a `Stage` object with the given `id`.
+Returns a list of `Expense` objects.
@@ -10752,10 +11615,21 @@ Returns a `Stage` object with the given `id`.
-
```typescript
-await client.crm.stages.retrieve("id", {
+await client.accounting.expenses.batchObjectsList("batch_id", {
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
includeRemoteData: true,
includeRemoteFields: true,
- includeShellData: true
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
});
```
@@ -10772,7 +11646,7 @@ await client.crm.stages.retrieve("id", {
-
-**id:** `string`
+**batch_id:** `string`
@@ -10780,7 +11654,7 @@ await client.crm.stages.retrieve("id", {
-
-**request:** `Merge.crm.StagesRetrieveRequest`
+**request:** `Merge.accounting.ExpensesBatchObjectsListRequest`
@@ -10788,7 +11662,7 @@ await client.crm.stages.retrieve("id", {
-
-**requestOptions:** `StagesClient.RequestOptions`
+**requestOptions:** `ExpensesClient.RequestOptions`
@@ -10800,7 +11674,7 @@ await client.crm.stages.retrieve("id", {
-client.crm.stages.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+client.accounting.expenses.asyncBulkCreate({ ...params }) -> Merge.ExpenseResponse
-
@@ -10812,7 +11686,7 @@ await client.crm.stages.retrieve("id", {
-
-Returns a list of `RemoteFieldClass` objects.
+Creates an `Expense` object with the given values.
@@ -10827,15 +11701,15 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.stages.remoteFieldClassesList({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- isCommonModelField: true,
- isCustom: true,
- pageSize: 1
+await client.accounting.expenses.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
});
```
@@ -10852,7 +11726,7 @@ await client.crm.stages.remoteFieldClassesList({
-
-**request:** `Merge.crm.StagesRemoteFieldClassesListRequest`
+**request:** `Merge.accounting.ExpenseBulkRequest`
@@ -10860,7 +11734,7 @@ await client.crm.stages.remoteFieldClassesList({
-
-**requestOptions:** `StagesClient.RequestOptions`
+**requestOptions:** `ExpensesClient.RequestOptions`
@@ -10872,8 +11746,7 @@ await client.crm.stages.remoteFieldClassesList({
-## Crm SyncStatus
-client.crm.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList
+client.accounting.expenses.linesRemoteFieldClassesList({ ...params }) -> core.Page
-
@@ -10885,7 +11758,7 @@ await client.crm.stages.remoteFieldClassesList({
-
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
+Returns a list of `RemoteFieldClass` objects.
@@ -10900,10 +11773,35 @@ Get sync status for the current sync and the most recently finished sync. `last_
-
```typescript
-await client.crm.syncStatus.list({
+const pageableResponse = await client.accounting.expenses.linesRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.expenses.linesRemoteFieldClassesList({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -10919,7 +11817,7 @@ await client.crm.syncStatus.list({
-
-**request:** `Merge.crm.SyncStatusListRequest`
+**request:** `Merge.accounting.ExpensesLinesRemoteFieldClassesListRequest`
@@ -10927,7 +11825,7 @@ await client.crm.syncStatus.list({
-
-**requestOptions:** `SyncStatusClient.RequestOptions`
+**requestOptions:** `ExpensesClient.RequestOptions`
@@ -10939,8 +11837,7 @@ await client.crm.syncStatus.list({
-## Crm ForceResync
-client.crm.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[]
+client.accounting.expenses.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -10952,7 +11849,7 @@ await client.crm.syncStatus.list({
-
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
+Returns metadata for `Expense` POSTs.
@@ -10967,7 +11864,7 @@ Force re-sync of all models. This endpoint is available for monthly, quarterly,
-
```typescript
-await client.crm.forceResync.syncStatusResyncCreate();
+await client.accounting.expenses.metaPostRetrieve();
```
@@ -10983,7 +11880,7 @@ await client.crm.forceResync.syncStatusResyncCreate();
-
-**requestOptions:** `ForceResyncClient.RequestOptions`
+**requestOptions:** `ExpensesClient.RequestOptions`
@@ -10995,8 +11892,7 @@ await client.crm.forceResync.syncStatusResyncCreate();
-## Crm Tasks
-client.crm.tasks.list({ ...params }) -> Merge.PaginatedTaskList
+client.accounting.expenses.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -11008,7 +11904,7 @@ await client.crm.forceResync.syncStatusResyncCreate();
-
-Returns a list of `Task` objects.
+Returns a list of `RemoteFieldClass` objects.
@@ -11023,20 +11919,35 @@ Returns a list of `Task` objects.
-
```typescript
-await client.crm.tasks.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+const pageableResponse = await client.accounting.expenses.remoteFieldClassesList({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "account",
includeDeletedData: true,
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.expenses.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -11052,7 +11963,7 @@ await client.crm.tasks.list({
-
-**request:** `Merge.crm.TasksListRequest`
+**request:** `Merge.accounting.ExpensesRemoteFieldClassesListRequest`
@@ -11060,7 +11971,7 @@ await client.crm.tasks.list({
-
-**requestOptions:** `TasksClient.RequestOptions`
+**requestOptions:** `ExpensesClient.RequestOptions`
@@ -11072,7 +11983,8 @@ await client.crm.tasks.list({
-client.crm.tasks.create({ ...params }) -> Merge.TaskResponse
+## Accounting FieldMapping
+client.accounting.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
-
@@ -11084,7 +11996,7 @@ await client.crm.tasks.list({
-
-Creates a `Task` object with the given values.
+Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -11099,10 +12011,8 @@ Creates a `Task` object with the given values.
-
```typescript
-await client.crm.tasks.create({
- isDebugMode: true,
- runAsync: true,
- model: {}
+await client.accounting.fieldMapping.fieldMappingsRetrieve({
+ excludeRemoteFieldMetadata: true
});
```
@@ -11119,7 +12029,7 @@ await client.crm.tasks.create({
-
-**request:** `Merge.crm.TaskEndpointRequest`
+**request:** `Merge.accounting.FieldMappingsRetrieveRequest`
@@ -11127,7 +12037,7 @@ await client.crm.tasks.create({
-
-**requestOptions:** `TasksClient.RequestOptions`
+**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -11139,7 +12049,7 @@ await client.crm.tasks.create({
-client.crm.tasks.retrieve(id, { ...params }) -> Merge.Task
+client.accounting.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
-
@@ -11151,7 +12061,7 @@ await client.crm.tasks.create({
-
-Returns a `Task` object with the given `id`.
+Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -11166,11 +12076,15 @@ Returns a `Task` object with the given `id`.
-
```typescript
-await client.crm.tasks.retrieve("id", {
- expand: "account",
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true
+await client.accounting.fieldMapping.fieldMappingsCreate({
+ excludeRemoteFieldMetadata: true,
+ remoteDataIterationCount: 1,
+ targetFieldName: "example_target_field_name",
+ targetFieldDescription: "this is a example description of the target field",
+ remoteFieldTraversalPath: ["example_remote_field"],
+ remoteMethod: "GET",
+ remoteUrlPath: "/example-url-path",
+ commonModelName: "ExampleCommonModel"
});
```
@@ -11187,15 +12101,7 @@ await client.crm.tasks.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.TasksRetrieveRequest`
+**request:** `Merge.accounting.CreateFieldMappingRequest`
@@ -11203,7 +12109,7 @@ await client.crm.tasks.retrieve("id", {
-
-**requestOptions:** `TasksClient.RequestOptions`
+**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -11215,7 +12121,7 @@ await client.crm.tasks.retrieve("id", {
-client.crm.tasks.partialUpdate(id, { ...params }) -> Merge.TaskResponse
+client.accounting.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
-
@@ -11227,7 +12133,7 @@ await client.crm.tasks.retrieve("id", {
-
-Updates a `Task` object with the given `id`.
+Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -11242,11 +12148,7 @@ Updates a `Task` object with the given `id`.
-
```typescript
-await client.crm.tasks.partialUpdate("id", {
- isDebugMode: true,
- runAsync: true,
- model: {}
-});
+await client.accounting.fieldMapping.fieldMappingsDestroy("field_mapping_id");
```
@@ -11262,15 +12164,7 @@ await client.crm.tasks.partialUpdate("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.crm.PatchedTaskEndpointRequest`
+**field_mapping_id:** `string`
@@ -11278,7 +12172,7 @@ await client.crm.tasks.partialUpdate("id", {
-
-**requestOptions:** `TasksClient.RequestOptions`
+**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -11290,7 +12184,7 @@ await client.crm.tasks.partialUpdate("id", {
-client.crm.tasks.metaPatchRetrieve(id) -> Merge.MetaResponse
+client.accounting.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse
-
@@ -11302,7 +12196,7 @@ await client.crm.tasks.partialUpdate("id", {
-
-Returns metadata for `Task` PATCHs.
+Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -11317,7 +12211,9 @@ Returns metadata for `Task` PATCHs.
-
```typescript
-await client.crm.tasks.metaPatchRetrieve("id");
+await client.accounting.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id", {
+ remoteDataIterationCount: 1
+});
```
@@ -11333,7 +12229,7 @@ await client.crm.tasks.metaPatchRetrieve("id");
-
-**id:** `string`
+**field_mapping_id:** `string`
@@ -11341,7 +12237,15 @@ await client.crm.tasks.metaPatchRetrieve("id");
-
-**requestOptions:** `TasksClient.RequestOptions`
+**request:** `Merge.accounting.PatchedEditFieldMappingRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -11353,7 +12257,7 @@ await client.crm.tasks.metaPatchRetrieve("id");
-client.crm.tasks.metaPostRetrieve() -> Merge.MetaResponse
+client.accounting.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse
-
@@ -11365,7 +12269,7 @@ await client.crm.tasks.metaPatchRetrieve("id");
-
-Returns metadata for `Task` POSTs.
+Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -11380,7 +12284,10 @@ Returns metadata for `Task` POSTs.
-
```typescript
-await client.crm.tasks.metaPostRetrieve();
+await client.accounting.fieldMapping.remoteFieldsRetrieve({
+ commonModels: "common_models",
+ includeExampleValues: "include_example_values"
+});
```
@@ -11396,7 +12303,15 @@ await client.crm.tasks.metaPostRetrieve();
-
-**requestOptions:** `TasksClient.RequestOptions`
+**request:** `Merge.accounting.RemoteFieldsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -11408,7 +12323,7 @@ await client.crm.tasks.metaPostRetrieve();
-client.crm.tasks.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+client.accounting.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse
-
@@ -11420,7 +12335,7 @@ await client.crm.tasks.metaPostRetrieve();
-
-Returns a list of `RemoteFieldClass` objects.
+Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -11435,16 +12350,7 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.tasks.remoteFieldClassesList({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- includeRemoteData: true,
- includeRemoteFields: true,
- includeShellData: true,
- isCommonModelField: true,
- isCustom: true,
- pageSize: 1
-});
+await client.accounting.fieldMapping.targetFieldsRetrieve();
```
@@ -11460,15 +12366,7 @@ await client.crm.tasks.remoteFieldClassesList({
-
-**request:** `Merge.crm.TasksRemoteFieldClassesListRequest`
-
-
-
-
-
--
-
-**requestOptions:** `TasksClient.RequestOptions`
+**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -11480,8 +12378,8 @@ await client.crm.tasks.remoteFieldClassesList({
-## Crm Users
-client.crm.users.list({ ...params }) -> Merge.PaginatedUserList
+## Accounting GeneralLedgerTransactions
+client.accounting.generalLedgerTransactions.list({ ...params }) -> core.Page
-
@@ -11493,7 +12391,7 @@ await client.crm.tasks.remoteFieldClassesList({
-
-Returns a list of `User` objects.
+Returns a list of `GeneralLedgerTransaction` objects.
@@ -11508,20 +12406,47 @@ Returns a list of `User` objects.
-
```typescript
-await client.crm.users.list({
+const pageableResponse = await client.accounting.generalLedgerTransactions.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ postedDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ postedDateBefore: new Date("2024-01-15T09:30:00.000Z"),
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.generalLedgerTransactions.list({
+ companyId: "company_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- email: "email",
includeDeletedData: true,
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true,
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
+ postedDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ postedDateBefore: new Date("2024-01-15T09:30:00.000Z"),
remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -11537,7 +12462,7 @@ await client.crm.users.list({
-
-**request:** `Merge.crm.UsersListRequest`
+**request:** `Merge.accounting.GeneralLedgerTransactionsListRequest`
@@ -11545,7 +12470,7 @@ await client.crm.users.list({
-
-**requestOptions:** `UsersClient.RequestOptions`
+**requestOptions:** `GeneralLedgerTransactionsClient.RequestOptions`
@@ -11557,7 +12482,7 @@ await client.crm.users.list({
-client.crm.users.retrieve(id, { ...params }) -> Merge.User
+client.accounting.generalLedgerTransactions.retrieve(id, { ...params }) -> Merge.GeneralLedgerTransaction
-
@@ -11569,7 +12494,7 @@ await client.crm.users.list({
-
-Returns a `User` object with the given `id`.
+Returns a `GeneralLedgerTransaction` object with the given `id`.
@@ -11584,9 +12509,8 @@ Returns a `User` object with the given `id`.
-
```typescript
-await client.crm.users.retrieve("id", {
+await client.accounting.generalLedgerTransactions.retrieve("id", {
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true
});
@@ -11612,7 +12536,7 @@ await client.crm.users.retrieve("id", {
-
-**request:** `Merge.crm.UsersRetrieveRequest`
+**request:** `Merge.accounting.GeneralLedgerTransactionsRetrieveRequest`
@@ -11620,7 +12544,7 @@ await client.crm.users.retrieve("id", {
-
-**requestOptions:** `UsersClient.RequestOptions`
+**requestOptions:** `GeneralLedgerTransactionsClient.RequestOptions`
@@ -11632,7 +12556,8 @@ await client.crm.users.retrieve("id", {
-client.crm.users.ignoreCreate(model_id, { ...params }) -> void
+## Accounting GenerateKey
+client.accounting.generateKey.create({ ...params }) -> Merge.RemoteKey
-
@@ -11644,7 +12569,7 @@ await client.crm.users.retrieve("id", {
-
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
+Create a remote key.
@@ -11659,8 +12584,8 @@ Ignores a specific row based on the `model_id` in the url. These records will ha
-
```typescript
-await client.crm.users.ignoreCreate("model_id", {
- reason: "GENERAL_CUSTOMER_REQUEST"
+await client.accounting.generateKey.create({
+ name: "Remote Deployment Key 1"
});
```
@@ -11677,15 +12602,7 @@ await client.crm.users.ignoreCreate("model_id", {
-
-**model_id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.IgnoreCommonModelRequest`
+**request:** `Merge.accounting.GenerateRemoteKeyRequest`
@@ -11693,7 +12610,7 @@ await client.crm.users.ignoreCreate("model_id", {
-
-**requestOptions:** `UsersClient.RequestOptions`
+**requestOptions:** `GenerateKeyClient.RequestOptions`
@@ -11705,7 +12622,8 @@ await client.crm.users.ignoreCreate("model_id", {
-client.crm.users.remoteFieldClassesList({ ...params }) -> Merge.PaginatedRemoteFieldClassList
+## Accounting IncomeStatements
+client.accounting.incomeStatements.list({ ...params }) -> core.Page
-
@@ -11717,7 +12635,7 @@ await client.crm.users.ignoreCreate("model_id", {
-
-Returns a list of `RemoteFieldClass` objects.
+Returns a list of `IncomeStatement` objects.
@@ -11732,16 +12650,43 @@ Returns a list of `RemoteFieldClass` objects.
-
```typescript
-await client.crm.users.remoteFieldClassesList({
+const pageableResponse = await client.accounting.incomeStatements.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
includeDeletedData: true,
includeRemoteData: true,
- includeRemoteFields: true,
includeShellData: true,
- isCommonModelField: true,
- isCustom: true,
- pageSize: 1
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.incomeStatements.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -11757,7 +12702,7 @@ await client.crm.users.remoteFieldClassesList({
-
-**request:** `Merge.crm.UsersRemoteFieldClassesListRequest`
+**request:** `Merge.accounting.IncomeStatementsListRequest`
@@ -11765,7 +12710,7 @@ await client.crm.users.remoteFieldClassesList({
-
-**requestOptions:** `UsersClient.RequestOptions`
+**requestOptions:** `IncomeStatementsClient.RequestOptions`
@@ -11777,8 +12722,7 @@ await client.crm.users.remoteFieldClassesList({
-## Crm WebhookReceivers
-client.crm.webhookReceivers.list() -> Merge.WebhookReceiver[]
+client.accounting.incomeStatements.retrieve(id, { ...params }) -> Merge.IncomeStatement
-
@@ -11790,7 +12734,7 @@ await client.crm.users.remoteFieldClassesList({
-
-Returns a list of `WebhookReceiver` objects.
+Returns an `IncomeStatement` object with the given `id`.
@@ -11805,7 +12749,10 @@ Returns a list of `WebhookReceiver` objects.
-
```typescript
-await client.crm.webhookReceivers.list();
+await client.accounting.incomeStatements.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true
+});
```
@@ -11821,7 +12768,23 @@ await client.crm.webhookReceivers.list();
-
-**requestOptions:** `WebhookReceiversClient.RequestOptions`
+**id:** `string`
+
+
+
+
+
+-
+
+**request:** `Merge.accounting.IncomeStatementsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `IncomeStatementsClient.RequestOptions`
@@ -11833,7 +12796,8 @@ await client.crm.webhookReceivers.list();
-client.crm.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver
+## Accounting Invoices
+client.accounting.invoices.list({ ...params }) -> core.Page
-
@@ -11845,7 +12809,7 @@ await client.crm.webhookReceivers.list();
-
-Creates a `WebhookReceiver` object with the given values.
+Returns a list of `Invoice` objects.
@@ -11860,10 +12824,61 @@ Creates a `WebhookReceiver` object with the given values.
-
```typescript
-await client.crm.webhookReceivers.create({
- event: "event",
- isActive: true
+const pageableResponse = await client.accounting.invoices.list({
+ companyId: "company_id",
+ contactId: "contact_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ number: "number",
+ pageSize: 1,
+ remoteFields: "type",
+ remoteId: "remote_id",
+ showEnumOrigins: "type",
+ status: "DRAFT",
+ type: "ACCOUNTS_PAYABLE"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.invoices.list({
+ companyId: "company_id",
+ contactId: "contact_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ number: "number",
+ pageSize: 1,
+ remoteFields: "type",
+ remoteId: "remote_id",
+ showEnumOrigins: "type",
+ status: "DRAFT",
+ type: "ACCOUNTS_PAYABLE"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -11879,7 +12894,7 @@ await client.crm.webhookReceivers.create({
-
-**request:** `Merge.crm.WebhookReceiverRequest`
+**request:** `Merge.accounting.InvoicesListRequest`
@@ -11887,7 +12902,7 @@ await client.crm.webhookReceivers.create({
-
-**requestOptions:** `WebhookReceiversClient.RequestOptions`
+**requestOptions:** `InvoicesClient.RequestOptions`
@@ -11899,8 +12914,7 @@ await client.crm.webhookReceivers.create({
-## Filestorage AccountDetails
-client.filestorage.accountDetails.retrieve() -> Merge.AccountDetails
+client.accounting.invoices.create({ ...params }) -> Merge.InvoiceResponse
-
@@ -11912,7 +12926,9 @@ await client.crm.webhookReceivers.create({
-
-Get details for a linked account.
+Creates an `Invoice` object with the given values.
+ Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s).
+
@@ -11927,7 +12943,13 @@ Get details for a linked account.
-
```typescript
-await client.filestorage.accountDetails.retrieve();
+await client.accounting.invoices.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
+});
```
@@ -11943,7 +12965,15 @@ await client.filestorage.accountDetails.retrieve();
-
-**requestOptions:** `AccountDetailsClient.RequestOptions`
+**request:** `Merge.accounting.InvoicesCreateRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `InvoicesClient.RequestOptions`
@@ -11955,8 +12985,7 @@ await client.filestorage.accountDetails.retrieve();
-## Filestorage AccountToken
-client.filestorage.accountToken.retrieve(public_token) -> Merge.AccountToken
+client.accounting.invoices.retrieve(id, { ...params }) -> Merge.Invoice
-
@@ -11968,7 +12997,7 @@ await client.filestorage.accountDetails.retrieve();
-
-Returns the account token for the end user with the provided public token.
+Returns an `Invoice` object with the given `id`.
@@ -11983,7 +13012,13 @@ Returns the account token for the end user with the provided public token.
-
```typescript
-await client.filestorage.accountToken.retrieve("public_token");
+await client.accounting.invoices.retrieve("id", {
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ remoteFields: "type",
+ showEnumOrigins: "type"
+});
```
@@ -11999,7 +13034,7 @@ await client.filestorage.accountToken.retrieve("public_token");
-
-**public_token:** `string`
+**id:** `string`
@@ -12007,7 +13042,15 @@ await client.filestorage.accountToken.retrieve("public_token");
-
-**requestOptions:** `AccountTokenClient.RequestOptions`
+**request:** `Merge.accounting.InvoicesRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `InvoicesClient.RequestOptions`
@@ -12019,8 +13062,7 @@ await client.filestorage.accountToken.retrieve("public_token");
-## Filestorage AsyncPassthrough
-client.filestorage.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
+client.accounting.invoices.partialUpdate(id, { ...params }) -> Merge.InvoiceResponse
-
@@ -12032,7 +13074,7 @@ await client.filestorage.accountToken.retrieve("public_token");
-
-Asynchronously pull data from an endpoint not currently supported by Merge.
+Updates an `Invoice` object with the given `id`.
@@ -12047,9 +13089,10 @@ Asynchronously pull data from an endpoint not currently supported by Merge.
-
```typescript
-await client.filestorage.asyncPassthrough.create({
- method: "GET",
- path: "/scooters"
+await client.accounting.invoices.partialUpdate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
});
```
@@ -12066,7 +13109,7 @@ await client.filestorage.asyncPassthrough.create({
-
-**request:** `Merge.DataPassthroughRequest`
+**id:** `string`
@@ -12074,7 +13117,15 @@ await client.filestorage.asyncPassthrough.create({
-
-**requestOptions:** `AsyncPassthroughClient.RequestOptions`
+**request:** `Merge.accounting.PatchedInvoiceEndpointRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `InvoicesClient.RequestOptions`
@@ -12086,7 +13137,7 @@ await client.filestorage.asyncPassthrough.create({
-client.filestorage.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
+client.accounting.invoices.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedInvoiceList
-
@@ -12098,7 +13149,7 @@ await client.filestorage.asyncPassthrough.create({
-
-Retrieves data from earlier async-passthrough POST request
+Returns a list of `Invoice` objects.
@@ -12113,7 +13164,28 @@ Retrieves data from earlier async-passthrough POST request
-
```typescript
-await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id");
+await client.accounting.invoices.batchObjectsList("batch_id", {
+ companyId: "company_id",
+ contactId: "contact_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ number: "number",
+ pageSize: 1,
+ remoteFields: "type",
+ remoteId: "remote_id",
+ showEnumOrigins: "type",
+ status: "DRAFT",
+ type: "ACCOUNTS_PAYABLE"
+});
```
@@ -12129,7 +13201,7 @@ await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id
-
-**async_passthrough_receipt_id:** `string`
+**batch_id:** `string`
@@ -12137,7 +13209,15 @@ await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id
-
-**requestOptions:** `AsyncPassthroughClient.RequestOptions`
+**request:** `Merge.accounting.InvoicesBatchObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `InvoicesClient.RequestOptions`
@@ -12149,8 +13229,7 @@ await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id
-## Filestorage AuditTrail
-client.filestorage.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList
+client.accounting.invoices.asyncBulkCreate({ ...params }) -> Merge.InvoiceResponse
-
@@ -12162,7 +13241,9 @@ await client.filestorage.asyncPassthrough.retrieve("async_passthrough_receipt_id
-
-Gets a list of audit trail events.
+Creates an `Invoice` object with the given values.
+ Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s).
+
@@ -12177,13 +13258,15 @@ Gets a list of audit trail events.
-
```typescript
-await client.filestorage.auditTrail.list({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- endDate: "end_date",
- eventType: "event_type",
- pageSize: 1,
- startDate: "start_date",
- userEmail: "user_email"
+await client.accounting.invoices.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
});
```
@@ -12200,7 +13283,7 @@ await client.filestorage.auditTrail.list({
-
-**request:** `Merge.filestorage.AuditTrailListRequest`
+**request:** `Merge.accounting.InvoiceBulkRequest`
@@ -12208,7 +13291,7 @@ await client.filestorage.auditTrail.list({
-
-**requestOptions:** `AuditTrailClient.RequestOptions`
+**requestOptions:** `InvoicesClient.RequestOptions`
@@ -12220,8 +13303,7 @@ await client.filestorage.auditTrail.list({
-## Filestorage AvailableActions
-client.filestorage.availableActions.retrieve() -> Merge.AvailableActions
+client.accounting.invoices.lineItemsRemoteFieldClassesList({ ...params }) -> core.Page
-
@@ -12233,7 +13315,7 @@ await client.filestorage.auditTrail.list({
-
-Returns a list of models and actions available for an account.
+Returns a list of `RemoteFieldClass` objects.
@@ -12248,7 +13330,35 @@ Returns a list of models and actions available for an account.
-
```typescript
-await client.filestorage.availableActions.retrieve();
+const pageableResponse = await client.accounting.invoices.lineItemsRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.invoices.lineItemsRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -12264,7 +13374,15 @@ await client.filestorage.availableActions.retrieve();
-
-**requestOptions:** `AvailableActionsClient.RequestOptions`
+**request:** `Merge.accounting.InvoicesLineItemsRemoteFieldClassesListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `InvoicesClient.RequestOptions`
@@ -12276,8 +13394,7 @@ await client.filestorage.availableActions.retrieve();
-## Filestorage Scopes
-client.filestorage.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
+client.accounting.invoices.metaPatchRetrieve(id) -> Merge.MetaResponse
-
@@ -12289,7 +13406,7 @@ await client.filestorage.availableActions.retrieve();
-
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
+Returns metadata for `Invoice` PATCHs.
@@ -12304,7 +13421,7 @@ Get the default permissions for Merge Common Models and fields across all Linked
-
```typescript
-await client.filestorage.scopes.defaultScopesRetrieve();
+await client.accounting.invoices.metaPatchRetrieve("id");
```
@@ -12320,7 +13437,15 @@ await client.filestorage.scopes.defaultScopesRetrieve();
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**id:** `string`
+
+
+
+
+
+-
+
+**requestOptions:** `InvoicesClient.RequestOptions`
@@ -12332,7 +13457,7 @@ await client.filestorage.scopes.defaultScopesRetrieve();
-client.filestorage.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
+client.accounting.invoices.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -12344,7 +13469,7 @@ await client.filestorage.scopes.defaultScopesRetrieve();
-
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
+Returns metadata for `Invoice` POSTs.
@@ -12359,7 +13484,7 @@ Get all available permissions for Merge Common Models and fields for a single Li
-
```typescript
-await client.filestorage.scopes.linkedAccountScopesRetrieve();
+await client.accounting.invoices.metaPostRetrieve();
```
@@ -12375,7 +13500,7 @@ await client.filestorage.scopes.linkedAccountScopesRetrieve();
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**requestOptions:** `InvoicesClient.RequestOptions`
@@ -12387,7 +13512,7 @@ await client.filestorage.scopes.linkedAccountScopesRetrieve();
-client.filestorage.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
+client.accounting.invoices.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -12399,7 +13524,7 @@ await client.filestorage.scopes.linkedAccountScopesRetrieve();
-
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
+Returns a list of `RemoteFieldClass` objects.
@@ -12414,30 +13539,35 @@ Update permissions for any Common Model or field for a single Linked Account. An
-
```typescript
-await client.filestorage.scopes.linkedAccountScopesCreate({
- commonModels: [{
- modelName: "Employee",
- modelPermissions: {
- "READ": {
- isEnabled: true
- },
- "WRITE": {
- isEnabled: false
- }
- },
- fieldPermissions: {
- enabledFields: ["avatar", "home_location"],
- disabledFields: ["work_location"]
- }
- }, {
- modelName: "Benefit",
- modelPermissions: {
- "WRITE": {
- isEnabled: false
- }
- }
- }]
+const pageableResponse = await client.accounting.invoices.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.invoices.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -12453,7 +13583,7 @@ await client.filestorage.scopes.linkedAccountScopesCreate({
-
-**request:** `Merge.filestorage.LinkedAccountCommonModelScopeDeserializerRequest`
+**request:** `Merge.accounting.InvoicesRemoteFieldClassesListRequest`
@@ -12461,7 +13591,7 @@ await client.filestorage.scopes.linkedAccountScopesCreate({
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**requestOptions:** `InvoicesClient.RequestOptions`
@@ -12473,8 +13603,8 @@ await client.filestorage.scopes.linkedAccountScopesCreate({
-## Filestorage DeleteAccount
-client.filestorage.deleteAccount.delete() -> void
+## Accounting Issues
+client.accounting.issues.list({ ...params }) -> core.Page
-
@@ -12486,7 +13616,7 @@ await client.filestorage.scopes.linkedAccountScopesCreate({
-
-Delete a linked account.
+Gets all issues for Organization.
@@ -12501,7 +13631,49 @@ Delete a linked account.
-
```typescript
-await client.filestorage.deleteAccount.delete();
+const pageableResponse = await client.accounting.issues.list({
+ accountToken: "account_token",
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ endDate: "end_date",
+ endUserOrganizationName: "end_user_organization_name",
+ firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
+ firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
+ includeMuted: "include_muted",
+ integrationName: "integration_name",
+ lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
+ lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
+ linkedAccountId: "linked_account_id",
+ pageSize: 1,
+ startDate: "start_date",
+ status: "ONGOING"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.issues.list({
+ accountToken: "account_token",
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ endDate: "end_date",
+ endUserOrganizationName: "end_user_organization_name",
+ firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
+ firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
+ includeMuted: "include_muted",
+ integrationName: "integration_name",
+ lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
+ lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
+ linkedAccountId: "linked_account_id",
+ pageSize: 1,
+ startDate: "start_date",
+ status: "ONGOING"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -12517,7 +13689,15 @@ await client.filestorage.deleteAccount.delete();
-
-**requestOptions:** `DeleteAccountClient.RequestOptions`
+**request:** `Merge.accounting.IssuesListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `IssuesClient.RequestOptions`
@@ -12529,8 +13709,7 @@ await client.filestorage.deleteAccount.delete();
-## Filestorage Drives
-client.filestorage.drives.list({ ...params }) -> Merge.PaginatedDriveList
+client.accounting.issues.retrieve(id) -> Merge.Issue
-
@@ -12542,7 +13721,7 @@ await client.filestorage.deleteAccount.delete();
-
-Returns a list of `Drive` objects.
+Get a specific issue.
@@ -12557,19 +13736,7 @@ Returns a list of `Drive` objects.
-
```typescript
-await client.filestorage.drives.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- name: "name",
- pageSize: 1,
- remoteId: "remote_id"
-});
+await client.accounting.issues.retrieve("id");
```
@@ -12585,7 +13752,7 @@ await client.filestorage.drives.list({
-
-**request:** `Merge.filestorage.DrivesListRequest`
+**id:** `string`
@@ -12593,7 +13760,7 @@ await client.filestorage.drives.list({
-
-**requestOptions:** `DrivesClient.RequestOptions`
+**requestOptions:** `IssuesClient.RequestOptions`
@@ -12605,7 +13772,8 @@ await client.filestorage.drives.list({
-client.filestorage.drives.retrieve(id, { ...params }) -> Merge.Drive
+## Accounting ItemFulfillments
+client.accounting.itemFulfillments.list({ ...params }) -> core.Page
-
@@ -12617,7 +13785,7 @@ await client.filestorage.drives.list({
-
-Returns a `Drive` object with the given `id`.
+Returns a list of `ItemFulfillment` objects.
@@ -12632,10 +13800,37 @@ Returns a `Drive` object with the given `id`.
-
```typescript
-await client.filestorage.drives.retrieve("id", {
+const pageableResponse = await client.accounting.itemFulfillments.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
includeRemoteData: true,
- includeShellData: true
+ includeRemoteFields: true,
+ includeShellData: true,
+ pageSize: 1,
+ remoteFields: "status",
+ showEnumOrigins: "status"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.itemFulfillments.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ pageSize: 1,
+ remoteFields: "status",
+ showEnumOrigins: "status"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -12651,7 +13846,7 @@ await client.filestorage.drives.retrieve("id", {
-
-**id:** `string`
+**request:** `Merge.accounting.ItemFulfillmentsListRequest`
@@ -12659,15 +13854,7 @@ await client.filestorage.drives.retrieve("id", {
-
-**request:** `Merge.filestorage.DrivesRetrieveRequest`
-
-
-
-
-
--
-
-**requestOptions:** `DrivesClient.RequestOptions`
+**requestOptions:** `ItemFulfillmentsClient.RequestOptions`
@@ -12679,8 +13866,7 @@ await client.filestorage.drives.retrieve("id", {
-## Filestorage FieldMapping
-client.filestorage.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
+client.accounting.itemFulfillments.create({ ...params }) -> Merge.ItemFulfillmentResponse
-
@@ -12692,7 +13878,7 @@ await client.filestorage.drives.retrieve("id", {
-
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
+Creates an `ItemFulfillment` object with the given values.
@@ -12707,8 +13893,12 @@ Get all Field Mappings for this Linked Account. Field Mappings are mappings betw
-
```typescript
-await client.filestorage.fieldMapping.fieldMappingsRetrieve({
- excludeRemoteFieldMetadata: true
+await client.accounting.itemFulfillments.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
});
```
@@ -12725,7 +13915,7 @@ await client.filestorage.fieldMapping.fieldMappingsRetrieve({
-
-**request:** `Merge.filestorage.FieldMappingsRetrieveRequest`
+**request:** `Merge.accounting.ItemFulfillmentsCreateRequest`
@@ -12733,7 +13923,7 @@ await client.filestorage.fieldMapping.fieldMappingsRetrieve({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `ItemFulfillmentsClient.RequestOptions`
@@ -12745,7 +13935,7 @@ await client.filestorage.fieldMapping.fieldMappingsRetrieve({
-client.filestorage.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
+client.accounting.itemFulfillments.retrieve(id, { ...params }) -> Merge.ItemFulfillment
-
@@ -12757,7 +13947,7 @@ await client.filestorage.fieldMapping.fieldMappingsRetrieve({
-
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Returns an `ItemFulfillment` object with the given `id`.
@@ -12772,14 +13962,12 @@ Create new Field Mappings that will be available after the next scheduled sync.
-
```typescript
-await client.filestorage.fieldMapping.fieldMappingsCreate({
- excludeRemoteFieldMetadata: true,
- targetFieldName: "example_target_field_name",
- targetFieldDescription: "this is a example description of the target field",
- remoteFieldTraversalPath: ["example_remote_field"],
- remoteMethod: "GET",
- remoteUrlPath: "/example-url-path",
- commonModelName: "ExampleCommonModel"
+await client.accounting.itemFulfillments.retrieve("id", {
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ remoteFields: "status",
+ showEnumOrigins: "status"
});
```
@@ -12796,7 +13984,7 @@ await client.filestorage.fieldMapping.fieldMappingsCreate({
-
-**request:** `Merge.filestorage.CreateFieldMappingRequest`
+**id:** `string`
@@ -12804,7 +13992,15 @@ await client.filestorage.fieldMapping.fieldMappingsCreate({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**request:** `Merge.accounting.ItemFulfillmentsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `ItemFulfillmentsClient.RequestOptions`
@@ -12816,7 +14012,7 @@ await client.filestorage.fieldMapping.fieldMappingsCreate({
-client.filestorage.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
+client.accounting.itemFulfillments.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedItemFulfillmentList
-
@@ -12828,7 +14024,7 @@ await client.filestorage.fieldMapping.fieldMappingsCreate({
-
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Returns a list of `ItemFulfillment` objects.
@@ -12843,7 +14039,16 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp
-
```typescript
-await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id");
+await client.accounting.itemFulfillments.batchObjectsList("batch_id", {
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ pageSize: 1,
+ remoteFields: "status",
+ showEnumOrigins: "status"
+});
```
@@ -12859,7 +14064,7 @@ await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-**field_mapping_id:** `string`
+**batch_id:** `string`
@@ -12867,7 +14072,15 @@ await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**request:** `Merge.accounting.ItemFulfillmentsBatchObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `ItemFulfillmentsClient.RequestOptions`
@@ -12879,7 +14092,7 @@ await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-client.filestorage.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse
+client.accounting.itemFulfillments.asyncBulkCreate({ ...params }) -> Merge.ItemFulfillmentResponse
-
@@ -12891,7 +14104,7 @@ await client.filestorage.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Creates an `ItemFulfillment` object with the given values.
@@ -12906,7 +14119,16 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r
-
```typescript
-await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
+await client.accounting.itemFulfillments.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
+});
```
@@ -12922,7 +14144,7 @@ await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_
-
-**field_mapping_id:** `string`
+**request:** `Merge.accounting.ItemFulfillmentBulkRequest`
@@ -12930,15 +14152,7 @@ await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_
-
-**request:** `Merge.filestorage.PatchedEditFieldMappingRequest`
-
-
-
-
-
--
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `ItemFulfillmentsClient.RequestOptions`
@@ -12950,7 +14164,7 @@ await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_
-client.filestorage.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse
+client.accounting.itemFulfillments.linesRemoteFieldClassesList({ ...params }) -> core.Page
-
@@ -12962,7 +14176,7 @@ await client.filestorage.fieldMapping.fieldMappingsPartialUpdate("field_mapping_
-
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
+Returns a list of `RemoteFieldClass` objects.
@@ -12977,10 +14191,35 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields
-
```typescript
-await client.filestorage.fieldMapping.remoteFieldsRetrieve({
- commonModels: "common_models",
- includeExampleValues: "include_example_values"
+const pageableResponse = await client.accounting.itemFulfillments.linesRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.itemFulfillments.linesRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -12996,7 +14235,7 @@ await client.filestorage.fieldMapping.remoteFieldsRetrieve({
-
-**request:** `Merge.filestorage.RemoteFieldsRetrieveRequest`
+**request:** `Merge.accounting.ItemFulfillmentsLinesRemoteFieldClassesListRequest`
@@ -13004,7 +14243,7 @@ await client.filestorage.fieldMapping.remoteFieldsRetrieve({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `ItemFulfillmentsClient.RequestOptions`
@@ -13016,7 +14255,7 @@ await client.filestorage.fieldMapping.remoteFieldsRetrieve({
-client.filestorage.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse
+client.accounting.itemFulfillments.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -13028,7 +14267,7 @@ await client.filestorage.fieldMapping.remoteFieldsRetrieve({
-
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
+Returns metadata for `ItemFulfillment` POSTs.
@@ -13043,7 +14282,7 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun
-
```typescript
-await client.filestorage.fieldMapping.targetFieldsRetrieve();
+await client.accounting.itemFulfillments.metaPostRetrieve();
```
@@ -13059,7 +14298,7 @@ await client.filestorage.fieldMapping.targetFieldsRetrieve();
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `ItemFulfillmentsClient.RequestOptions`
@@ -13071,8 +14310,7 @@ await client.filestorage.fieldMapping.targetFieldsRetrieve();
-## Filestorage Files
-client.filestorage.files.list({ ...params }) -> Merge.PaginatedFileList
+client.accounting.itemFulfillments.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -13084,7 +14322,7 @@ await client.filestorage.fieldMapping.targetFieldsRetrieve();
-
-Returns a list of `File` objects.
+Returns a list of `RemoteFieldClass` objects.
@@ -13099,26 +14337,35 @@ Returns a list of `File` objects.
-
```typescript
-await client.filestorage.files.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+const pageableResponse = await client.accounting.itemFulfillments.remoteFieldClassesList({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- driveId: "drive_id",
- expand: "drive",
- folderId: "folder_id",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
- mimeType: "mime_type",
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- name: "name",
- orderBy: "-created_at",
- pageSize: 1,
- remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"),
- remoteCreatedBefore: new Date("2024-01-15T09:30:00.000Z"),
- remoteId: "remote_id"
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.itemFulfillments.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -13134,7 +14381,7 @@ await client.filestorage.files.list({
-
-**request:** `Merge.filestorage.FilesListRequest`
+**request:** `Merge.accounting.ItemFulfillmentsRemoteFieldClassesListRequest`
@@ -13142,7 +14389,7 @@ await client.filestorage.files.list({
-
-**requestOptions:** `FilesClient.RequestOptions`
+**requestOptions:** `ItemFulfillmentsClient.RequestOptions`
@@ -13154,7 +14401,8 @@ await client.filestorage.files.list({
-client.filestorage.files.create({ ...params }) -> Merge.FileStorageFileResponse
+## Accounting Items
+client.accounting.items.list({ ...params }) -> core.Page
-
@@ -13166,7 +14414,7 @@ await client.filestorage.files.list({
-
-Creates a `File` object with the given values.
+Returns a list of `Item` objects.
@@ -13181,11 +14429,49 @@ Creates a `File` object with the given values.
-
```typescript
-await client.filestorage.files.create({
- isDebugMode: true,
- runAsync: true,
- model: {}
+const pageableResponse = await client.accounting.items.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.items.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -13201,7 +14487,7 @@ await client.filestorage.files.create({
-
-**request:** `Merge.filestorage.FileStorageFileEndpointRequest`
+**request:** `Merge.accounting.ItemsListRequest`
@@ -13209,7 +14495,7 @@ await client.filestorage.files.create({
-
-**requestOptions:** `FilesClient.RequestOptions`
+**requestOptions:** `ItemsClient.RequestOptions`
@@ -13221,7 +14507,7 @@ await client.filestorage.files.create({
-client.filestorage.files.retrieve(id, { ...params }) -> Merge.File_
+client.accounting.items.create({ ...params }) -> Merge.ItemResponse
-
@@ -13233,7 +14519,7 @@ await client.filestorage.files.create({
-
-Returns a `File` object with the given `id`.
+Creates an `Item` object with the given values.
@@ -13248,10 +14534,12 @@ Returns a `File` object with the given `id`.
-
```typescript
-await client.filestorage.files.retrieve("id", {
- expand: "drive",
- includeRemoteData: true,
- includeShellData: true
+await client.accounting.items.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
});
```
@@ -13268,15 +14556,7 @@ await client.filestorage.files.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.filestorage.FilesRetrieveRequest`
+**request:** `Merge.accounting.ItemsCreateRequest`
@@ -13284,7 +14564,7 @@ await client.filestorage.files.retrieve("id", {
-
-**requestOptions:** `FilesClient.RequestOptions`
+**requestOptions:** `ItemsClient.RequestOptions`
@@ -13296,7 +14576,7 @@ await client.filestorage.files.retrieve("id", {
-client.filestorage.files.downloadRequestMetaRetrieve(id, { ...params }) -> Merge.DownloadRequestMeta
+client.accounting.items.retrieve(id, { ...params }) -> Merge.Item
-
@@ -13308,7 +14588,7 @@ await client.filestorage.files.retrieve("id", {
-
-Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party.
+Returns an `Item` object with the given `id`.
@@ -13323,8 +14603,11 @@ Returns metadata to construct an authenticated file download request for a singu
-
```typescript
-await client.filestorage.files.downloadRequestMetaRetrieve("id", {
- mimeType: "mime_type"
+await client.accounting.items.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true,
+ remoteFields: "status",
+ showEnumOrigins: "status"
});
```
@@ -13349,7 +14632,7 @@ await client.filestorage.files.downloadRequestMetaRetrieve("id", {
-
-**request:** `Merge.filestorage.FilesDownloadRequestMetaRetrieveRequest`
+**request:** `Merge.accounting.ItemsRetrieveRequest`
@@ -13357,7 +14640,7 @@ await client.filestorage.files.downloadRequestMetaRetrieve("id", {
-
-**requestOptions:** `FilesClient.RequestOptions`
+**requestOptions:** `ItemsClient.RequestOptions`
@@ -13369,7 +14652,7 @@ await client.filestorage.files.downloadRequestMetaRetrieve("id", {
-client.filestorage.files.downloadRequestMetaList({ ...params }) -> Merge.PaginatedDownloadRequestMetaList
+client.accounting.items.partialUpdate(id, { ...params }) -> Merge.ItemResponse
-
@@ -13381,7 +14664,7 @@ await client.filestorage.files.downloadRequestMetaRetrieve("id", {
-
-Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party.
+Updates an `Item` object with the given `id`.
@@ -13396,16 +14679,10 @@ Returns metadata to construct authenticated file download requests, allowing you
-
```typescript
-await client.filestorage.files.downloadRequestMetaList({
- createdAfter: "created_after",
- createdBefore: "created_before",
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- mimeTypes: "mime_types",
- modifiedAfter: "modified_after",
- modifiedBefore: "modified_before",
- orderBy: "-created_at",
- pageSize: 1
+await client.accounting.items.partialUpdate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
});
```
@@ -13422,7 +14699,7 @@ await client.filestorage.files.downloadRequestMetaList({
-
-**request:** `Merge.filestorage.FilesDownloadRequestMetaListRequest`
+**id:** `string`
@@ -13430,7 +14707,15 @@ await client.filestorage.files.downloadRequestMetaList({
-
-**requestOptions:** `FilesClient.RequestOptions`
+**request:** `Merge.accounting.PatchedItemEndpointRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `ItemsClient.RequestOptions`
@@ -13442,7 +14727,7 @@ await client.filestorage.files.downloadRequestMetaList({
-client.filestorage.files.metaPostRetrieve() -> Merge.MetaResponse
+client.accounting.items.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedItemList
-
@@ -13454,7 +14739,7 @@ await client.filestorage.files.downloadRequestMetaList({
-
-Returns metadata for `FileStorageFile` POSTs.
+Returns a list of `Item` objects.
@@ -13469,7 +14754,22 @@ Returns metadata for `FileStorageFile` POSTs.
-
```typescript
-await client.filestorage.files.metaPostRetrieve();
+await client.accounting.items.batchObjectsList("batch_id", {
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status"
+});
```
@@ -13485,7 +14785,23 @@ await client.filestorage.files.metaPostRetrieve();
-
-**requestOptions:** `FilesClient.RequestOptions`
+**batch_id:** `string`
+
+
+
+
+
+-
+
+**request:** `Merge.accounting.ItemsBatchObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `ItemsClient.RequestOptions`
@@ -13497,8 +14813,7 @@ await client.filestorage.files.metaPostRetrieve();
-## Filestorage Folders
-client.filestorage.folders.list({ ...params }) -> Merge.PaginatedFolderList
+client.accounting.items.asyncBulkCreate({ ...params }) -> Merge.ItemResponse
-
@@ -13510,7 +14825,7 @@ await client.filestorage.files.metaPostRetrieve();
-
-Returns a list of `Folder` objects.
+Creates an `Item` object with the given values.
@@ -13525,21 +14840,15 @@ Returns a list of `Folder` objects.
-
```typescript
-await client.filestorage.folders.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- driveId: "drive_id",
- expand: "drive",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- name: "name",
- pageSize: 1,
- parentFolderId: "parent_folder_id",
- remoteId: "remote_id"
+await client.accounting.items.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
});
```
@@ -13556,7 +14865,7 @@ await client.filestorage.folders.list({
-
-**request:** `Merge.filestorage.FoldersListRequest`
+**request:** `Merge.accounting.ItemBulkRequest`
@@ -13564,7 +14873,7 @@ await client.filestorage.folders.list({
-
-**requestOptions:** `FoldersClient.RequestOptions`
+**requestOptions:** `ItemsClient.RequestOptions`
@@ -13576,7 +14885,7 @@ await client.filestorage.folders.list({
-client.filestorage.folders.create({ ...params }) -> Merge.FileStorageFolderResponse
+client.accounting.items.metaPatchRetrieve(id) -> Merge.MetaResponse
-
@@ -13588,7 +14897,7 @@ await client.filestorage.folders.list({
-
-Creates a `Folder` object with the given values.
+Returns metadata for `Item` PATCHs.
@@ -13603,11 +14912,7 @@ Creates a `Folder` object with the given values.
-
```typescript
-await client.filestorage.folders.create({
- isDebugMode: true,
- runAsync: true,
- model: {}
-});
+await client.accounting.items.metaPatchRetrieve("id");
```
@@ -13623,7 +14928,7 @@ await client.filestorage.folders.create({
-
-**request:** `Merge.filestorage.FileStorageFolderEndpointRequest`
+**id:** `string`
@@ -13631,7 +14936,7 @@ await client.filestorage.folders.create({
-
-**requestOptions:** `FoldersClient.RequestOptions`
+**requestOptions:** `ItemsClient.RequestOptions`
@@ -13643,7 +14948,7 @@ await client.filestorage.folders.create({
-client.filestorage.folders.retrieve(id, { ...params }) -> Merge.Folder
+client.accounting.items.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -13655,7 +14960,7 @@ await client.filestorage.folders.create({
-
-Returns a `Folder` object with the given `id`.
+Returns metadata for `Item` POSTs.
@@ -13670,11 +14975,7 @@ Returns a `Folder` object with the given `id`.
-
```typescript
-await client.filestorage.folders.retrieve("id", {
- expand: "drive",
- includeRemoteData: true,
- includeShellData: true
-});
+await client.accounting.items.metaPostRetrieve();
```
@@ -13690,15 +14991,105 @@ await client.filestorage.folders.retrieve("id", {
-
-**id:** `string`
+**requestOptions:** `ItemsClient.RequestOptions`
+
+
+
+
+
+
+
+## Accounting JournalEntries
+client.accounting.journalEntries.list({ ...params }) -> core.Page
-
-**request:** `Merge.filestorage.FoldersRetrieveRequest`
+#### 📝 Description
+
+
+-
+
+
+-
+
+Returns a list of `JournalEntry` objects.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+const pageableResponse = await client.accounting.journalEntries.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.journalEntries.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `Merge.accounting.JournalEntriesListRequest`
@@ -13706,7 +15097,7 @@ await client.filestorage.folders.retrieve("id", {
-
-**requestOptions:** `FoldersClient.RequestOptions`
+**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -13718,7 +15109,7 @@ await client.filestorage.folders.retrieve("id", {
-client.filestorage.folders.metaPostRetrieve() -> Merge.MetaResponse
+client.accounting.journalEntries.create({ ...params }) -> Merge.JournalEntryResponse
-
@@ -13730,7 +15121,7 @@ await client.filestorage.folders.retrieve("id", {
-
-Returns metadata for `FileStorageFolder` POSTs.
+Creates a `JournalEntry` object with the given values.
@@ -13745,7 +15136,13 @@ Returns metadata for `FileStorageFolder` POSTs.
-
```typescript
-await client.filestorage.folders.metaPostRetrieve();
+await client.accounting.journalEntries.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
+});
```
@@ -13761,7 +15158,15 @@ await client.filestorage.folders.metaPostRetrieve();
-
-**requestOptions:** `FoldersClient.RequestOptions`
+**request:** `Merge.accounting.JournalEntriesCreateRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -13773,8 +15178,7 @@ await client.filestorage.folders.metaPostRetrieve();
-## Filestorage GenerateKey
-client.filestorage.generateKey.create({ ...params }) -> Merge.RemoteKey
+client.accounting.journalEntries.retrieve(id, { ...params }) -> Merge.JournalEntry
-
@@ -13786,7 +15190,7 @@ await client.filestorage.folders.metaPostRetrieve();
-
-Create a remote key.
+Returns a `JournalEntry` object with the given `id`.
@@ -13801,8 +15205,10 @@ Create a remote key.
-
```typescript
-await client.filestorage.generateKey.create({
- name: "Remote Deployment Key 1"
+await client.accounting.journalEntries.retrieve("id", {
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true
});
```
@@ -13819,7 +15225,7 @@ await client.filestorage.generateKey.create({
-
-**request:** `Merge.filestorage.GenerateRemoteKeyRequest`
+**id:** `string`
@@ -13827,7 +15233,15 @@ await client.filestorage.generateKey.create({
-
-**requestOptions:** `GenerateKeyClient.RequestOptions`
+**request:** `Merge.accounting.JournalEntriesRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -13839,8 +15253,7 @@ await client.filestorage.generateKey.create({
-## Filestorage Groups
-client.filestorage.groups.list({ ...params }) -> Merge.PaginatedGroupList
+client.accounting.journalEntries.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedJournalEntryList
-
@@ -13852,7 +15265,7 @@ await client.filestorage.generateKey.create({
-
-Returns a list of `Group` objects.
+Returns a list of `JournalEntry` objects.
@@ -13867,18 +15280,21 @@ Returns a list of `Group` objects.
-
```typescript
-await client.filestorage.groups.list({
+await client.accounting.journalEntries.batchObjectsList("batch_id", {
+ companyId: "company_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "child_groups",
includeDeletedData: true,
includeRemoteData: true,
+ includeRemoteFields: true,
includeShellData: true,
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
- remoteId: "remote_id"
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
});
```
@@ -13895,7 +15311,7 @@ await client.filestorage.groups.list({
-
-**request:** `Merge.filestorage.GroupsListRequest`
+**batch_id:** `string`
@@ -13903,7 +15319,15 @@ await client.filestorage.groups.list({
-
-**requestOptions:** `GroupsClient.RequestOptions`
+**request:** `Merge.accounting.JournalEntriesBatchObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -13915,7 +15339,7 @@ await client.filestorage.groups.list({
-client.filestorage.groups.retrieve(id, { ...params }) -> Merge.Group
+client.accounting.journalEntries.asyncBulkCreate({ ...params }) -> Merge.JournalEntryResponse
-
@@ -13927,7 +15351,7 @@ await client.filestorage.groups.list({
-
-Returns a `Group` object with the given `id`.
+Creates a `JournalEntry` object with the given values.
@@ -13942,10 +15366,15 @@ Returns a `Group` object with the given `id`.
-
```typescript
-await client.filestorage.groups.retrieve("id", {
- expand: "child_groups",
- includeRemoteData: true,
- includeShellData: true
+await client.accounting.journalEntries.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
});
```
@@ -13962,7 +15391,7 @@ await client.filestorage.groups.retrieve("id", {
-
-**id:** `string`
+**request:** `Merge.accounting.JournalEntryBulkRequest`
@@ -13970,15 +15399,7 @@ await client.filestorage.groups.retrieve("id", {
-
-**request:** `Merge.filestorage.GroupsRetrieveRequest`
-
-
-
-
-
--
-
-**requestOptions:** `GroupsClient.RequestOptions`
+**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -13990,8 +15411,7 @@ await client.filestorage.groups.retrieve("id", {
-## Filestorage Issues
-client.filestorage.issues.list({ ...params }) -> Merge.PaginatedIssueList
+client.accounting.journalEntries.linesRemoteFieldClassesList({ ...params }) -> core.Page
-
@@ -14003,7 +15423,7 @@ await client.filestorage.groups.retrieve("id", {
-
-Gets all issues for Organization.
+Returns a list of `RemoteFieldClass` objects.
@@ -14018,22 +15438,35 @@ Gets all issues for Organization.
-
```typescript
-await client.filestorage.issues.list({
- accountToken: "account_token",
+const pageableResponse = await client.accounting.journalEntries.linesRemoteFieldClassesList({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- endDate: "end_date",
- endUserOrganizationName: "end_user_organization_name",
- firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
- firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
- includeMuted: "include_muted",
- integrationName: "integration_name",
- lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
- lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
- linkedAccountId: "linked_account_id",
- pageSize: 1,
- startDate: "start_date",
- status: "ONGOING"
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.journalEntries.linesRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -14049,7 +15482,7 @@ await client.filestorage.issues.list({
-
-**request:** `Merge.filestorage.IssuesListRequest`
+**request:** `Merge.accounting.JournalEntriesLinesRemoteFieldClassesListRequest`
@@ -14057,7 +15490,7 @@ await client.filestorage.issues.list({
-
-**requestOptions:** `IssuesClient.RequestOptions`
+**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -14069,7 +15502,7 @@ await client.filestorage.issues.list({
-client.filestorage.issues.retrieve(id) -> Merge.Issue
+client.accounting.journalEntries.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -14081,7 +15514,7 @@ await client.filestorage.issues.list({
-
-Get a specific issue.
+Returns metadata for `JournalEntry` POSTs.
@@ -14096,7 +15529,7 @@ Get a specific issue.
-
```typescript
-await client.filestorage.issues.retrieve("id");
+await client.accounting.journalEntries.metaPostRetrieve();
```
@@ -14112,15 +15545,98 @@ await client.filestorage.issues.retrieve("id");
-
-**id:** `string`
+**requestOptions:** `JournalEntriesClient.RequestOptions`
+
+
+
+
+
+
+
+client.accounting.journalEntries.remoteFieldClassesList({ ...params }) -> core.Page
-
-**requestOptions:** `IssuesClient.RequestOptions`
+#### 📝 Description
+
+
+-
+
+
+-
+
+Returns a list of `RemoteFieldClass` objects.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+const pageableResponse = await client.accounting.journalEntries.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.journalEntries.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `Merge.accounting.JournalEntriesRemoteFieldClassesListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `JournalEntriesClient.RequestOptions`
@@ -14132,8 +15648,8 @@ await client.filestorage.issues.retrieve("id");
-## Filestorage LinkToken
-client.filestorage.linkToken.create({ ...params }) -> Merge.LinkToken
+## Accounting LinkToken
+client.accounting.linkToken.create({ ...params }) -> Merge.LinkToken
-
@@ -14145,7 +15661,7 @@ await client.filestorage.issues.retrieve("id");
-
-Creates a link token to be used when linking a new end user.
+Creates a link token to be used when linking a new end user. The link token expires after single use.
@@ -14160,7 +15676,7 @@ Creates a link token to be used when linking a new end user.
-
```typescript
-await client.filestorage.linkToken.create({
+await client.accounting.linkToken.create({
endUserEmailAddress: "example@gmail.com",
endUserOrganizationName: "Test Organization",
endUserOriginId: "12345",
@@ -14181,7 +15697,7 @@ await client.filestorage.linkToken.create({
-
-**request:** `Merge.filestorage.EndUserDetailsRequest`
+**request:** `Merge.accounting.EndUserDetailsRequest`
@@ -14201,8 +15717,8 @@ await client.filestorage.linkToken.create({
-## Filestorage LinkedAccounts
-client.filestorage.linkedAccounts.list({ ...params }) -> Merge.PaginatedAccountDetailsAndActionsList
+## Accounting LinkedAccounts
+client.accounting.linkedAccounts.list({ ...params }) -> core.Page
-
@@ -14229,7 +15745,7 @@ List linked accounts for your organization.
-
```typescript
-await client.filestorage.linkedAccounts.list({
+const pageableResponse = await client.accounting.linkedAccounts.list({
category: "accounting",
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
endUserEmailAddress: "end_user_email_address",
@@ -14244,6 +15760,32 @@ await client.filestorage.linkedAccounts.list({
pageSize: 1,
status: "status"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.linkedAccounts.list({
+ category: "accounting",
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ endUserEmailAddress: "end_user_email_address",
+ endUserOrganizationName: "end_user_organization_name",
+ endUserOriginId: "end_user_origin_id",
+ endUserOriginIds: "end_user_origin_ids",
+ id: "id",
+ ids: "ids",
+ includeDuplicates: true,
+ integrationName: "integration_name",
+ isTestAccount: "is_test_account",
+ pageSize: 1,
+ status: "status"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -14259,7 +15801,7 @@ await client.filestorage.linkedAccounts.list({
-
-**request:** `Merge.filestorage.LinkedAccountsListRequest`
+**request:** `Merge.accounting.LinkedAccountsListRequest`
@@ -14279,8 +15821,8 @@ await client.filestorage.linkedAccounts.list({
-## Filestorage Passthrough
-client.filestorage.passthrough.create({ ...params }) -> Merge.RemoteResponse
+## Accounting Passthrough
+client.accounting.passthrough.create({ ...params }) -> Merge.RemoteResponse
-
@@ -14307,7 +15849,7 @@ Pull data from an endpoint not currently supported by Merge.
-
```typescript
-await client.filestorage.passthrough.create({
+await client.accounting.passthrough.create({
method: "GET",
path: "/scooters"
});
@@ -14346,8 +15888,8 @@ await client.filestorage.passthrough.create({
-## Filestorage RegenerateKey
-client.filestorage.regenerateKey.create({ ...params }) -> Merge.RemoteKey
+## Accounting PaymentMethods
+client.accounting.paymentMethods.list({ ...params }) -> core.Page
-
@@ -14359,7 +15901,7 @@ await client.filestorage.passthrough.create({
-
-Exchange remote keys.
+Returns a list of `PaymentMethod` objects.
@@ -14374,9 +15916,31 @@ Exchange remote keys.
-
```typescript
-await client.filestorage.regenerateKey.create({
- name: "Remote Deployment Key 1"
+const pageableResponse = await client.accounting.paymentMethods.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.paymentMethods.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -14392,7 +15956,7 @@ await client.filestorage.regenerateKey.create({
-
-**request:** `Merge.filestorage.RemoteKeyForRegenerationRequest`
+**request:** `Merge.accounting.PaymentMethodsListRequest`
@@ -14400,7 +15964,7 @@ await client.filestorage.regenerateKey.create({
-
-**requestOptions:** `RegenerateKeyClient.RequestOptions`
+**requestOptions:** `PaymentMethodsClient.RequestOptions`
@@ -14412,8 +15976,7 @@ await client.filestorage.regenerateKey.create({
-## Filestorage SyncStatus
-client.filestorage.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList
+client.accounting.paymentMethods.retrieve(id, { ...params }) -> Merge.PaymentMethod
-
@@ -14425,7 +15988,7 @@ await client.filestorage.regenerateKey.create({
-
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
+Returns a `PaymentMethod` object with the given `id`.
@@ -14440,9 +16003,9 @@ Get sync status for the current sync and the most recently finished sync. `last_
-
```typescript
-await client.filestorage.syncStatus.list({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- pageSize: 1
+await client.accounting.paymentMethods.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true
});
```
@@ -14459,7 +16022,7 @@ await client.filestorage.syncStatus.list({
-
-**request:** `Merge.filestorage.SyncStatusListRequest`
+**id:** `string`
@@ -14467,7 +16030,15 @@ await client.filestorage.syncStatus.list({
-
-**requestOptions:** `SyncStatusClient.RequestOptions`
+**request:** `Merge.accounting.PaymentMethodsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `PaymentMethodsClient.RequestOptions`
@@ -14479,8 +16050,8 @@ await client.filestorage.syncStatus.list({
-## Filestorage ForceResync
-client.filestorage.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[]
+## Accounting PaymentTerms
+client.accounting.paymentTerms.list({ ...params }) -> core.Page
-
@@ -14492,7 +16063,7 @@ await client.filestorage.syncStatus.list({
-
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
+Returns a list of `PaymentTerm` objects.
@@ -14507,7 +16078,31 @@ Force re-sync of all models. This endpoint is available for monthly, quarterly,
-
```typescript
-await client.filestorage.forceResync.syncStatusResyncCreate();
+const pageableResponse = await client.accounting.paymentTerms.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.paymentTerms.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -14523,7 +16118,15 @@ await client.filestorage.forceResync.syncStatusResyncCreate();
-
-**requestOptions:** `ForceResyncClient.RequestOptions`
+**request:** `Merge.accounting.PaymentTermsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `PaymentTermsClient.RequestOptions`
@@ -14535,8 +16138,7 @@ await client.filestorage.forceResync.syncStatusResyncCreate();
-## Filestorage Users
-client.filestorage.users.list({ ...params }) -> Merge.PaginatedUserList
+client.accounting.paymentTerms.retrieve(id, { ...params }) -> Merge.PaymentTerm
-
@@ -14548,7 +16150,7 @@ await client.filestorage.forceResync.syncStatusResyncCreate();
-
-Returns a list of `User` objects.
+Returns a `PaymentTerm` object with the given `id`.
@@ -14563,18 +16165,9 @@ Returns a list of `User` objects.
-
```typescript
-await client.filestorage.users.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
+await client.accounting.paymentTerms.retrieve("id", {
includeRemoteData: true,
- includeShellData: true,
- isMe: "is_me",
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
+ includeShellData: true
});
```
@@ -14591,7 +16184,7 @@ await client.filestorage.users.list({
-
-**request:** `Merge.filestorage.UsersListRequest`
+**id:** `string`
@@ -14599,7 +16192,15 @@ await client.filestorage.users.list({
-
-**requestOptions:** `UsersClient.RequestOptions`
+**request:** `Merge.accounting.PaymentTermsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `PaymentTermsClient.RequestOptions`
@@ -14611,7 +16212,8 @@ await client.filestorage.users.list({
-client.filestorage.users.retrieve(id, { ...params }) -> Merge.User
+## Accounting Payments
+client.accounting.payments.list({ ...params }) -> core.Page
-
@@ -14623,7 +16225,7 @@ await client.filestorage.users.list({
-
-Returns a `User` object with the given `id`.
+Returns a list of `Payment` objects.
@@ -14638,10 +16240,53 @@ Returns a `User` object with the given `id`.
-
```typescript
-await client.filestorage.users.retrieve("id", {
+const pageableResponse = await client.accounting.payments.list({
+ accountId: "account_id",
+ companyId: "company_id",
+ contactId: "contact_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
includeRemoteData: true,
- includeShellData: true
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.payments.list({
+ accountId: "account_id",
+ companyId: "company_id",
+ contactId: "contact_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -14657,15 +16302,7 @@ await client.filestorage.users.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.filestorage.UsersRetrieveRequest`
+**request:** `Merge.accounting.PaymentsListRequest`
@@ -14673,7 +16310,7 @@ await client.filestorage.users.retrieve("id", {
-
-**requestOptions:** `UsersClient.RequestOptions`
+**requestOptions:** `PaymentsClient.RequestOptions`
@@ -14685,8 +16322,7 @@ await client.filestorage.users.retrieve("id", {
-## Filestorage WebhookReceivers
-client.filestorage.webhookReceivers.list() -> Merge.WebhookReceiver[]
+client.accounting.payments.create({ ...params }) -> Merge.PaymentResponse
-
@@ -14698,7 +16334,7 @@ await client.filestorage.users.retrieve("id", {
-
-Returns a list of `WebhookReceiver` objects.
+Creates a `Payment` object with the given values.
@@ -14713,7 +16349,13 @@ Returns a list of `WebhookReceiver` objects.
-
```typescript
-await client.filestorage.webhookReceivers.list();
+await client.accounting.payments.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
+});
```
@@ -14729,7 +16371,15 @@ await client.filestorage.webhookReceivers.list();
-
-**requestOptions:** `WebhookReceiversClient.RequestOptions`
+**request:** `Merge.accounting.PaymentsCreateRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `PaymentsClient.RequestOptions`
@@ -14741,7 +16391,7 @@ await client.filestorage.webhookReceivers.list();
-client.filestorage.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver
+client.accounting.payments.retrieve(id, { ...params }) -> Merge.Payment
-
@@ -14753,7 +16403,7 @@ await client.filestorage.webhookReceivers.list();
-
-Creates a `WebhookReceiver` object with the given values.
+Returns a `Payment` object with the given `id`.
@@ -14768,9 +16418,10 @@ Creates a `WebhookReceiver` object with the given values.
-
```typescript
-await client.filestorage.webhookReceivers.create({
- event: "event",
- isActive: true
+await client.accounting.payments.retrieve("id", {
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true
});
```
@@ -14787,7 +16438,7 @@ await client.filestorage.webhookReceivers.create({
-
-**request:** `Merge.filestorage.WebhookReceiverRequest`
+**id:** `string`
@@ -14795,7 +16446,15 @@ await client.filestorage.webhookReceivers.create({
-
-**requestOptions:** `WebhookReceiversClient.RequestOptions`
+**request:** `Merge.accounting.PaymentsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `PaymentsClient.RequestOptions`
@@ -14807,8 +16466,7 @@ await client.filestorage.webhookReceivers.create({
-## Hris AccountDetails
-client.hris.accountDetails.retrieve() -> Merge.AccountDetails
+client.accounting.payments.partialUpdate(id, { ...params }) -> Merge.PaymentResponse
-
@@ -14820,7 +16478,7 @@ await client.filestorage.webhookReceivers.create({
-
-Get details for a linked account.
+Updates a `Payment` object with the given `id`.
@@ -14835,7 +16493,11 @@ Get details for a linked account.
-
```typescript
-await client.hris.accountDetails.retrieve();
+await client.accounting.payments.partialUpdate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
+});
```
@@ -14851,7 +16513,23 @@ await client.hris.accountDetails.retrieve();
-
-**requestOptions:** `AccountDetailsClient.RequestOptions`
+**id:** `string`
+
+
+
+
+
+-
+
+**request:** `Merge.accounting.PatchedPaymentEndpointRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `PaymentsClient.RequestOptions`
@@ -14863,8 +16541,7 @@ await client.hris.accountDetails.retrieve();
-## Hris AccountToken
-client.hris.accountToken.retrieve(public_token) -> Merge.AccountToken
+client.accounting.payments.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedPaymentList
-
@@ -14876,7 +16553,7 @@ await client.hris.accountDetails.retrieve();
-
-Returns the account token for the end user with the provided public token.
+Returns a list of `Payment` objects.
@@ -14891,7 +16568,24 @@ Returns the account token for the end user with the provided public token.
-
```typescript
-await client.hris.accountToken.retrieve("public_token");
+await client.accounting.payments.batchObjectsList("batch_id", {
+ accountId: "account_id",
+ companyId: "company_id",
+ contactId: "contact_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
+});
```
@@ -14907,7 +16601,7 @@ await client.hris.accountToken.retrieve("public_token");
-
-**public_token:** `string`
+**batch_id:** `string`
@@ -14915,7 +16609,15 @@ await client.hris.accountToken.retrieve("public_token");
-
-**requestOptions:** `AccountTokenClient.RequestOptions`
+**request:** `Merge.accounting.PaymentsBatchObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `PaymentsClient.RequestOptions`
@@ -14927,8 +16629,7 @@ await client.hris.accountToken.retrieve("public_token");
-## Hris AsyncPassthrough
-client.hris.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
+client.accounting.payments.asyncBulkCreate({ ...params }) -> Merge.PaymentResponse
-
@@ -14940,7 +16641,7 @@ await client.hris.accountToken.retrieve("public_token");
-
-Asynchronously pull data from an endpoint not currently supported by Merge.
+Creates a `Payment` object with the given values.
@@ -14955,9 +16656,15 @@ Asynchronously pull data from an endpoint not currently supported by Merge.
-
```typescript
-await client.hris.asyncPassthrough.create({
- method: "GET",
- path: "/scooters"
+await client.accounting.payments.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
});
```
@@ -14974,7 +16681,7 @@ await client.hris.asyncPassthrough.create({
-
-**request:** `Merge.DataPassthroughRequest`
+**request:** `Merge.accounting.PaymentBulkRequest`
@@ -14982,7 +16689,7 @@ await client.hris.asyncPassthrough.create({
-
-**requestOptions:** `AsyncPassthroughClient.RequestOptions`
+**requestOptions:** `PaymentsClient.RequestOptions`
@@ -14994,7 +16701,7 @@ await client.hris.asyncPassthrough.create({
-client.hris.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
+client.accounting.payments.lineItemsRemoteFieldClassesList({ ...params }) -> core.Page
-
@@ -15006,7 +16713,7 @@ await client.hris.asyncPassthrough.create({
-
-Retrieves data from earlier async-passthrough POST request
+Returns a list of `RemoteFieldClass` objects.
@@ -15021,7 +16728,35 @@ Retrieves data from earlier async-passthrough POST request
-
```typescript
-await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id");
+const pageableResponse = await client.accounting.payments.lineItemsRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.payments.lineItemsRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -15037,7 +16772,7 @@ await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-
-**async_passthrough_receipt_id:** `string`
+**request:** `Merge.accounting.PaymentsLineItemsRemoteFieldClassesListRequest`
@@ -15045,7 +16780,7 @@ await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-
-**requestOptions:** `AsyncPassthroughClient.RequestOptions`
+**requestOptions:** `PaymentsClient.RequestOptions`
@@ -15057,8 +16792,7 @@ await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-## Hris AuditTrail
-client.hris.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList
+client.accounting.payments.metaPatchRetrieve(id) -> Merge.MetaResponse
-
@@ -15070,7 +16804,7 @@ await client.hris.asyncPassthrough.retrieve("async_passthrough_receipt_id");
-
-Gets a list of audit trail events.
+Returns metadata for `Payment` PATCHs.
@@ -15085,14 +16819,7 @@ Gets a list of audit trail events.
-
```typescript
-await client.hris.auditTrail.list({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- endDate: "end_date",
- eventType: "event_type",
- pageSize: 1,
- startDate: "start_date",
- userEmail: "user_email"
-});
+await client.accounting.payments.metaPatchRetrieve("id");
```
@@ -15108,7 +16835,7 @@ await client.hris.auditTrail.list({
-
-**request:** `Merge.hris.AuditTrailListRequest`
+**id:** `string`
@@ -15116,7 +16843,7 @@ await client.hris.auditTrail.list({
-
-**requestOptions:** `AuditTrailClient.RequestOptions`
+**requestOptions:** `PaymentsClient.RequestOptions`
@@ -15128,8 +16855,7 @@ await client.hris.auditTrail.list({
-## Hris AvailableActions
-client.hris.availableActions.retrieve() -> Merge.AvailableActions
+client.accounting.payments.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -15141,7 +16867,7 @@ await client.hris.auditTrail.list({
-
-Returns a list of models and actions available for an account.
+Returns metadata for `Payment` POSTs.
@@ -15156,7 +16882,7 @@ Returns a list of models and actions available for an account.
-
```typescript
-await client.hris.availableActions.retrieve();
+await client.accounting.payments.metaPostRetrieve();
```
@@ -15172,7 +16898,7 @@ await client.hris.availableActions.retrieve();
-
-**requestOptions:** `AvailableActionsClient.RequestOptions`
+**requestOptions:** `PaymentsClient.RequestOptions`
@@ -15184,8 +16910,7 @@ await client.hris.availableActions.retrieve();
-## Hris BankInfo
-client.hris.bankInfo.list({ ...params }) -> Merge.PaginatedBankInfoList
+client.accounting.payments.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -15197,7 +16922,7 @@ await client.hris.availableActions.retrieve();
-
-Returns a list of `BankInfo` objects.
+Returns a list of `RemoteFieldClass` objects.
@@ -15212,25 +16937,35 @@ Returns a list of `BankInfo` objects.
-
```typescript
-await client.hris.bankInfo.list({
- accountType: "CHECKING",
- bankName: "bank_name",
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+const pageableResponse = await client.accounting.payments.remoteFieldClassesList({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- employeeId: "employee_id",
- expand: "employee",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- orderBy: "-remote_created_at",
- pageSize: 1,
- remoteFields: "account_type",
- remoteId: "remote_id",
- showEnumOrigins: "account_type"
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.payments.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -15246,7 +16981,7 @@ await client.hris.bankInfo.list({
-
-**request:** `Merge.hris.BankInfoListRequest`
+**request:** `Merge.accounting.PaymentsRemoteFieldClassesListRequest`
@@ -15254,7 +16989,7 @@ await client.hris.bankInfo.list({
-
-**requestOptions:** `BankInfoClient.RequestOptions`
+**requestOptions:** `PaymentsClient.RequestOptions`
@@ -15266,7 +17001,8 @@ await client.hris.bankInfo.list({
-client.hris.bankInfo.retrieve(id, { ...params }) -> Merge.BankInfo
+## Accounting PhoneNumbers
+client.accounting.phoneNumbers.retrieve(id, { ...params }) -> Merge.AccountingPhoneNumber
-
@@ -15278,7 +17014,7 @@ await client.hris.bankInfo.list({
-
-Returns a `BankInfo` object with the given `id`.
+Returns an `AccountingPhoneNumber` object with the given `id`.
@@ -15293,12 +17029,9 @@ Returns a `BankInfo` object with the given `id`.
-
```typescript
-await client.hris.bankInfo.retrieve("id", {
- expand: "employee",
+await client.accounting.phoneNumbers.retrieve("id", {
includeRemoteData: true,
- includeShellData: true,
- remoteFields: "account_type",
- showEnumOrigins: "account_type"
+ includeShellData: true
});
```
@@ -15323,7 +17056,7 @@ await client.hris.bankInfo.retrieve("id", {
-
-**request:** `Merge.hris.BankInfoRetrieveRequest`
+**request:** `Merge.accounting.PhoneNumbersRetrieveRequest`
@@ -15331,7 +17064,7 @@ await client.hris.bankInfo.retrieve("id", {
-
-**requestOptions:** `BankInfoClient.RequestOptions`
+**requestOptions:** `PhoneNumbersClient.RequestOptions`
@@ -15343,8 +17076,8 @@ await client.hris.bankInfo.retrieve("id", {
-## Hris Benefits
-client.hris.benefits.list({ ...params }) -> Merge.PaginatedBenefitList
+## Accounting Projects
+client.accounting.projects.list({ ...params }) -> core.Page
-
@@ -15356,7 +17089,7 @@ await client.hris.bankInfo.retrieve("id", {
-
-Returns a list of `Benefit` objects.
+Returns a list of `Project` objects.
@@ -15371,12 +17104,29 @@ Returns a list of `Benefit` objects.
-
```typescript
-await client.hris.benefits.list({
+const pageableResponse = await client.accounting.projects.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.projects.list({
+ companyId: "company_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- employeeId: "employee_id",
- expand: "employee",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
@@ -15385,6 +17135,12 @@ await client.hris.benefits.list({
pageSize: 1,
remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -15400,7 +17156,7 @@ await client.hris.benefits.list({
-
-**request:** `Merge.hris.BenefitsListRequest`
+**request:** `Merge.accounting.ProjectsListRequest`
@@ -15408,7 +17164,7 @@ await client.hris.benefits.list({
-
-**requestOptions:** `BenefitsClient.RequestOptions`
+**requestOptions:** `ProjectsClient.RequestOptions`
@@ -15420,7 +17176,7 @@ await client.hris.benefits.list({
-client.hris.benefits.retrieve(id, { ...params }) -> Merge.Benefit
+client.accounting.projects.retrieve(id, { ...params }) -> Merge.Project
-
@@ -15432,7 +17188,7 @@ await client.hris.benefits.list({
-
-Returns a `Benefit` object with the given `id`.
+Returns a `Project` object with the given `id`.
@@ -15447,8 +17203,7 @@ Returns a `Benefit` object with the given `id`.
-
```typescript
-await client.hris.benefits.retrieve("id", {
- expand: "employee",
+await client.accounting.projects.retrieve("id", {
includeRemoteData: true,
includeShellData: true
});
@@ -15475,7 +17230,7 @@ await client.hris.benefits.retrieve("id", {
-
-**request:** `Merge.hris.BenefitsRetrieveRequest`
+**request:** `Merge.accounting.ProjectsRetrieveRequest`
@@ -15483,7 +17238,7 @@ await client.hris.benefits.retrieve("id", {
-
-**requestOptions:** `BenefitsClient.RequestOptions`
+**requestOptions:** `ProjectsClient.RequestOptions`
@@ -15495,8 +17250,8 @@ await client.hris.benefits.retrieve("id", {
-## Hris Companies
-client.hris.companies.list({ ...params }) -> Merge.PaginatedCompanyList
+## Accounting PurchaseOrders
+client.accounting.purchaseOrders.list({ ...params }) -> core.Page
-
@@ -15508,7 +17263,7 @@ await client.hris.benefits.retrieve("id", {
-
-Returns a list of `Company` objects.
+Returns a list of `PurchaseOrder` objects.
@@ -15523,18 +17278,53 @@ Returns a list of `Company` objects.
-
```typescript
-await client.hris.companies.list({
+const pageableResponse = await client.accounting.purchaseOrders.list({
+ companyId: "company_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
includeDeletedData: true,
includeRemoteData: true,
+ includeRemoteFields: true,
includeShellData: true,
+ issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
- remoteId: "remote_id"
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status"
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.purchaseOrders.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -15550,7 +17340,7 @@ await client.hris.companies.list({
-
-**request:** `Merge.hris.CompaniesListRequest`
+**request:** `Merge.accounting.PurchaseOrdersListRequest`
@@ -15558,7 +17348,7 @@ await client.hris.companies.list({
-
-**requestOptions:** `CompaniesClient.RequestOptions`
+**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -15570,7 +17360,7 @@ await client.hris.companies.list({
-client.hris.companies.retrieve(id, { ...params }) -> Merge.Company
+client.accounting.purchaseOrders.create({ ...params }) -> Merge.PurchaseOrderResponse
-
@@ -15582,7 +17372,7 @@ await client.hris.companies.list({
-
-Returns a `Company` object with the given `id`.
+Creates a `PurchaseOrder` object with the given values.
@@ -15597,9 +17387,12 @@ Returns a `Company` object with the given `id`.
-
```typescript
-await client.hris.companies.retrieve("id", {
- includeRemoteData: true,
- includeShellData: true
+await client.accounting.purchaseOrders.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
});
```
@@ -15616,7 +17409,7 @@ await client.hris.companies.retrieve("id", {
-
-**id:** `string`
+**request:** `Merge.accounting.PurchaseOrdersCreateRequest`
@@ -15624,15 +17417,7 @@ await client.hris.companies.retrieve("id", {
-
-**request:** `Merge.hris.CompaniesRetrieveRequest`
-
-
-
-
-
--
-
-**requestOptions:** `CompaniesClient.RequestOptions`
+**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -15644,8 +17429,7 @@ await client.hris.companies.retrieve("id", {
-## Hris Scopes
-client.hris.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
+client.accounting.purchaseOrders.retrieve(id, { ...params }) -> Merge.PurchaseOrder
-
@@ -15657,7 +17441,7 @@ await client.hris.companies.retrieve("id", {
-
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
+Returns a `PurchaseOrder` object with the given `id`.
@@ -15672,7 +17456,13 @@ Get the default permissions for Merge Common Models and fields across all Linked
-
```typescript
-await client.hris.scopes.defaultScopesRetrieve();
+await client.accounting.purchaseOrders.retrieve("id", {
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ remoteFields: "status",
+ showEnumOrigins: "status"
+});
```
@@ -15688,62 +17478,23 @@ await client.hris.scopes.defaultScopesRetrieve();
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**id:** `string`
-
-
-
-
-
-
-
-
-client.hris.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
-
--
-
-#### 📝 Description
-
-
--
-
-
--
-
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-```typescript
-await client.hris.scopes.linkedAccountScopesRetrieve();
-
-```
-
-
+**request:** `Merge.accounting.PurchaseOrdersRetrieveRequest`
+
-#### ⚙️ Parameters
-
-
--
-
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -15755,7 +17506,7 @@ await client.hris.scopes.linkedAccountScopesRetrieve();
-client.hris.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
+client.accounting.purchaseOrders.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedPurchaseOrderList
-
@@ -15767,7 +17518,7 @@ await client.hris.scopes.linkedAccountScopesRetrieve();
-
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
+Returns a list of `PurchaseOrder` objects.
@@ -15782,29 +17533,23 @@ Update permissions for any Common Model or field for a single Linked Account. An
-
```typescript
-await client.hris.scopes.linkedAccountScopesCreate({
- commonModels: [{
- modelName: "Employee",
- modelPermissions: {
- "READ": {
- isEnabled: true
- },
- "WRITE": {
- isEnabled: false
- }
- },
- fieldPermissions: {
- enabledFields: ["avatar", "home_location"],
- disabledFields: ["work_location"]
- }
- }, {
- modelName: "Benefit",
- modelPermissions: {
- "WRITE": {
- isEnabled: false
- }
- }
- }]
+await client.accounting.purchaseOrders.batchObjectsList("batch_id", {
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status"
});
```
@@ -15821,7 +17566,7 @@ await client.hris.scopes.linkedAccountScopesCreate({
-
-**request:** `Merge.hris.LinkedAccountCommonModelScopeDeserializerRequest`
+**batch_id:** `string`
@@ -15829,7 +17574,15 @@ await client.hris.scopes.linkedAccountScopesCreate({
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**request:** `Merge.accounting.PurchaseOrdersBatchObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -15841,8 +17594,7 @@ await client.hris.scopes.linkedAccountScopesCreate({
-## Hris DeleteAccount
-client.hris.deleteAccount.delete() -> void
+client.accounting.purchaseOrders.asyncBulkCreate({ ...params }) -> Merge.PurchaseOrderResponse
-
@@ -15854,7 +17606,7 @@ await client.hris.scopes.linkedAccountScopesCreate({
-
-Delete a linked account.
+Creates a `PurchaseOrder` object with the given values.
@@ -15869,7 +17621,16 @@ Delete a linked account.
-
```typescript
-await client.hris.deleteAccount.delete();
+await client.accounting.purchaseOrders.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
+});
```
@@ -15885,7 +17646,15 @@ await client.hris.deleteAccount.delete();
-
-**requestOptions:** `DeleteAccountClient.RequestOptions`
+**request:** `Merge.accounting.PurchaseOrderBulkRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -15897,8 +17666,7 @@ await client.hris.deleteAccount.delete();
-## Hris Dependents
-client.hris.dependents.list({ ...params }) -> Merge.PaginatedDependentList
+client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({ ...params }) -> core.Page
-
@@ -15910,7 +17678,7 @@ await client.hris.deleteAccount.delete();
-
-Returns a list of `Dependent` objects.
+Returns a list of `RemoteFieldClass` objects.
@@ -15925,20 +17693,35 @@ Returns a list of `Dependent` objects.
-
```typescript
-await client.hris.dependents.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+const pageableResponse = await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- employeeId: "employee_id",
includeDeletedData: true,
includeRemoteData: true,
- includeSensitiveFields: true,
includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.purchaseOrders.lineItemsRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -15954,7 +17737,7 @@ await client.hris.dependents.list({
-
-**request:** `Merge.hris.DependentsListRequest`
+**request:** `Merge.accounting.PurchaseOrdersLineItemsRemoteFieldClassesListRequest`
@@ -15962,7 +17745,7 @@ await client.hris.dependents.list({
-
-**requestOptions:** `DependentsClient.RequestOptions`
+**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -15974,7 +17757,7 @@ await client.hris.dependents.list({
-client.hris.dependents.retrieve(id, { ...params }) -> Merge.Dependent
+client.accounting.purchaseOrders.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -15986,7 +17769,7 @@ await client.hris.dependents.list({
-
-Returns a `Dependent` object with the given `id`.
+Returns metadata for `PurchaseOrder` POSTs.
@@ -16001,11 +17784,7 @@ Returns a `Dependent` object with the given `id`.
-
```typescript
-await client.hris.dependents.retrieve("id", {
- includeRemoteData: true,
- includeSensitiveFields: true,
- includeShellData: true
-});
+await client.accounting.purchaseOrders.metaPostRetrieve();
```
@@ -16021,23 +17800,7 @@ await client.hris.dependents.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.hris.DependentsRetrieveRequest`
-
-
-
-
-
--
-
-**requestOptions:** `DependentsClient.RequestOptions`
+**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -16049,8 +17812,7 @@ await client.hris.dependents.retrieve("id", {
-## Hris EmployeePayrollRuns
-client.hris.employeePayrollRuns.list({ ...params }) -> Merge.PaginatedEmployeePayrollRunList
+client.accounting.purchaseOrders.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -16062,7 +17824,7 @@ await client.hris.dependents.retrieve("id", {
-
-Returns a list of `EmployeePayrollRun` objects.
+Returns a list of `RemoteFieldClass` objects.
@@ -16077,25 +17839,35 @@ Returns a list of `EmployeePayrollRun` objects.
-
```typescript
-await client.hris.employeePayrollRuns.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+const pageableResponse = await client.accounting.purchaseOrders.remoteFieldClassesList({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- employeeId: "employee_id",
- endedAfter: new Date("2024-01-15T09:30:00.000Z"),
- endedBefore: new Date("2024-01-15T09:30:00.000Z"),
- expand: "employee",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- payrollRunId: "payroll_run_id",
- remoteId: "remote_id",
- startedAfter: new Date("2024-01-15T09:30:00.000Z"),
- startedBefore: new Date("2024-01-15T09:30:00.000Z")
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.purchaseOrders.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -16111,7 +17883,7 @@ await client.hris.employeePayrollRuns.list({
-
-**request:** `Merge.hris.EmployeePayrollRunsListRequest`
+**request:** `Merge.accounting.PurchaseOrdersRemoteFieldClassesListRequest`
@@ -16119,7 +17891,7 @@ await client.hris.employeePayrollRuns.list({
-
-**requestOptions:** `EmployeePayrollRunsClient.RequestOptions`
+**requestOptions:** `PurchaseOrdersClient.RequestOptions`
@@ -16131,7 +17903,8 @@ await client.hris.employeePayrollRuns.list({
-client.hris.employeePayrollRuns.retrieve(id, { ...params }) -> Merge.EmployeePayrollRun
+## Accounting RegenerateKey
+client.accounting.regenerateKey.create({ ...params }) -> Merge.RemoteKey
-
@@ -16143,7 +17916,7 @@ await client.hris.employeePayrollRuns.list({
-
-Returns an `EmployeePayrollRun` object with the given `id`.
+Exchange remote keys.
@@ -16158,10 +17931,8 @@ Returns an `EmployeePayrollRun` object with the given `id`.
-
```typescript
-await client.hris.employeePayrollRuns.retrieve("id", {
- expand: "employee",
- includeRemoteData: true,
- includeShellData: true
+await client.accounting.regenerateKey.create({
+ name: "Remote Deployment Key 1"
});
```
@@ -16178,15 +17949,7 @@ await client.hris.employeePayrollRuns.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.hris.EmployeePayrollRunsRetrieveRequest`
+**request:** `Merge.accounting.RemoteKeyForRegenerationRequest`
@@ -16194,7 +17957,7 @@ await client.hris.employeePayrollRuns.retrieve("id", {
-
-**requestOptions:** `EmployeePayrollRunsClient.RequestOptions`
+**requestOptions:** `RegenerateKeyClient.RequestOptions`
@@ -16206,8 +17969,8 @@ await client.hris.employeePayrollRuns.retrieve("id", {
-## Hris Employees
-client.hris.employees.list({ ...params }) -> Merge.PaginatedEmployeeList
+## Accounting SalesOrders
+client.accounting.salesOrders.list({ ...params }) -> core.Page
-
@@ -16219,7 +17982,7 @@ await client.hris.employeePayrollRuns.retrieve("id", {
-
-Returns a list of `Employee` objects.
+Returns a list of `SalesOrder` objects.
@@ -16234,42 +17997,53 @@ Returns a list of `Employee` objects.
-
```typescript
-await client.hris.employees.list({
+const pageableResponse = await client.accounting.salesOrders.list({
companyId: "company_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- displayFullName: "display_full_name",
- employeeNumber: "employee_number",
- employmentStatus: "ACTIVE",
- employmentType: "employment_type",
- expand: "company",
- firstName: "first_name",
- groups: "groups",
- homeLocationId: "home_location_id",
includeDeletedData: true,
includeRemoteData: true,
- includeSensitiveFields: true,
+ includeRemoteFields: true,
includeShellData: true,
- jobTitle: "job_title",
- lastName: "last_name",
- managerId: "manager_id",
+ issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
- payGroupId: "pay_group_id",
- personalEmail: "personal_email",
- remoteFields: "employment_status",
+ remoteFields: "status",
remoteId: "remote_id",
- showEnumOrigins: "employment_status",
- startedAfter: new Date("2024-01-15T09:30:00.000Z"),
- startedBefore: new Date("2024-01-15T09:30:00.000Z"),
- teamId: "team_id",
- terminatedAfter: new Date("2024-01-15T09:30:00.000Z"),
- terminatedBefore: new Date("2024-01-15T09:30:00.000Z"),
- workEmail: "work_email",
- workLocationId: "work_location_id"
+ showEnumOrigins: "status"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.salesOrders.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -16285,7 +18059,7 @@ await client.hris.employees.list({
-
-**request:** `Merge.hris.EmployeesListRequest`
+**request:** `Merge.accounting.SalesOrdersListRequest`
@@ -16293,7 +18067,7 @@ await client.hris.employees.list({
-
-**requestOptions:** `EmployeesClient.RequestOptions`
+**requestOptions:** `SalesOrdersClient.RequestOptions`
@@ -16305,7 +18079,7 @@ await client.hris.employees.list({
-client.hris.employees.create({ ...params }) -> Merge.EmployeeResponse
+client.accounting.salesOrders.create({ ...params }) -> Merge.SalesOrderResponse
-
@@ -16317,7 +18091,7 @@ await client.hris.employees.list({
-
-Creates an `Employee` object with the given values.
+Creates a `SalesOrder` object with the given values.
@@ -16332,10 +18106,12 @@ Creates an `Employee` object with the given values.
-
```typescript
-await client.hris.employees.create({
+await client.accounting.salesOrders.create({
isDebugMode: true,
runAsync: true,
- model: {}
+ body: {
+ model: {}
+ }
});
```
@@ -16352,7 +18128,7 @@ await client.hris.employees.create({
-
-**request:** `Merge.hris.EmployeeEndpointRequest`
+**request:** `Merge.accounting.SalesOrdersCreateRequest`
@@ -16360,7 +18136,7 @@ await client.hris.employees.create({
-
-**requestOptions:** `EmployeesClient.RequestOptions`
+**requestOptions:** `SalesOrdersClient.RequestOptions`
@@ -16372,7 +18148,7 @@ await client.hris.employees.create({
-client.hris.employees.retrieve(id, { ...params }) -> Merge.Employee
+client.accounting.salesOrders.retrieve(id, { ...params }) -> Merge.SalesOrder
-
@@ -16384,7 +18160,7 @@ await client.hris.employees.create({
-
-Returns an `Employee` object with the given `id`.
+Returns a `SalesOrder` object with the given `id`.
@@ -16399,13 +18175,12 @@ Returns an `Employee` object with the given `id`.
-
```typescript
-await client.hris.employees.retrieve("id", {
- expand: "company",
+await client.accounting.salesOrders.retrieve("id", {
includeRemoteData: true,
- includeSensitiveFields: true,
+ includeRemoteFields: true,
includeShellData: true,
- remoteFields: "employment_status",
- showEnumOrigins: "employment_status"
+ remoteFields: "status",
+ showEnumOrigins: "status"
});
```
@@ -16430,7 +18205,7 @@ await client.hris.employees.retrieve("id", {
-
-**request:** `Merge.hris.EmployeesRetrieveRequest`
+**request:** `Merge.accounting.SalesOrdersRetrieveRequest`
@@ -16438,7 +18213,7 @@ await client.hris.employees.retrieve("id", {
-
-**requestOptions:** `EmployeesClient.RequestOptions`
+**requestOptions:** `SalesOrdersClient.RequestOptions`
@@ -16450,7 +18225,7 @@ await client.hris.employees.retrieve("id", {
-client.hris.employees.ignoreCreate(model_id, { ...params }) -> void
+client.accounting.salesOrders.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedSalesOrderList
-
@@ -16462,7 +18237,7 @@ await client.hris.employees.retrieve("id", {
-
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
+Returns a list of `SalesOrder` objects.
@@ -16477,8 +18252,23 @@ Ignores a specific row based on the `model_id` in the url. These records will ha
-
```typescript
-await client.hris.employees.ignoreCreate("model_id", {
- reason: "GENERAL_CUSTOMER_REQUEST"
+await client.accounting.salesOrders.batchObjectsList("batch_id", {
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status"
});
```
@@ -16495,7 +18285,7 @@ await client.hris.employees.ignoreCreate("model_id", {
-
-**model_id:** `string`
+**batch_id:** `string`
@@ -16503,7 +18293,7 @@ await client.hris.employees.ignoreCreate("model_id", {
-
-**request:** `Merge.hris.IgnoreCommonModelRequest`
+**request:** `Merge.accounting.SalesOrdersBatchObjectsListRequest`
@@ -16511,7 +18301,7 @@ await client.hris.employees.ignoreCreate("model_id", {
-
-**requestOptions:** `EmployeesClient.RequestOptions`
+**requestOptions:** `SalesOrdersClient.RequestOptions`
@@ -16523,7 +18313,7 @@ await client.hris.employees.ignoreCreate("model_id", {
-client.hris.employees.metaPostRetrieve() -> Merge.MetaResponse
+client.accounting.salesOrders.asyncBulkCreate({ ...params }) -> Merge.SalesOrderResponse
-
@@ -16535,7 +18325,7 @@ await client.hris.employees.ignoreCreate("model_id", {
-
-Returns metadata for `Employee` POSTs.
+Creates a `SalesOrder` object with the given values.
@@ -16550,7 +18340,16 @@ Returns metadata for `Employee` POSTs.
-
```typescript
-await client.hris.employees.metaPostRetrieve();
+await client.accounting.salesOrders.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
+});
```
@@ -16566,7 +18365,15 @@ await client.hris.employees.metaPostRetrieve();
-
-**requestOptions:** `EmployeesClient.RequestOptions`
+**request:** `Merge.accounting.SalesOrderBulkRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `SalesOrdersClient.RequestOptions`
@@ -16578,8 +18385,7 @@ await client.hris.employees.metaPostRetrieve();
-## Hris EmployerBenefits
-client.hris.employerBenefits.list({ ...params }) -> Merge.PaginatedEmployerBenefitList
+client.accounting.salesOrders.linesRemoteFieldClassesList({ ...params }) -> core.Page
-
@@ -16591,7 +18397,7 @@ await client.hris.employees.metaPostRetrieve();
-
-Returns a list of `EmployerBenefit` objects.
+Returns a list of `RemoteFieldClass` objects.
@@ -16606,18 +18412,35 @@ Returns a list of `EmployerBenefit` objects.
-
```typescript
-await client.hris.employerBenefits.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+const pageableResponse = await client.accounting.salesOrders.linesRemoteFieldClassesList({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.salesOrders.linesRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -16633,7 +18456,7 @@ await client.hris.employerBenefits.list({
-
-**request:** `Merge.hris.EmployerBenefitsListRequest`
+**request:** `Merge.accounting.SalesOrdersLinesRemoteFieldClassesListRequest`
@@ -16641,7 +18464,7 @@ await client.hris.employerBenefits.list({
-
-**requestOptions:** `EmployerBenefitsClient.RequestOptions`
+**requestOptions:** `SalesOrdersClient.RequestOptions`
@@ -16653,7 +18476,7 @@ await client.hris.employerBenefits.list({
-client.hris.employerBenefits.retrieve(id, { ...params }) -> Merge.EmployerBenefit
+client.accounting.salesOrders.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -16665,7 +18488,7 @@ await client.hris.employerBenefits.list({
-
-Returns an `EmployerBenefit` object with the given `id`.
+Returns metadata for `SalesOrder` POSTs.
@@ -16680,10 +18503,7 @@ Returns an `EmployerBenefit` object with the given `id`.
-
```typescript
-await client.hris.employerBenefits.retrieve("id", {
- includeRemoteData: true,
- includeShellData: true
-});
+await client.accounting.salesOrders.metaPostRetrieve();
```
@@ -16699,23 +18519,7 @@ await client.hris.employerBenefits.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.hris.EmployerBenefitsRetrieveRequest`
-
-
-
-
-
--
-
-**requestOptions:** `EmployerBenefitsClient.RequestOptions`
+**requestOptions:** `SalesOrdersClient.RequestOptions`
@@ -16727,8 +18531,7 @@ await client.hris.employerBenefits.retrieve("id", {
-## Hris Employments
-client.hris.employments.list({ ...params }) -> Merge.PaginatedEmploymentList
+client.accounting.salesOrders.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -16740,7 +18543,7 @@ await client.hris.employerBenefits.retrieve("id", {
-
-Returns a list of `Employment` objects.
+Returns a list of `RemoteFieldClass` objects.
@@ -16755,92 +18558,35 @@ Returns a list of `Employment` objects.
-
```typescript
-await client.hris.employments.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+const pageableResponse = await client.accounting.salesOrders.remoteFieldClassesList({
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- employeeId: "employee_id",
- expand: "employee",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- orderBy: "-effective_date",
- pageSize: 1,
- remoteFields: "employment_type",
- remoteId: "remote_id",
- showEnumOrigins: "employment_type"
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
-```
-
-
-
-
-
-#### ⚙️ Parameters
-
-
--
-
-
--
-
-**request:** `Merge.hris.EmploymentsListRequest`
-
-
-
-
-
--
-
-**requestOptions:** `EmploymentsClient.RequestOptions`
-
-
-
-
-
-
-
-
-
-
-
-client.hris.employments.retrieve(id, { ...params }) -> Merge.Employment
-
--
-
-#### 📝 Description
-
-
--
-
-
--
-
-Returns an `Employment` object with the given `id`.
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-
--
-
-```typescript
-await client.hris.employments.retrieve("id", {
- expand: "employee",
+// Or you can manually iterate page-by-page
+let page = await client.accounting.salesOrders.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
- remoteFields: "employment_type",
- showEnumOrigins: "employment_type"
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -16856,7 +18602,7 @@ await client.hris.employments.retrieve("id", {
-
-**id:** `string`
+**request:** `Merge.accounting.SalesOrdersRemoteFieldClassesListRequest`
@@ -16864,15 +18610,7 @@ await client.hris.employments.retrieve("id", {
-
-**request:** `Merge.hris.EmploymentsRetrieveRequest`
-
-
-
-
-
--
-
-**requestOptions:** `EmploymentsClient.RequestOptions`
+**requestOptions:** `SalesOrdersClient.RequestOptions`
@@ -16884,8 +18622,8 @@ await client.hris.employments.retrieve("id", {
-## Hris FieldMapping
-client.hris.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
+## Accounting SyncStatus
+client.accounting.syncStatus.list({ ...params }) -> core.Page
-
@@ -16897,7 +18635,7 @@ await client.hris.employments.retrieve("id", {
-
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
+Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -16912,9 +18650,25 @@ Get all Field Mappings for this Linked Account. Field Mappings are mappings betw
-
```typescript
-await client.hris.fieldMapping.fieldMappingsRetrieve({
- excludeRemoteFieldMetadata: true
+const pageableResponse = await client.accounting.syncStatus.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.syncStatus.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -16930,7 +18684,7 @@ await client.hris.fieldMapping.fieldMappingsRetrieve({
-
-**request:** `Merge.hris.FieldMappingsRetrieveRequest`
+**request:** `Merge.accounting.SyncStatusListRequest`
@@ -16938,7 +18692,7 @@ await client.hris.fieldMapping.fieldMappingsRetrieve({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `SyncStatusClient.RequestOptions`
@@ -16950,7 +18704,8 @@ await client.hris.fieldMapping.fieldMappingsRetrieve({
-client.hris.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
+## Accounting ForceResync
+client.accounting.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[]
-
@@ -16962,7 +18717,7 @@ await client.hris.fieldMapping.fieldMappingsRetrieve({
-
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
@@ -16977,15 +18732,7 @@ Create new Field Mappings that will be available after the next scheduled sync.
-
```typescript
-await client.hris.fieldMapping.fieldMappingsCreate({
- excludeRemoteFieldMetadata: true,
- targetFieldName: "example_target_field_name",
- targetFieldDescription: "this is a example description of the target field",
- remoteFieldTraversalPath: ["example_remote_field"],
- remoteMethod: "GET",
- remoteUrlPath: "/example-url-path",
- commonModelName: "ExampleCommonModel"
-});
+await client.accounting.forceResync.syncStatusResyncCreate();
```
@@ -17001,15 +18748,7 @@ await client.hris.fieldMapping.fieldMappingsCreate({
-
-**request:** `Merge.hris.CreateFieldMappingRequest`
-
-
-
-
-
--
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `ForceResyncClient.RequestOptions`
@@ -17021,7 +18760,8 @@ await client.hris.fieldMapping.fieldMappingsCreate({
-client.hris.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
+## Accounting TaxRates
+client.accounting.taxRates.list({ ...params }) -> core.Page
-
@@ -17033,7 +18773,7 @@ await client.hris.fieldMapping.fieldMappingsCreate({
-
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Returns a list of `TaxRate` objects.
@@ -17048,7 +18788,45 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp
-
```typescript
-await client.hris.fieldMapping.fieldMappingsDestroy("field_mapping_id");
+const pageableResponse = await client.accounting.taxRates.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.taxRates.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -17064,7 +18842,7 @@ await client.hris.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-**field_mapping_id:** `string`
+**request:** `Merge.accounting.TaxRatesListRequest`
@@ -17072,7 +18850,7 @@ await client.hris.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `TaxRatesClient.RequestOptions`
@@ -17084,7 +18862,7 @@ await client.hris.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-client.hris.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse
+client.accounting.taxRates.retrieve(id, { ...params }) -> Merge.TaxRate
-
@@ -17096,7 +18874,7 @@ await client.hris.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Returns a `TaxRate` object with the given `id`.
@@ -17111,7 +18889,10 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r
-
```typescript
-await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
+await client.accounting.taxRates.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true
+});
```
@@ -17127,7 +18908,7 @@ await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-
-**field_mapping_id:** `string`
+**id:** `string`
@@ -17135,7 +18916,7 @@ await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-
-**request:** `Merge.hris.PatchedEditFieldMappingRequest`
+**request:** `Merge.accounting.TaxRatesRetrieveRequest`
@@ -17143,7 +18924,7 @@ await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `TaxRatesClient.RequestOptions`
@@ -17155,7 +18936,8 @@ await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-client.hris.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse
+## Accounting TrackingCategories
+client.accounting.trackingCategories.list({ ...params }) -> core.Page
-
@@ -17167,7 +18949,7 @@ await client.hris.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
-
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
+Returns a list of `TrackingCategory` objects.
@@ -17182,10 +18964,53 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields
-
```typescript
-await client.hris.fieldMapping.remoteFieldsRetrieve({
- commonModels: "common_models",
- includeExampleValues: "include_example_values"
+const pageableResponse = await client.accounting.trackingCategories.list({
+ categoryType: "",
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status",
+ status: ""
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.trackingCategories.list({
+ categoryType: "",
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ pageSize: 1,
+ remoteFields: "status",
+ remoteId: "remote_id",
+ showEnumOrigins: "status",
+ status: ""
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -17201,7 +19026,7 @@ await client.hris.fieldMapping.remoteFieldsRetrieve({
-
-**request:** `Merge.hris.RemoteFieldsRetrieveRequest`
+**request:** `Merge.accounting.TrackingCategoriesListRequest`
@@ -17209,7 +19034,7 @@ await client.hris.fieldMapping.remoteFieldsRetrieve({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `TrackingCategoriesClient.RequestOptions`
@@ -17221,7 +19046,7 @@ await client.hris.fieldMapping.remoteFieldsRetrieve({
-client.hris.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse
+client.accounting.trackingCategories.retrieve(id, { ...params }) -> Merge.TrackingCategory
-
@@ -17233,7 +19058,7 @@ await client.hris.fieldMapping.remoteFieldsRetrieve({
-
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
+Returns a `TrackingCategory` object with the given `id`.
@@ -17248,7 +19073,12 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun
-
```typescript
-await client.hris.fieldMapping.targetFieldsRetrieve();
+await client.accounting.trackingCategories.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true,
+ remoteFields: "status",
+ showEnumOrigins: "status"
+});
```
@@ -17264,65 +19094,15 @@ await client.hris.fieldMapping.targetFieldsRetrieve();
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**id:** `string`
-
-
-
-
-
-
-
-
-## Hris GenerateKey
-client.hris.generateKey.create({ ...params }) -> Merge.RemoteKey
-
--
-
-#### 📝 Description
-
-
--
-
-
--
-
-Create a remote key.
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-
--
-
-```typescript
-await client.hris.generateKey.create({
- name: "Remote Deployment Key 1"
-});
-
-```
-
-
-
-
-
-#### ⚙️ Parameters
-
-
--
-
-**request:** `Merge.hris.GenerateRemoteKeyRequest`
+**request:** `Merge.accounting.TrackingCategoriesRetrieveRequest`
@@ -17330,7 +19110,7 @@ await client.hris.generateKey.create({
-
-**requestOptions:** `GenerateKeyClient.RequestOptions`
+**requestOptions:** `TrackingCategoriesClient.RequestOptions`
@@ -17342,8 +19122,8 @@ await client.hris.generateKey.create({
-## Hris Groups
-client.hris.groups.list({ ...params }) -> Merge.PaginatedGroupList
+## Accounting Transactions
+client.accounting.transactions.list({ ...params }) -> core.Page
-
@@ -17355,7 +19135,7 @@ await client.hris.generateKey.create({
-
-Returns a list of `Group` objects.
+Returns a list of `Transaction` objects.
@@ -17370,23 +19150,47 @@ Returns a list of `Group` objects.
-
```typescript
-await client.hris.groups.list({
+const pageableResponse = await client.accounting.transactions.list({
+ companyId: "company_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
- isCommonlyUsedAsTeam: "is_commonly_used_as_team",
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- names: "names",
pageSize: 1,
- remoteFields: "type",
remoteId: "remote_id",
- showEnumOrigins: "type",
- types: "types"
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.transactions.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -17402,7 +19206,7 @@ await client.hris.groups.list({
-
-**request:** `Merge.hris.GroupsListRequest`
+**request:** `Merge.accounting.TransactionsListRequest`
@@ -17410,7 +19214,7 @@ await client.hris.groups.list({
-
-**requestOptions:** `GroupsClient.RequestOptions`
+**requestOptions:** `TransactionsClient.RequestOptions`
@@ -17422,7 +19226,7 @@ await client.hris.groups.list({
-client.hris.groups.retrieve(id, { ...params }) -> Merge.Group
+client.accounting.transactions.retrieve(id, { ...params }) -> Merge.Transaction
-
@@ -17434,7 +19238,7 @@ await client.hris.groups.list({
-
-Returns a `Group` object with the given `id`.
+Returns a `Transaction` object with the given `id`.
@@ -17449,11 +19253,9 @@ Returns a `Group` object with the given `id`.
-
```typescript
-await client.hris.groups.retrieve("id", {
+await client.accounting.transactions.retrieve("id", {
includeRemoteData: true,
- includeShellData: true,
- remoteFields: "type",
- showEnumOrigins: "type"
+ includeShellData: true
});
```
@@ -17478,7 +19280,7 @@ await client.hris.groups.retrieve("id", {
-
-**request:** `Merge.hris.GroupsRetrieveRequest`
+**request:** `Merge.accounting.TransactionsRetrieveRequest`
@@ -17486,7 +19288,7 @@ await client.hris.groups.retrieve("id", {
-
-**requestOptions:** `GroupsClient.RequestOptions`
+**requestOptions:** `TransactionsClient.RequestOptions`
@@ -17498,8 +19300,8 @@ await client.hris.groups.retrieve("id", {
-## Hris Issues
-client.hris.issues.list({ ...params }) -> Merge.PaginatedIssueList
+## Accounting VendorCredits
+client.accounting.vendorCredits.list({ ...params }) -> core.Page
-
@@ -17511,7 +19313,7 @@ await client.hris.groups.retrieve("id", {
-
-Gets all issues for Organization.
+Returns a list of `VendorCredit` objects.
@@ -17526,22 +19328,47 @@ Gets all issues for Organization.
-
```typescript
-await client.hris.issues.list({
- accountToken: "account_token",
+const pageableResponse = await client.accounting.vendorCredits.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- endDate: "end_date",
- endUserOrganizationName: "end_user_organization_name",
- firstIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
- firstIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
- includeMuted: "include_muted",
- integrationName: "integration_name",
- lastIncidentTimeAfter: new Date("2024-01-15T09:30:00.000Z"),
- lastIncidentTimeBefore: new Date("2024-01-15T09:30:00.000Z"),
- linkedAccountId: "linked_account_id",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
- startDate: "start_date",
- status: "ONGOING"
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.accounting.vendorCredits.list({
+ companyId: "company_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -17557,7 +19384,7 @@ await client.hris.issues.list({
-
-**request:** `Merge.hris.IssuesListRequest`
+**request:** `Merge.accounting.VendorCreditsListRequest`
@@ -17565,7 +19392,7 @@ await client.hris.issues.list({
-
-**requestOptions:** `IssuesClient.RequestOptions`
+**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -17577,7 +19404,7 @@ await client.hris.issues.list({
-client.hris.issues.retrieve(id) -> Merge.Issue
+client.accounting.vendorCredits.create({ ...params }) -> Merge.VendorCreditResponse
-
@@ -17589,7 +19416,7 @@ await client.hris.issues.list({
-
-Get a specific issue.
+Creates a `VendorCredit` object with the given values.
@@ -17604,7 +19431,13 @@ Get a specific issue.
-
```typescript
-await client.hris.issues.retrieve("id");
+await client.accounting.vendorCredits.create({
+ isDebugMode: true,
+ runAsync: true,
+ body: {
+ model: {}
+ }
+});
```
@@ -17620,7 +19453,7 @@ await client.hris.issues.retrieve("id");
-
-**id:** `string`
+**request:** `Merge.accounting.VendorCreditsCreateRequest`
@@ -17628,7 +19461,7 @@ await client.hris.issues.retrieve("id");
-
-**requestOptions:** `IssuesClient.RequestOptions`
+**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -17640,8 +19473,7 @@ await client.hris.issues.retrieve("id");
-## Hris LinkToken
-client.hris.linkToken.create({ ...params }) -> Merge.LinkToken
+client.accounting.vendorCredits.retrieve(id, { ...params }) -> Merge.VendorCredit
-
@@ -17653,7 +19485,7 @@ await client.hris.issues.retrieve("id");
-
-Creates a link token to be used when linking a new end user.
+Returns a `VendorCredit` object with the given `id`.
@@ -17668,11 +19500,9 @@ Creates a link token to be used when linking a new end user.
-
```typescript
-await client.hris.linkToken.create({
- endUserEmailAddress: "example@gmail.com",
- endUserOrganizationName: "Test Organization",
- endUserOriginId: "12345",
- categories: ["hris", "ats"]
+await client.accounting.vendorCredits.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true
});
```
@@ -17689,7 +19519,7 @@ await client.hris.linkToken.create({
-
-**request:** `Merge.hris.EndUserDetailsRequest`
+**id:** `string`
@@ -17697,7 +19527,15 @@ await client.hris.linkToken.create({
-
-**requestOptions:** `LinkTokenClient.RequestOptions`
+**request:** `Merge.accounting.VendorCreditsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -17709,8 +19547,7 @@ await client.hris.linkToken.create({
-## Hris LinkedAccounts
-client.hris.linkedAccounts.list({ ...params }) -> Merge.PaginatedAccountDetailsAndActionsList
+client.accounting.vendorCredits.partialUpdate(id, { ...params }) -> Merge.VendorCreditResponse
-
@@ -17722,7 +19559,7 @@ await client.hris.linkToken.create({
-
-List linked accounts for your organization.
+Updates a `VendorCredit` object with the given `id`.
@@ -17737,20 +19574,10 @@ List linked accounts for your organization.
-
```typescript
-await client.hris.linkedAccounts.list({
- category: "accounting",
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- endUserEmailAddress: "end_user_email_address",
- endUserOrganizationName: "end_user_organization_name",
- endUserOriginId: "end_user_origin_id",
- endUserOriginIds: "end_user_origin_ids",
- id: "id",
- ids: "ids",
- includeDuplicates: true,
- integrationName: "integration_name",
- isTestAccount: "is_test_account",
- pageSize: 1,
- status: "status"
+await client.accounting.vendorCredits.partialUpdate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
});
```
@@ -17767,7 +19594,7 @@ await client.hris.linkedAccounts.list({
-
-**request:** `Merge.hris.LinkedAccountsListRequest`
+**id:** `string`
@@ -17775,7 +19602,15 @@ await client.hris.linkedAccounts.list({
-
-**requestOptions:** `LinkedAccountsClient.RequestOptions`
+**request:** `Merge.accounting.PatchedVendorCreditEndpointRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -17787,8 +19622,7 @@ await client.hris.linkedAccounts.list({
-## Hris Locations
-client.hris.locations.list({ ...params }) -> Merge.PaginatedLocationList
+client.accounting.vendorCredits.batchObjectsList(batch_id, { ...params }) -> Merge.PaginatedVendorCreditList
-
@@ -17800,7 +19634,7 @@ await client.hris.linkedAccounts.list({
-
-Returns a list of `Location` objects.
+Returns a list of `VendorCredit` objects.
@@ -17815,20 +19649,20 @@ Returns a list of `Location` objects.
-
```typescript
-await client.hris.locations.list({
+await client.accounting.vendorCredits.batchObjectsList("batch_id", {
+ companyId: "company_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
- locationType: "HOME",
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
- remoteFields: "country",
remoteId: "remote_id",
- showEnumOrigins: "country"
+ transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
+ transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
});
```
@@ -17845,7 +19679,7 @@ await client.hris.locations.list({
-
-**request:** `Merge.hris.LocationsListRequest`
+**batch_id:** `string`
@@ -17853,7 +19687,15 @@ await client.hris.locations.list({
-
-**requestOptions:** `LocationsClient.RequestOptions`
+**request:** `Merge.accounting.VendorCreditsBatchObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -17865,7 +19707,7 @@ await client.hris.locations.list({
-client.hris.locations.retrieve(id, { ...params }) -> Merge.Location
+client.accounting.vendorCredits.asyncBulkCreate({ ...params }) -> Merge.VendorCreditResponse
-
@@ -17877,7 +19719,7 @@ await client.hris.locations.list({
-
-Returns a `Location` object with the given `id`.
+Creates a `VendorCredit` object with the given values.
@@ -17892,11 +19734,15 @@ Returns a `Location` object with the given `id`.
-
```typescript
-await client.hris.locations.retrieve("id", {
- includeRemoteData: true,
- includeShellData: true,
- remoteFields: "country",
- showEnumOrigins: "country"
+await client.accounting.vendorCredits.asyncBulkCreate({
+ isDebugMode: true,
+ runAsync: true,
+ batchItems: [{
+ itemId: "item_id",
+ payload: {
+ model: {}
+ }
+ }]
});
```
@@ -17913,15 +19759,7 @@ await client.hris.locations.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.hris.LocationsRetrieveRequest`
+**request:** `Merge.accounting.VendorCreditBulkRequest`
@@ -17929,7 +19767,7 @@ await client.hris.locations.retrieve("id", {
-
-**requestOptions:** `LocationsClient.RequestOptions`
+**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -17941,8 +19779,7 @@ await client.hris.locations.retrieve("id", {
-## Hris Passthrough
-client.hris.passthrough.create({ ...params }) -> Merge.RemoteResponse
+client.accounting.vendorCredits.applicationCreate(id, { ...params }) -> Merge.VendorCreditResponse
-
@@ -17954,7 +19791,7 @@ await client.hris.locations.retrieve("id", {
-
-Pull data from an endpoint not currently supported by Merge.
+Creates a new VendorCreditApplyLine to apply a vendor credit to an invoice
@@ -17969,9 +19806,11 @@ Pull data from an endpoint not currently supported by Merge.
-
```typescript
-await client.hris.passthrough.create({
- method: "GET",
- path: "/scooters"
+await client.accounting.vendorCredits.applicationCreate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ appliedDate: new Date("2024-01-15T09:30:00.000Z"),
+ appliedAmount: "applied_amount"
});
```
@@ -17988,7 +19827,7 @@ await client.hris.passthrough.create({
-
-**request:** `Merge.DataPassthroughRequest`
+**id:** `string`
@@ -17996,7 +19835,15 @@ await client.hris.passthrough.create({
-
-**requestOptions:** `PassthroughClient.RequestOptions`
+**request:** `Merge.accounting.ApplyVendorCreditRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -18008,8 +19855,7 @@ await client.hris.passthrough.create({
-## Hris PayGroups
-client.hris.payGroups.list({ ...params }) -> Merge.PaginatedPayGroupList
+client.accounting.vendorCredits.metaPatchRetrieve(id) -> Merge.MetaResponse
-
@@ -18021,7 +19867,7 @@ await client.hris.passthrough.create({
-
-Returns a list of `PayGroup` objects.
+Returns metadata for `VendorCredit` PATCHs.
@@ -18036,18 +19882,7 @@ Returns a list of `PayGroup` objects.
-
```typescript
-await client.hris.payGroups.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
-});
+await client.accounting.vendorCredits.metaPatchRetrieve("id");
```
@@ -18063,7 +19898,7 @@ await client.hris.payGroups.list({
-
-**request:** `Merge.hris.PayGroupsListRequest`
+**id:** `string`
@@ -18071,7 +19906,7 @@ await client.hris.payGroups.list({
-
-**requestOptions:** `PayGroupsClient.RequestOptions`
+**requestOptions:** `VendorCreditsClient.RequestOptions`
@@ -18083,7 +19918,7 @@ await client.hris.payGroups.list({
-client.hris.payGroups.retrieve(id, { ...params }) -> Merge.PayGroup
+client.accounting.vendorCredits.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -18095,7 +19930,7 @@ await client.hris.payGroups.list({
-
-Returns a `PayGroup` object with the given `id`.
+Returns metadata for `VendorCredit` POSTs.
@@ -18110,10 +19945,7 @@ Returns a `PayGroup` object with the given `id`.
-
```typescript
-await client.hris.payGroups.retrieve("id", {
- includeRemoteData: true,
- includeShellData: true
-});
+await client.accounting.vendorCredits.metaPostRetrieve();
```
@@ -18129,23 +19961,63 @@ await client.hris.payGroups.retrieve("id", {
-
-**id:** `string`
+**requestOptions:** `VendorCreditsClient.RequestOptions`
+
+
+
+
+
+
+
+## Accounting WebhookReceivers
+client.accounting.webhookReceivers.list() -> Merge.WebhookReceiver[]
-
-**request:** `Merge.hris.PayGroupsRetrieveRequest`
-
+#### 📝 Description
+
+
+-
+
+
+-
+
+Returns a list of `WebhookReceiver` objects.
+
+
+#### 🔌 Usage
+
-
-**requestOptions:** `PayGroupsClient.RequestOptions`
+
+-
+
+```typescript
+await client.accounting.webhookReceivers.list();
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**requestOptions:** `WebhookReceiversClient.RequestOptions`
@@ -18157,8 +20029,7 @@ await client.hris.payGroups.retrieve("id", {
-## Hris PayrollRuns
-client.hris.payrollRuns.list({ ...params }) -> Merge.PaginatedPayrollRunList
+client.accounting.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver
-
@@ -18170,7 +20041,7 @@ await client.hris.payGroups.retrieve("id", {
-
-Returns a list of `PayrollRun` objects.
+Creates a `WebhookReceiver` object with the given values.
@@ -18185,24 +20056,9 @@ Returns a list of `PayrollRun` objects.
-
```typescript
-await client.hris.payrollRuns.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- endedAfter: new Date("2024-01-15T09:30:00.000Z"),
- endedBefore: new Date("2024-01-15T09:30:00.000Z"),
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteFields: "run_state",
- remoteId: "remote_id",
- runType: "CORRECTION",
- showEnumOrigins: "run_state",
- startedAfter: new Date("2024-01-15T09:30:00.000Z"),
- startedBefore: new Date("2024-01-15T09:30:00.000Z")
+await client.accounting.webhookReceivers.create({
+ event: "event",
+ isActive: true
});
```
@@ -18219,7 +20075,7 @@ await client.hris.payrollRuns.list({
-
-**request:** `Merge.hris.PayrollRunsListRequest`
+**request:** `Merge.accounting.WebhookReceiverRequest`
@@ -18227,7 +20083,7 @@ await client.hris.payrollRuns.list({
-
-**requestOptions:** `PayrollRunsClient.RequestOptions`
+**requestOptions:** `WebhookReceiversClient.RequestOptions`
@@ -18239,7 +20095,8 @@ await client.hris.payrollRuns.list({
-client.hris.payrollRuns.retrieve(id, { ...params }) -> Merge.PayrollRun
+## Crm AccountDetails
+client.crm.accountDetails.retrieve() -> Merge.AccountDetails
-
@@ -18251,7 +20108,7 @@ await client.hris.payrollRuns.list({
-
-Returns a `PayrollRun` object with the given `id`.
+Get details for a linked account.
@@ -18266,12 +20123,7 @@ Returns a `PayrollRun` object with the given `id`.
-
```typescript
-await client.hris.payrollRuns.retrieve("id", {
- includeRemoteData: true,
- includeShellData: true,
- remoteFields: "run_state",
- showEnumOrigins: "run_state"
-});
+await client.crm.accountDetails.retrieve();
```
@@ -18287,23 +20139,7 @@ await client.hris.payrollRuns.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.hris.PayrollRunsRetrieveRequest`
-
-
-
-
-
--
-
-**requestOptions:** `PayrollRunsClient.RequestOptions`
+**requestOptions:** `AccountDetailsClient.RequestOptions`
@@ -18315,8 +20151,8 @@ await client.hris.payrollRuns.retrieve("id", {
-## Hris RegenerateKey
-client.hris.regenerateKey.create({ ...params }) -> Merge.RemoteKey
+## Crm AccountToken
+client.crm.accountToken.retrieve(public_token) -> Merge.AccountToken
-
@@ -18328,7 +20164,7 @@ await client.hris.payrollRuns.retrieve("id", {
-
-Exchange remote keys.
+Returns the account token for the end user with the provided public token.
@@ -18343,9 +20179,7 @@ Exchange remote keys.
-
```typescript
-await client.hris.regenerateKey.create({
- name: "Remote Deployment Key 1"
-});
+await client.crm.accountToken.retrieve("public_token");
```
@@ -18361,7 +20195,7 @@ await client.hris.regenerateKey.create({
-
-**request:** `Merge.hris.RemoteKeyForRegenerationRequest`
+**public_token:** `string`
@@ -18369,7 +20203,7 @@ await client.hris.regenerateKey.create({
-
-**requestOptions:** `RegenerateKeyClient.RequestOptions`
+**requestOptions:** `AccountTokenClient.RequestOptions`
@@ -18381,8 +20215,7 @@ await client.hris.regenerateKey.create({
-## Hris SyncStatus
-client.hris.syncStatus.list({ ...params }) -> Merge.PaginatedSyncStatusList
+client.crm.accountToken.regenerateCreate() -> Merge.RegenerateAccountToken
-
@@ -18394,7 +20227,7 @@ await client.hris.regenerateKey.create({
-
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
+Exchange Linked Account account tokens.
@@ -18409,10 +20242,7 @@ Get sync status for the current sync and the most recently finished sync. `last_
-
```typescript
-await client.hris.syncStatus.list({
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- pageSize: 1
-});
+await client.crm.accountToken.regenerateCreate();
```
@@ -18428,15 +20258,7 @@ await client.hris.syncStatus.list({
-
-**request:** `Merge.hris.SyncStatusListRequest`
-
-
-
-
-
--
-
-**requestOptions:** `SyncStatusClient.RequestOptions`
+**requestOptions:** `AccountTokenClient.RequestOptions`
@@ -18448,8 +20270,8 @@ await client.hris.syncStatus.list({
-## Hris ForceResync
-client.hris.forceResync.syncStatusResyncCreate() -> Merge.SyncStatus[]
+## Crm Accounts
+client.crm.accounts.list({ ...params }) -> core.Page
-
@@ -18461,7 +20283,7 @@ await client.hris.syncStatus.list({
-
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
+Returns a list of `Account` objects.
@@ -18476,7 +20298,47 @@ Force re-sync of all models. This endpoint is available for monthly, quarterly,
-
```typescript
-await client.hris.forceResync.syncStatusResyncCreate();
+const pageableResponse = await client.crm.accounts.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ ownerId: "owner_id",
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.accounts.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ name: "name",
+ ownerId: "owner_id",
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -18492,7 +20354,15 @@ await client.hris.forceResync.syncStatusResyncCreate();
-
-**requestOptions:** `ForceResyncClient.RequestOptions`
+**request:** `Merge.crm.AccountsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `AccountsClient.RequestOptions`
@@ -18504,8 +20374,7 @@ await client.hris.forceResync.syncStatusResyncCreate();
-## Hris Teams
-client.hris.teams.list({ ...params }) -> Merge.PaginatedTeamList
+client.crm.accounts.create({ ...params }) -> Merge.CrmAccountResponse
-
@@ -18517,7 +20386,7 @@ await client.hris.forceResync.syncStatusResyncCreate();
-
-Returns a list of `Team` objects.
+Creates an `Account` object with the given values.
@@ -18532,19 +20401,10 @@ Returns a list of `Team` objects.
-
```typescript
-await client.hris.teams.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "parent_team",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- parentTeamId: "parent_team_id",
- remoteId: "remote_id"
+await client.crm.accounts.create({
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
});
```
@@ -18561,7 +20421,7 @@ await client.hris.teams.list({
-
-**request:** `Merge.hris.TeamsListRequest`
+**request:** `Merge.crm.CrmAccountEndpointRequest`
@@ -18569,7 +20429,7 @@ await client.hris.teams.list({
-
-**requestOptions:** `TeamsClient.RequestOptions`
+**requestOptions:** `AccountsClient.RequestOptions`
@@ -18581,7 +20441,7 @@ await client.hris.teams.list({
-client.hris.teams.retrieve(id, { ...params }) -> Merge.Team
+client.crm.accounts.retrieve(id, { ...params }) -> Merge.Account
-
@@ -18593,7 +20453,7 @@ await client.hris.teams.list({
-
-Returns a `Team` object with the given `id`.
+Returns an `Account` object with the given `id`.
@@ -18608,9 +20468,9 @@ Returns a `Team` object with the given `id`.
-
```typescript
-await client.hris.teams.retrieve("id", {
- expand: "parent_team",
+await client.crm.accounts.retrieve("id", {
includeRemoteData: true,
+ includeRemoteFields: true,
includeShellData: true
});
@@ -18636,7 +20496,7 @@ await client.hris.teams.retrieve("id", {
-
-**request:** `Merge.hris.TeamsRetrieveRequest`
+**request:** `Merge.crm.AccountsRetrieveRequest`
@@ -18644,7 +20504,7 @@ await client.hris.teams.retrieve("id", {
-
-**requestOptions:** `TeamsClient.RequestOptions`
+**requestOptions:** `AccountsClient.RequestOptions`
@@ -18656,8 +20516,7 @@ await client.hris.teams.retrieve("id", {
-## Hris TimeOff
-client.hris.timeOff.list({ ...params }) -> Merge.PaginatedTimeOffList
+client.crm.accounts.partialUpdate(id, { ...params }) -> Merge.CrmAccountResponse
-
@@ -18669,7 +20528,7 @@ await client.hris.teams.retrieve("id", {
-
-Returns a list of `TimeOff` objects.
+Updates an `Account` object with the given `id`.
@@ -18684,28 +20543,10 @@ Returns a list of `TimeOff` objects.
-
```typescript
-await client.hris.timeOff.list({
- approverId: "approver_id",
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- employeeId: "employee_id",
- endedAfter: new Date("2024-01-15T09:30:00.000Z"),
- endedBefore: new Date("2024-01-15T09:30:00.000Z"),
- expand: "approver",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteFields: "request_type",
- remoteId: "remote_id",
- requestType: "BEREAVEMENT",
- showEnumOrigins: "request_type",
- startedAfter: new Date("2024-01-15T09:30:00.000Z"),
- startedBefore: new Date("2024-01-15T09:30:00.000Z"),
- status: "APPROVED"
+await client.crm.accounts.partialUpdate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
});
```
@@ -18722,7 +20563,7 @@ await client.hris.timeOff.list({
-
-**request:** `Merge.hris.TimeOffListRequest`
+**id:** `string`
@@ -18730,7 +20571,15 @@ await client.hris.timeOff.list({
-
-**requestOptions:** `TimeOffClient.RequestOptions`
+**request:** `Merge.crm.PatchedCrmAccountEndpointRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `AccountsClient.RequestOptions`
@@ -18742,7 +20591,7 @@ await client.hris.timeOff.list({
-client.hris.timeOff.create({ ...params }) -> Merge.TimeOffResponse
+client.crm.accounts.metaPatchRetrieve(id) -> Merge.MetaResponse
-
@@ -18754,7 +20603,7 @@ await client.hris.timeOff.list({
-
-Creates a `TimeOff` object with the given values.
+Returns metadata for `CRMAccount` PATCHs.
@@ -18769,11 +20618,7 @@ Creates a `TimeOff` object with the given values.
-
```typescript
-await client.hris.timeOff.create({
- isDebugMode: true,
- runAsync: true,
- model: {}
-});
+await client.crm.accounts.metaPatchRetrieve("id");
```
@@ -18789,7 +20634,7 @@ await client.hris.timeOff.create({
-
-**request:** `Merge.hris.TimeOffEndpointRequest`
+**id:** `string`
@@ -18797,7 +20642,7 @@ await client.hris.timeOff.create({
-
-**requestOptions:** `TimeOffClient.RequestOptions`
+**requestOptions:** `AccountsClient.RequestOptions`
@@ -18809,7 +20654,7 @@ await client.hris.timeOff.create({
-client.hris.timeOff.retrieve(id, { ...params }) -> Merge.TimeOff
+client.crm.accounts.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -18821,7 +20666,7 @@ await client.hris.timeOff.create({
-
-Returns a `TimeOff` object with the given `id`.
+Returns metadata for `CRMAccount` POSTs.
@@ -18836,13 +20681,7 @@ Returns a `TimeOff` object with the given `id`.
-
```typescript
-await client.hris.timeOff.retrieve("id", {
- expand: "approver",
- includeRemoteData: true,
- includeShellData: true,
- remoteFields: "request_type",
- showEnumOrigins: "request_type"
-});
+await client.crm.accounts.metaPostRetrieve();
```
@@ -18858,15 +20697,92 @@ await client.hris.timeOff.retrieve("id", {
-
-**id:** `string`
+**requestOptions:** `AccountsClient.RequestOptions`
+
+
+
+
+
+
+
+client.crm.accounts.remoteFieldClassesList({ ...params }) -> core.Page
-
-**request:** `Merge.hris.TimeOffRetrieveRequest`
+#### 📝 Description
+
+
+-
+
+
+-
+
+Returns a list of `RemoteFieldClass` objects.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+const pageableResponse = await client.crm.accounts.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.accounts.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `Merge.crm.AccountsRemoteFieldClassesListRequest`
@@ -18874,7 +20790,7 @@ await client.hris.timeOff.retrieve("id", {
-
-**requestOptions:** `TimeOffClient.RequestOptions`
+**requestOptions:** `AccountsClient.RequestOptions`
@@ -18886,7 +20802,8 @@ await client.hris.timeOff.retrieve("id", {
-client.hris.timeOff.metaPostRetrieve() -> Merge.MetaResponse
+## Crm AsyncPassthrough
+client.crm.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
-
@@ -18898,7 +20815,7 @@ await client.hris.timeOff.retrieve("id", {
-
-Returns metadata for `TimeOff` POSTs.
+Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -18913,7 +20830,10 @@ Returns metadata for `TimeOff` POSTs.
-
```typescript
-await client.hris.timeOff.metaPostRetrieve();
+await client.crm.asyncPassthrough.create({
+ method: "GET",
+ path: "/scooters"
+});
```
@@ -18929,7 +20849,15 @@ await client.hris.timeOff.metaPostRetrieve();
-
-**requestOptions:** `TimeOffClient.RequestOptions`
+**request:** `Merge.DataPassthroughRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -18941,8 +20869,7 @@ await client.hris.timeOff.metaPostRetrieve();
-## Hris TimeOffBalances
-client.hris.timeOffBalances.list({ ...params }) -> Merge.PaginatedTimeOffBalanceList
+client.crm.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
-
@@ -18954,7 +20881,7 @@ await client.hris.timeOff.metaPostRetrieve();
-
-Returns a list of `TimeOffBalance` objects.
+Retrieves data from earlier async-passthrough POST request
@@ -18969,23 +20896,7 @@ Returns a list of `TimeOffBalance` objects.
-
```typescript
-await client.hris.timeOffBalances.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- employeeId: "employee_id",
- expand: "employee",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- policyType: "BEREAVEMENT",
- remoteFields: "policy_type",
- remoteId: "remote_id",
- showEnumOrigins: "policy_type"
-});
+await client.crm.asyncPassthrough.retrieve("async_passthrough_receipt_id");
```
@@ -19001,7 +20912,7 @@ await client.hris.timeOffBalances.list({
-
-**request:** `Merge.hris.TimeOffBalancesListRequest`
+**async_passthrough_receipt_id:** `string`
@@ -19009,7 +20920,7 @@ await client.hris.timeOffBalances.list({
-
-**requestOptions:** `TimeOffBalancesClient.RequestOptions`
+**requestOptions:** `AsyncPassthroughClient.RequestOptions`
@@ -19021,7 +20932,8 @@ await client.hris.timeOffBalances.list({
-client.hris.timeOffBalances.retrieve(id, { ...params }) -> Merge.TimeOffBalance
+## Crm AuditTrail
+client.crm.auditTrail.list({ ...params }) -> core.Page
-
@@ -19033,7 +20945,7 @@ await client.hris.timeOffBalances.list({
-
-Returns a `TimeOffBalance` object with the given `id`.
+Gets a list of audit trail events.
@@ -19048,13 +20960,33 @@ Returns a `TimeOffBalance` object with the given `id`.
-
```typescript
-await client.hris.timeOffBalances.retrieve("id", {
- expand: "employee",
- includeRemoteData: true,
- includeShellData: true,
- remoteFields: "policy_type",
- showEnumOrigins: "policy_type"
+const pageableResponse = await client.crm.auditTrail.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ endDate: "end_date",
+ eventType: "event_type",
+ pageSize: 1,
+ startDate: "start_date",
+ userEmail: "user_email"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.auditTrail.list({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ endDate: "end_date",
+ eventType: "event_type",
+ pageSize: 1,
+ startDate: "start_date",
+ userEmail: "user_email"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -19070,7 +21002,7 @@ await client.hris.timeOffBalances.retrieve("id", {
-
-**id:** `string`
+**request:** `Merge.crm.AuditTrailListRequest`
@@ -19078,15 +21010,63 @@ await client.hris.timeOffBalances.retrieve("id", {
-
-**request:** `Merge.hris.TimeOffBalancesRetrieveRequest`
+**requestOptions:** `AuditTrailClient.RequestOptions`
+
+
+
+
+
+
+
+## Crm AvailableActions
+client.crm.availableActions.retrieve() -> Merge.AvailableActions
-
-**requestOptions:** `TimeOffBalancesClient.RequestOptions`
+#### 📝 Description
+
+
+-
+
+
+-
+
+Returns a list of models and actions available for an account.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.crm.availableActions.retrieve();
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**requestOptions:** `AvailableActionsClient.RequestOptions`
@@ -19098,8 +21078,8 @@ await client.hris.timeOffBalances.retrieve("id", {
-## Hris TimesheetEntries
-client.hris.timesheetEntries.list({ ...params }) -> Merge.PaginatedTimesheetEntryList
+## Crm Contacts
+client.crm.contacts.list({ ...params }) -> core.Page
-
@@ -19111,7 +21091,7 @@ await client.hris.timeOffBalances.retrieve("id", {
-
-Returns a list of `TimesheetEntry` objects.
+Returns a list of `Contact` objects.
@@ -19126,25 +21106,49 @@ Returns a list of `TimesheetEntry` objects.
-
```typescript
-await client.hris.timesheetEntries.list({
+const pageableResponse = await client.crm.contacts.list({
+ accountId: "account_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- employeeId: "employee_id",
- endedAfter: new Date("2024-01-15T09:30:00.000Z"),
- endedBefore: new Date("2024-01-15T09:30:00.000Z"),
- expand: "employee",
+ emailAddresses: "email_addresses",
includeDeletedData: true,
includeRemoteData: true,
+ includeRemoteFields: true,
includeShellData: true,
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- orderBy: "-start_time",
pageSize: 1,
- remoteId: "remote_id",
- startedAfter: new Date("2024-01-15T09:30:00.000Z"),
- startedBefore: new Date("2024-01-15T09:30:00.000Z")
+ phoneNumbers: "phone_numbers",
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.contacts.list({
+ accountId: "account_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ emailAddresses: "email_addresses",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ phoneNumbers: "phone_numbers",
+ remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -19160,7 +21164,7 @@ await client.hris.timesheetEntries.list({
-
-**request:** `Merge.hris.TimesheetEntriesListRequest`
+**request:** `Merge.crm.ContactsListRequest`
@@ -19168,7 +21172,7 @@ await client.hris.timesheetEntries.list({
-
-**requestOptions:** `TimesheetEntriesClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -19180,7 +21184,7 @@ await client.hris.timesheetEntries.list({
-client.hris.timesheetEntries.create({ ...params }) -> Merge.TimesheetEntryResponse
+client.crm.contacts.create({ ...params }) -> Merge.CrmContactResponse
-
@@ -19192,7 +21196,7 @@ await client.hris.timesheetEntries.list({
-
-Creates a `TimesheetEntry` object with the given values.
+Creates a `Contact` object with the given values.
@@ -19207,7 +21211,7 @@ Creates a `TimesheetEntry` object with the given values.
-
```typescript
-await client.hris.timesheetEntries.create({
+await client.crm.contacts.create({
isDebugMode: true,
runAsync: true,
model: {}
@@ -19227,7 +21231,7 @@ await client.hris.timesheetEntries.create({
-
-**request:** `Merge.hris.TimesheetEntryEndpointRequest`
+**request:** `Merge.crm.CrmContactEndpointRequest`
@@ -19235,7 +21239,7 @@ await client.hris.timesheetEntries.create({
-
-**requestOptions:** `TimesheetEntriesClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -19247,7 +21251,7 @@ await client.hris.timesheetEntries.create({
-client.hris.timesheetEntries.retrieve(id, { ...params }) -> Merge.TimesheetEntry
+client.crm.contacts.retrieve(id, { ...params }) -> Merge.Contact
-
@@ -19259,7 +21263,7 @@ await client.hris.timesheetEntries.create({
-
-Returns a `TimesheetEntry` object with the given `id`.
+Returns a `Contact` object with the given `id`.
@@ -19274,9 +21278,9 @@ Returns a `TimesheetEntry` object with the given `id`.
-
```typescript
-await client.hris.timesheetEntries.retrieve("id", {
- expand: "employee",
+await client.crm.contacts.retrieve("id", {
includeRemoteData: true,
+ includeRemoteFields: true,
includeShellData: true
});
@@ -19302,7 +21306,7 @@ await client.hris.timesheetEntries.retrieve("id", {
-
-**request:** `Merge.hris.TimesheetEntriesRetrieveRequest`
+**request:** `Merge.crm.ContactsRetrieveRequest`
@@ -19310,7 +21314,7 @@ await client.hris.timesheetEntries.retrieve("id", {
-
-**requestOptions:** `TimesheetEntriesClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -19322,7 +21326,7 @@ await client.hris.timesheetEntries.retrieve("id", {
-client.hris.timesheetEntries.metaPostRetrieve() -> Merge.MetaResponse
+client.crm.contacts.partialUpdate(id, { ...params }) -> Merge.CrmContactResponse
-
@@ -19334,7 +21338,7 @@ await client.hris.timesheetEntries.retrieve("id", {
-
-Returns metadata for `TimesheetEntry` POSTs.
+Updates a `Contact` object with the given `id`.
@@ -19349,7 +21353,11 @@ Returns metadata for `TimesheetEntry` POSTs.
-
```typescript
-await client.hris.timesheetEntries.metaPostRetrieve();
+await client.crm.contacts.partialUpdate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
+});
```
@@ -19365,63 +21373,23 @@ await client.hris.timesheetEntries.metaPostRetrieve();
-
-**requestOptions:** `TimesheetEntriesClient.RequestOptions`
+**id:** `string`
-
-
-
-
-
-
-
-
-## Hris WebhookReceivers
-client.hris.webhookReceivers.list() -> Merge.WebhookReceiver[]
-
--
-
-#### 📝 Description
-
-
--
-
-Returns a list of `WebhookReceiver` objects.
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-
--
-
-```typescript
-await client.hris.webhookReceivers.list();
-
-```
-
-
+**request:** `Merge.crm.PatchedCrmContactEndpointRequest`
+
-#### ⚙️ Parameters
-
-
-
--
-
-**requestOptions:** `WebhookReceiversClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -19433,7 +21401,7 @@ await client.hris.webhookReceivers.list();
-client.hris.webhookReceivers.create({ ...params }) -> Merge.WebhookReceiver
+client.crm.contacts.ignoreCreate(model_id, { ...params }) -> void
-
@@ -19445,7 +21413,7 @@ await client.hris.webhookReceivers.list();
-
-Creates a `WebhookReceiver` object with the given values.
+Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
@@ -19460,9 +21428,8 @@ Creates a `WebhookReceiver` object with the given values.
-
```typescript
-await client.hris.webhookReceivers.create({
- event: "event",
- isActive: true
+await client.crm.contacts.ignoreCreate("model_id", {
+ reason: "GENERAL_CUSTOMER_REQUEST"
});
```
@@ -19479,7 +21446,7 @@ await client.hris.webhookReceivers.create({
-
-**request:** `Merge.hris.WebhookReceiverRequest`
+**model_id:** `string`
@@ -19487,63 +21454,15 @@ await client.hris.webhookReceivers.create({
-
-**requestOptions:** `WebhookReceiversClient.RequestOptions`
+**request:** `Merge.IgnoreCommonModelRequest`
-
-
-
-
-
-
-
-
-## Ticketing AccountDetails
-client.ticketing.accountDetails.retrieve() -> Merge.AccountDetails
-
--
-
-#### 📝 Description
-
-
--
-
-
--
-
-Get details for a linked account.
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-
--
-
-```typescript
-await client.ticketing.accountDetails.retrieve();
-
-```
-
-
-
-
-
-#### ⚙️ Parameters
-
-
--
-
-**requestOptions:** `AccountDetailsClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -19555,8 +21474,7 @@ await client.ticketing.accountDetails.retrieve();
-## Ticketing AccountToken
-client.ticketing.accountToken.retrieve(public_token) -> Merge.AccountToken
+client.crm.contacts.metaPatchRetrieve(id) -> Merge.MetaResponse
-
@@ -19568,7 +21486,7 @@ await client.ticketing.accountDetails.retrieve();
-
-Returns the account token for the end user with the provided public token.
+Returns metadata for `CRMContact` PATCHs.
@@ -19583,7 +21501,7 @@ Returns the account token for the end user with the provided public token.
-
```typescript
-await client.ticketing.accountToken.retrieve("public_token");
+await client.crm.contacts.metaPatchRetrieve("id");
```
@@ -19599,7 +21517,7 @@ await client.ticketing.accountToken.retrieve("public_token");
-
-**public_token:** `string`
+**id:** `string`
@@ -19607,7 +21525,7 @@ await client.ticketing.accountToken.retrieve("public_token");
-
-**requestOptions:** `AccountTokenClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -19619,8 +21537,7 @@ await client.ticketing.accountToken.retrieve("public_token");
-## Ticketing Accounts
-client.ticketing.accounts.list({ ...params }) -> Merge.PaginatedAccountList
+client.crm.contacts.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -19632,7 +21549,7 @@ await client.ticketing.accountToken.retrieve("public_token");
-
-Returns a list of `Account` objects.
+Returns metadata for `CRMContact` POSTs.
@@ -19647,18 +21564,7 @@ Returns a list of `Account` objects.
-
```typescript
-await client.ticketing.accounts.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
-});
+await client.crm.contacts.metaPostRetrieve();
```
@@ -19674,15 +21580,7 @@ await client.ticketing.accounts.list({
-
-**request:** `Merge.ticketing.AccountsListRequest`
-
-
-
-
-
--
-
-**requestOptions:** `AccountsClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -19694,7 +21592,7 @@ await client.ticketing.accounts.list({
-client.ticketing.accounts.retrieve(id, { ...params }) -> Merge.Account
+client.crm.contacts.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -19706,7 +21604,7 @@ await client.ticketing.accounts.list({
-
-Returns an `Account` object with the given `id`.
+Returns a list of `RemoteFieldClass` objects.
@@ -19721,10 +21619,37 @@ Returns an `Account` object with the given `id`.
-
```typescript
-await client.ticketing.accounts.retrieve("id", {
+const pageableResponse = await client.crm.contacts.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
includeRemoteData: true,
- includeShellData: true
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.contacts.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -19740,15 +21665,7 @@ await client.ticketing.accounts.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.ticketing.AccountsRetrieveRequest`
+**request:** `Merge.crm.ContactsRemoteFieldClassesListRequest`
@@ -19756,7 +21673,7 @@ await client.ticketing.accounts.retrieve("id", {
-
-**requestOptions:** `AccountsClient.RequestOptions`
+**requestOptions:** `ContactsClient.RequestOptions`
@@ -19768,8 +21685,8 @@ await client.ticketing.accounts.retrieve("id", {
-## Ticketing AsyncPassthrough
-client.ticketing.asyncPassthrough.create({ ...params }) -> Merge.AsyncPassthroughReciept
+## Crm CustomObjectClasses
+client.crm.customObjectClasses.list({ ...params }) -> core.Page
-
@@ -19781,7 +21698,7 @@ await client.ticketing.accounts.retrieve("id", {
-
-Asynchronously pull data from an endpoint not currently supported by Merge.
+Returns a list of `CustomObjectClass` objects.
@@ -19796,10 +21713,41 @@ Asynchronously pull data from an endpoint not currently supported by Merge.
-
```typescript
-await client.ticketing.asyncPassthrough.create({
- method: "GET",
- path: "/scooters"
+const pageableResponse = await client.crm.customObjectClasses.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.customObjectClasses.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -19815,7 +21763,7 @@ await client.ticketing.asyncPassthrough.create({
-
-**request:** `Merge.DataPassthroughRequest`
+**request:** `Merge.crm.CustomObjectClassesListRequest`
@@ -19823,7 +21771,7 @@ await client.ticketing.asyncPassthrough.create({
-
-**requestOptions:** `AsyncPassthroughClient.RequestOptions`
+**requestOptions:** `CustomObjectClassesClient.RequestOptions`
@@ -19835,7 +21783,7 @@ await client.ticketing.asyncPassthrough.create({
-client.ticketing.asyncPassthrough.retrieve(async_passthrough_receipt_id) -> Merge.AsyncPassthroughRetrieveResponse
+client.crm.customObjectClasses.retrieve(id, { ...params }) -> Merge.CustomObjectClass
-
@@ -19847,7 +21795,7 @@ await client.ticketing.asyncPassthrough.create({
-
-Retrieves data from earlier async-passthrough POST request
+Returns a `CustomObjectClass` object with the given `id`.
@@ -19862,7 +21810,10 @@ Retrieves data from earlier async-passthrough POST request
-
```typescript
-await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id");
+await client.crm.customObjectClasses.retrieve("id", {
+ includeRemoteData: true,
+ includeShellData: true
+});
```
@@ -19878,7 +21829,7 @@ await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id")
-
-**async_passthrough_receipt_id:** `string`
+**id:** `string`
@@ -19886,7 +21837,15 @@ await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id")
-
-**requestOptions:** `AsyncPassthroughClient.RequestOptions`
+**request:** `Merge.crm.CustomObjectClassesRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `CustomObjectClassesClient.RequestOptions`
@@ -19898,8 +21857,8 @@ await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id")
-## Ticketing Attachments
-client.ticketing.attachments.list({ ...params }) -> Merge.PaginatedAttachmentList
+## Crm AssociationTypes
+client.crm.associationTypes.customObjectClassesAssociationTypesList(custom_object_class_id, { ...params }) -> core.Page
-
@@ -19911,7 +21870,7 @@ await client.ticketing.asyncPassthrough.retrieve("async_passthrough_receipt_id")
-
-Returns a list of `Attachment` objects.
+Returns a list of `AssociationType` objects.
@@ -19926,21 +21885,41 @@ Returns a list of `Attachment` objects.
-
```typescript
-await client.ticketing.attachments.list({
+const pageableResponse = await client.crm.associationTypes.customObjectClassesAssociationTypesList("custom_object_class_id", {
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "ticket",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
- remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"),
- remoteId: "remote_id",
- ticketId: "ticket_id"
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.associationTypes.customObjectClassesAssociationTypesList("custom_object_class_id", {
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -19956,7 +21935,7 @@ await client.ticketing.attachments.list({
-
-**request:** `Merge.ticketing.AttachmentsListRequest`
+**custom_object_class_id:** `string`
@@ -19964,7 +21943,15 @@ await client.ticketing.attachments.list({
-
-**requestOptions:** `AttachmentsClient.RequestOptions`
+**request:** `Merge.crm.CustomObjectClassesAssociationTypesListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `AssociationTypesClient.RequestOptions`
@@ -19976,7 +21963,7 @@ await client.ticketing.attachments.list({
-client.ticketing.attachments.create({ ...params }) -> Merge.TicketingAttachmentResponse
+client.crm.associationTypes.customObjectClassesAssociationTypesCreate(custom_object_class_id, { ...params }) -> Merge.CrmAssociationTypeResponse
-
@@ -19988,7 +21975,7 @@ await client.ticketing.attachments.list({
-
-Creates an `Attachment` object with the given values.
+Creates an `AssociationType` object with the given values.
@@ -20003,10 +21990,20 @@ Creates an `Attachment` object with the given values.
-
```typescript
-await client.ticketing.attachments.create({
+await client.crm.associationTypes.customObjectClassesAssociationTypesCreate("custom_object_class_id", {
isDebugMode: true,
runAsync: true,
- model: {}
+ model: {
+ sourceObjectClass: {
+ id: "id",
+ originType: "CUSTOM_OBJECT"
+ },
+ targetObjectClasses: [{
+ id: "id",
+ originType: "CUSTOM_OBJECT"
+ }],
+ remoteKeyName: "remote_key_name"
+ }
});
```
@@ -20023,7 +22020,7 @@ await client.ticketing.attachments.create({
-
-**request:** `Merge.ticketing.TicketingAttachmentEndpointRequest`
+**custom_object_class_id:** `string`
@@ -20031,7 +22028,15 @@ await client.ticketing.attachments.create({
-
-**requestOptions:** `AttachmentsClient.RequestOptions`
+**request:** `Merge.crm.CrmAssociationTypeEndpointRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `AssociationTypesClient.RequestOptions`
@@ -20043,7 +22048,7 @@ await client.ticketing.attachments.create({
-client.ticketing.attachments.retrieve(id, { ...params }) -> Merge.Attachment
+client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve(custom_object_class_id, id, { ...params }) -> Merge.AssociationType
-
@@ -20055,7 +22060,7 @@ await client.ticketing.attachments.create({
-
-Returns an `Attachment` object with the given `id`.
+Returns an `AssociationType` object with the given `id`.
@@ -20070,8 +22075,7 @@ Returns an `Attachment` object with the given `id`.
-
```typescript
-await client.ticketing.attachments.retrieve("id", {
- expand: "ticket",
+await client.crm.associationTypes.customObjectClassesAssociationTypesRetrieve("custom_object_class_id", "id", {
includeRemoteData: true,
includeShellData: true
});
@@ -20090,6 +22094,14 @@ await client.ticketing.attachments.retrieve("id", {
-
+**custom_object_class_id:** `string`
+
+
+
+
+
+-
+
**id:** `string`
@@ -20098,7 +22110,7 @@ await client.ticketing.attachments.retrieve("id", {
-
-**request:** `Merge.ticketing.AttachmentsRetrieveRequest`
+**request:** `Merge.crm.CustomObjectClassesAssociationTypesRetrieveRequest`
@@ -20106,7 +22118,7 @@ await client.ticketing.attachments.retrieve("id", {
-
-**requestOptions:** `AttachmentsClient.RequestOptions`
+**requestOptions:** `AssociationTypesClient.RequestOptions`
@@ -20118,7 +22130,7 @@ await client.ticketing.attachments.retrieve("id", {
-client.ticketing.attachments.metaPostRetrieve() -> Merge.MetaResponse
+client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRetrieve(custom_object_class_id) -> Merge.MetaResponse
-
@@ -20130,7 +22142,7 @@ await client.ticketing.attachments.retrieve("id", {
-
-Returns metadata for `TicketingAttachment` POSTs.
+Returns metadata for `CRMAssociationType` POSTs.
@@ -20145,7 +22157,7 @@ Returns metadata for `TicketingAttachment` POSTs.
-
```typescript
-await client.ticketing.attachments.metaPostRetrieve();
+await client.crm.associationTypes.customObjectClassesAssociationTypesMetaPostRetrieve("custom_object_class_id");
```
@@ -20161,7 +22173,15 @@ await client.ticketing.attachments.metaPostRetrieve();
-
-**requestOptions:** `AttachmentsClient.RequestOptions`
+**custom_object_class_id:** `string`
+
+
+
+
+
+-
+
+**requestOptions:** `AssociationTypesClient.RequestOptions`
@@ -20173,8 +22193,8 @@ await client.ticketing.attachments.metaPostRetrieve();
-## Ticketing AuditTrail
-client.ticketing.auditTrail.list({ ...params }) -> Merge.PaginatedAuditLogEventList
+## Crm CustomObjects
+client.crm.customObjects.customObjectClassesCustomObjectsList(custom_object_class_id, { ...params }) -> core.Page
-
@@ -20186,7 +22206,7 @@ await client.ticketing.attachments.metaPostRetrieve();
-
-Gets a list of audit trail events.
+Returns a list of `CustomObject` objects.
@@ -20201,14 +22221,43 @@ Gets a list of audit trail events.
-
```typescript
-await client.ticketing.auditTrail.list({
+const pageableResponse = await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_object_class_id", {
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- endDate: "end_date",
- eventType: "event_type",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
- startDate: "start_date",
- userEmail: "user_email"
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.customObjects.customObjectClassesCustomObjectsList("custom_object_class_id", {
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -20224,7 +22273,7 @@ await client.ticketing.auditTrail.list({
-
-**request:** `Merge.ticketing.AuditTrailListRequest`
+**custom_object_class_id:** `string`
@@ -20232,7 +22281,15 @@ await client.ticketing.auditTrail.list({
-
-**requestOptions:** `AuditTrailClient.RequestOptions`
+**request:** `Merge.crm.CustomObjectClassesCustomObjectsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `CustomObjectsClient.RequestOptions`
@@ -20244,8 +22301,7 @@ await client.ticketing.auditTrail.list({
-## Ticketing AvailableActions
-client.ticketing.availableActions.retrieve() -> Merge.AvailableActions
+client.crm.customObjects.customObjectClassesCustomObjectsCreate(custom_object_class_id, { ...params }) -> Merge.CrmCustomObjectResponse
-
@@ -20257,7 +22313,7 @@ await client.ticketing.auditTrail.list({
-
-Returns a list of models and actions available for an account.
+Creates a `CustomObject` object with the given values.
@@ -20272,7 +22328,15 @@ Returns a list of models and actions available for an account.
-
```typescript
-await client.ticketing.availableActions.retrieve();
+await client.crm.customObjects.customObjectClassesCustomObjectsCreate("custom_object_class_id", {
+ isDebugMode: true,
+ runAsync: true,
+ model: {
+ fields: {
+ "test_field": "hello"
+ }
+ }
+});
```
@@ -20288,7 +22352,23 @@ await client.ticketing.availableActions.retrieve();
-
-**requestOptions:** `AvailableActionsClient.RequestOptions`
+**custom_object_class_id:** `string`
+
+
+
+
+
+-
+
+**request:** `Merge.crm.CrmCustomObjectEndpointRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `CustomObjectsClient.RequestOptions`
@@ -20300,8 +22380,7 @@ await client.ticketing.availableActions.retrieve();
-## Ticketing Collections
-client.ticketing.collections.list({ ...params }) -> Merge.PaginatedCollectionList
+client.crm.customObjects.customObjectClassesCustomObjectsRetrieve(custom_object_class_id, id, { ...params }) -> Merge.CustomObject
-
@@ -20313,7 +22392,7 @@ await client.ticketing.availableActions.retrieve();
-
-Returns a list of `Collection` objects.
+Returns a `CustomObject` object with the given `id`.
@@ -20328,23 +22407,10 @@ Returns a list of `Collection` objects.
-
```typescript
-await client.ticketing.collections.list({
- collectionType: "",
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "parent_collection",
- includeDeletedData: true,
+await client.crm.customObjects.customObjectClassesCustomObjectsRetrieve("custom_object_class_id", "id", {
includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- name: "name",
- pageSize: 1,
- parentCollectionId: "parent_collection_id",
- remoteFields: "collection_type",
- remoteId: "remote_id",
- showEnumOrigins: "collection_type"
+ includeRemoteFields: true,
+ includeShellData: true
});
```
@@ -20361,7 +22427,7 @@ await client.ticketing.collections.list({
-
-**request:** `Merge.ticketing.CollectionsListRequest`
+**custom_object_class_id:** `string`
@@ -20369,7 +22435,23 @@ await client.ticketing.collections.list({
-
-**requestOptions:** `CollectionsClient.RequestOptions`
+**id:** `string`
+
+
+
+
+
+-
+
+**request:** `Merge.crm.CustomObjectClassesCustomObjectsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `CustomObjectsClient.RequestOptions`
@@ -20381,7 +22463,7 @@ await client.ticketing.collections.list({
-client.ticketing.collections.viewersList(collection_id, { ...params }) -> Merge.PaginatedViewerList
+client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve(custom_object_class_id) -> Merge.MetaResponse
-
@@ -20393,7 +22475,7 @@ await client.ticketing.collections.list({
-
-Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls)
+Returns metadata for `CRMCustomObject` POSTs.
@@ -20408,14 +22490,7 @@ Returns a list of `Viewer` objects that point to a User id or Team id that is ei
-
```typescript
-await client.ticketing.collections.viewersList("collection_id", {
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "team",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- pageSize: 1
-});
+await client.crm.customObjects.customObjectClassesCustomObjectsMetaPostRetrieve("custom_object_class_id");
```
@@ -20431,15 +22506,7 @@ await client.ticketing.collections.viewersList("collection_id", {
-
-**collection_id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.ticketing.CollectionsViewersListRequest`
+**custom_object_class_id:** `string`
@@ -20447,7 +22514,7 @@ await client.ticketing.collections.viewersList("collection_id", {
-
-**requestOptions:** `CollectionsClient.RequestOptions`
+**requestOptions:** `CustomObjectsClient.RequestOptions`
@@ -20459,7 +22526,7 @@ await client.ticketing.collections.viewersList("collection_id", {
-client.ticketing.collections.retrieve(id, { ...params }) -> Merge.Collection
+client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({ ...params }) -> core.Page
-
@@ -20471,7 +22538,7 @@ await client.ticketing.collections.viewersList("collection_id", {
-
-Returns a `Collection` object with the given `id`.
+Returns a list of `RemoteFieldClass` objects.
@@ -20486,13 +22553,37 @@ Returns a `Collection` object with the given `id`.
-
```typescript
-await client.ticketing.collections.retrieve("id", {
- expand: "parent_collection",
+const pageableResponse = await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
includeRemoteData: true,
+ includeRemoteFields: true,
includeShellData: true,
- remoteFields: "collection_type",
- showEnumOrigins: "collection_type"
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.customObjects.customObjectClassesCustomObjectsRemoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -20508,15 +22599,7 @@ await client.ticketing.collections.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.ticketing.CollectionsRetrieveRequest`
+**request:** `Merge.crm.CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest`
@@ -20524,7 +22607,7 @@ await client.ticketing.collections.retrieve("id", {
-
-**requestOptions:** `CollectionsClient.RequestOptions`
+**requestOptions:** `CustomObjectsClient.RequestOptions`
@@ -20536,8 +22619,8 @@ await client.ticketing.collections.retrieve("id", {
-## Ticketing Comments
-client.ticketing.comments.list({ ...params }) -> Merge.PaginatedCommentList
+## Crm Associations
+client.crm.associations.customObjectClassesCustomObjectsAssociationsList(custom_object_class_id, object_id, { ...params }) -> core.Page
-
@@ -20549,7 +22632,7 @@ await client.ticketing.collections.retrieve("id", {
-
-Returns a list of `Comment` objects.
+Returns a list of `Association` objects.
@@ -20564,21 +22647,43 @@ Returns a list of `Comment` objects.
-
```typescript
-await client.ticketing.comments.list({
+const pageableResponse = await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("custom_object_class_id", "object_id", {
+ associationTypeId: "association_type_id",
createdAfter: new Date("2024-01-15T09:30:00.000Z"),
createdBefore: new Date("2024-01-15T09:30:00.000Z"),
cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- expand: "contact",
includeDeletedData: true,
includeRemoteData: true,
includeShellData: true,
modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
pageSize: 1,
- remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"),
- remoteId: "remote_id",
- ticketId: "ticket_id"
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.associations.customObjectClassesCustomObjectsAssociationsList("custom_object_class_id", "object_id", {
+ associationTypeId: "association_type_id",
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -20594,7 +22699,7 @@ await client.ticketing.comments.list({
-
-**request:** `Merge.ticketing.CommentsListRequest`
+**custom_object_class_id:** `string`
@@ -20602,7 +22707,23 @@ await client.ticketing.comments.list({
-
-**requestOptions:** `CommentsClient.RequestOptions`
+**object_id:** `string`
+
+
+
+
+
+-
+
+**request:** `Merge.crm.CustomObjectClassesCustomObjectsAssociationsListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `AssociationsClient.RequestOptions`
@@ -20614,7 +22735,7 @@ await client.ticketing.comments.list({
-client.ticketing.comments.create({ ...params }) -> Merge.CommentResponse
+client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate(source_class_id, source_object_id, target_class_id, target_object_id, association_type_id, { ...params }) -> Merge.Association
-
@@ -20626,7 +22747,7 @@ await client.ticketing.comments.list({
-
-Creates a `Comment` object with the given values.
+Creates an Association between `source_object_id` and `target_object_id` of type `association_type_id`.
@@ -20641,10 +22762,9 @@ Creates a `Comment` object with the given values.
-
```typescript
-await client.ticketing.comments.create({
+await client.crm.associations.customObjectClassesCustomObjectsAssociationsUpdate("source_class_id", "source_object_id", "target_class_id", "target_object_id", "association_type_id", {
isDebugMode: true,
- runAsync: true,
- model: {}
+ runAsync: true
});
```
@@ -20661,7 +22781,7 @@ await client.ticketing.comments.create({
-
-**request:** `Merge.ticketing.CommentEndpointRequest`
+**source_class_id:** `string`
@@ -20669,58 +22789,78 @@ await client.ticketing.comments.create({
-
-**requestOptions:** `CommentsClient.RequestOptions`
+**source_object_id:** `string`
+
+
+-
+
+**target_class_id:** `string`
+
+
+-
+**target_object_id:** `string`
+
-
-client.ticketing.comments.retrieve(id, { ...params }) -> Merge.Comment
-
-#### 📝 Description
+**association_type_id:** `string`
+
+
+
-
+**request:** `Merge.crm.CustomObjectClassesCustomObjectsAssociationsUpdateRequest`
+
+
+
+
-
-Returns a `Comment` object with the given `id`.
+**requestOptions:** `AssociationsClient.RequestOptions`
+
-#### 🔌 Usage
+
+
+
+
+## Crm Scopes
+client.crm.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
-
+#### 📝 Description
+
-
-```typescript
-await client.ticketing.comments.retrieve("id", {
- expand: "contact",
- includeRemoteData: true,
- includeShellData: true
-});
+
+-
-```
+Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
-#### ⚙️ Parameters
+#### 🔌 Usage
-
@@ -20728,23 +22868,24 @@ await client.ticketing.comments.retrieve("id", {
-
-**id:** `string`
-
+```typescript
+await client.crm.scopes.defaultScopesRetrieve();
+
+```
+
+
+#### ⚙️ Parameters
+
-
-**request:** `Merge.ticketing.CommentsRetrieveRequest`
-
-
-
-
-
-**requestOptions:** `CommentsClient.RequestOptions`
+**requestOptions:** `ScopesClient.RequestOptions`
@@ -20756,7 +22897,7 @@ await client.ticketing.comments.retrieve("id", {
-client.ticketing.comments.metaPostRetrieve() -> Merge.MetaResponse
+client.crm.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
-
@@ -20768,7 +22909,7 @@ await client.ticketing.comments.retrieve("id", {
-
-Returns metadata for `Comment` POSTs.
+Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -20783,7 +22924,7 @@ Returns metadata for `Comment` POSTs.
-
```typescript
-await client.ticketing.comments.metaPostRetrieve();
+await client.crm.scopes.linkedAccountScopesRetrieve();
```
@@ -20799,7 +22940,7 @@ await client.ticketing.comments.metaPostRetrieve();
-
-**requestOptions:** `CommentsClient.RequestOptions`
+**requestOptions:** `ScopesClient.RequestOptions`
@@ -20811,8 +22952,7 @@ await client.ticketing.comments.metaPostRetrieve();
-## Ticketing Contacts
-client.ticketing.contacts.list({ ...params }) -> Merge.PaginatedContactList
+client.crm.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
-
@@ -20824,7 +22964,7 @@ await client.ticketing.comments.metaPostRetrieve();
-
-Returns a list of `Contact` objects.
+Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -20839,19 +22979,29 @@ Returns a list of `Contact` objects.
-
```typescript
-await client.ticketing.contacts.list({
- createdAfter: new Date("2024-01-15T09:30:00.000Z"),
- createdBefore: new Date("2024-01-15T09:30:00.000Z"),
- cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
- emailAddress: "email_address",
- expand: "account",
- includeDeletedData: true,
- includeRemoteData: true,
- includeShellData: true,
- modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
- modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
- pageSize: 1,
- remoteId: "remote_id"
+await client.crm.scopes.linkedAccountScopesCreate({
+ commonModels: [{
+ modelName: "Employee",
+ modelPermissions: {
+ "READ": {
+ isEnabled: true
+ },
+ "WRITE": {
+ isEnabled: false
+ }
+ },
+ fieldPermissions: {
+ enabledFields: ["avatar", "home_location"],
+ disabledFields: ["work_location"]
+ }
+ }, {
+ modelName: "Benefit",
+ modelPermissions: {
+ "WRITE": {
+ isEnabled: false
+ }
+ }
+ }]
});
```
@@ -20868,7 +23018,7 @@ await client.ticketing.contacts.list({
-
-**request:** `Merge.ticketing.ContactsListRequest`
+**request:** `Merge.crm.LinkedAccountCommonModelScopeDeserializerRequest`
@@ -20876,7 +23026,7 @@ await client.ticketing.contacts.list({
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**requestOptions:** `ScopesClient.RequestOptions`
@@ -20888,7 +23038,8 @@ await client.ticketing.contacts.list({
-client.ticketing.contacts.create({ ...params }) -> Merge.TicketingContactResponse
+## Crm DeleteAccount
+client.crm.deleteAccount.delete() -> void
-
@@ -20900,7 +23051,7 @@ await client.ticketing.contacts.list({
-
-Creates a `Contact` object with the given values.
+Delete a linked account.
@@ -20915,11 +23066,7 @@ Creates a `Contact` object with the given values.
-
```typescript
-await client.ticketing.contacts.create({
- isDebugMode: true,
- runAsync: true,
- model: {}
-});
+await client.crm.deleteAccount.delete();
```
@@ -20935,15 +23082,7 @@ await client.ticketing.contacts.create({
-
-**request:** `Merge.ticketing.TicketingContactEndpointRequest`
-
-
-
-
-
--
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**requestOptions:** `DeleteAccountClient.RequestOptions`
@@ -20955,7 +23094,8 @@ await client.ticketing.contacts.create({
-client.ticketing.contacts.retrieve(id, { ...params }) -> Merge.Contact
+## Crm EngagementTypes
+client.crm.engagementTypes.list({ ...params }) -> core.Page
-
@@ -20967,7 +23107,7 @@ await client.ticketing.contacts.create({
-
-Returns a `Contact` object with the given `id`.
+Returns a list of `EngagementType` objects.
@@ -20982,11 +23122,43 @@ Returns a `Contact` object with the given `id`.
-
```typescript
-await client.ticketing.contacts.retrieve("id", {
- expand: "account",
+const pageableResponse = await client.crm.engagementTypes.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
includeRemoteData: true,
- includeShellData: true
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.engagementTypes.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id"
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -21002,15 +23174,7 @@ await client.ticketing.contacts.retrieve("id", {
-
-**id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.ticketing.ContactsRetrieveRequest`
+**request:** `Merge.crm.EngagementTypesListRequest`
@@ -21018,7 +23182,7 @@ await client.ticketing.contacts.retrieve("id", {
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**requestOptions:** `EngagementTypesClient.RequestOptions`
@@ -21030,7 +23194,7 @@ await client.ticketing.contacts.retrieve("id", {
-client.ticketing.contacts.metaPostRetrieve() -> Merge.MetaResponse
+client.crm.engagementTypes.retrieve(id, { ...params }) -> Merge.EngagementType
-
@@ -21042,7 +23206,7 @@ await client.ticketing.contacts.retrieve("id", {
-
-Returns metadata for `TicketingContact` POSTs.
+Returns an `EngagementType` object with the given `id`.
@@ -21057,7 +23221,11 @@ Returns metadata for `TicketingContact` POSTs.
-
```typescript
-await client.ticketing.contacts.metaPostRetrieve();
+await client.crm.engagementTypes.retrieve("id", {
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true
+});
```
@@ -21073,63 +23241,23 @@ await client.ticketing.contacts.metaPostRetrieve();
-
-**requestOptions:** `ContactsClient.RequestOptions`
+**id:** `string`
-
-
-
-
-
-
-
-
-## Ticketing Scopes
-client.ticketing.scopes.defaultScopesRetrieve() -> Merge.CommonModelScopeApi
-
--
-
-#### 📝 Description
-
-
--
-
-
--
-
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-```typescript
-await client.ticketing.scopes.defaultScopesRetrieve();
-
-```
-
-
+**request:** `Merge.crm.EngagementTypesRetrieveRequest`
+
-#### ⚙️ Parameters
-
-
-
--
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**requestOptions:** `EngagementTypesClient.RequestOptions`
@@ -21141,7 +23269,7 @@ await client.ticketing.scopes.defaultScopesRetrieve();
-client.ticketing.scopes.linkedAccountScopesRetrieve() -> Merge.CommonModelScopeApi
+client.crm.engagementTypes.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -21153,7 +23281,7 @@ await client.ticketing.scopes.defaultScopesRetrieve();
-
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
+Returns a list of `RemoteFieldClass` objects.
@@ -21168,7 +23296,37 @@ Get all available permissions for Merge Common Models and fields for a single Li
-
```typescript
-await client.ticketing.scopes.linkedAccountScopesRetrieve();
+const pageableResponse = await client.crm.engagementTypes.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.engagementTypes.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -21184,7 +23342,15 @@ await client.ticketing.scopes.linkedAccountScopesRetrieve();
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**request:** `Merge.crm.EngagementTypesRemoteFieldClassesListRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `EngagementTypesClient.RequestOptions`
@@ -21196,7 +23362,8 @@ await client.ticketing.scopes.linkedAccountScopesRetrieve();
-client.ticketing.scopes.linkedAccountScopesCreate({ ...params }) -> Merge.CommonModelScopeApi
+## Crm Engagements
+client.crm.engagements.list({ ...params }) -> core.Page
-
@@ -21208,7 +23375,7 @@ await client.ticketing.scopes.linkedAccountScopesRetrieve();
-
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
+Returns a list of `Engagement` objects.
@@ -21223,30 +23390,47 @@ Update permissions for any Common Model or field for a single Linked Account. An
-
```typescript
-await client.ticketing.scopes.linkedAccountScopesCreate({
- commonModels: [{
- modelName: "Employee",
- modelPermissions: {
- "READ": {
- isEnabled: true
- },
- "WRITE": {
- isEnabled: false
- }
- },
- fieldPermissions: {
- enabledFields: ["avatar", "home_location"],
- disabledFields: ["work_location"]
- }
- }, {
- modelName: "Benefit",
- modelPermissions: {
- "WRITE": {
- isEnabled: false
- }
- }
- }]
+const pageableResponse = await client.crm.engagements.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ startedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ startedBefore: new Date("2024-01-15T09:30:00.000Z")
});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.engagements.list({
+ createdAfter: new Date("2024-01-15T09:30:00.000Z"),
+ createdBefore: new Date("2024-01-15T09:30:00.000Z"),
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
+ pageSize: 1,
+ remoteId: "remote_id",
+ startedAfter: new Date("2024-01-15T09:30:00.000Z"),
+ startedBefore: new Date("2024-01-15T09:30:00.000Z")
+});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -21262,7 +23446,7 @@ await client.ticketing.scopes.linkedAccountScopesCreate({
-
-**request:** `Merge.ticketing.LinkedAccountCommonModelScopeDeserializerRequest`
+**request:** `Merge.crm.EngagementsListRequest`
@@ -21270,7 +23454,7 @@ await client.ticketing.scopes.linkedAccountScopesCreate({
-
-**requestOptions:** `ScopesClient.RequestOptions`
+**requestOptions:** `EngagementsClient.RequestOptions`
@@ -21282,8 +23466,7 @@ await client.ticketing.scopes.linkedAccountScopesCreate({
-## Ticketing DeleteAccount
-client.ticketing.deleteAccount.delete() -> void
+client.crm.engagements.create({ ...params }) -> Merge.EngagementResponse
-
@@ -21295,7 +23478,7 @@ await client.ticketing.scopes.linkedAccountScopesCreate({
-
-Delete a linked account.
+Creates an `Engagement` object with the given values.
@@ -21310,7 +23493,11 @@ Delete a linked account.
-
```typescript
-await client.ticketing.deleteAccount.delete();
+await client.crm.engagements.create({
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
+});
```
@@ -21326,7 +23513,15 @@ await client.ticketing.deleteAccount.delete();
-
-**requestOptions:** `DeleteAccountClient.RequestOptions`
+**request:** `Merge.crm.EngagementEndpointRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `EngagementsClient.RequestOptions`
@@ -21338,8 +23533,7 @@ await client.ticketing.deleteAccount.delete();
-## Ticketing FieldMapping
-client.ticketing.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
+client.crm.engagements.retrieve(id, { ...params }) -> Merge.Engagement
-
@@ -21351,7 +23545,7 @@ await client.ticketing.deleteAccount.delete();
-
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
+Returns an `Engagement` object with the given `id`.
@@ -21366,8 +23560,10 @@ Get all Field Mappings for this Linked Account. Field Mappings are mappings betw
-
```typescript
-await client.ticketing.fieldMapping.fieldMappingsRetrieve({
- excludeRemoteFieldMetadata: true
+await client.crm.engagements.retrieve("id", {
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true
});
```
@@ -21384,7 +23580,7 @@ await client.ticketing.fieldMapping.fieldMappingsRetrieve({
-
-**request:** `Merge.ticketing.FieldMappingsRetrieveRequest`
+**id:** `string`
@@ -21392,7 +23588,15 @@ await client.ticketing.fieldMapping.fieldMappingsRetrieve({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**request:** `Merge.crm.EngagementsRetrieveRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `EngagementsClient.RequestOptions`
@@ -21404,7 +23608,7 @@ await client.ticketing.fieldMapping.fieldMappingsRetrieve({
-client.ticketing.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
+client.crm.engagements.partialUpdate(id, { ...params }) -> Merge.EngagementResponse
-
@@ -21416,7 +23620,7 @@ await client.ticketing.fieldMapping.fieldMappingsRetrieve({
-
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Updates an `Engagement` object with the given `id`.
@@ -21431,14 +23635,10 @@ Create new Field Mappings that will be available after the next scheduled sync.
-
```typescript
-await client.ticketing.fieldMapping.fieldMappingsCreate({
- excludeRemoteFieldMetadata: true,
- targetFieldName: "example_target_field_name",
- targetFieldDescription: "this is a example description of the target field",
- remoteFieldTraversalPath: ["example_remote_field"],
- remoteMethod: "GET",
- remoteUrlPath: "/example-url-path",
- commonModelName: "ExampleCommonModel"
+await client.crm.engagements.partialUpdate("id", {
+ isDebugMode: true,
+ runAsync: true,
+ model: {}
});
```
@@ -21455,7 +23655,7 @@ await client.ticketing.fieldMapping.fieldMappingsCreate({
-
-**request:** `Merge.ticketing.CreateFieldMappingRequest`
+**id:** `string`
@@ -21463,7 +23663,15 @@ await client.ticketing.fieldMapping.fieldMappingsCreate({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**request:** `Merge.crm.PatchedEngagementEndpointRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `EngagementsClient.RequestOptions`
@@ -21475,7 +23683,7 @@ await client.ticketing.fieldMapping.fieldMappingsCreate({
-client.ticketing.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
+client.crm.engagements.metaPatchRetrieve(id) -> Merge.MetaResponse
-
@@ -21487,7 +23695,7 @@ await client.ticketing.fieldMapping.fieldMappingsCreate({
-
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Returns metadata for `Engagement` PATCHs.
@@ -21502,7 +23710,7 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp
-
```typescript
-await client.ticketing.fieldMapping.fieldMappingsDestroy("field_mapping_id");
+await client.crm.engagements.metaPatchRetrieve("id");
```
@@ -21518,7 +23726,7 @@ await client.ticketing.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-**field_mapping_id:** `string`
+**id:** `string`
@@ -21526,7 +23734,7 @@ await client.ticketing.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `EngagementsClient.RequestOptions`
@@ -21538,7 +23746,7 @@ await client.ticketing.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-client.ticketing.fieldMapping.fieldMappingsPartialUpdate(field_mapping_id, { ...params }) -> Merge.FieldMappingInstanceResponse
+client.crm.engagements.metaPostRetrieve() -> Merge.MetaResponse
-
@@ -21550,7 +23758,7 @@ await client.ticketing.fieldMapping.fieldMappingsDestroy("field_mapping_id");
-
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+Returns metadata for `Engagement` POSTs.
@@ -21565,7 +23773,7 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r
-
```typescript
-await client.ticketing.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id");
+await client.crm.engagements.metaPostRetrieve();
```
@@ -21581,23 +23789,7 @@ await client.ticketing.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id
-
-**field_mapping_id:** `string`
-
-
-
-
-
--
-
-**request:** `Merge.ticketing.PatchedEditFieldMappingRequest`
-
-
-
-
-
--
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `EngagementsClient.RequestOptions`
@@ -21609,7 +23801,7 @@ await client.ticketing.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id
-client.ticketing.fieldMapping.remoteFieldsRetrieve({ ...params }) -> Merge.RemoteFieldApiResponse
+client.crm.engagements.remoteFieldClassesList({ ...params }) -> core.Page
-
@@ -21621,7 +23813,7 @@ await client.ticketing.fieldMapping.fieldMappingsPartialUpdate("field_mapping_id
-
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
+Returns a list of `RemoteFieldClass` objects.
@@ -21636,10 +23828,37 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields
-
```typescript
-await client.ticketing.fieldMapping.remoteFieldsRetrieve({
- commonModels: "common_models",
- includeExampleValues: "include_example_values"
+const pageableResponse = await client.crm.engagements.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
+});
+for await (const item of pageableResponse) {
+ console.log(item);
+}
+
+// Or you can manually iterate page-by-page
+let page = await client.crm.engagements.remoteFieldClassesList({
+ cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
+ includeDeletedData: true,
+ includeRemoteData: true,
+ includeRemoteFields: true,
+ includeShellData: true,
+ isCommonModelField: true,
+ isCustom: true,
+ pageSize: 1
});
+while (page.hasNextPage()) {
+ page = page.getNextPage();
+}
+
+// You can also access the underlying response
+const response = page.response;
```
@@ -21655,7 +23874,7 @@ await client.ticketing.fieldMapping.remoteFieldsRetrieve({
-
-**request:** `Merge.ticketing.RemoteFieldsRetrieveRequest`
+**request:** `Merge.crm.EngagementsRemoteFieldClassesListRequest`
@@ -21663,7 +23882,7 @@ await client.ticketing.fieldMapping.remoteFieldsRetrieve({
-
-**requestOptions:** `FieldMappingClient.RequestOptions`
+**requestOptions:** `EngagementsClient.RequestOptions`
@@ -21675,7 +23894,8 @@ await client.ticketing.fieldMapping.remoteFieldsRetrieve({
-client.ticketing.fieldMapping.targetFieldsRetrieve() -> Merge.ExternalTargetFieldApiResponse
+## Crm FieldMapping
+client.crm.fieldMapping.fieldMappingsRetrieve({ ...params }) -> Merge.FieldMappingApiInstanceResponse
-
@@ -21687,7 +23907,7 @@ await client.ticketing.fieldMapping.remoteFieldsRetrieve({
-
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
+Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -21702,7 +23922,9 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun
-
```typescript
-await client.ticketing.fieldMapping.targetFieldsRetrieve();
+await client.crm.fieldMapping.fieldMappingsRetrieve({
+ excludeRemoteFieldMetadata: true
+});
```
@@ -21718,6 +23940,14 @@ await client.ticketing.fieldMapping.targetFieldsRetrieve();
-
+**request:** `Merge.crm.FieldMappingsRetrieveRequest`
+
+
+
+
+
+-
+
**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -21730,8 +23960,7 @@ await client.ticketing.fieldMapping.targetFieldsRetrieve();
-## Ticketing GenerateKey
-client.ticketing.generateKey.create({ ...params }) -> Merge.RemoteKey
+client.crm.fieldMapping.fieldMappingsCreate({ ...params }) -> Merge.FieldMappingInstanceResponse
-
@@ -21743,7 +23972,7 @@ await client.ticketing.fieldMapping.targetFieldsRetrieve();
-
-Create a remote key.
+Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -21758,8 +23987,15 @@ Create a remote key.
-
```typescript
-await client.ticketing.generateKey.create({
- name: "Remote Deployment Key 1"
+await client.crm.fieldMapping.fieldMappingsCreate({
+ excludeRemoteFieldMetadata: true,
+ remoteDataIterationCount: 1,
+ targetFieldName: "example_target_field_name",
+ targetFieldDescription: "this is a example description of the target field",
+ remoteFieldTraversalPath: ["example_remote_field"],
+ remoteMethod: "GET",
+ remoteUrlPath: "/example-url-path",
+ commonModelName: "ExampleCommonModel"
});
```
@@ -21776,7 +24012,7 @@ await client.ticketing.generateKey.create({
-
-**request:** `Merge.ticketing.GenerateRemoteKeyRequest`
+**request:** `Merge.crm.CreateFieldMappingRequest`
@@ -21784,7 +24020,7 @@ await client.ticketing.generateKey.create({
-
-**requestOptions:** `GenerateKeyClient.RequestOptions`
+**requestOptions:** `FieldMappingClient.RequestOptions`
@@ -21796,8 +24032,7 @@ await client.ticketing.generateKey.create({
-## Ticketing Issues
-client.ticketing.issues.list({ ...params }) -> Merge.PaginatedIssueList
+client.crm.fieldMapping.fieldMappingsDestroy(field_mapping_id) -> Merge.FieldMappingInstanceResponse
-
@@ -21809,7 +24044,7 @@ await client.ticketing.generateKey.create({