@mergeapi/merge-node-client 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -3
- package/Client.js +9 -9
- package/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
- package/api/resources/accounting/resources/accountingPeriods/client/Client.js +6 -3
- package/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/accounts/client/Client.js +8 -5
- package/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/addresses/client/Client.js +1 -1
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/accounting/resources/attachments/client/Client.js +8 -5
- package/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +6 -3
- package/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +6 -3
- package/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/companyInfo/client/Client.js +6 -3
- package/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/contacts/client/Client.d.ts +7 -0
- package/api/resources/accounting/resources/contacts/client/Client.js +91 -6
- package/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +9 -1
- package/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/contacts/client/requests/index.d.ts +1 -0
- package/api/resources/accounting/resources/creditNotes/client/Client.js +6 -3
- package/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/accounting/resources/expenses/client/Client.d.ts +14 -0
- package/api/resources/accounting/resources/expenses/client/Client.js +167 -6
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.d.ts +9 -1
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/expenses/client/requests/index.d.ts +2 -0
- package/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/accounting/resources/forceResync/client/Client.d.ts +1 -1
- package/api/resources/accounting/resources/forceResync/client/Client.js +2 -2
- package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +6 -3
- package/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/invoices/client/Client.d.ts +14 -0
- package/api/resources/accounting/resources/invoices/client/Client.js +169 -8
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts +9 -1
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/invoices/client/requests/index.d.ts +2 -0
- package/api/resources/accounting/resources/issues/client/Client.d.ts +1 -1
- package/api/resources/accounting/resources/issues/client/Client.js +7 -4
- package/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/items/client/Client.js +6 -3
- package/api/resources/accounting/resources/items/client/requests/ItemsListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/items/types/ItemsListRequestExpand.d.ts +25 -1
- package/api/resources/accounting/resources/items/types/ItemsListRequestExpand.js +24 -0
- package/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.d.ts +25 -1
- package/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.js +24 -0
- package/api/resources/accounting/resources/journalEntries/client/Client.d.ts +14 -0
- package/api/resources/accounting/resources/journalEntries/client/Client.js +167 -6
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.d.ts +9 -1
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/journalEntries/client/requests/index.d.ts +2 -0
- package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
- package/api/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +9 -2
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +1 -1
- package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
- package/api/resources/accounting/resources/payments/client/Client.d.ts +14 -0
- package/api/resources/accounting/resources/payments/client/Client.js +169 -8
- package/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.d.ts +9 -1
- package/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/payments/client/requests/index.d.ts +2 -0
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +14 -0
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +167 -6
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.d.ts +9 -1
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/purchaseOrders/client/requests/index.d.ts +2 -0
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/scopes/client/Client.d.ts +3 -3
- package/api/resources/accounting/resources/scopes/client/Client.js +6 -6
- package/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/accounting/resources/taxRates/client/Client.js +6 -3
- package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +6 -3
- package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/transactions/client/Client.js +6 -3
- package/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +6 -3
- package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.d.ts +5 -1
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/accounting/types/Account.d.ts +1 -1
- package/api/resources/accounting/types/AccountDetails.d.ts +2 -0
- package/api/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
- package/api/resources/accounting/types/AccountDetailsAndActionsStatusEnum.d.ts +3 -1
- package/api/resources/accounting/types/AccountDetailsAndActionsStatusEnum.js +1 -0
- package/api/resources/accounting/types/AccountIntegration.d.ts +4 -2
- package/api/resources/accounting/types/AccountingAttachment.d.ts +1 -1
- package/api/resources/accounting/types/AccountingPeriod.d.ts +7 -3
- package/api/resources/accounting/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/accounting/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/accounting/types/BalanceSheet.d.ts +1 -1
- package/api/resources/accounting/types/CashFlowStatement.d.ts +1 -1
- package/api/resources/accounting/types/CompanyInfo.d.ts +1 -1
- package/api/resources/accounting/types/ComponentTypeEnum.d.ts +12 -0
- package/api/resources/accounting/types/ComponentTypeEnum.js +10 -0
- package/api/resources/accounting/types/Contact.d.ts +2 -1
- package/api/resources/accounting/types/ContactRequest.d.ts +1 -0
- package/api/resources/accounting/types/CreditNote.d.ts +3 -1
- package/api/resources/accounting/types/CreditNoteLineItem.d.ts +4 -2
- package/api/resources/accounting/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/accounting/types/EventTypeEnum.js +1 -0
- package/api/resources/accounting/types/Expense.d.ts +4 -1
- package/api/resources/accounting/types/ExpenseLine.d.ts +4 -1
- package/api/resources/accounting/types/ExpenseLineRequest.d.ts +4 -0
- package/api/resources/accounting/types/ExpenseRequest.d.ts +3 -0
- package/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/api/resources/accounting/types/FieldFormatEnum.d.ts +20 -0
- package/api/resources/accounting/types/FieldFormatEnum.js +14 -0
- package/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/api/resources/accounting/types/FieldTypeEnum.d.ts +20 -0
- package/api/resources/accounting/types/FieldTypeEnum.js +14 -0
- package/api/resources/accounting/types/IncomeStatement.d.ts +1 -1
- package/api/resources/accounting/types/Invoice.d.ts +10 -4
- package/api/resources/accounting/types/InvoiceLineItem.d.ts +5 -1
- package/api/resources/accounting/types/InvoiceLineItemRequest.d.ts +4 -0
- package/api/resources/accounting/types/InvoiceRequest.d.ts +10 -5
- package/api/resources/accounting/types/Item.d.ts +5 -1
- package/api/resources/accounting/types/ItemFormatEnum.d.ts +20 -0
- package/api/resources/accounting/types/ItemFormatEnum.js +14 -0
- package/api/resources/accounting/types/ItemPurchaseTaxRate.d.ts +8 -0
- package/api/resources/accounting/types/ItemPurchaseTaxRate.js +5 -0
- package/api/resources/accounting/types/ItemSalesTaxRate.d.ts +8 -0
- package/api/resources/accounting/types/ItemSalesTaxRate.js +5 -0
- package/api/resources/accounting/types/ItemSchema.d.ts +9 -0
- package/api/resources/accounting/types/ItemSchema.js +5 -0
- package/api/resources/accounting/types/ItemTypeEnum.d.ts +20 -0
- package/api/resources/accounting/types/ItemTypeEnum.js +14 -0
- package/api/resources/accounting/types/JournalEntry.d.ts +8 -4
- package/api/resources/accounting/types/JournalEntryRequest.d.ts +3 -0
- package/api/resources/accounting/types/JournalLine.d.ts +5 -1
- package/api/resources/accounting/types/JournalLineRequest.d.ts +4 -0
- package/api/resources/accounting/types/LanguageEnum.d.ts +12 -0
- package/api/resources/accounting/types/LanguageEnum.js +10 -0
- package/api/resources/accounting/types/PaginatedRemoteFieldClassList.d.ts +9 -0
- package/api/resources/accounting/types/PaginatedRemoteFieldClassList.js +5 -0
- package/api/resources/accounting/types/PatchedPaymentRequest.d.ts +1 -0
- package/api/resources/accounting/types/Payment.d.ts +5 -4
- package/api/resources/accounting/types/PaymentLineItemRequest.d.ts +2 -0
- package/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/api/resources/accounting/types/PurchaseOrder.d.ts +7 -4
- package/api/resources/accounting/types/PurchaseOrderLineItem.d.ts +5 -2
- package/api/resources/accounting/types/PurchaseOrderLineItemRequest.d.ts +4 -1
- package/api/resources/accounting/types/PurchaseOrderRequest.d.ts +3 -0
- package/api/resources/accounting/types/RemoteField.d.ts +8 -0
- package/api/resources/accounting/types/RemoteField.js +5 -0
- package/api/resources/accounting/types/RemoteFieldApi.d.ts +1 -1
- package/api/resources/accounting/types/RemoteFieldApiResponse.d.ts +1 -0
- package/api/resources/accounting/types/RemoteFieldClass.d.ts +16 -0
- package/api/resources/accounting/types/RemoteFieldClass.js +5 -0
- package/api/resources/accounting/types/RemoteFieldRequest.d.ts +8 -0
- package/api/resources/accounting/types/RemoteFieldRequest.js +5 -0
- package/api/resources/accounting/types/RemoteFieldRequestRemoteFieldClass.d.ts +5 -0
- package/api/resources/accounting/types/RemoteFieldRequestRemoteFieldClass.js +5 -0
- package/api/resources/accounting/types/TaxComponent.d.ts +39 -0
- package/api/resources/accounting/types/TaxComponent.js +5 -0
- package/api/resources/accounting/types/TaxComponentComponentType.d.ts +11 -0
- package/api/resources/accounting/types/TaxComponentComponentType.js +5 -0
- package/api/resources/accounting/types/TaxRate.d.ts +18 -3
- package/api/resources/accounting/types/TaxRateStatus.d.ts +11 -0
- package/api/resources/accounting/types/TaxRateStatus.js +5 -0
- package/api/resources/accounting/types/TaxRateTaxComponentsItem.d.ts +5 -0
- package/api/resources/accounting/types/TaxRateTaxComponentsItem.js +5 -0
- package/api/resources/accounting/types/TrackingCategory.d.ts +1 -1
- package/api/resources/accounting/types/Transaction.d.ts +3 -1
- package/api/resources/accounting/types/TransactionLineItem.d.ts +4 -3
- package/api/resources/accounting/types/VendorCredit.d.ts +4 -2
- package/api/resources/accounting/types/VendorCreditLine.d.ts +5 -3
- package/api/resources/accounting/types/index.d.ts +20 -2
- package/api/resources/accounting/types/index.js +20 -2
- package/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/ats/resources/accountToken/client/Client.js +1 -1
- package/api/resources/ats/resources/activities/client/Client.js +4 -4
- package/api/resources/ats/resources/applications/client/Client.js +5 -5
- package/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/ats/resources/attachments/client/Client.js +4 -4
- package/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/ats/resources/availableActions/client/Client.js +1 -1
- package/api/resources/ats/resources/candidates/client/Client.js +7 -7
- package/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/ats/resources/departments/client/Client.js +2 -2
- package/api/resources/ats/resources/eeocs/client/Client.js +2 -2
- package/api/resources/ats/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/ats/resources/forceResync/client/Client.js +1 -1
- package/api/resources/ats/resources/generateKey/client/Client.js +1 -1
- package/api/resources/ats/resources/interviews/client/Client.js +4 -4
- package/api/resources/ats/resources/issues/client/Client.js +2 -2
- package/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
- package/api/resources/ats/resources/jobPostings/client/Client.js +2 -2
- package/api/resources/ats/resources/jobs/client/Client.js +3 -3
- package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/ats/resources/offers/client/Client.js +2 -2
- package/api/resources/ats/resources/offices/client/Client.js +2 -2
- package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
- package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
- package/api/resources/ats/resources/scopes/client/Client.js +3 -3
- package/api/resources/ats/resources/scorecards/client/Client.js +2 -2
- package/api/resources/ats/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/ats/resources/tags/client/Client.js +1 -1
- package/api/resources/ats/resources/users/client/Client.js +2 -2
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
- package/api/resources/crm/resources/accounts/client/Client.js +7 -7
- package/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
- package/api/resources/crm/resources/associations/client/Client.js +2 -2
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
- package/api/resources/crm/resources/contacts/client/Client.js +8 -8
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +2 -2
- package/api/resources/crm/resources/customObjects/client/Client.js +5 -5
- package/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
- package/api/resources/crm/resources/engagements/client/Client.js +7 -7
- package/api/resources/crm/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/crm/resources/forceResync/client/Client.js +1 -1
- package/api/resources/crm/resources/generateKey/client/Client.js +1 -1
- package/api/resources/crm/resources/issues/client/Client.js +2 -2
- package/api/resources/crm/resources/leads/client/Client.js +5 -5
- package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/crm/resources/notes/client/Client.js +5 -5
- package/api/resources/crm/resources/opportunities/client/Client.js +7 -7
- package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
- package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/crm/resources/scopes/client/Client.js +3 -3
- package/api/resources/crm/resources/stages/client/Client.js +3 -3
- package/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/crm/resources/tasks/client/Client.js +7 -7
- package/api/resources/crm/resources/users/client/Client.js +4 -4
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
- package/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/filestorage/resources/drives/client/Client.js +2 -2
- package/api/resources/filestorage/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/filestorage/resources/files/client/Client.js +5 -5
- package/api/resources/filestorage/resources/folders/client/Client.js +4 -4
- package/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
- package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
- package/api/resources/filestorage/resources/groups/client/Client.js +2 -2
- package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
- package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/filestorage/resources/scopes/client/Client.js +3 -3
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/filestorage/resources/users/client/Client.js +2 -2
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/hris/resources/accountToken/client/Client.js +1 -1
- package/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/hris/resources/availableActions/client/Client.js +1 -1
- package/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
- package/api/resources/hris/resources/benefits/client/Client.js +2 -2
- package/api/resources/hris/resources/companies/client/Client.js +2 -2
- package/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/hris/resources/dependents/client/Client.js +2 -2
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
- package/api/resources/hris/resources/employees/client/Client.js +5 -5
- package/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
- package/api/resources/hris/resources/employments/client/Client.js +2 -2
- package/api/resources/hris/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/hris/resources/forceResync/client/Client.js +1 -1
- package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
- package/api/resources/hris/resources/groups/client/Client.js +2 -2
- package/api/resources/hris/resources/issues/client/Client.js +2 -2
- package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/hris/resources/locations/client/Client.js +2 -2
- package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
- package/api/resources/hris/resources/payGroups/client/Client.js +2 -2
- package/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
- package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/hris/resources/scopes/client/Client.js +3 -3
- package/api/resources/hris/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/hris/resources/teams/client/Client.js +2 -2
- package/api/resources/hris/resources/timeOff/client/Client.js +4 -4
- package/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
- package/api/resources/hris/resources/timesheetEntries/client/Client.js +4 -4
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
- package/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
- package/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/api/resources/ticketing/resources/collections/client/Client.js +3 -3
- package/api/resources/ticketing/resources/comments/client/Client.js +4 -4
- package/api/resources/ticketing/resources/contacts/client/Client.js +4 -4
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/ticketing/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
- package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
- package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
- package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
- package/api/resources/ticketing/resources/projects/client/Client.js +3 -3
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/ticketing/resources/roles/client/Client.js +2 -2
- package/api/resources/ticketing/resources/scopes/client/Client.js +3 -3
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/ticketing/resources/tags/client/Client.js +2 -2
- package/api/resources/ticketing/resources/teams/client/Client.js +2 -2
- package/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
- package/api/resources/ticketing/resources/users/client/Client.js +2 -2
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +9 -9
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +8 -5
- package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/addresses/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +8 -5
- package/dist/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/contacts/client/Client.d.ts +7 -0
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +91 -6
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +9 -1
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/contacts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/expenses/client/Client.d.ts +14 -0
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +167 -6
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.d.ts +9 -1
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/expenses/client/requests/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/forceResync/client/Client.d.ts +1 -1
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/invoices/client/Client.d.ts +14 -0
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +169 -8
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts +9 -1
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/invoices/client/requests/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/issues/client/Client.d.ts +1 -1
- package/dist/api/resources/accounting/resources/issues/client/Client.js +7 -4
- package/dist/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/items/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/items/client/requests/ItemsListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/items/types/ItemsListRequestExpand.d.ts +25 -1
- package/dist/api/resources/accounting/resources/items/types/ItemsListRequestExpand.js +24 -0
- package/dist/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.d.ts +25 -1
- package/dist/api/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.js +24 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.d.ts +14 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +167 -6
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.d.ts +9 -1
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +9 -2
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +1 -1
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/payments/client/Client.d.ts +14 -0
- package/dist/api/resources/accounting/resources/payments/client/Client.js +169 -8
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.d.ts +9 -1
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/payments/client/requests/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +14 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +167 -6
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.d.ts +9 -1
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/scopes/client/Client.d.ts +3 -3
- package/dist/api/resources/accounting/resources/scopes/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.d.ts +5 -1
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/accounting/types/Account.d.ts +1 -1
- package/dist/api/resources/accounting/types/AccountDetails.d.ts +2 -0
- package/dist/api/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/api/resources/accounting/types/AccountDetailsAndActionsStatusEnum.d.ts +3 -1
- package/dist/api/resources/accounting/types/AccountDetailsAndActionsStatusEnum.js +1 -0
- package/dist/api/resources/accounting/types/AccountIntegration.d.ts +4 -2
- package/dist/api/resources/accounting/types/AccountingAttachment.d.ts +1 -1
- package/dist/api/resources/accounting/types/AccountingPeriod.d.ts +7 -3
- package/dist/api/resources/accounting/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/accounting/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/accounting/types/BalanceSheet.d.ts +1 -1
- package/dist/api/resources/accounting/types/CashFlowStatement.d.ts +1 -1
- package/dist/api/resources/accounting/types/CompanyInfo.d.ts +1 -1
- package/dist/api/resources/accounting/types/ComponentTypeEnum.d.ts +12 -0
- package/dist/api/resources/accounting/types/ComponentTypeEnum.js +10 -0
- package/dist/api/resources/accounting/types/Contact.d.ts +2 -1
- package/dist/api/resources/accounting/types/ContactRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/CreditNote.d.ts +3 -1
- package/dist/api/resources/accounting/types/CreditNoteLineItem.d.ts +4 -2
- package/dist/api/resources/accounting/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/accounting/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/accounting/types/Expense.d.ts +4 -1
- package/dist/api/resources/accounting/types/ExpenseLine.d.ts +4 -1
- package/dist/api/resources/accounting/types/ExpenseLineRequest.d.ts +4 -0
- package/dist/api/resources/accounting/types/ExpenseRequest.d.ts +3 -0
- package/dist/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/dist/api/resources/accounting/types/FieldFormatEnum.d.ts +20 -0
- package/dist/api/resources/accounting/types/FieldFormatEnum.js +14 -0
- package/dist/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/dist/api/resources/accounting/types/FieldTypeEnum.d.ts +20 -0
- package/dist/api/resources/accounting/types/FieldTypeEnum.js +14 -0
- package/dist/api/resources/accounting/types/IncomeStatement.d.ts +1 -1
- package/dist/api/resources/accounting/types/Invoice.d.ts +10 -4
- package/dist/api/resources/accounting/types/InvoiceLineItem.d.ts +5 -1
- package/dist/api/resources/accounting/types/InvoiceLineItemRequest.d.ts +4 -0
- package/dist/api/resources/accounting/types/InvoiceRequest.d.ts +10 -5
- package/dist/api/resources/accounting/types/Item.d.ts +5 -1
- package/dist/api/resources/accounting/types/ItemFormatEnum.d.ts +20 -0
- package/dist/api/resources/accounting/types/ItemFormatEnum.js +14 -0
- package/dist/api/resources/accounting/types/ItemPurchaseTaxRate.d.ts +8 -0
- package/dist/api/resources/accounting/types/ItemPurchaseTaxRate.js +5 -0
- package/dist/api/resources/accounting/types/ItemSalesTaxRate.d.ts +8 -0
- package/dist/api/resources/accounting/types/ItemSalesTaxRate.js +5 -0
- package/dist/api/resources/accounting/types/ItemSchema.d.ts +9 -0
- package/dist/api/resources/accounting/types/ItemSchema.js +5 -0
- package/dist/api/resources/accounting/types/ItemTypeEnum.d.ts +20 -0
- package/dist/api/resources/accounting/types/ItemTypeEnum.js +14 -0
- package/dist/api/resources/accounting/types/JournalEntry.d.ts +8 -4
- package/dist/api/resources/accounting/types/JournalEntryRequest.d.ts +3 -0
- package/dist/api/resources/accounting/types/JournalLine.d.ts +5 -1
- package/dist/api/resources/accounting/types/JournalLineRequest.d.ts +4 -0
- package/dist/api/resources/accounting/types/LanguageEnum.d.ts +12 -0
- package/dist/api/resources/accounting/types/LanguageEnum.js +10 -0
- package/dist/api/resources/accounting/types/PaginatedRemoteFieldClassList.d.ts +9 -0
- package/dist/api/resources/accounting/types/PaginatedRemoteFieldClassList.js +5 -0
- package/dist/api/resources/accounting/types/PatchedPaymentRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/Payment.d.ts +5 -4
- package/dist/api/resources/accounting/types/PaymentLineItemRequest.d.ts +2 -0
- package/dist/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/PurchaseOrder.d.ts +7 -4
- package/dist/api/resources/accounting/types/PurchaseOrderLineItem.d.ts +5 -2
- package/dist/api/resources/accounting/types/PurchaseOrderLineItemRequest.d.ts +4 -1
- package/dist/api/resources/accounting/types/PurchaseOrderRequest.d.ts +3 -0
- package/dist/api/resources/accounting/types/RemoteField.d.ts +8 -0
- package/dist/api/resources/accounting/types/RemoteField.js +5 -0
- package/dist/api/resources/accounting/types/RemoteFieldApi.d.ts +1 -1
- package/dist/api/resources/accounting/types/RemoteFieldApiResponse.d.ts +1 -0
- package/dist/api/resources/accounting/types/RemoteFieldClass.d.ts +16 -0
- package/dist/api/resources/accounting/types/RemoteFieldClass.js +5 -0
- package/dist/api/resources/accounting/types/RemoteFieldRequest.d.ts +8 -0
- package/dist/api/resources/accounting/types/RemoteFieldRequest.js +5 -0
- package/dist/api/resources/accounting/types/RemoteFieldRequestRemoteFieldClass.d.ts +5 -0
- package/dist/api/resources/accounting/types/RemoteFieldRequestRemoteFieldClass.js +5 -0
- package/dist/api/resources/accounting/types/TaxComponent.d.ts +39 -0
- package/dist/api/resources/accounting/types/TaxComponent.js +5 -0
- package/dist/api/resources/accounting/types/TaxComponentComponentType.d.ts +11 -0
- package/dist/api/resources/accounting/types/TaxComponentComponentType.js +5 -0
- package/dist/api/resources/accounting/types/TaxRate.d.ts +18 -3
- package/dist/api/resources/accounting/types/TaxRateStatus.d.ts +11 -0
- package/dist/api/resources/accounting/types/TaxRateStatus.js +5 -0
- package/dist/api/resources/accounting/types/TaxRateTaxComponentsItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/TaxRateTaxComponentsItem.js +5 -0
- package/dist/api/resources/accounting/types/TrackingCategory.d.ts +1 -1
- package/dist/api/resources/accounting/types/Transaction.d.ts +3 -1
- package/dist/api/resources/accounting/types/TransactionLineItem.d.ts +4 -3
- package/dist/api/resources/accounting/types/VendorCredit.d.ts +4 -2
- package/dist/api/resources/accounting/types/VendorCreditLine.d.ts +5 -3
- package/dist/api/resources/accounting/types/index.d.ts +20 -2
- package/dist/api/resources/accounting/types/index.js +20 -2
- package/dist/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/activities/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/applications/client/Client.js +5 -5
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/attachments/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/candidates/client/Client.js +7 -7
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/departments/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/eeocs/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/ats/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/interviews/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/jobPostings/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/jobs/client/Client.js +3 -3
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/offers/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/offices/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/users/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/accounts/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/contacts/client/Client.js +8 -8
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +5 -5
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/engagements/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/crm/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/leads/client/Client.js +5 -5
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/notes/client/Client.js +5 -5
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/stages/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/tasks/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/users/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/drives/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/filestorage/resources/files/client/Client.js +5 -5
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/users/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/benefits/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/companies/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/dependents/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/employees/client/Client.js +5 -5
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/employments/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/hris/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/groups/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/locations/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/teams/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/timeOff/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/roles/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
- package/dist/api/resources/ticketing/resources/users/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.js +24 -0
- package/dist/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.js +24 -0
- package/dist/serialization/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -1
- package/dist/serialization/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.js +4 -1
- package/dist/serialization/resources/accounting/types/AccountDetails.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/AccountDetails.js +1 -0
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActions.js +1 -0
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActionsStatusEnum.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActionsStatusEnum.js +1 -1
- package/dist/serialization/resources/accounting/types/AccountIntegration.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/AccountIntegration.js +1 -0
- package/dist/serialization/resources/accounting/types/AccountingPeriod.d.ts +5 -2
- package/dist/serialization/resources/accounting/types/AccountingPeriod.js +8 -3
- package/dist/serialization/resources/accounting/types/ComponentTypeEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/ComponentTypeEnum.js +31 -0
- package/dist/serialization/resources/accounting/types/Contact.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/Contact.js +3 -0
- package/dist/serialization/resources/accounting/types/ContactRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/ContactRequest.js +3 -0
- package/dist/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/CreditNote.js +1 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +2 -1
- package/dist/serialization/resources/accounting/types/CreditNoteLineItem.js +2 -1
- package/dist/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/accounting/types/Expense.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/Expense.js +4 -0
- package/dist/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseLine.js +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineRequest.js +4 -0
- package/dist/serialization/resources/accounting/types/ExpenseRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/ExpenseRequest.js +4 -0
- package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +3 -0
- package/dist/serialization/resources/accounting/types/FieldFormatEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/FieldFormatEnum.js +31 -0
- package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +3 -0
- package/dist/serialization/resources/accounting/types/FieldTypeEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/FieldTypeEnum.js +31 -0
- package/dist/serialization/resources/accounting/types/Invoice.d.ts +4 -2
- package/dist/serialization/resources/accounting/types/Invoice.js +12 -8
- package/dist/serialization/resources/accounting/types/InvoiceLineItem.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItem.js +4 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemRequest.js +4 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequest.js +4 -0
- package/dist/serialization/resources/accounting/types/Item.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/Item.js +2 -0
- package/dist/serialization/resources/accounting/types/ItemFormatEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/ItemFormatEnum.js +31 -0
- package/dist/serialization/resources/accounting/types/ItemPurchaseTaxRate.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/ItemPurchaseTaxRate.js +43 -0
- package/dist/serialization/resources/accounting/types/ItemSalesTaxRate.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/ItemSalesTaxRate.js +43 -0
- package/dist/serialization/resources/accounting/types/ItemSchema.d.ts +14 -0
- package/dist/serialization/resources/accounting/types/ItemSchema.js +44 -0
- package/dist/serialization/resources/accounting/types/ItemTypeEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/ItemTypeEnum.js +31 -0
- package/dist/serialization/resources/accounting/types/JournalEntry.d.ts +4 -2
- package/dist/serialization/resources/accounting/types/JournalEntry.js +6 -2
- package/dist/serialization/resources/accounting/types/JournalEntryRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/JournalEntryRequest.js +4 -0
- package/dist/serialization/resources/accounting/types/JournalLine.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/JournalLine.js +4 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequest.js +4 -0
- package/dist/serialization/resources/accounting/types/LanguageEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/LanguageEnum.js +31 -0
- package/dist/serialization/resources/accounting/types/PaginatedRemoteFieldClassList.d.ts +14 -0
- package/dist/serialization/resources/accounting/types/PaginatedRemoteFieldClassList.js +46 -0
- package/dist/serialization/resources/accounting/types/PatchedPaymentRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/PatchedPaymentRequest.js +3 -0
- package/dist/serialization/resources/accounting/types/Payment.d.ts +3 -2
- package/dist/serialization/resources/accounting/types/Payment.js +5 -2
- package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.js +12 -0
- package/dist/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/PaymentRequest.js +3 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrder.d.ts +3 -1
- package/dist/serialization/resources/accounting/types/PurchaseOrder.js +7 -3
- package/dist/serialization/resources/accounting/types/PurchaseOrderLineItem.d.ts +3 -1
- package/dist/serialization/resources/accounting/types/PurchaseOrderLineItem.js +5 -1
- package/dist/serialization/resources/accounting/types/PurchaseOrderLineItemRequest.d.ts +3 -1
- package/dist/serialization/resources/accounting/types/PurchaseOrderLineItemRequest.js +5 -1
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.js +4 -0
- package/dist/serialization/resources/accounting/types/RemoteField.d.ts +13 -0
- package/dist/serialization/resources/accounting/types/RemoteField.js +43 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldApi.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/RemoteFieldApi.js +1 -1
- package/dist/serialization/resources/accounting/types/RemoteFieldApiResponse.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldApiResponse.js +3 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldClass.d.ts +21 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldClass.js +51 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldRequest.d.ts +13 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldRequest.js +43 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldRequestRemoteFieldClass.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldRequestRemoteFieldClass.js +43 -0
- package/dist/serialization/resources/accounting/types/TaxComponent.d.ts +20 -0
- package/dist/serialization/resources/accounting/types/TaxComponent.js +50 -0
- package/dist/serialization/resources/accounting/types/TaxComponentComponentType.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/TaxComponentComponentType.js +43 -0
- package/dist/serialization/resources/accounting/types/TaxRate.d.ts +6 -1
- package/dist/serialization/resources/accounting/types/TaxRate.js +8 -1
- package/dist/serialization/resources/accounting/types/TaxRateStatus.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/TaxRateStatus.js +43 -0
- package/dist/serialization/resources/accounting/types/TaxRateTaxComponentsItem.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/TaxRateTaxComponentsItem.js +43 -0
- package/dist/serialization/resources/accounting/types/Transaction.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/Transaction.js +1 -0
- package/dist/serialization/resources/accounting/types/TransactionLineItem.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/TransactionLineItem.js +1 -1
- package/dist/serialization/resources/accounting/types/VendorCredit.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/VendorCredit.js +1 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLine.d.ts +2 -1
- package/dist/serialization/resources/accounting/types/VendorCreditLine.js +2 -1
- package/dist/serialization/resources/accounting/types/index.d.ts +20 -2
- package/dist/serialization/resources/accounting/types/index.js +20 -2
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/package.json +1 -1
- package/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/resources/items/types/ItemsListRequestExpand.js +24 -0
- package/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/resources/items/types/ItemsRetrieveRequestExpand.js +24 -0
- package/serialization/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -1
- package/serialization/resources/accounting/resources/linkToken/client/requests/EndUserDetailsRequest.js +4 -1
- package/serialization/resources/accounting/types/AccountDetails.d.ts +1 -0
- package/serialization/resources/accounting/types/AccountDetails.js +1 -0
- package/serialization/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
- package/serialization/resources/accounting/types/AccountDetailsAndActions.js +1 -0
- package/serialization/resources/accounting/types/AccountDetailsAndActionsStatusEnum.d.ts +1 -1
- package/serialization/resources/accounting/types/AccountDetailsAndActionsStatusEnum.js +1 -1
- package/serialization/resources/accounting/types/AccountIntegration.d.ts +1 -0
- package/serialization/resources/accounting/types/AccountIntegration.js +1 -0
- package/serialization/resources/accounting/types/AccountingPeriod.d.ts +5 -2
- package/serialization/resources/accounting/types/AccountingPeriod.js +8 -3
- package/serialization/resources/accounting/types/ComponentTypeEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/ComponentTypeEnum.js +31 -0
- package/serialization/resources/accounting/types/Contact.d.ts +1 -0
- package/serialization/resources/accounting/types/Contact.js +3 -0
- package/serialization/resources/accounting/types/ContactRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/ContactRequest.js +3 -0
- package/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
- package/serialization/resources/accounting/types/CreditNote.js +1 -0
- package/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +2 -1
- package/serialization/resources/accounting/types/CreditNoteLineItem.js +2 -1
- package/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/accounting/types/EventTypeEnum.js +1 -0
- package/serialization/resources/accounting/types/Expense.d.ts +2 -0
- package/serialization/resources/accounting/types/Expense.js +4 -0
- package/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/serialization/resources/accounting/types/ExpenseLine.js +1 -0
- package/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/ExpenseLineRequest.js +4 -0
- package/serialization/resources/accounting/types/ExpenseRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/ExpenseRequest.js +4 -0
- package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +3 -0
- package/serialization/resources/accounting/types/FieldFormatEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/FieldFormatEnum.js +31 -0
- package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +3 -0
- package/serialization/resources/accounting/types/FieldTypeEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/FieldTypeEnum.js +31 -0
- package/serialization/resources/accounting/types/Invoice.d.ts +4 -2
- package/serialization/resources/accounting/types/Invoice.js +12 -8
- package/serialization/resources/accounting/types/InvoiceLineItem.d.ts +2 -0
- package/serialization/resources/accounting/types/InvoiceLineItem.js +4 -0
- package/serialization/resources/accounting/types/InvoiceLineItemRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/InvoiceLineItemRequest.js +4 -0
- package/serialization/resources/accounting/types/InvoiceRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/InvoiceRequest.js +4 -0
- package/serialization/resources/accounting/types/Item.d.ts +2 -0
- package/serialization/resources/accounting/types/Item.js +2 -0
- package/serialization/resources/accounting/types/ItemFormatEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/ItemFormatEnum.js +31 -0
- package/serialization/resources/accounting/types/ItemPurchaseTaxRate.d.ts +10 -0
- package/serialization/resources/accounting/types/ItemPurchaseTaxRate.js +43 -0
- package/serialization/resources/accounting/types/ItemSalesTaxRate.d.ts +10 -0
- package/serialization/resources/accounting/types/ItemSalesTaxRate.js +43 -0
- package/serialization/resources/accounting/types/ItemSchema.d.ts +14 -0
- package/serialization/resources/accounting/types/ItemSchema.js +44 -0
- package/serialization/resources/accounting/types/ItemTypeEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/ItemTypeEnum.js +31 -0
- package/serialization/resources/accounting/types/JournalEntry.d.ts +4 -2
- package/serialization/resources/accounting/types/JournalEntry.js +6 -2
- package/serialization/resources/accounting/types/JournalEntryRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/JournalEntryRequest.js +4 -0
- package/serialization/resources/accounting/types/JournalLine.d.ts +2 -0
- package/serialization/resources/accounting/types/JournalLine.js +4 -0
- package/serialization/resources/accounting/types/JournalLineRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/JournalLineRequest.js +4 -0
- package/serialization/resources/accounting/types/LanguageEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/LanguageEnum.js +31 -0
- package/serialization/resources/accounting/types/PaginatedRemoteFieldClassList.d.ts +14 -0
- package/serialization/resources/accounting/types/PaginatedRemoteFieldClassList.js +46 -0
- package/serialization/resources/accounting/types/PatchedPaymentRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/PatchedPaymentRequest.js +3 -0
- package/serialization/resources/accounting/types/Payment.d.ts +3 -2
- package/serialization/resources/accounting/types/Payment.js +5 -2
- package/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/PaymentLineItemRequest.js +12 -0
- package/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/PaymentRequest.js +3 -0
- package/serialization/resources/accounting/types/PurchaseOrder.d.ts +3 -1
- package/serialization/resources/accounting/types/PurchaseOrder.js +7 -3
- package/serialization/resources/accounting/types/PurchaseOrderLineItem.d.ts +3 -1
- package/serialization/resources/accounting/types/PurchaseOrderLineItem.js +5 -1
- package/serialization/resources/accounting/types/PurchaseOrderLineItemRequest.d.ts +3 -1
- package/serialization/resources/accounting/types/PurchaseOrderLineItemRequest.js +5 -1
- package/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequest.js +4 -0
- package/serialization/resources/accounting/types/RemoteField.d.ts +13 -0
- package/serialization/resources/accounting/types/RemoteField.js +43 -0
- package/serialization/resources/accounting/types/RemoteFieldApi.d.ts +1 -1
- package/serialization/resources/accounting/types/RemoteFieldApi.js +1 -1
- package/serialization/resources/accounting/types/RemoteFieldApiResponse.d.ts +1 -0
- package/serialization/resources/accounting/types/RemoteFieldApiResponse.js +3 -0
- package/serialization/resources/accounting/types/RemoteFieldClass.d.ts +21 -0
- package/serialization/resources/accounting/types/RemoteFieldClass.js +51 -0
- package/serialization/resources/accounting/types/RemoteFieldRequest.d.ts +13 -0
- package/serialization/resources/accounting/types/RemoteFieldRequest.js +43 -0
- package/serialization/resources/accounting/types/RemoteFieldRequestRemoteFieldClass.d.ts +10 -0
- package/serialization/resources/accounting/types/RemoteFieldRequestRemoteFieldClass.js +43 -0
- package/serialization/resources/accounting/types/TaxComponent.d.ts +20 -0
- package/serialization/resources/accounting/types/TaxComponent.js +50 -0
- package/serialization/resources/accounting/types/TaxComponentComponentType.d.ts +10 -0
- package/serialization/resources/accounting/types/TaxComponentComponentType.js +43 -0
- package/serialization/resources/accounting/types/TaxRate.d.ts +6 -1
- package/serialization/resources/accounting/types/TaxRate.js +8 -1
- package/serialization/resources/accounting/types/TaxRateStatus.d.ts +10 -0
- package/serialization/resources/accounting/types/TaxRateStatus.js +43 -0
- package/serialization/resources/accounting/types/TaxRateTaxComponentsItem.d.ts +10 -0
- package/serialization/resources/accounting/types/TaxRateTaxComponentsItem.js +43 -0
- package/serialization/resources/accounting/types/Transaction.d.ts +1 -0
- package/serialization/resources/accounting/types/Transaction.js +1 -0
- package/serialization/resources/accounting/types/TransactionLineItem.d.ts +1 -1
- package/serialization/resources/accounting/types/TransactionLineItem.js +1 -1
- package/serialization/resources/accounting/types/VendorCredit.d.ts +1 -0
- package/serialization/resources/accounting/types/VendorCredit.js +1 -0
- package/serialization/resources/accounting/types/VendorCreditLine.d.ts +2 -1
- package/serialization/resources/accounting/types/VendorCreditLine.js +2 -1
- package/serialization/resources/accounting/types/index.d.ts +20 -2
- package/serialization/resources/accounting/types/index.js +20 -2
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface ExpensesRemoteFieldClassesListRequest {
|
|
9
|
+
/**
|
|
10
|
+
* The pagination cursor value.
|
|
11
|
+
*/
|
|
12
|
+
cursor?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
|
|
15
|
+
*/
|
|
16
|
+
includeDeletedData?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
19
|
+
*/
|
|
20
|
+
includeRemoteData?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
23
|
+
*/
|
|
24
|
+
includeShellData?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If provided, will only return remote field classes with this is_common_model_field value
|
|
27
|
+
*/
|
|
28
|
+
isCommonModelField?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Number of results to return per page.
|
|
31
|
+
*/
|
|
32
|
+
pageSize?: number;
|
|
33
|
+
}
|
package/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts
CHANGED
|
@@ -15,4 +15,8 @@ export interface ExpensesRetrieveRequest {
|
|
|
15
15
|
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
16
16
|
*/
|
|
17
17
|
includeRemoteData?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
|
|
20
|
+
*/
|
|
21
|
+
includeRemoteFields?: boolean;
|
|
18
22
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export { ExpensesListRequest } from "./ExpensesListRequest";
|
|
2
2
|
export { ExpenseEndpointRequest } from "./ExpenseEndpointRequest";
|
|
3
3
|
export { ExpensesRetrieveRequest } from "./ExpensesRetrieveRequest";
|
|
4
|
+
export { ExpensesLinesRemoteFieldClassesListRequest } from "./ExpensesLinesRemoteFieldClassesListRequest";
|
|
5
|
+
export { ExpensesRemoteFieldClassesListRequest } from "./ExpensesRemoteFieldClassesListRequest";
|
|
@@ -67,7 +67,7 @@ class FieldMapping {
|
|
|
67
67
|
: undefined,
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
70
|
-
"X-Fern-SDK-Version": "1.0.
|
|
70
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
71
71
|
},
|
|
72
72
|
contentType: "application/json",
|
|
73
73
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -129,7 +129,7 @@ class FieldMapping {
|
|
|
129
129
|
: undefined,
|
|
130
130
|
"X-Fern-Language": "JavaScript",
|
|
131
131
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
132
|
-
"X-Fern-SDK-Version": "1.0.
|
|
132
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
133
133
|
},
|
|
134
134
|
contentType: "application/json",
|
|
135
135
|
body: yield serializers.accounting.CreateFieldMappingRequest.jsonOrThrow(request, {
|
|
@@ -187,7 +187,7 @@ class FieldMapping {
|
|
|
187
187
|
: undefined,
|
|
188
188
|
"X-Fern-Language": "JavaScript",
|
|
189
189
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
190
|
-
"X-Fern-SDK-Version": "1.0.
|
|
190
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
191
191
|
},
|
|
192
192
|
contentType: "application/json",
|
|
193
193
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -242,7 +242,7 @@ class FieldMapping {
|
|
|
242
242
|
: undefined,
|
|
243
243
|
"X-Fern-Language": "JavaScript",
|
|
244
244
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
245
|
-
"X-Fern-SDK-Version": "1.0.
|
|
245
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
246
246
|
},
|
|
247
247
|
contentType: "application/json",
|
|
248
248
|
body: yield serializers.accounting.PatchedEditFieldMappingRequest.jsonOrThrow(request, {
|
|
@@ -308,7 +308,7 @@ class FieldMapping {
|
|
|
308
308
|
: undefined,
|
|
309
309
|
"X-Fern-Language": "JavaScript",
|
|
310
310
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
311
|
-
"X-Fern-SDK-Version": "1.0.
|
|
311
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
312
312
|
},
|
|
313
313
|
contentType: "application/json",
|
|
314
314
|
queryParameters: _queryParams,
|
|
@@ -364,7 +364,7 @@ class FieldMapping {
|
|
|
364
364
|
: undefined,
|
|
365
365
|
"X-Fern-Language": "JavaScript",
|
|
366
366
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
367
|
-
"X-Fern-SDK-Version": "1.0.
|
|
367
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
368
368
|
},
|
|
369
369
|
contentType: "application/json",
|
|
370
370
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -19,7 +19,7 @@ export declare class ForceResync {
|
|
|
19
19
|
protected readonly _options: ForceResync.Options;
|
|
20
20
|
constructor(_options: ForceResync.Options);
|
|
21
21
|
/**
|
|
22
|
-
* Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the
|
|
22
|
+
* Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API 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.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* await merge.accounting.forceResync.syncStatusResyncCreate()
|
|
@@ -49,7 +49,7 @@ class ForceResync {
|
|
|
49
49
|
this._options = _options;
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the
|
|
52
|
+
* Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API 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.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* await merge.accounting.forceResync.syncStatusResyncCreate()
|
|
@@ -67,7 +67,7 @@ class ForceResync {
|
|
|
67
67
|
: undefined,
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
70
|
-
"X-Fern-SDK-Version": "1.0.
|
|
70
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
71
71
|
},
|
|
72
72
|
contentType: "application/json",
|
|
73
73
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -69,7 +69,7 @@ class GenerateKey {
|
|
|
69
69
|
: undefined,
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
72
|
-
"X-Fern-SDK-Version": "1.0.
|
|
72
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
73
73
|
},
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
body: yield serializers.accounting.GenerateRemoteKeyRequest.jsonOrThrow(request, {
|
|
@@ -57,7 +57,7 @@ class IncomeStatements {
|
|
|
57
57
|
list(request = {}, requestOptions) {
|
|
58
58
|
var _a;
|
|
59
59
|
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
-
const { companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, modifiedAfter, modifiedBefore, pageSize, remoteId, } = request;
|
|
60
|
+
const { companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeShellData, modifiedAfter, modifiedBefore, pageSize, remoteId, } = request;
|
|
61
61
|
const _queryParams = {};
|
|
62
62
|
if (companyId != null) {
|
|
63
63
|
_queryParams["company_id"] = companyId;
|
|
@@ -80,6 +80,9 @@ class IncomeStatements {
|
|
|
80
80
|
if (includeRemoteData != null) {
|
|
81
81
|
_queryParams["include_remote_data"] = includeRemoteData.toString();
|
|
82
82
|
}
|
|
83
|
+
if (includeShellData != null) {
|
|
84
|
+
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
85
|
+
}
|
|
83
86
|
if (modifiedAfter != null) {
|
|
84
87
|
_queryParams["modified_after"] = modifiedAfter.toISOString();
|
|
85
88
|
}
|
|
@@ -102,7 +105,7 @@ class IncomeStatements {
|
|
|
102
105
|
: undefined,
|
|
103
106
|
"X-Fern-Language": "JavaScript",
|
|
104
107
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
105
|
-
"X-Fern-SDK-Version": "1.0.
|
|
108
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
106
109
|
},
|
|
107
110
|
contentType: "application/json",
|
|
108
111
|
queryParameters: _queryParams,
|
|
@@ -166,7 +169,7 @@ class IncomeStatements {
|
|
|
166
169
|
: undefined,
|
|
167
170
|
"X-Fern-Language": "JavaScript",
|
|
168
171
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
169
|
-
"X-Fern-SDK-Version": "1.0.
|
|
172
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
170
173
|
},
|
|
171
174
|
contentType: "application/json",
|
|
172
175
|
queryParameters: _queryParams,
|
|
@@ -27,13 +27,17 @@ export interface IncomeStatementsListRequest {
|
|
|
27
27
|
*/
|
|
28
28
|
expand?: "company";
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
|
|
31
31
|
*/
|
|
32
32
|
includeDeletedData?: boolean;
|
|
33
33
|
/**
|
|
34
34
|
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
35
35
|
*/
|
|
36
36
|
includeRemoteData?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
39
|
+
*/
|
|
40
|
+
includeShellData?: boolean;
|
|
37
41
|
/**
|
|
38
42
|
* If provided, only objects synced by Merge after this date time will be returned.
|
|
39
43
|
*/
|
|
@@ -50,6 +50,13 @@ export declare class Invoices {
|
|
|
50
50
|
* })
|
|
51
51
|
*/
|
|
52
52
|
partialUpdate(id: string, request: Merge.accounting.PatchedInvoiceEndpointRequest, requestOptions?: Invoices.RequestOptions): Promise<Merge.accounting.InvoiceResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Returns a list of `RemoteFieldClass` objects.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* await merge.accounting.invoices.lineItemsRemoteFieldClassesList({})
|
|
58
|
+
*/
|
|
59
|
+
lineItemsRemoteFieldClassesList(request?: Merge.accounting.InvoicesLineItemsRemoteFieldClassesListRequest, requestOptions?: Invoices.RequestOptions): Promise<Merge.accounting.PaginatedRemoteFieldClassList>;
|
|
53
60
|
/**
|
|
54
61
|
* Returns metadata for `Invoice` PATCHs.
|
|
55
62
|
*
|
|
@@ -64,5 +71,12 @@ export declare class Invoices {
|
|
|
64
71
|
* await merge.accounting.invoices.metaPostRetrieve()
|
|
65
72
|
*/
|
|
66
73
|
metaPostRetrieve(requestOptions?: Invoices.RequestOptions): Promise<Merge.accounting.MetaResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Returns a list of `RemoteFieldClass` objects.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* await merge.accounting.invoices.remoteFieldClassesList({})
|
|
79
|
+
*/
|
|
80
|
+
remoteFieldClassesList(request?: Merge.accounting.InvoicesRemoteFieldClassesListRequest, requestOptions?: Invoices.RequestOptions): Promise<Merge.accounting.PaginatedRemoteFieldClassList>;
|
|
67
81
|
protected _getAuthorizationHeader(): Promise<string>;
|
|
68
82
|
}
|
|
@@ -68,7 +68,7 @@ class Invoices {
|
|
|
68
68
|
list(request = {}, requestOptions) {
|
|
69
69
|
var _a;
|
|
70
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
-
const { companyId, contactId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, issueDateAfter, issueDateBefore, modifiedAfter, modifiedBefore, pageSize, remoteFields, remoteId, showEnumOrigins, type: type_, } = request;
|
|
71
|
+
const { companyId, contactId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, issueDateAfter, issueDateBefore, modifiedAfter, modifiedBefore, pageSize, remoteFields, remoteId, showEnumOrigins, type: type_, } = request;
|
|
72
72
|
const _queryParams = {};
|
|
73
73
|
if (companyId != null) {
|
|
74
74
|
_queryParams["company_id"] = companyId;
|
|
@@ -94,6 +94,12 @@ class Invoices {
|
|
|
94
94
|
if (includeRemoteData != null) {
|
|
95
95
|
_queryParams["include_remote_data"] = includeRemoteData.toString();
|
|
96
96
|
}
|
|
97
|
+
if (includeRemoteFields != null) {
|
|
98
|
+
_queryParams["include_remote_fields"] = includeRemoteFields.toString();
|
|
99
|
+
}
|
|
100
|
+
if (includeShellData != null) {
|
|
101
|
+
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
102
|
+
}
|
|
97
103
|
if (issueDateAfter != null) {
|
|
98
104
|
_queryParams["issue_date_after"] = issueDateAfter.toISOString();
|
|
99
105
|
}
|
|
@@ -131,7 +137,7 @@ class Invoices {
|
|
|
131
137
|
: undefined,
|
|
132
138
|
"X-Fern-Language": "JavaScript",
|
|
133
139
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
134
|
-
"X-Fern-SDK-Version": "1.0.
|
|
140
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
135
141
|
},
|
|
136
142
|
contentType: "application/json",
|
|
137
143
|
queryParameters: _queryParams,
|
|
@@ -197,7 +203,7 @@ class Invoices {
|
|
|
197
203
|
: undefined,
|
|
198
204
|
"X-Fern-Language": "JavaScript",
|
|
199
205
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
200
|
-
"X-Fern-SDK-Version": "1.0.
|
|
206
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
201
207
|
},
|
|
202
208
|
contentType: "application/json",
|
|
203
209
|
queryParameters: _queryParams,
|
|
@@ -246,7 +252,7 @@ class Invoices {
|
|
|
246
252
|
retrieve(id, request = {}, requestOptions) {
|
|
247
253
|
var _a;
|
|
248
254
|
return __awaiter(this, void 0, void 0, function* () {
|
|
249
|
-
const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request;
|
|
255
|
+
const { expand, includeRemoteData, includeRemoteFields, remoteFields, showEnumOrigins } = request;
|
|
250
256
|
const _queryParams = {};
|
|
251
257
|
if (expand != null) {
|
|
252
258
|
_queryParams["expand"] = expand;
|
|
@@ -254,6 +260,9 @@ class Invoices {
|
|
|
254
260
|
if (includeRemoteData != null) {
|
|
255
261
|
_queryParams["include_remote_data"] = includeRemoteData.toString();
|
|
256
262
|
}
|
|
263
|
+
if (includeRemoteFields != null) {
|
|
264
|
+
_queryParams["include_remote_fields"] = includeRemoteFields.toString();
|
|
265
|
+
}
|
|
257
266
|
if (remoteFields != null) {
|
|
258
267
|
_queryParams["remote_fields"] = remoteFields;
|
|
259
268
|
}
|
|
@@ -270,7 +279,7 @@ class Invoices {
|
|
|
270
279
|
: undefined,
|
|
271
280
|
"X-Fern-Language": "JavaScript",
|
|
272
281
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
273
|
-
"X-Fern-SDK-Version": "1.0.
|
|
282
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
274
283
|
},
|
|
275
284
|
contentType: "application/json",
|
|
276
285
|
queryParameters: _queryParams,
|
|
@@ -336,7 +345,7 @@ class Invoices {
|
|
|
336
345
|
: undefined,
|
|
337
346
|
"X-Fern-Language": "JavaScript",
|
|
338
347
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
339
|
-
"X-Fern-SDK-Version": "1.0.
|
|
348
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
340
349
|
},
|
|
341
350
|
contentType: "application/json",
|
|
342
351
|
queryParameters: _queryParams,
|
|
@@ -376,6 +385,82 @@ class Invoices {
|
|
|
376
385
|
}
|
|
377
386
|
});
|
|
378
387
|
}
|
|
388
|
+
/**
|
|
389
|
+
* Returns a list of `RemoteFieldClass` objects.
|
|
390
|
+
*
|
|
391
|
+
* @example
|
|
392
|
+
* await merge.accounting.invoices.lineItemsRemoteFieldClassesList({})
|
|
393
|
+
*/
|
|
394
|
+
lineItemsRemoteFieldClassesList(request = {}, requestOptions) {
|
|
395
|
+
var _a;
|
|
396
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
397
|
+
const { cursor, includeDeletedData, includeRemoteData, includeShellData, isCommonModelField, pageSize } = request;
|
|
398
|
+
const _queryParams = {};
|
|
399
|
+
if (cursor != null) {
|
|
400
|
+
_queryParams["cursor"] = cursor;
|
|
401
|
+
}
|
|
402
|
+
if (includeDeletedData != null) {
|
|
403
|
+
_queryParams["include_deleted_data"] = includeDeletedData.toString();
|
|
404
|
+
}
|
|
405
|
+
if (includeRemoteData != null) {
|
|
406
|
+
_queryParams["include_remote_data"] = includeRemoteData.toString();
|
|
407
|
+
}
|
|
408
|
+
if (includeShellData != null) {
|
|
409
|
+
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
410
|
+
}
|
|
411
|
+
if (isCommonModelField != null) {
|
|
412
|
+
_queryParams["is_common_model_field"] = isCommonModelField.toString();
|
|
413
|
+
}
|
|
414
|
+
if (pageSize != null) {
|
|
415
|
+
_queryParams["page_size"] = pageSize.toString();
|
|
416
|
+
}
|
|
417
|
+
const _response = yield core.fetcher({
|
|
418
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.MergeEnvironment.Production, "accounting/v1/invoices/line-items/remote-field-classes"),
|
|
419
|
+
method: "GET",
|
|
420
|
+
headers: {
|
|
421
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
422
|
+
"X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
423
|
+
? yield core.Supplier.get(this._options.accountToken)
|
|
424
|
+
: undefined,
|
|
425
|
+
"X-Fern-Language": "JavaScript",
|
|
426
|
+
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
427
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
428
|
+
},
|
|
429
|
+
contentType: "application/json",
|
|
430
|
+
queryParameters: _queryParams,
|
|
431
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
432
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
433
|
+
});
|
|
434
|
+
if (_response.ok) {
|
|
435
|
+
return yield serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, {
|
|
436
|
+
unrecognizedObjectKeys: "passthrough",
|
|
437
|
+
allowUnrecognizedUnionMembers: true,
|
|
438
|
+
allowUnrecognizedEnumValues: true,
|
|
439
|
+
skipValidation: true,
|
|
440
|
+
breadcrumbsPrefix: ["response"],
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
if (_response.error.reason === "status-code") {
|
|
444
|
+
throw new errors.MergeError({
|
|
445
|
+
statusCode: _response.error.statusCode,
|
|
446
|
+
body: _response.error.body,
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
switch (_response.error.reason) {
|
|
450
|
+
case "non-json":
|
|
451
|
+
throw new errors.MergeError({
|
|
452
|
+
statusCode: _response.error.statusCode,
|
|
453
|
+
body: _response.error.rawBody,
|
|
454
|
+
});
|
|
455
|
+
case "timeout":
|
|
456
|
+
throw new errors.MergeTimeoutError();
|
|
457
|
+
case "unknown":
|
|
458
|
+
throw new errors.MergeError({
|
|
459
|
+
message: _response.error.errorMessage,
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
}
|
|
379
464
|
/**
|
|
380
465
|
* Returns metadata for `Invoice` PATCHs.
|
|
381
466
|
*
|
|
@@ -395,7 +480,7 @@ class Invoices {
|
|
|
395
480
|
: undefined,
|
|
396
481
|
"X-Fern-Language": "JavaScript",
|
|
397
482
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
398
|
-
"X-Fern-SDK-Version": "1.0.
|
|
483
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
399
484
|
},
|
|
400
485
|
contentType: "application/json",
|
|
401
486
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -450,7 +535,7 @@ class Invoices {
|
|
|
450
535
|
: undefined,
|
|
451
536
|
"X-Fern-Language": "JavaScript",
|
|
452
537
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
453
|
-
"X-Fern-SDK-Version": "1.0.
|
|
538
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
454
539
|
},
|
|
455
540
|
contentType: "application/json",
|
|
456
541
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -486,6 +571,82 @@ class Invoices {
|
|
|
486
571
|
}
|
|
487
572
|
});
|
|
488
573
|
}
|
|
574
|
+
/**
|
|
575
|
+
* Returns a list of `RemoteFieldClass` objects.
|
|
576
|
+
*
|
|
577
|
+
* @example
|
|
578
|
+
* await merge.accounting.invoices.remoteFieldClassesList({})
|
|
579
|
+
*/
|
|
580
|
+
remoteFieldClassesList(request = {}, requestOptions) {
|
|
581
|
+
var _a;
|
|
582
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
583
|
+
const { cursor, includeDeletedData, includeRemoteData, includeShellData, isCommonModelField, pageSize } = request;
|
|
584
|
+
const _queryParams = {};
|
|
585
|
+
if (cursor != null) {
|
|
586
|
+
_queryParams["cursor"] = cursor;
|
|
587
|
+
}
|
|
588
|
+
if (includeDeletedData != null) {
|
|
589
|
+
_queryParams["include_deleted_data"] = includeDeletedData.toString();
|
|
590
|
+
}
|
|
591
|
+
if (includeRemoteData != null) {
|
|
592
|
+
_queryParams["include_remote_data"] = includeRemoteData.toString();
|
|
593
|
+
}
|
|
594
|
+
if (includeShellData != null) {
|
|
595
|
+
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
596
|
+
}
|
|
597
|
+
if (isCommonModelField != null) {
|
|
598
|
+
_queryParams["is_common_model_field"] = isCommonModelField.toString();
|
|
599
|
+
}
|
|
600
|
+
if (pageSize != null) {
|
|
601
|
+
_queryParams["page_size"] = pageSize.toString();
|
|
602
|
+
}
|
|
603
|
+
const _response = yield core.fetcher({
|
|
604
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.MergeEnvironment.Production, "accounting/v1/invoices/remote-field-classes"),
|
|
605
|
+
method: "GET",
|
|
606
|
+
headers: {
|
|
607
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
608
|
+
"X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
609
|
+
? yield core.Supplier.get(this._options.accountToken)
|
|
610
|
+
: undefined,
|
|
611
|
+
"X-Fern-Language": "JavaScript",
|
|
612
|
+
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
613
|
+
"X-Fern-SDK-Version": "1.0.10",
|
|
614
|
+
},
|
|
615
|
+
contentType: "application/json",
|
|
616
|
+
queryParameters: _queryParams,
|
|
617
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
618
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
619
|
+
});
|
|
620
|
+
if (_response.ok) {
|
|
621
|
+
return yield serializers.accounting.PaginatedRemoteFieldClassList.parseOrThrow(_response.body, {
|
|
622
|
+
unrecognizedObjectKeys: "passthrough",
|
|
623
|
+
allowUnrecognizedUnionMembers: true,
|
|
624
|
+
allowUnrecognizedEnumValues: true,
|
|
625
|
+
skipValidation: true,
|
|
626
|
+
breadcrumbsPrefix: ["response"],
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
if (_response.error.reason === "status-code") {
|
|
630
|
+
throw new errors.MergeError({
|
|
631
|
+
statusCode: _response.error.statusCode,
|
|
632
|
+
body: _response.error.body,
|
|
633
|
+
});
|
|
634
|
+
}
|
|
635
|
+
switch (_response.error.reason) {
|
|
636
|
+
case "non-json":
|
|
637
|
+
throw new errors.MergeError({
|
|
638
|
+
statusCode: _response.error.statusCode,
|
|
639
|
+
body: _response.error.rawBody,
|
|
640
|
+
});
|
|
641
|
+
case "timeout":
|
|
642
|
+
throw new errors.MergeTimeoutError();
|
|
643
|
+
case "unknown":
|
|
644
|
+
throw new errors.MergeError({
|
|
645
|
+
message: _response.error.errorMessage,
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
});
|
|
649
|
+
}
|
|
489
650
|
_getAuthorizationHeader() {
|
|
490
651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
491
652
|
return `Bearer ${yield core.Supplier.get(this._options.apiKey)}`;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface InvoicesLineItemsRemoteFieldClassesListRequest {
|
|
9
|
+
/**
|
|
10
|
+
* The pagination cursor value.
|
|
11
|
+
*/
|
|
12
|
+
cursor?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
|
|
15
|
+
*/
|
|
16
|
+
includeDeletedData?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
19
|
+
*/
|
|
20
|
+
includeRemoteData?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
23
|
+
*/
|
|
24
|
+
includeShellData?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If provided, will only return remote field classes with this is_common_model_field value
|
|
27
|
+
*/
|
|
28
|
+
isCommonModelField?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Number of results to return per page.
|
|
31
|
+
*/
|
|
32
|
+
pageSize?: number;
|
|
33
|
+
}
|
package/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts
CHANGED
|
@@ -32,13 +32,21 @@ export interface InvoicesListRequest {
|
|
|
32
32
|
*/
|
|
33
33
|
expand?: Merge.accounting.InvoicesListRequestExpand;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
|
|
36
36
|
*/
|
|
37
37
|
includeDeletedData?: boolean;
|
|
38
38
|
/**
|
|
39
39
|
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
40
40
|
*/
|
|
41
41
|
includeRemoteData?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
|
|
44
|
+
*/
|
|
45
|
+
includeRemoteFields?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
48
|
+
*/
|
|
49
|
+
includeShellData?: boolean;
|
|
42
50
|
/**
|
|
43
51
|
* If provided, will only return objects created after this datetime.
|
|
44
52
|
*/
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface InvoicesRemoteFieldClassesListRequest {
|
|
9
|
+
/**
|
|
10
|
+
* The pagination cursor value.
|
|
11
|
+
*/
|
|
12
|
+
cursor?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
|
|
15
|
+
*/
|
|
16
|
+
includeDeletedData?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
19
|
+
*/
|
|
20
|
+
includeRemoteData?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
23
|
+
*/
|
|
24
|
+
includeShellData?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If provided, will only return remote field classes with this is_common_model_field value
|
|
27
|
+
*/
|
|
28
|
+
isCommonModelField?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Number of results to return per page.
|
|
31
|
+
*/
|
|
32
|
+
pageSize?: number;
|
|
33
|
+
}
|
package/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export interface InvoicesRetrieveRequest {
|
|
|
15
15
|
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
16
16
|
*/
|
|
17
17
|
includeRemoteData?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
|
|
20
|
+
*/
|
|
21
|
+
includeRemoteFields?: boolean;
|
|
18
22
|
/**
|
|
19
23
|
* Deprecated. Use show_enum_origins.
|
|
20
24
|
*/
|
|
@@ -2,3 +2,5 @@ export { InvoicesListRequest } from "./InvoicesListRequest";
|
|
|
2
2
|
export { InvoiceEndpointRequest } from "./InvoiceEndpointRequest";
|
|
3
3
|
export { InvoicesRetrieveRequest } from "./InvoicesRetrieveRequest";
|
|
4
4
|
export { PatchedInvoiceEndpointRequest } from "./PatchedInvoiceEndpointRequest";
|
|
5
|
+
export { InvoicesLineItemsRemoteFieldClassesListRequest } from "./InvoicesLineItemsRemoteFieldClassesListRequest";
|
|
6
|
+
export { InvoicesRemoteFieldClassesListRequest } from "./InvoicesRemoteFieldClassesListRequest";
|