@mergeapi/merge-node-client 1.1.1 → 1.1.2
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 +6 -6
- package/Client.js +15 -15
- package/README.md +3 -3
- package/api/resources/accounting/client/Client.d.ts +3 -0
- package/api/resources/accounting/client/Client.js +45 -40
- 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 +2 -2
- package/api/resources/accounting/resources/accounts/client/Client.js +4 -4
- 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/asyncTasks/client/Client.js +1 -1
- package/api/resources/accounting/resources/attachments/client/Client.js +4 -4
- package/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +4 -4
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +4 -4
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
- package/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
- package/api/resources/accounting/resources/contacts/client/Client.js +5 -5
- package/api/resources/accounting/resources/creditNotes/client/Client.js +4 -4
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/accounting/resources/employees/client/Client.js +2 -2
- package/api/resources/accounting/resources/expenses/client/Client.js +6 -6
- package/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +53 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +220 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/client/index.js +17 -0
- package/api/resources/{ticketing/resources/tickets/client/requests/TicketsCollaboratorsListRequest.d.ts → accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.d.ts} +34 -2
- package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +18 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/index.d.ts +2 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/index.js +2 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/index.d.ts +2 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/index.js +18 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.d.ts +21 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.js +23 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.d.ts +21 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.js +23 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/types/index.d.ts +2 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/types/index.js +18 -0
- package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
- package/api/resources/accounting/resources/index.d.ts +3 -0
- package/api/resources/accounting/resources/index.js +4 -1
- package/api/resources/accounting/resources/invoices/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/invoices/client/Client.js +16 -9
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts +16 -1
- package/api/resources/accounting/resources/invoices/types/InvoicesListRequestStatus.d.ts +12 -0
- package/api/resources/accounting/resources/invoices/types/InvoicesListRequestStatus.js +14 -0
- package/api/resources/accounting/resources/invoices/types/index.d.ts +1 -0
- package/api/resources/accounting/resources/invoices/types/index.js +1 -0
- package/api/resources/accounting/resources/issues/client/Client.js +2 -2
- package/api/resources/accounting/resources/items/client/Client.js +2 -2
- package/api/resources/accounting/resources/journalEntries/client/Client.js +6 -6
- package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
- package/api/resources/accounting/resources/payments/client/Client.js +8 -8
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +6 -6
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/scopes/client/Client.js +3 -3
- package/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
- package/api/resources/accounting/resources/transactions/client/Client.js +2 -2
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +4 -4
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/accounting/types/AccountCurrency.d.ts +1 -1
- package/api/resources/accounting/types/AccountRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/BalanceSheetCurrency.d.ts +1 -1
- package/api/resources/accounting/types/BankFeedAccountCurrency.d.ts +1 -1
- package/api/resources/accounting/types/BankFeedAccountRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/CashFlowStatementCurrency.d.ts +1 -1
- package/api/resources/accounting/types/CompanyInfoCurrency.d.ts +1 -1
- package/api/resources/accounting/types/CreditNote.d.ts +2 -2
- package/api/resources/accounting/types/CreditNoteCurrency.d.ts +1 -1
- package/api/resources/accounting/types/CreditNoteLineItem.d.ts +11 -0
- package/api/resources/accounting/types/CreditNoteLineItemRequest.d.ts +11 -0
- package/api/resources/accounting/types/CreditNoteRequestAppliedPaymentsItem.d.ts +2 -1
- package/api/resources/accounting/types/CreditNoteRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/CreditNoteRequestLineItemsItem.d.ts +1 -1
- package/api/resources/accounting/types/ExpenseCurrency.d.ts +1 -1
- package/api/resources/accounting/types/ExpenseLineCurrency.d.ts +1 -1
- package/api/resources/accounting/types/ExpenseLineRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/ExpenseRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/GeneralLedgerTransaction.d.ts +59 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionAccountingPeriod.d.ts +8 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionCompany.d.ts +8 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionCompany.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionGeneralLedgerTransactionLinesItem.d.ts +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionGeneralLedgerTransactionLinesItem.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +664 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLine.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineAccount.d.ts +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineAccount.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.d.ts +315 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineCompany.d.ts +8 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineCompany.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineContact.d.ts +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineContact.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineEmployee.d.ts +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineEmployee.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineItem.d.ts +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineItem.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineTransactionCurrency.d.ts +315 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineTransactionCurrency.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionTrackingCategoriesItem.d.ts +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionTrackingCategoriesItem.js +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionUnderlyingTransactionType.d.ts +16 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionUnderlyingTransactionType.js +5 -0
- package/api/resources/accounting/types/IncomeStatementCurrency.d.ts +1 -1
- package/api/resources/accounting/types/InvoiceCurrency.d.ts +1 -1
- package/api/resources/accounting/types/InvoiceLineItemCurrency.d.ts +1 -1
- package/api/resources/accounting/types/InvoiceLineItemRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/InvoiceRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/JournalEntryCurrency.d.ts +1 -1
- package/api/resources/accounting/types/JournalEntryRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/JournalLineCurrency.d.ts +1 -1
- package/api/resources/accounting/types/JournalLineRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/PaginatedGeneralLedgerTransactionList.d.ts +9 -0
- package/api/resources/accounting/types/PaginatedGeneralLedgerTransactionList.js +5 -0
- package/api/resources/accounting/types/PatchedPaymentRequestAppliedToLinesItem.d.ts +1 -1
- package/api/resources/accounting/types/PatchedPaymentRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/PaymentCurrency.d.ts +1 -1
- package/api/resources/accounting/types/PaymentRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/PurchaseOrderCurrency.d.ts +1 -1
- package/api/resources/accounting/types/PurchaseOrderLineItemCurrency.d.ts +1 -1
- package/api/resources/accounting/types/PurchaseOrderLineItemRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/PurchaseOrderRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/RemoteData.d.ts +12 -0
- package/api/resources/accounting/types/TrackingCategory.d.ts +1 -3
- package/api/resources/accounting/types/TrackingCategoryCompany.d.ts +1 -1
- package/api/resources/accounting/types/TransactionCurrency.d.ts +1 -1
- package/api/resources/accounting/types/{CurrencyEnum.d.ts → TransactionCurrencyEnum.d.ts} +2 -2
- package/{dist/api/resources/accounting/types/CurrencyEnum.js → api/resources/accounting/types/TransactionCurrencyEnum.js} +2 -2
- package/api/resources/accounting/types/TransactionLineItemCurrency.d.ts +1 -1
- package/api/resources/accounting/types/UnderlyingTransactionTypeEnum.d.ts +22 -0
- package/api/resources/accounting/types/UnderlyingTransactionTypeEnum.js +15 -0
- package/api/resources/accounting/types/VendorCreditCurrency.d.ts +1 -1
- package/api/resources/accounting/types/VendorCreditRequestCurrency.d.ts +1 -1
- package/api/resources/accounting/types/index.d.ts +17 -1
- package/api/resources/accounting/types/index.js +17 -1
- 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.d.ts +3 -0
- package/api/resources/ats/resources/applications/client/Client.js +8 -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/auditTrail/client/requests/AuditTrailListRequest.d.ts +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.d.ts +2 -1
- package/api/resources/ats/resources/fieldMapping/client/Client.js +32 -8
- package/api/resources/ats/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +4 -0
- package/api/resources/ats/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +13 -0
- package/api/resources/ats/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.js +5 -0
- package/api/resources/ats/resources/fieldMapping/client/requests/index.d.ts +1 -0
- 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/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -0
- 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.d.ts +4 -0
- package/api/resources/ats/resources/scopes/client/Client.js +7 -3
- package/api/resources/ats/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.d.ts +4 -0
- 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/ats/types/AuditLogEvent.d.ts +3 -0
- package/api/resources/ats/types/AuditLogEventEventType.d.ts +3 -0
- package/api/resources/ats/types/EventTypeEnum.d.ts +7 -1
- package/api/resources/ats/types/EventTypeEnum.js +3 -0
- package/api/resources/ats/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/api/resources/ats/types/FieldPermissionDeserializer.d.ts +2 -2
- package/api/resources/ats/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/api/resources/ats/types/RemoteData.d.ts +12 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +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.d.ts +2 -1
- package/api/resources/crm/resources/fieldMapping/client/Client.js +32 -8
- package/api/resources/crm/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +4 -0
- package/api/resources/crm/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +13 -0
- package/api/resources/crm/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.js +5 -0
- package/api/resources/crm/resources/fieldMapping/client/requests/index.d.ts +1 -0
- 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/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -0
- 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.d.ts +4 -0
- package/api/resources/crm/resources/scopes/client/Client.js +7 -3
- package/api/resources/crm/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.d.ts +4 -0
- 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 +8 -5
- package/api/resources/crm/resources/users/client/requests/UsersListRequest.d.ts +4 -0
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/crm/types/AuditLogEvent.d.ts +3 -0
- package/api/resources/crm/types/AuditLogEventEventType.d.ts +3 -0
- package/api/resources/crm/types/EventTypeEnum.d.ts +7 -1
- package/api/resources/crm/types/EventTypeEnum.js +3 -0
- package/api/resources/crm/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/api/resources/crm/types/FieldPermissionDeserializer.d.ts +2 -2
- package/api/resources/crm/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/api/resources/crm/types/RemoteData.d.ts +12 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +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.d.ts +2 -1
- package/api/resources/filestorage/resources/fieldMapping/client/Client.js +32 -8
- package/api/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +4 -0
- package/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +13 -0
- package/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.js +5 -0
- package/api/resources/filestorage/resources/fieldMapping/client/requests/index.d.ts +1 -0
- 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 +10 -4
- package/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.d.ts +4 -0
- package/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
- 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/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -0
- 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.d.ts +4 -0
- package/api/resources/filestorage/resources/scopes/client/Client.js +7 -3
- package/api/resources/filestorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.d.ts +4 -0
- 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/filestorage/types/AuditLogEvent.d.ts +3 -0
- package/api/resources/filestorage/types/AuditLogEventEventType.d.ts +3 -0
- package/api/resources/filestorage/types/Drive.d.ts +2 -1
- package/api/resources/filestorage/types/EventTypeEnum.d.ts +7 -1
- package/api/resources/filestorage/types/EventTypeEnum.js +3 -0
- package/api/resources/filestorage/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/api/resources/filestorage/types/FieldPermissionDeserializer.d.ts +2 -2
- package/api/resources/filestorage/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/api/resources/filestorage/types/File_.d.ts +1 -1
- package/api/resources/filestorage/types/Folder.d.ts +1 -1
- package/api/resources/filestorage/types/Group.d.ts +4 -1
- package/api/resources/filestorage/types/GroupChildGroupsItem.d.ts +5 -0
- package/api/resources/filestorage/types/GroupChildGroupsItem.js +5 -0
- package/api/resources/filestorage/types/Permission.d.ts +2 -2
- package/api/resources/filestorage/types/PermissionGroup.d.ts +1 -1
- package/api/resources/filestorage/types/PermissionRequest.d.ts +2 -2
- package/api/resources/filestorage/types/PermissionRequestGroup.d.ts +1 -1
- package/api/resources/filestorage/types/PermissionRequestUser.d.ts +1 -1
- package/api/resources/filestorage/types/PermissionUser.d.ts +1 -1
- package/api/resources/filestorage/types/RemoteData.d.ts +19 -0
- package/api/resources/filestorage/types/RemoteData.js +5 -0
- package/api/resources/filestorage/types/User.d.ts +2 -1
- package/api/resources/filestorage/types/index.d.ts +2 -0
- package/api/resources/filestorage/types/index.js +2 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +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.d.ts +2 -1
- package/api/resources/hris/resources/fieldMapping/client/Client.js +32 -8
- package/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +4 -0
- package/api/resources/hris/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +13 -0
- package/api/resources/hris/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.js +5 -0
- package/api/resources/hris/resources/fieldMapping/client/requests/index.d.ts +1 -0
- 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/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -0
- 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/locations/client/requests/LocationsListRequest.d.ts +2 -2
- package/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +3 -2
- package/api/resources/hris/resources/locations/types/LocationsListRequestRemoteFields.d.ts +9 -0
- package/api/resources/hris/resources/locations/types/LocationsListRequestRemoteFields.js +11 -0
- package/api/resources/hris/resources/locations/types/LocationsListRequestShowEnumOrigins.d.ts +9 -0
- package/api/resources/hris/resources/locations/types/LocationsListRequestShowEnumOrigins.js +11 -0
- package/api/resources/hris/resources/locations/types/LocationsRetrieveRequestRemoteFields.d.ts +9 -0
- package/api/resources/hris/resources/locations/types/LocationsRetrieveRequestRemoteFields.js +11 -0
- package/api/resources/hris/resources/locations/types/LocationsRetrieveRequestShowEnumOrigins.d.ts +9 -0
- package/api/resources/hris/resources/locations/types/LocationsRetrieveRequestShowEnumOrigins.js +11 -0
- package/api/resources/hris/resources/locations/types/index.d.ts +4 -0
- package/api/resources/hris/resources/locations/types/index.js +4 -0
- 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.d.ts +4 -0
- package/api/resources/hris/resources/scopes/client/Client.js +7 -3
- package/api/resources/hris/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.d.ts +4 -0
- 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 +16 -10
- package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.d.ts +8 -4
- package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/hris/types/AuditLogEvent.d.ts +3 -0
- package/api/resources/hris/types/AuditLogEventEventType.d.ts +3 -0
- package/api/resources/hris/types/Employee.d.ts +1 -1
- package/api/resources/hris/types/EmployeeRequest.d.ts +1 -1
- package/api/resources/hris/types/EmployerBenefit.d.ts +1 -1
- package/api/resources/hris/types/Employment.d.ts +1 -1
- package/api/resources/hris/types/EventTypeEnum.d.ts +7 -1
- package/api/resources/hris/types/EventTypeEnum.js +3 -0
- package/api/resources/hris/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/api/resources/hris/types/FieldPermissionDeserializer.d.ts +2 -2
- package/api/resources/hris/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/api/resources/hris/types/RemoteData.d.ts +12 -0
- package/api/resources/hris/types/TimesheetEntry.d.ts +3 -2
- package/api/resources/hris/types/TimesheetEntryEmployee.d.ts +8 -0
- package/api/resources/hris/types/TimesheetEntryEmployee.js +5 -0
- package/api/resources/hris/types/TimesheetEntryRequest.d.ts +2 -1
- package/api/resources/hris/types/TimesheetEntryRequestEmployee.d.ts +8 -0
- package/api/resources/hris/types/TimesheetEntryRequestEmployee.js +5 -0
- package/api/resources/hris/types/index.d.ts +2 -0
- package/api/resources/hris/types/index.js +2 -0
- package/api/resources/index.d.ts +2 -2
- package/api/resources/index.js +3 -3
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/api/resources/ticketing/resources/collections/client/Client.d.ts +0 -11
- package/api/resources/ticketing/resources/collections/client/Client.js +2 -78
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +2 -1
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +2 -1
- package/api/resources/ticketing/resources/collections/client/requests/index.d.ts +0 -1
- package/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +9 -0
- package/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.js +11 -0
- package/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +9 -0
- package/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +11 -0
- package/api/resources/ticketing/resources/collections/types/index.d.ts +2 -1
- package/api/resources/ticketing/resources/collections/types/index.js +2 -1
- 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.d.ts +2 -1
- package/api/resources/ticketing/resources/fieldMapping/client/Client.js +32 -8
- package/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +13 -0
- package/api/resources/ticketing/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.js +5 -0
- package/api/resources/ticketing/resources/fieldMapping/client/requests/index.d.ts +1 -0
- 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/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -0
- 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.d.ts +4 -0
- package/api/resources/ticketing/resources/scopes/client/Client.js +7 -3
- package/api/resources/ticketing/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.d.ts +4 -0
- 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.d.ts +5 -5
- package/api/resources/ticketing/resources/tickets/client/Client.js +16 -16
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.d.ts +1 -6
- package/{dist/api/resources/ticketing/resources/collections/client/requests/CollectionsUsersListRequest.d.ts → api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.d.ts} +2 -2
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.js +5 -0
- package/api/resources/ticketing/resources/tickets/client/requests/index.d.ts +1 -1
- package/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.d.ts +129 -1
- package/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.js +128 -0
- package/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.d.ts +129 -1
- package/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.js +128 -0
- package/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.d.ts +9 -0
- package/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.js +11 -0
- package/api/resources/ticketing/resources/tickets/types/index.d.ts +1 -2
- package/api/resources/ticketing/resources/tickets/types/index.js +1 -2
- package/api/resources/ticketing/resources/users/client/Client.js +2 -2
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/ticketing/types/AuditLogEvent.d.ts +3 -0
- package/api/resources/ticketing/types/AuditLogEventEventType.d.ts +3 -0
- package/api/resources/ticketing/types/Collection.d.ts +2 -2
- package/api/resources/ticketing/types/CollectionTeamsItem.d.ts +5 -0
- package/api/resources/ticketing/types/CollectionTeamsItem.js +5 -0
- package/api/resources/ticketing/types/EventTypeEnum.d.ts +7 -1
- package/api/resources/ticketing/types/EventTypeEnum.js +3 -0
- package/api/resources/ticketing/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/api/resources/ticketing/types/FieldPermissionDeserializer.d.ts +2 -2
- package/api/resources/ticketing/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/api/resources/ticketing/types/PaginatedViewerList.d.ts +9 -0
- package/api/resources/ticketing/types/PaginatedViewerList.js +5 -0
- package/api/resources/ticketing/types/PatchedTicketRequest.d.ts +6 -1
- package/api/resources/ticketing/types/RemoteData.d.ts +12 -0
- package/api/resources/ticketing/types/Team.d.ts +1 -1
- package/api/resources/ticketing/types/Ticket.d.ts +6 -1
- package/api/resources/ticketing/types/TicketAssignedTeamsItem.d.ts +5 -0
- package/api/resources/ticketing/types/TicketAssignedTeamsItem.js +5 -0
- package/api/resources/ticketing/types/TicketRequest.d.ts +6 -1
- package/api/resources/ticketing/types/TicketRequestAssignedTeamsItem.d.ts +5 -0
- package/api/resources/ticketing/types/TicketRequestAssignedTeamsItem.js +5 -0
- package/api/resources/ticketing/types/User.d.ts +2 -1
- package/api/resources/ticketing/types/Viewer.d.ts +28 -0
- package/api/resources/ticketing/types/Viewer.js +5 -0
- package/api/resources/ticketing/types/ViewerTeam.d.ts +8 -0
- package/api/resources/ticketing/types/ViewerTeam.js +5 -0
- package/api/resources/ticketing/types/ViewerUser.d.ts +8 -0
- package/api/resources/ticketing/types/ViewerUser.js +5 -0
- package/api/resources/ticketing/types/index.d.ts +7 -0
- package/api/resources/ticketing/types/index.js +7 -0
- package/dist/Client.d.ts +6 -6
- package/dist/Client.js +15 -15
- package/dist/api/resources/accounting/client/Client.d.ts +3 -0
- package/dist/api/resources/accounting/client/Client.js +45 -40
- 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 +2 -2
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +4 -4
- 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/asyncTasks/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +5 -5
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/employees/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +53 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +220 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/index.js +17 -0
- package/dist/api/resources/{ticketing/resources/tickets/client/requests/TicketsCollaboratorsListRequest.d.ts → accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.d.ts} +34 -2
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +18 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.js +5 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/index.js +2 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/index.js +18 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.d.ts +21 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.js +23 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.d.ts +21 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.js +23 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/types/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/types/index.js +18 -0
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/index.d.ts +3 -0
- package/dist/api/resources/accounting/resources/index.js +4 -1
- package/dist/api/resources/accounting/resources/invoices/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +16 -9
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts +16 -1
- package/dist/api/resources/accounting/resources/invoices/types/InvoicesListRequestStatus.d.ts +12 -0
- package/dist/api/resources/accounting/resources/invoices/types/InvoicesListRequestStatus.js +14 -0
- package/dist/api/resources/accounting/resources/invoices/types/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/invoices/types/index.js +1 -0
- package/dist/api/resources/accounting/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/items/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/payments/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/accounting/types/AccountCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/AccountRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/BalanceSheetCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/BankFeedAccountCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/BankFeedAccountRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/CashFlowStatementCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/CompanyInfoCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/CreditNote.d.ts +2 -2
- package/dist/api/resources/accounting/types/CreditNoteCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/CreditNoteLineItem.d.ts +11 -0
- package/dist/api/resources/accounting/types/CreditNoteLineItemRequest.d.ts +11 -0
- package/dist/api/resources/accounting/types/CreditNoteRequestAppliedPaymentsItem.d.ts +2 -1
- package/dist/api/resources/accounting/types/CreditNoteRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/CreditNoteRequestLineItemsItem.d.ts +1 -1
- package/dist/api/resources/accounting/types/ExpenseCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/ExpenseLineCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/ExpenseLineRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/ExpenseRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/GeneralLedgerTransaction.d.ts +59 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransaction.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionAccountingPeriod.d.ts +8 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionAccountingPeriod.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionCompany.d.ts +8 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionCompany.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionGeneralLedgerTransactionLinesItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionGeneralLedgerTransactionLinesItem.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +664 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLine.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineAccount.d.ts +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineAccount.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.d.ts +315 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineCompany.d.ts +8 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineCompany.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineContact.d.ts +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineContact.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineEmployee.d.ts +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineEmployee.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineItem.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineTransactionCurrency.d.ts +315 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineTransactionCurrency.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionTrackingCategoriesItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionTrackingCategoriesItem.js +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionUnderlyingTransactionType.d.ts +16 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionUnderlyingTransactionType.js +5 -0
- package/dist/api/resources/accounting/types/IncomeStatementCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/InvoiceCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/InvoiceLineItemCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/InvoiceLineItemRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/InvoiceRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/JournalEntryCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/JournalEntryRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/JournalLineCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/JournalLineRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/PaginatedGeneralLedgerTransactionList.d.ts +9 -0
- package/dist/api/resources/accounting/types/PaginatedGeneralLedgerTransactionList.js +5 -0
- package/dist/api/resources/accounting/types/PatchedPaymentRequestAppliedToLinesItem.d.ts +1 -1
- package/dist/api/resources/accounting/types/PatchedPaymentRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/PaymentCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/PaymentRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/PurchaseOrderCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/PurchaseOrderLineItemCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/PurchaseOrderLineItemRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/PurchaseOrderRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/RemoteData.d.ts +12 -0
- package/dist/api/resources/accounting/types/TrackingCategory.d.ts +1 -3
- package/dist/api/resources/accounting/types/TrackingCategoryCompany.d.ts +1 -1
- package/dist/api/resources/accounting/types/TransactionCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/{CurrencyEnum.d.ts → TransactionCurrencyEnum.d.ts} +2 -2
- package/{api/resources/accounting/types/CurrencyEnum.js → dist/api/resources/accounting/types/TransactionCurrencyEnum.js} +2 -2
- package/dist/api/resources/accounting/types/TransactionLineItemCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/UnderlyingTransactionTypeEnum.d.ts +22 -0
- package/dist/api/resources/accounting/types/UnderlyingTransactionTypeEnum.js +15 -0
- package/dist/api/resources/accounting/types/VendorCreditCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/VendorCreditRequestCurrency.d.ts +1 -1
- package/dist/api/resources/accounting/types/index.d.ts +17 -1
- package/dist/api/resources/accounting/types/index.js +17 -1
- 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.d.ts +3 -0
- package/dist/api/resources/ats/resources/applications/client/Client.js +8 -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/auditTrail/client/requests/AuditTrailListRequest.d.ts +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.d.ts +2 -1
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +32 -8
- package/dist/api/resources/ats/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +13 -0
- package/dist/api/resources/ats/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.js +5 -0
- package/dist/api/resources/ats/resources/fieldMapping/client/requests/index.d.ts +1 -0
- 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/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -0
- 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.d.ts +4 -0
- package/dist/api/resources/ats/resources/scopes/client/Client.js +7 -3
- package/dist/api/resources/ats/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.d.ts +4 -0
- 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/ats/types/AuditLogEvent.d.ts +3 -0
- package/dist/api/resources/ats/types/AuditLogEventEventType.d.ts +3 -0
- package/dist/api/resources/ats/types/EventTypeEnum.d.ts +7 -1
- package/dist/api/resources/ats/types/EventTypeEnum.js +3 -0
- package/dist/api/resources/ats/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/dist/api/resources/ats/types/FieldPermissionDeserializer.d.ts +2 -2
- package/dist/api/resources/ats/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/dist/api/resources/ats/types/RemoteData.d.ts +12 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +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.d.ts +2 -1
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +32 -8
- package/dist/api/resources/crm/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +13 -0
- package/dist/api/resources/crm/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.js +5 -0
- package/dist/api/resources/crm/resources/fieldMapping/client/requests/index.d.ts +1 -0
- 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/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -0
- 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.d.ts +4 -0
- package/dist/api/resources/crm/resources/scopes/client/Client.js +7 -3
- package/dist/api/resources/crm/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.d.ts +4 -0
- 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 +8 -5
- package/dist/api/resources/crm/resources/users/client/requests/UsersListRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/crm/types/AuditLogEvent.d.ts +3 -0
- package/dist/api/resources/crm/types/AuditLogEventEventType.d.ts +3 -0
- package/dist/api/resources/crm/types/EventTypeEnum.d.ts +7 -1
- package/dist/api/resources/crm/types/EventTypeEnum.js +3 -0
- package/dist/api/resources/crm/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/dist/api/resources/crm/types/FieldPermissionDeserializer.d.ts +2 -2
- package/dist/api/resources/crm/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/dist/api/resources/crm/types/RemoteData.d.ts +12 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +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.d.ts +2 -1
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +32 -8
- package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +4 -0
- package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +13 -0
- package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.js +5 -0
- package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/index.d.ts +1 -0
- 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 +10 -4
- package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.d.ts +4 -0
- package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
- 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/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -0
- 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.d.ts +4 -0
- package/dist/api/resources/filestorage/resources/scopes/client/Client.js +7 -3
- package/dist/api/resources/filestorage/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.d.ts +4 -0
- 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/filestorage/types/AuditLogEvent.d.ts +3 -0
- package/dist/api/resources/filestorage/types/AuditLogEventEventType.d.ts +3 -0
- package/dist/api/resources/filestorage/types/Drive.d.ts +2 -1
- package/dist/api/resources/filestorage/types/EventTypeEnum.d.ts +7 -1
- package/dist/api/resources/filestorage/types/EventTypeEnum.js +3 -0
- package/dist/api/resources/filestorage/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/dist/api/resources/filestorage/types/FieldPermissionDeserializer.d.ts +2 -2
- package/dist/api/resources/filestorage/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/dist/api/resources/filestorage/types/File_.d.ts +1 -1
- package/dist/api/resources/filestorage/types/Folder.d.ts +1 -1
- package/dist/api/resources/filestorage/types/Group.d.ts +4 -1
- package/dist/api/resources/filestorage/types/GroupChildGroupsItem.d.ts +5 -0
- package/dist/api/resources/filestorage/types/GroupChildGroupsItem.js +5 -0
- package/dist/api/resources/filestorage/types/Permission.d.ts +2 -2
- package/dist/api/resources/filestorage/types/PermissionGroup.d.ts +1 -1
- package/dist/api/resources/filestorage/types/PermissionRequest.d.ts +2 -2
- package/dist/api/resources/filestorage/types/PermissionRequestGroup.d.ts +1 -1
- package/dist/api/resources/filestorage/types/PermissionRequestUser.d.ts +1 -1
- package/dist/api/resources/filestorage/types/PermissionUser.d.ts +1 -1
- package/dist/api/resources/filestorage/types/RemoteData.d.ts +19 -0
- package/dist/api/resources/filestorage/types/RemoteData.js +5 -0
- package/dist/api/resources/filestorage/types/User.d.ts +2 -1
- package/dist/api/resources/filestorage/types/index.d.ts +2 -0
- package/dist/api/resources/filestorage/types/index.js +2 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +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.d.ts +2 -1
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +32 -8
- package/dist/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +13 -0
- package/dist/api/resources/hris/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.js +5 -0
- package/dist/api/resources/hris/resources/fieldMapping/client/requests/index.d.ts +1 -0
- 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/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -0
- 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/locations/client/requests/LocationsListRequest.d.ts +2 -2
- package/dist/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +3 -2
- package/dist/api/resources/hris/resources/locations/types/LocationsListRequestRemoteFields.d.ts +9 -0
- package/dist/api/resources/hris/resources/locations/types/LocationsListRequestRemoteFields.js +11 -0
- package/dist/api/resources/hris/resources/locations/types/LocationsListRequestShowEnumOrigins.d.ts +9 -0
- package/dist/api/resources/hris/resources/locations/types/LocationsListRequestShowEnumOrigins.js +11 -0
- package/dist/api/resources/hris/resources/locations/types/LocationsRetrieveRequestRemoteFields.d.ts +9 -0
- package/dist/api/resources/hris/resources/locations/types/LocationsRetrieveRequestRemoteFields.js +11 -0
- package/dist/api/resources/hris/resources/locations/types/LocationsRetrieveRequestShowEnumOrigins.d.ts +9 -0
- package/dist/api/resources/hris/resources/locations/types/LocationsRetrieveRequestShowEnumOrigins.js +11 -0
- package/dist/api/resources/hris/resources/locations/types/index.d.ts +4 -0
- package/dist/api/resources/hris/resources/locations/types/index.js +4 -0
- 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.d.ts +4 -0
- package/dist/api/resources/hris/resources/scopes/client/Client.js +7 -3
- package/dist/api/resources/hris/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.d.ts +4 -0
- 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 +16 -10
- package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.d.ts +8 -4
- package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/hris/types/AuditLogEvent.d.ts +3 -0
- package/dist/api/resources/hris/types/AuditLogEventEventType.d.ts +3 -0
- package/dist/api/resources/hris/types/Employee.d.ts +1 -1
- package/dist/api/resources/hris/types/EmployeeRequest.d.ts +1 -1
- package/dist/api/resources/hris/types/EmployerBenefit.d.ts +1 -1
- package/dist/api/resources/hris/types/Employment.d.ts +1 -1
- package/dist/api/resources/hris/types/EventTypeEnum.d.ts +7 -1
- package/dist/api/resources/hris/types/EventTypeEnum.js +3 -0
- package/dist/api/resources/hris/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/dist/api/resources/hris/types/FieldPermissionDeserializer.d.ts +2 -2
- package/dist/api/resources/hris/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/dist/api/resources/hris/types/RemoteData.d.ts +12 -0
- package/dist/api/resources/hris/types/TimesheetEntry.d.ts +3 -2
- package/dist/api/resources/hris/types/TimesheetEntryEmployee.d.ts +8 -0
- package/dist/api/resources/hris/types/TimesheetEntryEmployee.js +5 -0
- package/dist/api/resources/hris/types/TimesheetEntryRequest.d.ts +2 -1
- package/dist/api/resources/hris/types/TimesheetEntryRequestEmployee.d.ts +8 -0
- package/dist/api/resources/hris/types/TimesheetEntryRequestEmployee.js +5 -0
- package/dist/api/resources/hris/types/index.d.ts +2 -0
- package/dist/api/resources/hris/types/index.js +2 -0
- package/dist/api/resources/index.d.ts +2 -2
- package/dist/api/resources/index.js +3 -3
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +0 -11
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +2 -78
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +2 -1
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +2 -1
- package/dist/api/resources/ticketing/resources/collections/client/requests/index.d.ts +0 -1
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +9 -0
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.js +11 -0
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +9 -0
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +11 -0
- package/dist/api/resources/ticketing/resources/collections/types/index.d.ts +2 -1
- package/dist/api/resources/ticketing/resources/collections/types/index.js +2 -1
- 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.d.ts +2 -1
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +32 -8
- package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +13 -0
- package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.js +5 -0
- package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/index.d.ts +1 -0
- 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/linkToken/client/requests/EndUserDetailsRequest.d.ts +2 -0
- 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.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/scopes/client/Client.js +7 -3
- package/dist/api/resources/ticketing/resources/scopes/client/requests/LinkedAccountCommonModelScopeDeserializerRequest.d.ts +4 -0
- 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.d.ts +5 -5
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +16 -16
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.d.ts +1 -6
- package/{api/resources/ticketing/resources/collections/client/requests/CollectionsUsersListRequest.d.ts → dist/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.d.ts} +2 -2
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.js +5 -0
- package/dist/api/resources/ticketing/resources/tickets/client/requests/index.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.d.ts +129 -1
- package/dist/api/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.js +128 -0
- package/dist/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.d.ts +129 -1
- package/dist/api/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.js +128 -0
- package/dist/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.d.ts +9 -0
- package/dist/api/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.js +11 -0
- package/dist/api/resources/ticketing/resources/tickets/types/index.d.ts +1 -2
- package/dist/api/resources/ticketing/resources/tickets/types/index.js +1 -2
- 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/api/resources/ticketing/types/AuditLogEvent.d.ts +3 -0
- package/dist/api/resources/ticketing/types/AuditLogEventEventType.d.ts +3 -0
- package/dist/api/resources/ticketing/types/Collection.d.ts +2 -2
- package/dist/api/resources/ticketing/types/CollectionTeamsItem.d.ts +5 -0
- package/dist/api/resources/ticketing/types/CollectionTeamsItem.js +5 -0
- package/dist/api/resources/ticketing/types/EventTypeEnum.d.ts +7 -1
- package/dist/api/resources/ticketing/types/EventTypeEnum.js +3 -0
- package/dist/api/resources/ticketing/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/dist/api/resources/ticketing/types/FieldPermissionDeserializer.d.ts +2 -2
- package/dist/api/resources/ticketing/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/dist/api/resources/ticketing/types/PaginatedViewerList.d.ts +9 -0
- package/dist/api/resources/ticketing/types/PaginatedViewerList.js +5 -0
- package/dist/api/resources/ticketing/types/PatchedTicketRequest.d.ts +6 -1
- package/dist/api/resources/ticketing/types/RemoteData.d.ts +12 -0
- package/dist/api/resources/ticketing/types/Team.d.ts +1 -1
- package/dist/api/resources/ticketing/types/Ticket.d.ts +6 -1
- package/dist/api/resources/ticketing/types/TicketAssignedTeamsItem.d.ts +5 -0
- package/dist/api/resources/ticketing/types/TicketAssignedTeamsItem.js +5 -0
- package/dist/api/resources/ticketing/types/TicketRequest.d.ts +6 -1
- package/dist/api/resources/ticketing/types/TicketRequestAssignedTeamsItem.d.ts +5 -0
- package/dist/api/resources/ticketing/types/TicketRequestAssignedTeamsItem.js +5 -0
- package/dist/api/resources/ticketing/types/User.d.ts +2 -1
- package/dist/api/resources/ticketing/types/Viewer.d.ts +28 -0
- package/dist/api/resources/ticketing/types/Viewer.js +5 -0
- package/dist/api/resources/ticketing/types/ViewerTeam.d.ts +8 -0
- package/dist/api/resources/ticketing/types/ViewerTeam.js +5 -0
- package/dist/api/resources/ticketing/types/ViewerUser.d.ts +8 -0
- package/dist/api/resources/ticketing/types/ViewerUser.js +5 -0
- package/dist/api/resources/ticketing/types/index.d.ts +7 -0
- package/dist/api/resources/ticketing/types/index.js +7 -0
- package/dist/serialization/resources/accounting/resources/generalLedgerTransactions/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/generalLedgerTransactions/index.js +17 -0
- package/dist/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.js +47 -0
- package/dist/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.js +47 -0
- package/dist/serialization/resources/accounting/resources/generalLedgerTransactions/types/index.d.ts +2 -0
- package/dist/serialization/resources/accounting/resources/generalLedgerTransactions/types/index.js +18 -0
- package/dist/serialization/resources/accounting/resources/index.d.ts +2 -0
- package/dist/serialization/resources/accounting/resources/index.js +3 -1
- package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestStatus.d.ts +10 -0
- package/{serialization/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.js → dist/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestStatus.js} +2 -2
- package/dist/serialization/resources/accounting/resources/invoices/types/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/invoices/types/index.js +1 -0
- package/dist/serialization/resources/accounting/types/AccountCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/AccountCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/AccountRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/AccountRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/BalanceSheetCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/BalanceSheetCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/BankFeedAccountCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/BankFeedAccountCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/BankFeedAccountRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/BankFeedAccountRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/CashFlowStatementCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/CashFlowStatementCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/CompanyInfoCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/CompanyInfoCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/CreditNote.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/CreditNote.js +1 -1
- package/dist/serialization/resources/accounting/types/CreditNoteCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/CreditNoteCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/CreditNoteRequestAppliedPaymentsItem.d.ts +2 -1
- package/dist/serialization/resources/accounting/types/CreditNoteRequestAppliedPaymentsItem.js +2 -1
- package/dist/serialization/resources/accounting/types/CreditNoteRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/CreditNoteRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/CreditNoteRequestLineItemsItem.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/CreditNoteRequestLineItemsItem.js +2 -2
- package/dist/serialization/resources/accounting/types/ExpenseCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/ExpenseCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/ExpenseLineCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/ExpenseLineCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/ExpenseLineRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/ExpenseLineRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/ExpenseRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/ExpenseRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransaction.d.ts +33 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransaction.js +54 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionAccountingPeriod.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionAccountingPeriod.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionCompany.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionCompany.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionGeneralLedgerTransactionLinesItem.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionGeneralLedgerTransactionLinesItem.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +39 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLine.js +60 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineAccount.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineAccount.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineCompany.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineCompany.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineContact.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineContact.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineEmployee.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineEmployee.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineItem.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineItem.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineTransactionCurrency.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineTransactionCurrency.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionTrackingCategoriesItem.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionTrackingCategoriesItem.js +32 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionUnderlyingTransactionType.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionUnderlyingTransactionType.js +32 -0
- package/dist/serialization/resources/accounting/types/IncomeStatementCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/IncomeStatementCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/InvoiceCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/InvoiceCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/InvoiceLineItemCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/InvoiceLineItemCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/InvoiceLineItemRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/InvoiceLineItemRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/InvoiceRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/InvoiceRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/JournalEntryCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/JournalEntryCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/JournalEntryRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/JournalEntryRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/JournalLineCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/JournalLineCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/JournalLineRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/JournalLineRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/PaginatedGeneralLedgerTransactionList.d.ts +15 -0
- package/dist/serialization/resources/accounting/types/PaginatedGeneralLedgerTransactionList.js +36 -0
- package/dist/serialization/resources/accounting/types/PatchedPaymentRequestAppliedToLinesItem.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/PatchedPaymentRequestAppliedToLinesItem.js +2 -2
- package/dist/serialization/resources/accounting/types/PatchedPaymentRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/PatchedPaymentRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/PaymentCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/PaymentCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/PaymentRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/PaymentRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/PurchaseOrderCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/PurchaseOrderCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/PurchaseOrderLineItemCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/PurchaseOrderLineItemCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/PurchaseOrderLineItemRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/PurchaseOrderLineItemRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/TrackingCategory.d.ts +0 -2
- package/dist/serialization/resources/accounting/types/TrackingCategory.js +0 -2
- package/dist/serialization/resources/accounting/types/TransactionCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/TransactionCurrency.js +2 -2
- package/{serialization/resources/accounting/types/CurrencyEnum.d.ts → dist/serialization/resources/accounting/types/TransactionCurrencyEnum.d.ts} +2 -2
- package/{serialization/resources/accounting/types/CurrencyEnum.js → dist/serialization/resources/accounting/types/TransactionCurrencyEnum.js} +2 -2
- package/dist/serialization/resources/accounting/types/TransactionLineItemCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/TransactionLineItemCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/UnderlyingTransactionTypeEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/UnderlyingTransactionTypeEnum.js +39 -0
- package/dist/serialization/resources/accounting/types/VendorCreditCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/VendorCreditCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/VendorCreditRequestCurrency.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/VendorCreditRequestCurrency.js +2 -2
- package/dist/serialization/resources/accounting/types/index.d.ts +17 -1
- package/dist/serialization/resources/accounting/types/index.js +17 -1
- package/dist/serialization/resources/ats/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -1
- package/dist/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -0
- package/dist/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.js +1 -0
- package/dist/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/ats/types/EventTypeEnum.js +3 -0
- package/dist/serialization/resources/ats/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/dist/serialization/resources/ats/types/FieldMappingApiInstanceRemoteField.js +2 -2
- package/dist/serialization/resources/ats/types/FieldPermissionDeserializer.d.ts +2 -2
- package/dist/serialization/resources/ats/types/FieldPermissionDeserializer.js +2 -2
- package/dist/serialization/resources/ats/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/dist/serialization/resources/ats/types/FieldPermissionDeserializerRequest.js +2 -2
- package/dist/serialization/resources/crm/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -1
- package/dist/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -0
- package/dist/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.js +1 -0
- package/dist/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/crm/types/EventTypeEnum.js +3 -0
- package/dist/serialization/resources/crm/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/dist/serialization/resources/crm/types/FieldMappingApiInstanceRemoteField.js +2 -2
- package/dist/serialization/resources/crm/types/FieldPermissionDeserializer.d.ts +2 -2
- package/dist/serialization/resources/crm/types/FieldPermissionDeserializer.js +2 -2
- package/dist/serialization/resources/crm/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/dist/serialization/resources/crm/types/FieldPermissionDeserializerRequest.js +2 -2
- package/dist/serialization/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -1
- package/dist/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -0
- package/dist/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.js +1 -0
- package/dist/serialization/resources/filestorage/types/Drive.d.ts +2 -1
- package/dist/serialization/resources/filestorage/types/Drive.js +2 -3
- package/dist/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/EventTypeEnum.js +3 -0
- package/dist/serialization/resources/filestorage/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/dist/serialization/resources/filestorage/types/FieldMappingApiInstanceRemoteField.js +2 -2
- package/dist/serialization/resources/filestorage/types/FieldPermissionDeserializer.d.ts +2 -2
- package/dist/serialization/resources/filestorage/types/FieldPermissionDeserializer.js +2 -2
- package/dist/serialization/resources/filestorage/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/dist/serialization/resources/filestorage/types/FieldPermissionDeserializerRequest.js +2 -2
- package/dist/serialization/resources/filestorage/types/File_.d.ts +2 -1
- package/dist/serialization/resources/filestorage/types/File_.js +2 -3
- package/dist/serialization/resources/filestorage/types/Folder.d.ts +2 -1
- package/dist/serialization/resources/filestorage/types/Folder.js +2 -3
- package/dist/serialization/resources/filestorage/types/Group.d.ts +3 -1
- package/dist/serialization/resources/filestorage/types/Group.js +6 -3
- package/dist/serialization/resources/filestorage/types/GroupChildGroupsItem.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/GroupChildGroupsItem.js +35 -0
- package/dist/serialization/resources/filestorage/types/PaginatedGroupList.d.ts +1 -2
- package/dist/serialization/resources/filestorage/types/PaginatedGroupList.js +2 -2
- package/dist/serialization/resources/filestorage/types/PermissionGroup.d.ts +1 -2
- package/dist/serialization/resources/filestorage/types/PermissionGroup.js +5 -2
- package/dist/serialization/resources/filestorage/types/PermissionRequestGroup.d.ts +1 -2
- package/dist/serialization/resources/filestorage/types/PermissionRequestGroup.js +5 -2
- package/dist/serialization/resources/filestorage/types/RemoteData.d.ts +13 -0
- package/dist/serialization/resources/filestorage/types/RemoteData.js +34 -0
- package/dist/serialization/resources/filestorage/types/User.d.ts +2 -1
- package/dist/serialization/resources/filestorage/types/User.js +2 -3
- package/dist/serialization/resources/filestorage/types/index.d.ts +2 -0
- package/dist/serialization/resources/filestorage/types/index.js +2 -0
- package/dist/serialization/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -1
- package/dist/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -0
- package/dist/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.js +1 -0
- package/dist/serialization/resources/hris/resources/locations/types/LocationsListRequestRemoteFields.d.ts +10 -0
- package/dist/serialization/resources/hris/resources/locations/types/LocationsListRequestRemoteFields.js +31 -0
- package/dist/serialization/resources/hris/resources/locations/types/LocationsListRequestShowEnumOrigins.d.ts +10 -0
- package/dist/serialization/resources/hris/resources/locations/types/LocationsListRequestShowEnumOrigins.js +31 -0
- package/dist/serialization/resources/hris/resources/locations/types/LocationsRetrieveRequestRemoteFields.d.ts +10 -0
- package/dist/serialization/resources/hris/resources/locations/types/LocationsRetrieveRequestRemoteFields.js +31 -0
- package/dist/serialization/resources/hris/resources/locations/types/LocationsRetrieveRequestShowEnumOrigins.d.ts +10 -0
- package/dist/serialization/resources/hris/resources/locations/types/LocationsRetrieveRequestShowEnumOrigins.js +31 -0
- package/dist/serialization/resources/hris/resources/locations/types/index.d.ts +4 -0
- package/dist/serialization/resources/hris/resources/locations/types/index.js +4 -0
- package/dist/serialization/resources/hris/types/EmployerBenefit.d.ts +2 -1
- package/dist/serialization/resources/hris/types/EmployerBenefit.js +2 -3
- package/dist/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/hris/types/EventTypeEnum.js +3 -0
- package/dist/serialization/resources/hris/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/dist/serialization/resources/hris/types/FieldMappingApiInstanceRemoteField.js +2 -2
- package/dist/serialization/resources/hris/types/FieldPermissionDeserializer.d.ts +2 -2
- package/dist/serialization/resources/hris/types/FieldPermissionDeserializer.js +2 -2
- package/dist/serialization/resources/hris/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/dist/serialization/resources/hris/types/FieldPermissionDeserializerRequest.js +2 -2
- package/dist/serialization/resources/hris/types/TimesheetEntry.d.ts +4 -2
- package/dist/serialization/resources/hris/types/TimesheetEntry.js +4 -4
- package/dist/serialization/resources/hris/types/TimesheetEntryEmployee.d.ts +10 -0
- package/dist/serialization/resources/hris/types/TimesheetEntryEmployee.js +35 -0
- package/dist/serialization/resources/hris/types/TimesheetEntryRequest.d.ts +2 -1
- package/dist/serialization/resources/hris/types/TimesheetEntryRequest.js +2 -1
- package/dist/serialization/resources/hris/types/TimesheetEntryRequestEmployee.d.ts +10 -0
- package/dist/serialization/resources/hris/types/TimesheetEntryRequestEmployee.js +35 -0
- package/dist/serialization/resources/hris/types/index.d.ts +2 -0
- package/dist/serialization/resources/hris/types/index.js +2 -0
- package/dist/serialization/resources/index.d.ts +2 -2
- package/dist/serialization/resources/index.js +3 -3
- package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/ticketing/resources/collections/types/{CollectionsUsersListRequestExpand.js → CollectionsListRequestExpand.js} +2 -2
- package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +31 -0
- package/dist/serialization/resources/ticketing/resources/collections/types/index.d.ts +2 -1
- package/dist/serialization/resources/ticketing/resources/collections/types/index.js +2 -1
- package/dist/serialization/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -1
- package/dist/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -0
- package/dist/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.js +1 -0
- package/dist/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.js +128 -0
- package/dist/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.js +128 -0
- package/dist/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.d.ts +10 -0
- package/{serialization/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.js → dist/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.js} +2 -2
- package/dist/serialization/resources/ticketing/resources/tickets/types/index.d.ts +1 -2
- package/dist/serialization/resources/ticketing/resources/tickets/types/index.js +1 -2
- package/dist/serialization/resources/ticketing/types/Collection.d.ts +2 -0
- package/dist/serialization/resources/ticketing/types/Collection.js +2 -0
- package/dist/serialization/resources/ticketing/types/CollectionTeamsItem.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/CollectionTeamsItem.js +32 -0
- package/dist/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/ticketing/types/EventTypeEnum.js +3 -0
- package/dist/serialization/resources/ticketing/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/dist/serialization/resources/ticketing/types/FieldMappingApiInstanceRemoteField.js +2 -2
- package/dist/serialization/resources/ticketing/types/FieldPermissionDeserializer.d.ts +2 -2
- package/dist/serialization/resources/ticketing/types/FieldPermissionDeserializer.js +2 -2
- package/dist/serialization/resources/ticketing/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/dist/serialization/resources/ticketing/types/FieldPermissionDeserializerRequest.js +2 -2
- package/dist/serialization/resources/ticketing/types/PaginatedViewerList.d.ts +15 -0
- package/dist/serialization/resources/ticketing/types/PaginatedViewerList.js +36 -0
- package/dist/serialization/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -0
- package/dist/serialization/resources/ticketing/types/PatchedTicketRequest.js +2 -0
- package/dist/serialization/resources/ticketing/types/Ticket.d.ts +3 -0
- package/dist/serialization/resources/ticketing/types/Ticket.js +3 -0
- package/dist/serialization/resources/ticketing/types/TicketAssignedTeamsItem.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/TicketAssignedTeamsItem.js +32 -0
- package/dist/serialization/resources/ticketing/types/TicketRequest.d.ts +3 -0
- package/dist/serialization/resources/ticketing/types/TicketRequest.js +3 -0
- package/dist/serialization/resources/ticketing/types/TicketRequestAssignedTeamsItem.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/TicketRequestAssignedTeamsItem.js +32 -0
- package/dist/serialization/resources/ticketing/types/Viewer.d.ts +19 -0
- package/dist/serialization/resources/ticketing/types/Viewer.js +40 -0
- package/dist/serialization/resources/ticketing/types/ViewerTeam.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/ViewerTeam.js +32 -0
- package/dist/serialization/resources/ticketing/types/ViewerUser.d.ts +11 -0
- package/dist/serialization/resources/ticketing/types/ViewerUser.js +32 -0
- package/dist/serialization/resources/ticketing/types/index.d.ts +7 -0
- package/dist/serialization/resources/ticketing/types/index.js +7 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +3249 -3120
- package/serialization/resources/accounting/resources/generalLedgerTransactions/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/generalLedgerTransactions/index.js +17 -0
- package/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.d.ts +10 -0
- package/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsListRequestExpand.js +47 -0
- package/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.d.ts +10 -0
- package/serialization/resources/accounting/resources/generalLedgerTransactions/types/GeneralLedgerTransactionsRetrieveRequestExpand.js +47 -0
- package/serialization/resources/accounting/resources/generalLedgerTransactions/types/index.d.ts +2 -0
- package/serialization/resources/accounting/resources/generalLedgerTransactions/types/index.js +18 -0
- package/serialization/resources/accounting/resources/index.d.ts +2 -0
- package/serialization/resources/accounting/resources/index.js +3 -1
- package/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestStatus.d.ts +10 -0
- package/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestStatus.js +31 -0
- package/serialization/resources/accounting/resources/invoices/types/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/invoices/types/index.js +1 -0
- package/serialization/resources/accounting/types/AccountCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/AccountCurrency.js +2 -2
- package/serialization/resources/accounting/types/AccountRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/AccountRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/BalanceSheetCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/BalanceSheetCurrency.js +2 -2
- package/serialization/resources/accounting/types/BankFeedAccountCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/BankFeedAccountCurrency.js +2 -2
- package/serialization/resources/accounting/types/BankFeedAccountRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/BankFeedAccountRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/CashFlowStatementCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/CashFlowStatementCurrency.js +2 -2
- package/serialization/resources/accounting/types/CompanyInfoCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/CompanyInfoCurrency.js +2 -2
- package/serialization/resources/accounting/types/CreditNote.d.ts +1 -1
- package/serialization/resources/accounting/types/CreditNote.js +1 -1
- package/serialization/resources/accounting/types/CreditNoteCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/CreditNoteCurrency.js +2 -2
- package/serialization/resources/accounting/types/CreditNoteRequestAppliedPaymentsItem.d.ts +2 -1
- package/serialization/resources/accounting/types/CreditNoteRequestAppliedPaymentsItem.js +2 -1
- package/serialization/resources/accounting/types/CreditNoteRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/CreditNoteRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/CreditNoteRequestLineItemsItem.d.ts +2 -2
- package/serialization/resources/accounting/types/CreditNoteRequestLineItemsItem.js +2 -2
- package/serialization/resources/accounting/types/ExpenseCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/ExpenseCurrency.js +2 -2
- package/serialization/resources/accounting/types/ExpenseLineCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/ExpenseLineCurrency.js +2 -2
- package/serialization/resources/accounting/types/ExpenseLineRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/ExpenseLineRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/ExpenseRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/ExpenseRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/GeneralLedgerTransaction.d.ts +33 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransaction.js +54 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionAccountingPeriod.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionAccountingPeriod.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionCompany.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionCompany.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionGeneralLedgerTransactionLinesItem.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionGeneralLedgerTransactionLinesItem.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +39 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLine.js +60 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineAccount.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineAccount.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineBaseCurrency.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineCompany.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineCompany.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineContact.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineContact.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineEmployee.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineEmployee.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineItem.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineItem.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineTransactionCurrency.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineTransactionCurrency.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionTrackingCategoriesItem.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionTrackingCategoriesItem.js +32 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionUnderlyingTransactionType.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionUnderlyingTransactionType.js +32 -0
- package/serialization/resources/accounting/types/IncomeStatementCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/IncomeStatementCurrency.js +2 -2
- package/serialization/resources/accounting/types/InvoiceCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/InvoiceCurrency.js +2 -2
- package/serialization/resources/accounting/types/InvoiceLineItemCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/InvoiceLineItemCurrency.js +2 -2
- package/serialization/resources/accounting/types/InvoiceLineItemRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/InvoiceLineItemRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/InvoiceRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/InvoiceRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/JournalEntryCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/JournalEntryCurrency.js +2 -2
- package/serialization/resources/accounting/types/JournalEntryRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/JournalEntryRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/JournalLineCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/JournalLineCurrency.js +2 -2
- package/serialization/resources/accounting/types/JournalLineRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/JournalLineRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/PaginatedGeneralLedgerTransactionList.d.ts +15 -0
- package/serialization/resources/accounting/types/PaginatedGeneralLedgerTransactionList.js +36 -0
- package/serialization/resources/accounting/types/PatchedPaymentRequestAppliedToLinesItem.d.ts +2 -2
- package/serialization/resources/accounting/types/PatchedPaymentRequestAppliedToLinesItem.js +2 -2
- package/serialization/resources/accounting/types/PatchedPaymentRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/PatchedPaymentRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/PaymentCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/PaymentCurrency.js +2 -2
- package/serialization/resources/accounting/types/PaymentRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/PaymentRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/PurchaseOrderCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/PurchaseOrderCurrency.js +2 -2
- package/serialization/resources/accounting/types/PurchaseOrderLineItemCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/PurchaseOrderLineItemCurrency.js +2 -2
- package/serialization/resources/accounting/types/PurchaseOrderLineItemRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/PurchaseOrderLineItemRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/PurchaseOrderRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/PurchaseOrderRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/TrackingCategory.d.ts +0 -2
- package/serialization/resources/accounting/types/TrackingCategory.js +0 -2
- package/serialization/resources/accounting/types/TransactionCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/TransactionCurrency.js +2 -2
- package/{dist/serialization/resources/accounting/types/CurrencyEnum.d.ts → serialization/resources/accounting/types/TransactionCurrencyEnum.d.ts} +2 -2
- package/{dist/serialization/resources/accounting/types/CurrencyEnum.js → serialization/resources/accounting/types/TransactionCurrencyEnum.js} +2 -2
- package/serialization/resources/accounting/types/TransactionLineItemCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/TransactionLineItemCurrency.js +2 -2
- package/serialization/resources/accounting/types/UnderlyingTransactionTypeEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/UnderlyingTransactionTypeEnum.js +39 -0
- package/serialization/resources/accounting/types/VendorCreditCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/VendorCreditCurrency.js +2 -2
- package/serialization/resources/accounting/types/VendorCreditRequestCurrency.d.ts +2 -2
- package/serialization/resources/accounting/types/VendorCreditRequestCurrency.js +2 -2
- package/serialization/resources/accounting/types/index.d.ts +17 -1
- package/serialization/resources/accounting/types/index.js +17 -1
- package/serialization/resources/ats/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -1
- package/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -0
- package/serialization/resources/ats/resources/linkToken/client/requests/EndUserDetailsRequest.js +1 -0
- package/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/ats/types/EventTypeEnum.js +3 -0
- package/serialization/resources/ats/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/serialization/resources/ats/types/FieldMappingApiInstanceRemoteField.js +2 -2
- package/serialization/resources/ats/types/FieldPermissionDeserializer.d.ts +2 -2
- package/serialization/resources/ats/types/FieldPermissionDeserializer.js +2 -2
- package/serialization/resources/ats/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/serialization/resources/ats/types/FieldPermissionDeserializerRequest.js +2 -2
- package/serialization/resources/crm/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -1
- package/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -0
- package/serialization/resources/crm/resources/linkToken/client/requests/EndUserDetailsRequest.js +1 -0
- package/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/crm/types/EventTypeEnum.js +3 -0
- package/serialization/resources/crm/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/serialization/resources/crm/types/FieldMappingApiInstanceRemoteField.js +2 -2
- package/serialization/resources/crm/types/FieldPermissionDeserializer.d.ts +2 -2
- package/serialization/resources/crm/types/FieldPermissionDeserializer.js +2 -2
- package/serialization/resources/crm/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/serialization/resources/crm/types/FieldPermissionDeserializerRequest.js +2 -2
- package/serialization/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -1
- package/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -0
- package/serialization/resources/filestorage/resources/linkToken/client/requests/EndUserDetailsRequest.js +1 -0
- package/serialization/resources/filestorage/types/Drive.d.ts +2 -1
- package/serialization/resources/filestorage/types/Drive.js +2 -3
- package/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/filestorage/types/EventTypeEnum.js +3 -0
- package/serialization/resources/filestorage/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/serialization/resources/filestorage/types/FieldMappingApiInstanceRemoteField.js +2 -2
- package/serialization/resources/filestorage/types/FieldPermissionDeserializer.d.ts +2 -2
- package/serialization/resources/filestorage/types/FieldPermissionDeserializer.js +2 -2
- package/serialization/resources/filestorage/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/serialization/resources/filestorage/types/FieldPermissionDeserializerRequest.js +2 -2
- package/serialization/resources/filestorage/types/File_.d.ts +2 -1
- package/serialization/resources/filestorage/types/File_.js +2 -3
- package/serialization/resources/filestorage/types/Folder.d.ts +2 -1
- package/serialization/resources/filestorage/types/Folder.js +2 -3
- package/serialization/resources/filestorage/types/Group.d.ts +3 -1
- package/serialization/resources/filestorage/types/Group.js +6 -3
- package/serialization/resources/filestorage/types/GroupChildGroupsItem.d.ts +10 -0
- package/serialization/resources/filestorage/types/GroupChildGroupsItem.js +35 -0
- package/serialization/resources/filestorage/types/PaginatedGroupList.d.ts +1 -2
- package/serialization/resources/filestorage/types/PaginatedGroupList.js +2 -2
- package/serialization/resources/filestorage/types/PermissionGroup.d.ts +1 -2
- package/serialization/resources/filestorage/types/PermissionGroup.js +5 -2
- package/serialization/resources/filestorage/types/PermissionRequestGroup.d.ts +1 -2
- package/serialization/resources/filestorage/types/PermissionRequestGroup.js +5 -2
- package/serialization/resources/filestorage/types/RemoteData.d.ts +13 -0
- package/serialization/resources/filestorage/types/RemoteData.js +34 -0
- package/serialization/resources/filestorage/types/User.d.ts +2 -1
- package/serialization/resources/filestorage/types/User.js +2 -3
- package/serialization/resources/filestorage/types/index.d.ts +2 -0
- package/serialization/resources/filestorage/types/index.js +2 -0
- package/serialization/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -1
- package/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -0
- package/serialization/resources/hris/resources/linkToken/client/requests/EndUserDetailsRequest.js +1 -0
- package/serialization/resources/hris/resources/locations/types/LocationsListRequestRemoteFields.d.ts +10 -0
- package/serialization/resources/hris/resources/locations/types/LocationsListRequestRemoteFields.js +31 -0
- package/serialization/resources/hris/resources/locations/types/LocationsListRequestShowEnumOrigins.d.ts +10 -0
- package/serialization/resources/hris/resources/locations/types/LocationsListRequestShowEnumOrigins.js +31 -0
- package/serialization/resources/hris/resources/locations/types/LocationsRetrieveRequestRemoteFields.d.ts +10 -0
- package/serialization/resources/hris/resources/locations/types/LocationsRetrieveRequestRemoteFields.js +31 -0
- package/serialization/resources/hris/resources/locations/types/LocationsRetrieveRequestShowEnumOrigins.d.ts +10 -0
- package/serialization/resources/hris/resources/locations/types/LocationsRetrieveRequestShowEnumOrigins.js +31 -0
- package/serialization/resources/hris/resources/locations/types/index.d.ts +4 -0
- package/serialization/resources/hris/resources/locations/types/index.js +4 -0
- package/serialization/resources/hris/types/EmployerBenefit.d.ts +2 -1
- package/serialization/resources/hris/types/EmployerBenefit.js +2 -3
- package/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/hris/types/EventTypeEnum.js +3 -0
- package/serialization/resources/hris/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/serialization/resources/hris/types/FieldMappingApiInstanceRemoteField.js +2 -2
- package/serialization/resources/hris/types/FieldPermissionDeserializer.d.ts +2 -2
- package/serialization/resources/hris/types/FieldPermissionDeserializer.js +2 -2
- package/serialization/resources/hris/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/serialization/resources/hris/types/FieldPermissionDeserializerRequest.js +2 -2
- package/serialization/resources/hris/types/TimesheetEntry.d.ts +4 -2
- package/serialization/resources/hris/types/TimesheetEntry.js +4 -4
- package/serialization/resources/hris/types/TimesheetEntryEmployee.d.ts +10 -0
- package/serialization/resources/hris/types/TimesheetEntryEmployee.js +35 -0
- package/serialization/resources/hris/types/TimesheetEntryRequest.d.ts +2 -1
- package/serialization/resources/hris/types/TimesheetEntryRequest.js +2 -1
- package/serialization/resources/hris/types/TimesheetEntryRequestEmployee.d.ts +10 -0
- package/serialization/resources/hris/types/TimesheetEntryRequestEmployee.js +35 -0
- package/serialization/resources/hris/types/index.d.ts +2 -0
- package/serialization/resources/hris/types/index.js +2 -0
- package/serialization/resources/index.d.ts +2 -2
- package/serialization/resources/index.js +3 -3
- package/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +10 -0
- package/{dist/serialization/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.js → serialization/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.js} +2 -2
- package/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +10 -0
- package/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +31 -0
- package/serialization/resources/ticketing/resources/collections/types/index.d.ts +2 -1
- package/serialization/resources/ticketing/resources/collections/types/index.js +2 -1
- package/serialization/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -1
- package/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.d.ts +1 -0
- package/serialization/resources/ticketing/resources/linkToken/client/requests/EndUserDetailsRequest.js +1 -0
- package/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.d.ts +1 -1
- package/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestExpand.js +128 -0
- package/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/ticketing/resources/tickets/types/TicketsRetrieveRequestExpand.js +128 -0
- package/serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.d.ts +10 -0
- package/{dist/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.js → serialization/resources/ticketing/resources/tickets/types/TicketsViewersListRequestExpand.js} +2 -2
- package/serialization/resources/ticketing/resources/tickets/types/index.d.ts +1 -2
- package/serialization/resources/ticketing/resources/tickets/types/index.js +1 -2
- package/serialization/resources/ticketing/types/Collection.d.ts +2 -0
- package/serialization/resources/ticketing/types/Collection.js +2 -0
- package/serialization/resources/ticketing/types/CollectionTeamsItem.d.ts +11 -0
- package/serialization/resources/ticketing/types/CollectionTeamsItem.js +32 -0
- package/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/ticketing/types/EventTypeEnum.js +3 -0
- package/serialization/resources/ticketing/types/FieldMappingApiInstanceRemoteField.d.ts +2 -2
- package/serialization/resources/ticketing/types/FieldMappingApiInstanceRemoteField.js +2 -2
- package/serialization/resources/ticketing/types/FieldPermissionDeserializer.d.ts +2 -2
- package/serialization/resources/ticketing/types/FieldPermissionDeserializer.js +2 -2
- package/serialization/resources/ticketing/types/FieldPermissionDeserializerRequest.d.ts +2 -2
- package/serialization/resources/ticketing/types/FieldPermissionDeserializerRequest.js +2 -2
- package/serialization/resources/ticketing/types/PaginatedViewerList.d.ts +15 -0
- package/serialization/resources/ticketing/types/PaginatedViewerList.js +36 -0
- package/serialization/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -0
- package/serialization/resources/ticketing/types/PatchedTicketRequest.js +2 -0
- package/serialization/resources/ticketing/types/Ticket.d.ts +3 -0
- package/serialization/resources/ticketing/types/Ticket.js +3 -0
- package/serialization/resources/ticketing/types/TicketAssignedTeamsItem.d.ts +11 -0
- package/serialization/resources/ticketing/types/TicketAssignedTeamsItem.js +32 -0
- package/serialization/resources/ticketing/types/TicketRequest.d.ts +3 -0
- package/serialization/resources/ticketing/types/TicketRequest.js +3 -0
- package/serialization/resources/ticketing/types/TicketRequestAssignedTeamsItem.d.ts +11 -0
- package/serialization/resources/ticketing/types/TicketRequestAssignedTeamsItem.js +32 -0
- package/serialization/resources/ticketing/types/Viewer.d.ts +19 -0
- package/serialization/resources/ticketing/types/Viewer.js +40 -0
- package/serialization/resources/ticketing/types/ViewerTeam.d.ts +11 -0
- package/serialization/resources/ticketing/types/ViewerTeam.js +32 -0
- package/serialization/resources/ticketing/types/ViewerUser.d.ts +11 -0
- package/serialization/resources/ticketing/types/ViewerUser.js +32 -0
- package/serialization/resources/ticketing/types/index.d.ts +7 -0
- package/serialization/resources/ticketing/types/index.js +7 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.d.ts +0 -9
- package/api/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.js +0 -11
- package/api/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.d.ts +0 -9
- package/api/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.js +0 -11
- package/api/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.d.ts +0 -10
- package/api/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.js +0 -12
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.d.ts +0 -9
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.js +0 -11
- package/dist/api/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.d.ts +0 -9
- package/dist/api/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.js +0 -11
- package/dist/api/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.d.ts +0 -10
- package/dist/api/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.js +0 -12
- package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.d.ts +0 -10
- package/dist/serialization/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.d.ts +0 -10
- package/dist/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.d.ts +0 -10
- package/serialization/resources/ticketing/resources/collections/types/CollectionsUsersListRequestExpand.d.ts +0 -10
- package/serialization/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.d.ts +0 -10
- package/serialization/resources/ticketing/resources/tickets/types/TicketsCollaboratorsListRequestExpand.js +0 -31
- package/serialization/resources/ticketing/resources/tickets/types/TicketsListRequestStatus.d.ts +0 -10
- /package/api/resources/{ticketing/resources/collections/client/requests/CollectionsUsersListRequest.js → accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.js} +0 -0
- /package/api/resources/{ticketing/resources/tickets/client/requests/TicketsCollaboratorsListRequest.js → accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.js} +0 -0
- /package/{dist/api/resources/ticketing/resources/collections/client/requests/CollectionsUsersListRequest.js → api/resources/accounting/types/GeneralLedgerTransaction.js} +0 -0
- /package/{dist/api/resources/ticketing/resources/tickets/client/requests/TicketsCollaboratorsListRequest.js → api/resources/accounting/types/GeneralLedgerTransactionAccountingPeriod.js} +0 -0
|
@@ -126,7 +126,7 @@ class CreditNotes {
|
|
|
126
126
|
method: "GET",
|
|
127
127
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
128
128
|
? yield core.Supplier.get(this._options.accountToken)
|
|
129
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
129
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
130
130
|
contentType: "application/json",
|
|
131
131
|
queryParameters: _queryParams,
|
|
132
132
|
requestType: "json",
|
|
@@ -191,7 +191,7 @@ class CreditNotes {
|
|
|
191
191
|
method: "POST",
|
|
192
192
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
193
193
|
? yield core.Supplier.get(this._options.accountToken)
|
|
194
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
194
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
195
195
|
contentType: "application/json",
|
|
196
196
|
queryParameters: _queryParams,
|
|
197
197
|
requestType: "json",
|
|
@@ -264,7 +264,7 @@ class CreditNotes {
|
|
|
264
264
|
method: "GET",
|
|
265
265
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
266
266
|
? yield core.Supplier.get(this._options.accountToken)
|
|
267
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
267
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
268
268
|
contentType: "application/json",
|
|
269
269
|
queryParameters: _queryParams,
|
|
270
270
|
requestType: "json",
|
|
@@ -318,7 +318,7 @@ class CreditNotes {
|
|
|
318
318
|
method: "GET",
|
|
319
319
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
320
320
|
? yield core.Supplier.get(this._options.accountToken)
|
|
321
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
321
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
322
322
|
contentType: "application/json",
|
|
323
323
|
requestType: "json",
|
|
324
324
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -63,7 +63,7 @@ class DeleteAccount {
|
|
|
63
63
|
method: "POST",
|
|
64
64
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
65
65
|
? yield core.Supplier.get(this._options.accountToken)
|
|
66
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
66
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
requestType: "json",
|
|
69
69
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -85,7 +85,7 @@ class Employees {
|
|
|
85
85
|
method: "GET",
|
|
86
86
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
87
87
|
? yield core.Supplier.get(this._options.accountToken)
|
|
88
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
88
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
89
89
|
contentType: "application/json",
|
|
90
90
|
queryParameters: _queryParams,
|
|
91
91
|
requestType: "json",
|
|
@@ -149,7 +149,7 @@ class Employees {
|
|
|
149
149
|
method: "GET",
|
|
150
150
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
151
151
|
? yield core.Supplier.get(this._options.accountToken)
|
|
152
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
152
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
153
153
|
contentType: "application/json",
|
|
154
154
|
queryParameters: _queryParams,
|
|
155
155
|
requestType: "json",
|
|
@@ -123,7 +123,7 @@ class Expenses {
|
|
|
123
123
|
method: "GET",
|
|
124
124
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
125
125
|
? yield core.Supplier.get(this._options.accountToken)
|
|
126
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
126
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
127
127
|
contentType: "application/json",
|
|
128
128
|
queryParameters: _queryParams,
|
|
129
129
|
requestType: "json",
|
|
@@ -188,7 +188,7 @@ class Expenses {
|
|
|
188
188
|
method: "POST",
|
|
189
189
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
190
190
|
? yield core.Supplier.get(this._options.accountToken)
|
|
191
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
191
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
192
192
|
contentType: "application/json",
|
|
193
193
|
queryParameters: _queryParams,
|
|
194
194
|
requestType: "json",
|
|
@@ -256,7 +256,7 @@ class Expenses {
|
|
|
256
256
|
method: "GET",
|
|
257
257
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
258
258
|
? yield core.Supplier.get(this._options.accountToken)
|
|
259
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
259
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
260
260
|
contentType: "application/json",
|
|
261
261
|
queryParameters: _queryParams,
|
|
262
262
|
requestType: "json",
|
|
@@ -331,7 +331,7 @@ class Expenses {
|
|
|
331
331
|
method: "GET",
|
|
332
332
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
333
333
|
? yield core.Supplier.get(this._options.accountToken)
|
|
334
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
334
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
335
335
|
contentType: "application/json",
|
|
336
336
|
queryParameters: _queryParams,
|
|
337
337
|
requestType: "json",
|
|
@@ -385,7 +385,7 @@ class Expenses {
|
|
|
385
385
|
method: "GET",
|
|
386
386
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
387
387
|
? yield core.Supplier.get(this._options.accountToken)
|
|
388
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
388
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
389
389
|
contentType: "application/json",
|
|
390
390
|
requestType: "json",
|
|
391
391
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -459,7 +459,7 @@ class Expenses {
|
|
|
459
459
|
method: "GET",
|
|
460
460
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
461
461
|
? yield core.Supplier.get(this._options.accountToken)
|
|
462
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
462
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
463
463
|
contentType: "application/json",
|
|
464
464
|
queryParameters: _queryParams,
|
|
465
465
|
requestType: "json",
|
|
@@ -81,7 +81,7 @@ class FieldMapping {
|
|
|
81
81
|
method: "GET",
|
|
82
82
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.accountToken)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
87
87
|
requestType: "json",
|
|
@@ -148,7 +148,7 @@ class FieldMapping {
|
|
|
148
148
|
method: "POST",
|
|
149
149
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
150
150
|
? yield core.Supplier.get(this._options.accountToken)
|
|
151
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
151
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
152
152
|
contentType: "application/json",
|
|
153
153
|
queryParameters: _queryParams,
|
|
154
154
|
requestType: "json",
|
|
@@ -206,7 +206,7 @@ class FieldMapping {
|
|
|
206
206
|
method: "DELETE",
|
|
207
207
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
208
208
|
? yield core.Supplier.get(this._options.accountToken)
|
|
209
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
209
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
210
210
|
contentType: "application/json",
|
|
211
211
|
requestType: "json",
|
|
212
212
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -261,7 +261,7 @@ class FieldMapping {
|
|
|
261
261
|
method: "PATCH",
|
|
262
262
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
263
263
|
? yield core.Supplier.get(this._options.accountToken)
|
|
264
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
264
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
265
265
|
contentType: "application/json",
|
|
266
266
|
requestType: "json",
|
|
267
267
|
body: serializers.accounting.PatchedEditFieldMappingRequest.jsonOrThrow(request, {
|
|
@@ -326,7 +326,7 @@ class FieldMapping {
|
|
|
326
326
|
method: "GET",
|
|
327
327
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
328
328
|
? yield core.Supplier.get(this._options.accountToken)
|
|
329
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
329
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
330
330
|
contentType: "application/json",
|
|
331
331
|
queryParameters: _queryParams,
|
|
332
332
|
requestType: "json",
|
|
@@ -380,7 +380,7 @@ class FieldMapping {
|
|
|
380
380
|
method: "GET",
|
|
381
381
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
382
382
|
? yield core.Supplier.get(this._options.accountToken)
|
|
383
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
383
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
384
384
|
contentType: "application/json",
|
|
385
385
|
requestType: "json",
|
|
386
386
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -64,7 +64,7 @@ class ForceResync {
|
|
|
64
64
|
method: "POST",
|
|
65
65
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
66
66
|
? yield core.Supplier.get(this._options.accountToken)
|
|
67
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
67
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as Merge from "../../../../../index";
|
|
7
|
+
export declare namespace GeneralLedgerTransactions {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.MergeEnvironment | string>;
|
|
10
|
+
apiKey: core.Supplier<core.BearerToken>;
|
|
11
|
+
/** Override the X-Account-Token header */
|
|
12
|
+
accountToken?: core.Supplier<string | undefined>;
|
|
13
|
+
fetcher?: core.FetchFunction;
|
|
14
|
+
}
|
|
15
|
+
interface RequestOptions {
|
|
16
|
+
/** The maximum time to wait for a response in seconds. */
|
|
17
|
+
timeoutInSeconds?: number;
|
|
18
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
19
|
+
maxRetries?: number;
|
|
20
|
+
/** A hook to abort the request. */
|
|
21
|
+
abortSignal?: AbortSignal;
|
|
22
|
+
/** Override the X-Account-Token header */
|
|
23
|
+
accountToken?: string | undefined;
|
|
24
|
+
/** Additional headers to include in the request. */
|
|
25
|
+
headers?: Record<string, string>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export declare class GeneralLedgerTransactions {
|
|
29
|
+
protected readonly _options: GeneralLedgerTransactions.Options;
|
|
30
|
+
constructor(_options: GeneralLedgerTransactions.Options);
|
|
31
|
+
/**
|
|
32
|
+
* Returns a list of `GeneralLedgerTransaction` objects.
|
|
33
|
+
*
|
|
34
|
+
* @param {Merge.accounting.GeneralLedgerTransactionsListRequest} request
|
|
35
|
+
* @param {GeneralLedgerTransactions.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* await client.accounting.generalLedgerTransactions.list()
|
|
39
|
+
*/
|
|
40
|
+
list(request?: Merge.accounting.GeneralLedgerTransactionsListRequest, requestOptions?: GeneralLedgerTransactions.RequestOptions): Promise<Merge.accounting.PaginatedGeneralLedgerTransactionList>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns a `GeneralLedgerTransaction` object with the given `id`.
|
|
43
|
+
*
|
|
44
|
+
* @param {string} id
|
|
45
|
+
* @param {Merge.accounting.GeneralLedgerTransactionsRetrieveRequest} request
|
|
46
|
+
* @param {GeneralLedgerTransactions.RequestOptions} requestOptions - Request-specific configuration.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* await client.accounting.generalLedgerTransactions.retrieve("id")
|
|
50
|
+
*/
|
|
51
|
+
retrieve(id: string, request?: Merge.accounting.GeneralLedgerTransactionsRetrieveRequest, requestOptions?: GeneralLedgerTransactions.RequestOptions): Promise<Merge.accounting.GeneralLedgerTransaction>;
|
|
52
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.GeneralLedgerTransactions = void 0;
|
|
42
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
43
|
+
const core = __importStar(require("../../../../../../core"));
|
|
44
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
45
|
+
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
46
|
+
const errors = __importStar(require("../../../../../../errors/index"));
|
|
47
|
+
class GeneralLedgerTransactions {
|
|
48
|
+
constructor(_options) {
|
|
49
|
+
this._options = _options;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns a list of `GeneralLedgerTransaction` objects.
|
|
53
|
+
*
|
|
54
|
+
* @param {Merge.accounting.GeneralLedgerTransactionsListRequest} request
|
|
55
|
+
* @param {GeneralLedgerTransactions.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.accounting.generalLedgerTransactions.list()
|
|
59
|
+
*/
|
|
60
|
+
list(request = {}, requestOptions) {
|
|
61
|
+
var _a, _b;
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
const { companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeShellData, modifiedAfter, modifiedBefore, pageSize, postedDateAfter, postedDateBefore, remoteId, } = request;
|
|
64
|
+
const _queryParams = {};
|
|
65
|
+
if (companyId != null) {
|
|
66
|
+
_queryParams["company_id"] = companyId;
|
|
67
|
+
}
|
|
68
|
+
if (createdAfter != null) {
|
|
69
|
+
_queryParams["created_after"] = createdAfter.toISOString();
|
|
70
|
+
}
|
|
71
|
+
if (createdBefore != null) {
|
|
72
|
+
_queryParams["created_before"] = createdBefore.toISOString();
|
|
73
|
+
}
|
|
74
|
+
if (cursor != null) {
|
|
75
|
+
_queryParams["cursor"] = cursor;
|
|
76
|
+
}
|
|
77
|
+
if (expand != null) {
|
|
78
|
+
_queryParams["expand"] = expand;
|
|
79
|
+
}
|
|
80
|
+
if (includeDeletedData != null) {
|
|
81
|
+
_queryParams["include_deleted_data"] = includeDeletedData.toString();
|
|
82
|
+
}
|
|
83
|
+
if (includeRemoteData != null) {
|
|
84
|
+
_queryParams["include_remote_data"] = includeRemoteData.toString();
|
|
85
|
+
}
|
|
86
|
+
if (includeShellData != null) {
|
|
87
|
+
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
88
|
+
}
|
|
89
|
+
if (modifiedAfter != null) {
|
|
90
|
+
_queryParams["modified_after"] = modifiedAfter.toISOString();
|
|
91
|
+
}
|
|
92
|
+
if (modifiedBefore != null) {
|
|
93
|
+
_queryParams["modified_before"] = modifiedBefore.toISOString();
|
|
94
|
+
}
|
|
95
|
+
if (pageSize != null) {
|
|
96
|
+
_queryParams["page_size"] = pageSize.toString();
|
|
97
|
+
}
|
|
98
|
+
if (postedDateAfter != null) {
|
|
99
|
+
_queryParams["posted_date_after"] = postedDateAfter.toISOString();
|
|
100
|
+
}
|
|
101
|
+
if (postedDateBefore != null) {
|
|
102
|
+
_queryParams["posted_date_before"] = postedDateBefore.toISOString();
|
|
103
|
+
}
|
|
104
|
+
if (remoteId != null) {
|
|
105
|
+
_queryParams["remote_id"] = remoteId;
|
|
106
|
+
}
|
|
107
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
108
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "accounting/v1/general-ledger-transactions"),
|
|
109
|
+
method: "GET",
|
|
110
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
111
|
+
? yield core.Supplier.get(this._options.accountToken)
|
|
112
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
113
|
+
contentType: "application/json",
|
|
114
|
+
queryParameters: _queryParams,
|
|
115
|
+
requestType: "json",
|
|
116
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
117
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
118
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
119
|
+
});
|
|
120
|
+
if (_response.ok) {
|
|
121
|
+
return serializers.accounting.PaginatedGeneralLedgerTransactionList.parseOrThrow(_response.body, {
|
|
122
|
+
unrecognizedObjectKeys: "passthrough",
|
|
123
|
+
allowUnrecognizedUnionMembers: true,
|
|
124
|
+
allowUnrecognizedEnumValues: true,
|
|
125
|
+
skipValidation: true,
|
|
126
|
+
breadcrumbsPrefix: ["response"],
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
if (_response.error.reason === "status-code") {
|
|
130
|
+
throw new errors.MergeError({
|
|
131
|
+
statusCode: _response.error.statusCode,
|
|
132
|
+
body: _response.error.body,
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
switch (_response.error.reason) {
|
|
136
|
+
case "non-json":
|
|
137
|
+
throw new errors.MergeError({
|
|
138
|
+
statusCode: _response.error.statusCode,
|
|
139
|
+
body: _response.error.rawBody,
|
|
140
|
+
});
|
|
141
|
+
case "timeout":
|
|
142
|
+
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/general-ledger-transactions.");
|
|
143
|
+
case "unknown":
|
|
144
|
+
throw new errors.MergeError({
|
|
145
|
+
message: _response.error.errorMessage,
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Returns a `GeneralLedgerTransaction` object with the given `id`.
|
|
152
|
+
*
|
|
153
|
+
* @param {string} id
|
|
154
|
+
* @param {Merge.accounting.GeneralLedgerTransactionsRetrieveRequest} request
|
|
155
|
+
* @param {GeneralLedgerTransactions.RequestOptions} requestOptions - Request-specific configuration.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* await client.accounting.generalLedgerTransactions.retrieve("id")
|
|
159
|
+
*/
|
|
160
|
+
retrieve(id, request = {}, requestOptions) {
|
|
161
|
+
var _a, _b;
|
|
162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
const { expand, includeRemoteData } = request;
|
|
164
|
+
const _queryParams = {};
|
|
165
|
+
if (expand != null) {
|
|
166
|
+
_queryParams["expand"] = expand;
|
|
167
|
+
}
|
|
168
|
+
if (includeRemoteData != null) {
|
|
169
|
+
_queryParams["include_remote_data"] = includeRemoteData.toString();
|
|
170
|
+
}
|
|
171
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
172
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `accounting/v1/general-ledger-transactions/${encodeURIComponent(id)}`),
|
|
173
|
+
method: "GET",
|
|
174
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
175
|
+
? yield core.Supplier.get(this._options.accountToken)
|
|
176
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "@mergeapi/merge-node-client/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
177
|
+
contentType: "application/json",
|
|
178
|
+
queryParameters: _queryParams,
|
|
179
|
+
requestType: "json",
|
|
180
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
181
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
182
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
183
|
+
});
|
|
184
|
+
if (_response.ok) {
|
|
185
|
+
return serializers.accounting.GeneralLedgerTransaction.parseOrThrow(_response.body, {
|
|
186
|
+
unrecognizedObjectKeys: "passthrough",
|
|
187
|
+
allowUnrecognizedUnionMembers: true,
|
|
188
|
+
allowUnrecognizedEnumValues: true,
|
|
189
|
+
skipValidation: true,
|
|
190
|
+
breadcrumbsPrefix: ["response"],
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
if (_response.error.reason === "status-code") {
|
|
194
|
+
throw new errors.MergeError({
|
|
195
|
+
statusCode: _response.error.statusCode,
|
|
196
|
+
body: _response.error.body,
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
switch (_response.error.reason) {
|
|
200
|
+
case "non-json":
|
|
201
|
+
throw new errors.MergeError({
|
|
202
|
+
statusCode: _response.error.statusCode,
|
|
203
|
+
body: _response.error.rawBody,
|
|
204
|
+
});
|
|
205
|
+
case "timeout":
|
|
206
|
+
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/general-ledger-transactions/{id}.");
|
|
207
|
+
case "unknown":
|
|
208
|
+
throw new errors.MergeError({
|
|
209
|
+
message: _response.error.errorMessage,
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
_getAuthorizationHeader() {
|
|
215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
216
|
+
return `Bearer ${yield core.Supplier.get(this._options.apiKey)}`;
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
exports.GeneralLedgerTransactions = GeneralLedgerTransactions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -6,7 +6,19 @@ import * as Merge from "../../../../../../index";
|
|
|
6
6
|
* @example
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
|
-
export interface
|
|
9
|
+
export interface GeneralLedgerTransactionsListRequest {
|
|
10
|
+
/**
|
|
11
|
+
* If provided, will only return general ledger transactions for this company.
|
|
12
|
+
*/
|
|
13
|
+
companyId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* If provided, will only return objects created after this datetime.
|
|
16
|
+
*/
|
|
17
|
+
createdAfter?: Date;
|
|
18
|
+
/**
|
|
19
|
+
* If provided, will only return objects created before this datetime.
|
|
20
|
+
*/
|
|
21
|
+
createdBefore?: Date;
|
|
10
22
|
/**
|
|
11
23
|
* The pagination cursor value.
|
|
12
24
|
*/
|
|
@@ -14,7 +26,7 @@ export interface TicketsCollaboratorsListRequest {
|
|
|
14
26
|
/**
|
|
15
27
|
* Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
16
28
|
*/
|
|
17
|
-
expand?: Merge.
|
|
29
|
+
expand?: Merge.accounting.GeneralLedgerTransactionsListRequestExpand;
|
|
18
30
|
/**
|
|
19
31
|
* Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
|
|
20
32
|
*/
|
|
@@ -27,8 +39,28 @@ export interface TicketsCollaboratorsListRequest {
|
|
|
27
39
|
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
28
40
|
*/
|
|
29
41
|
includeShellData?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* If provided, only objects synced by Merge after this date time will be returned.
|
|
44
|
+
*/
|
|
45
|
+
modifiedAfter?: Date;
|
|
46
|
+
/**
|
|
47
|
+
* If provided, only objects synced by Merge before this date time will be returned.
|
|
48
|
+
*/
|
|
49
|
+
modifiedBefore?: Date;
|
|
30
50
|
/**
|
|
31
51
|
* Number of results to return per page.
|
|
32
52
|
*/
|
|
33
53
|
pageSize?: number;
|
|
54
|
+
/**
|
|
55
|
+
* If provided, will only return objects posted after this datetime.
|
|
56
|
+
*/
|
|
57
|
+
postedDateAfter?: Date;
|
|
58
|
+
/**
|
|
59
|
+
* If provided, will only return objects posted before this datetime.
|
|
60
|
+
*/
|
|
61
|
+
postedDateBefore?: Date;
|
|
62
|
+
/**
|
|
63
|
+
* The API provider's ID for the given object.
|
|
64
|
+
*/
|
|
65
|
+
remoteId?: string;
|
|
34
66
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Merge from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface GeneralLedgerTransactionsRetrieveRequest {
|
|
10
|
+
/**
|
|
11
|
+
* Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
12
|
+
*/
|
|
13
|
+
expand?: Merge.accounting.GeneralLedgerTransactionsRetrieveRequestExpand;
|
|
14
|
+
/**
|
|
15
|
+
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
16
|
+
*/
|
|
17
|
+
includeRemoteData?: boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|