@mergeapi/merge-node-client 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -3
- package/Client.js +9 -9
- package/README.md +0 -7
- 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/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/attachments/client/Client.js +4 -4
- 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/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 +11 -5
- package/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
- package/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/accounting/resources/expenses/client/Client.js +4 -4
- package/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
- 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/invoices/client/Client.js +4 -4
- 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 +4 -4
- 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 +4 -4
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
- 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 +2 -2
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/accounting/types/CreditNote.d.ts +2 -2
- package/api/resources/accounting/types/CreditNoteApplyLine.d.ts +21 -0
- package/api/resources/accounting/types/CreditNoteApplyLine.js +5 -0
- package/api/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +5 -0
- package/api/resources/accounting/types/CreditNoteApplyLineInvoice.js +5 -0
- package/api/resources/accounting/types/CreditNotesListRequestExpand.d.ts +9 -1
- package/api/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
- package/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +9 -1
- package/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
- package/api/resources/accounting/types/Expense.d.ts +4 -0
- package/api/resources/accounting/types/ExpenseLine.d.ts +311 -0
- package/api/resources/accounting/types/ExpenseLineCurrency.d.ts +315 -0
- package/api/resources/accounting/types/ExpenseLineCurrency.js +5 -0
- package/api/resources/accounting/types/ExpenseLineRequest.d.ts +311 -0
- package/api/resources/accounting/types/ExpenseRequest.d.ts +4 -0
- package/api/resources/accounting/types/Invoice.d.ts +11 -0
- package/api/resources/accounting/types/InvoiceRequest.d.ts +11 -0
- package/api/resources/accounting/types/InvoiceRequestStatus.d.ts +15 -0
- package/api/resources/accounting/types/InvoiceRequestStatus.js +5 -0
- package/api/resources/accounting/types/InvoiceStatusEnum.d.ts +20 -0
- package/api/resources/accounting/types/InvoiceStatusEnum.js +14 -0
- package/api/resources/accounting/types/JournalEntry.d.ts +2 -0
- package/api/resources/accounting/types/JournalEntryRequest.d.ts +3 -0
- package/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +5 -0
- package/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +5 -0
- package/api/resources/accounting/types/JournalLine.d.ts +311 -0
- package/api/resources/accounting/types/JournalLineCurrency.d.ts +315 -0
- package/api/resources/accounting/types/JournalLineCurrency.js +5 -0
- package/api/resources/accounting/types/JournalLineRequest.d.ts +311 -0
- package/api/resources/accounting/types/JournalLineRequestCurrency.d.ts +315 -0
- package/api/resources/accounting/types/JournalLineRequestCurrency.js +5 -0
- package/api/resources/accounting/types/Payment.d.ts +1 -0
- package/api/resources/accounting/types/PaymentLineItem.d.ts +26 -0
- package/api/resources/accounting/types/PaymentLineItem.js +5 -0
- package/api/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +5 -0
- package/api/resources/accounting/types/PaymentLineItemRelatedObjectType.js +5 -0
- package/api/resources/accounting/types/PaymentLineItemRequest.d.ts +25 -0
- package/api/resources/accounting/types/PaymentLineItemRequest.js +5 -0
- package/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +5 -0
- package/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +5 -0
- package/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/api/resources/accounting/types/PaymentsListRequestExpand.d.ts +17 -1
- package/api/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
- package/api/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +17 -1
- package/api/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
- package/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
- package/api/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
- package/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +5 -0
- package/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +5 -0
- package/api/resources/accounting/types/RelatedObjectTypeEnum.d.ts +16 -0
- package/api/resources/accounting/types/RelatedObjectTypeEnum.js +12 -0
- package/api/resources/accounting/types/VendorCredit.d.ts +1 -0
- package/api/resources/accounting/types/VendorCreditApplyLine.d.ts +21 -0
- package/api/resources/accounting/types/VendorCreditApplyLine.js +5 -0
- package/api/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +5 -0
- package/api/resources/accounting/types/VendorCreditApplyLineInvoice.js +5 -0
- package/api/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +17 -1
- package/api/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
- package/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +17 -1
- package/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
- package/api/resources/accounting/types/index.d.ts +16 -0
- package/api/resources/accounting/types/index.js +16 -0
- package/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/ats/resources/accountToken/client/Client.js +1 -1
- package/api/resources/ats/resources/activities/client/Client.js +4 -4
- package/api/resources/ats/resources/applications/client/Client.js +5 -5
- package/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/ats/resources/attachments/client/Client.js +4 -4
- package/api/resources/ats/resources/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/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/jobs/client/Client.js +2 -2
- package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/ats/resources/offers/client/Client.js +2 -2
- package/api/resources/ats/resources/offices/client/Client.js +2 -2
- package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
- package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
- package/api/resources/ats/resources/scorecards/client/Client.js +2 -2
- package/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/ats/resources/tags/client/Client.js +1 -1
- package/api/resources/ats/resources/users/client/Client.js +2 -2
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
- package/api/resources/crm/resources/accounts/client/Client.js +7 -7
- package/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
- package/api/resources/crm/resources/associations/client/Client.js +2 -2
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
- package/api/resources/crm/resources/contacts/client/Client.js +15 -9
- package/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +3 -3
- package/api/resources/crm/resources/customObjects/client/Client.js +6 -6
- 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/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 +12 -6
- package/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +8 -0
- package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/crm/resources/notes/client/Client.js +5 -5
- package/api/resources/crm/resources/opportunities/client/Client.js +7 -7
- package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
- package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/crm/resources/stages/client/Client.js +3 -3
- package/api/resources/crm/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/crm/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/crm/resources/tasks/client/Client.js +7 -7
- package/api/resources/crm/resources/users/client/Client.js +4 -4
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/crm/types/AccountRequest.d.ts +2 -0
- package/api/resources/crm/types/RemoteFieldRequest.d.ts +1 -1
- 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/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/files/client/Client.js +5 -5
- package/api/resources/filestorage/resources/folders/client/Client.js +4 -4
- package/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
- package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
- package/api/resources/filestorage/resources/groups/client/Client.js +2 -2
- package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
- package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/filestorage/resources/users/client/Client.js +3 -3
- package/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +1 -1
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/filestorage/types/FilePermissions.d.ts +8 -0
- package/api/resources/filestorage/types/FilePermissions.js +5 -0
- package/api/resources/filestorage/types/FilePermissionsItem.d.ts +5 -0
- package/api/resources/filestorage/types/FilePermissionsItem.js +5 -0
- package/api/resources/filestorage/types/FileRequest.d.ts +2 -1
- package/api/resources/filestorage/types/FileRequestPermissions.d.ts +8 -0
- package/api/resources/filestorage/types/FileRequestPermissions.js +5 -0
- package/api/resources/filestorage/types/FileRequestPermissionsItem.d.ts +5 -0
- package/api/resources/filestorage/types/FileRequestPermissionsItem.js +5 -0
- package/api/resources/filestorage/types/File_.d.ts +2 -1
- package/api/resources/filestorage/types/Folder.d.ts +2 -1
- package/api/resources/filestorage/types/FolderPermissions.d.ts +8 -0
- package/api/resources/filestorage/types/FolderPermissions.js +5 -0
- package/api/resources/filestorage/types/FolderPermissionsItem.d.ts +5 -0
- package/api/resources/filestorage/types/FolderPermissionsItem.js +5 -0
- package/api/resources/filestorage/types/FolderRequest.d.ts +2 -1
- package/api/resources/filestorage/types/FolderRequestPermissions.d.ts +8 -0
- package/api/resources/filestorage/types/FolderRequestPermissions.js +5 -0
- package/api/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +5 -0
- package/api/resources/filestorage/types/FolderRequestPermissionsItem.js +5 -0
- package/api/resources/filestorage/types/Permission.d.ts +34 -0
- package/api/resources/filestorage/types/Permission.js +5 -0
- package/api/resources/filestorage/types/PermissionRequest.d.ts +33 -0
- package/api/resources/filestorage/types/PermissionRequest.js +5 -0
- package/api/resources/filestorage/types/RolesEnum.d.ts +14 -0
- package/api/resources/filestorage/types/RolesEnum.js +11 -0
- package/api/resources/filestorage/types/TypeEnum.d.ts +16 -0
- package/api/resources/filestorage/types/TypeEnum.js +12 -0
- package/api/resources/filestorage/types/index.d.ts +12 -0
- package/api/resources/filestorage/types/index.js +12 -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/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 +15 -6
- package/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +12 -0
- 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/forceResync/client/Client.js +1 -1
- package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
- package/api/resources/hris/resources/groups/client/Client.js +2 -2
- package/api/resources/hris/resources/issues/client/Client.js +2 -2
- package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/hris/resources/locations/client/Client.js +2 -2
- package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
- package/api/resources/hris/resources/payGroups/client/Client.js +2 -2
- package/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
- package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
- 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/webhookReceivers/client/Client.js +2 -2
- package/api/resources/hris/types/Employee.d.ts +2 -0
- package/api/resources/hris/types/EmployeeRequest.d.ts +2 -0
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
- package/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
- package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/api/resources/ticketing/resources/collections/client/Client.js +3 -3
- package/api/resources/ticketing/resources/comments/client/Client.js +4 -4
- package/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
- package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
- package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
- package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
- package/api/resources/ticketing/resources/projects/client/Client.js +3 -3
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
- package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/ticketing/resources/tags/client/Client.js +2 -2
- package/api/resources/ticketing/resources/teams/client/Client.js +2 -2
- package/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
- package/api/resources/ticketing/resources/users/client/Client.js +2 -2
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +9 -9
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/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/attachments/client/Client.js +4 -4
- 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/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 +11 -5
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
- 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/invoices/client/Client.js +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
- 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 +2 -2
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/accounting/types/CreditNote.d.ts +2 -2
- package/dist/api/resources/accounting/types/CreditNoteApplyLine.d.ts +21 -0
- package/dist/api/resources/accounting/types/CreditNoteApplyLine.js +5 -0
- package/dist/api/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +5 -0
- package/dist/api/resources/accounting/types/CreditNoteApplyLineInvoice.js +5 -0
- package/dist/api/resources/accounting/types/CreditNotesListRequestExpand.d.ts +9 -1
- package/dist/api/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
- package/dist/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +9 -1
- package/dist/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
- package/dist/api/resources/accounting/types/Expense.d.ts +4 -0
- package/dist/api/resources/accounting/types/ExpenseLine.d.ts +311 -0
- package/dist/api/resources/accounting/types/ExpenseLineCurrency.d.ts +315 -0
- package/dist/api/resources/accounting/types/ExpenseLineCurrency.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseLineRequest.d.ts +311 -0
- package/dist/api/resources/accounting/types/ExpenseRequest.d.ts +4 -0
- package/dist/api/resources/accounting/types/Invoice.d.ts +11 -0
- package/dist/api/resources/accounting/types/InvoiceRequest.d.ts +11 -0
- package/dist/api/resources/accounting/types/InvoiceRequestStatus.d.ts +15 -0
- package/dist/api/resources/accounting/types/InvoiceRequestStatus.js +5 -0
- package/dist/api/resources/accounting/types/InvoiceStatusEnum.d.ts +20 -0
- package/dist/api/resources/accounting/types/InvoiceStatusEnum.js +14 -0
- package/dist/api/resources/accounting/types/JournalEntry.d.ts +2 -0
- package/dist/api/resources/accounting/types/JournalEntryRequest.d.ts +3 -0
- package/dist/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +5 -0
- package/dist/api/resources/accounting/types/JournalLine.d.ts +311 -0
- package/dist/api/resources/accounting/types/JournalLineCurrency.d.ts +315 -0
- package/dist/api/resources/accounting/types/JournalLineCurrency.js +5 -0
- package/dist/api/resources/accounting/types/JournalLineRequest.d.ts +311 -0
- package/dist/api/resources/accounting/types/JournalLineRequestCurrency.d.ts +315 -0
- package/dist/api/resources/accounting/types/JournalLineRequestCurrency.js +5 -0
- package/dist/api/resources/accounting/types/Payment.d.ts +1 -0
- package/dist/api/resources/accounting/types/PaymentLineItem.d.ts +26 -0
- package/dist/api/resources/accounting/types/PaymentLineItem.js +5 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +5 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRelatedObjectType.js +5 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRequest.d.ts +25 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRequest.js +5 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +5 -0
- package/dist/api/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +5 -0
- package/dist/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/PaymentsListRequestExpand.d.ts +17 -1
- package/dist/api/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
- package/dist/api/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +17 -1
- package/dist/api/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
- package/dist/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
- package/dist/api/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +5 -0
- package/dist/api/resources/accounting/types/RelatedObjectTypeEnum.d.ts +16 -0
- package/dist/api/resources/accounting/types/RelatedObjectTypeEnum.js +12 -0
- package/dist/api/resources/accounting/types/VendorCredit.d.ts +1 -0
- package/dist/api/resources/accounting/types/VendorCreditApplyLine.d.ts +21 -0
- package/dist/api/resources/accounting/types/VendorCreditApplyLine.js +5 -0
- package/dist/api/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +5 -0
- package/dist/api/resources/accounting/types/VendorCreditApplyLineInvoice.js +5 -0
- package/dist/api/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +17 -1
- package/dist/api/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
- package/dist/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +17 -1
- package/dist/api/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
- package/dist/api/resources/accounting/types/index.d.ts +16 -0
- package/dist/api/resources/accounting/types/index.js +16 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/activities/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/applications/client/Client.js +5 -5
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/attachments/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/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/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/jobs/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/offers/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/offices/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/users/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/accounts/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/contacts/client/Client.js +15 -9
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +8 -0
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +6 -6
- 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/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 +12 -6
- package/dist/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +8 -0
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/notes/client/Client.js +5 -5
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/stages/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/tasks/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/users/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/crm/types/AccountRequest.d.ts +2 -0
- package/dist/api/resources/crm/types/RemoteFieldRequest.d.ts +1 -1
- 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/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/files/client/Client.js +5 -5
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/users/client/Client.js +3 -3
- package/dist/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +1 -1
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/filestorage/types/FilePermissions.d.ts +8 -0
- package/dist/api/resources/filestorage/types/FilePermissions.js +5 -0
- package/dist/api/resources/filestorage/types/FilePermissionsItem.d.ts +5 -0
- package/dist/api/resources/filestorage/types/FilePermissionsItem.js +5 -0
- package/dist/api/resources/filestorage/types/FileRequest.d.ts +2 -1
- package/dist/api/resources/filestorage/types/FileRequestPermissions.d.ts +8 -0
- package/dist/api/resources/filestorage/types/FileRequestPermissions.js +5 -0
- package/dist/api/resources/filestorage/types/FileRequestPermissionsItem.d.ts +5 -0
- package/dist/api/resources/filestorage/types/FileRequestPermissionsItem.js +5 -0
- package/dist/api/resources/filestorage/types/File_.d.ts +2 -1
- package/dist/api/resources/filestorage/types/Folder.d.ts +2 -1
- package/dist/api/resources/filestorage/types/FolderPermissions.d.ts +8 -0
- package/dist/api/resources/filestorage/types/FolderPermissions.js +5 -0
- package/dist/api/resources/filestorage/types/FolderPermissionsItem.d.ts +5 -0
- package/dist/api/resources/filestorage/types/FolderPermissionsItem.js +5 -0
- package/dist/api/resources/filestorage/types/FolderRequest.d.ts +2 -1
- package/dist/api/resources/filestorage/types/FolderRequestPermissions.d.ts +8 -0
- package/dist/api/resources/filestorage/types/FolderRequestPermissions.js +5 -0
- package/dist/api/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +5 -0
- package/dist/api/resources/filestorage/types/FolderRequestPermissionsItem.js +5 -0
- package/dist/api/resources/filestorage/types/Permission.d.ts +34 -0
- package/dist/api/resources/filestorage/types/Permission.js +5 -0
- package/dist/api/resources/filestorage/types/PermissionRequest.d.ts +33 -0
- package/dist/api/resources/filestorage/types/PermissionRequest.js +5 -0
- package/dist/api/resources/filestorage/types/RolesEnum.d.ts +14 -0
- package/dist/api/resources/filestorage/types/RolesEnum.js +11 -0
- package/dist/api/resources/filestorage/types/TypeEnum.d.ts +16 -0
- package/dist/api/resources/filestorage/types/TypeEnum.js +12 -0
- package/dist/api/resources/filestorage/types/index.d.ts +12 -0
- package/dist/api/resources/filestorage/types/index.js +12 -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/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 +15 -6
- package/dist/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +12 -0
- 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/forceResync/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/groups/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/locations/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
- 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/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/hris/types/Employee.d.ts +2 -0
- package/dist/api/resources/hris/types/EmployeeRequest.d.ts +2 -0
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
- package/dist/api/resources/ticketing/resources/users/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/CreditNote.js +3 -0
- package/dist/serialization/resources/accounting/types/CreditNoteApplyLine.d.ts +15 -0
- package/dist/serialization/resources/accounting/types/CreditNoteApplyLine.js +47 -0
- package/dist/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.js +43 -0
- package/dist/serialization/resources/accounting/types/CreditNotesListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
- package/dist/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
- package/dist/serialization/resources/accounting/types/Expense.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/Expense.js +2 -0
- package/dist/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseLine.js +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineCurrency.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineCurrency.js +43 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineRequest.js +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/ExpenseRequest.js +2 -0
- package/dist/serialization/resources/accounting/types/Invoice.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/Invoice.js +1 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequest.js +1 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequestStatus.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequestStatus.js +43 -0
- package/dist/serialization/resources/accounting/types/InvoiceStatusEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/InvoiceStatusEnum.js +31 -0
- package/dist/serialization/resources/accounting/types/JournalEntry.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/JournalEntry.js +1 -0
- package/dist/serialization/resources/accounting/types/JournalEntryRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/JournalEntryRequest.js +6 -0
- package/dist/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +43 -0
- package/dist/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/JournalLine.js +1 -0
- package/dist/serialization/resources/accounting/types/JournalLineCurrency.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/JournalLineCurrency.js +43 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequest.js +3 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequestCurrency.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequestCurrency.js +43 -0
- package/dist/serialization/resources/accounting/types/Payment.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/Payment.js +3 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItem.d.ts +18 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItem.js +50 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.js +43 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +18 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.js +50 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +43 -0
- package/dist/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/PaymentRequest.js +3 -0
- package/dist/serialization/resources/accounting/types/PaymentsListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
- package/dist/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrder.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrder.js +1 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.js +5 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +43 -0
- package/dist/serialization/resources/accounting/types/RelatedObjectTypeEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/RelatedObjectTypeEnum.js +31 -0
- package/dist/serialization/resources/accounting/types/VendorCredit.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/VendorCredit.js +3 -0
- package/dist/serialization/resources/accounting/types/VendorCreditApplyLine.d.ts +15 -0
- package/dist/serialization/resources/accounting/types/VendorCreditApplyLine.js +47 -0
- package/dist/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.js +43 -0
- package/dist/serialization/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
- package/dist/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
- package/dist/serialization/resources/accounting/types/index.d.ts +16 -0
- package/dist/serialization/resources/accounting/types/index.js +16 -0
- package/dist/serialization/resources/crm/types/AccountRequest.d.ts +2 -0
- package/dist/serialization/resources/crm/types/AccountRequest.js +6 -0
- package/dist/serialization/resources/crm/types/RemoteFieldRequest.d.ts +1 -1
- package/dist/serialization/resources/crm/types/RemoteFieldRequest.js +1 -1
- package/dist/serialization/resources/filestorage/types/FilePermissions.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FilePermissions.js +44 -0
- package/dist/serialization/resources/filestorage/types/FilePermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FilePermissionsItem.js +43 -0
- package/dist/serialization/resources/filestorage/types/FileRequest.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/FileRequest.js +12 -1
- package/dist/serialization/resources/filestorage/types/FileRequestPermissions.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FileRequestPermissions.js +44 -0
- package/dist/serialization/resources/filestorage/types/FileRequestPermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FileRequestPermissionsItem.js +43 -0
- package/dist/serialization/resources/filestorage/types/File_.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/File_.js +12 -1
- package/dist/serialization/resources/filestorage/types/Folder.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/Folder.js +12 -1
- package/dist/serialization/resources/filestorage/types/FolderPermissions.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FolderPermissions.js +44 -0
- package/dist/serialization/resources/filestorage/types/FolderPermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FolderPermissionsItem.js +43 -0
- package/dist/serialization/resources/filestorage/types/FolderRequest.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/FolderRequest.js +12 -1
- package/dist/serialization/resources/filestorage/types/FolderRequestPermissions.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FolderRequestPermissions.js +44 -0
- package/dist/serialization/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/FolderRequestPermissionsItem.js +43 -0
- package/dist/serialization/resources/filestorage/types/Permission.d.ts +18 -0
- package/dist/serialization/resources/filestorage/types/Permission.js +50 -0
- package/dist/serialization/resources/filestorage/types/PermissionRequest.d.ts +18 -0
- package/dist/serialization/resources/filestorage/types/PermissionRequest.js +50 -0
- package/dist/serialization/resources/filestorage/types/RolesEnum.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/RolesEnum.js +31 -0
- package/dist/serialization/resources/filestorage/types/TypeEnum.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/TypeEnum.js +31 -0
- package/dist/serialization/resources/filestorage/types/index.d.ts +12 -0
- package/dist/serialization/resources/filestorage/types/index.js +12 -0
- package/dist/serialization/resources/hris/types/Employee.d.ts +1 -0
- package/dist/serialization/resources/hris/types/Employee.js +1 -0
- package/dist/serialization/resources/hris/types/EmployeeRequest.d.ts +1 -0
- package/dist/serialization/resources/hris/types/EmployeeRequest.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
- package/dist/serialization/resources/ticketing/types/RemoteFieldRequest.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
- package/serialization/resources/accounting/types/CreditNote.js +3 -0
- package/serialization/resources/accounting/types/CreditNoteApplyLine.d.ts +15 -0
- package/serialization/resources/accounting/types/CreditNoteApplyLine.js +47 -0
- package/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.d.ts +10 -0
- package/serialization/resources/accounting/types/CreditNoteApplyLineInvoice.js +43 -0
- package/serialization/resources/accounting/types/CreditNotesListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/CreditNotesListRequestExpand.js +8 -0
- package/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +8 -0
- package/serialization/resources/accounting/types/Expense.d.ts +2 -0
- package/serialization/resources/accounting/types/Expense.js +2 -0
- package/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/serialization/resources/accounting/types/ExpenseLine.js +1 -0
- package/serialization/resources/accounting/types/ExpenseLineCurrency.d.ts +10 -0
- package/serialization/resources/accounting/types/ExpenseLineCurrency.js +43 -0
- package/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/ExpenseLineRequest.js +1 -0
- package/serialization/resources/accounting/types/ExpenseRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/ExpenseRequest.js +2 -0
- package/serialization/resources/accounting/types/Invoice.d.ts +1 -0
- package/serialization/resources/accounting/types/Invoice.js +1 -0
- package/serialization/resources/accounting/types/InvoiceRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/InvoiceRequest.js +1 -0
- package/serialization/resources/accounting/types/InvoiceRequestStatus.d.ts +10 -0
- package/serialization/resources/accounting/types/InvoiceRequestStatus.js +43 -0
- package/serialization/resources/accounting/types/InvoiceStatusEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/InvoiceStatusEnum.js +31 -0
- package/serialization/resources/accounting/types/JournalEntry.d.ts +1 -0
- package/serialization/resources/accounting/types/JournalEntry.js +1 -0
- package/serialization/resources/accounting/types/JournalEntryRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/JournalEntryRequest.js +6 -0
- package/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.d.ts +10 -0
- package/serialization/resources/accounting/types/JournalEntryRequestTrackingCategoriesItem.js +43 -0
- package/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
- package/serialization/resources/accounting/types/JournalLine.js +1 -0
- package/serialization/resources/accounting/types/JournalLineCurrency.d.ts +10 -0
- package/serialization/resources/accounting/types/JournalLineCurrency.js +43 -0
- package/serialization/resources/accounting/types/JournalLineRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/JournalLineRequest.js +3 -0
- package/serialization/resources/accounting/types/JournalLineRequestCurrency.d.ts +10 -0
- package/serialization/resources/accounting/types/JournalLineRequestCurrency.js +43 -0
- package/serialization/resources/accounting/types/Payment.d.ts +1 -0
- package/serialization/resources/accounting/types/Payment.js +3 -0
- package/serialization/resources/accounting/types/PaymentLineItem.d.ts +18 -0
- package/serialization/resources/accounting/types/PaymentLineItem.js +50 -0
- package/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.d.ts +10 -0
- package/serialization/resources/accounting/types/PaymentLineItemRelatedObjectType.js +43 -0
- package/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +18 -0
- package/serialization/resources/accounting/types/PaymentLineItemRequest.js +50 -0
- package/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.d.ts +10 -0
- package/serialization/resources/accounting/types/PaymentLineItemRequestRelatedObjectType.js +43 -0
- package/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/PaymentRequest.js +3 -0
- package/serialization/resources/accounting/types/PaymentsListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/PaymentsListRequestExpand.js +16 -0
- package/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.js +16 -0
- package/serialization/resources/accounting/types/PurchaseOrder.d.ts +1 -0
- package/serialization/resources/accounting/types/PurchaseOrder.js +1 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequest.js +5 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.d.ts +10 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequestTrackingCategoriesItem.js +43 -0
- package/serialization/resources/accounting/types/RelatedObjectTypeEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/RelatedObjectTypeEnum.js +31 -0
- package/serialization/resources/accounting/types/VendorCredit.d.ts +1 -0
- package/serialization/resources/accounting/types/VendorCredit.js +3 -0
- package/serialization/resources/accounting/types/VendorCreditApplyLine.d.ts +15 -0
- package/serialization/resources/accounting/types/VendorCreditApplyLine.js +47 -0
- package/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.d.ts +10 -0
- package/serialization/resources/accounting/types/VendorCreditApplyLineInvoice.js +43 -0
- package/serialization/resources/accounting/types/VendorCreditsListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/VendorCreditsListRequestExpand.js +16 -0
- package/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/types/VendorCreditsRetrieveRequestExpand.js +16 -0
- package/serialization/resources/accounting/types/index.d.ts +16 -0
- package/serialization/resources/accounting/types/index.js +16 -0
- package/serialization/resources/crm/types/AccountRequest.d.ts +2 -0
- package/serialization/resources/crm/types/AccountRequest.js +6 -0
- package/serialization/resources/crm/types/RemoteFieldRequest.d.ts +1 -1
- package/serialization/resources/crm/types/RemoteFieldRequest.js +1 -1
- package/serialization/resources/filestorage/types/FilePermissions.d.ts +10 -0
- package/serialization/resources/filestorage/types/FilePermissions.js +44 -0
- package/serialization/resources/filestorage/types/FilePermissionsItem.d.ts +10 -0
- package/serialization/resources/filestorage/types/FilePermissionsItem.js +43 -0
- package/serialization/resources/filestorage/types/FileRequest.d.ts +1 -1
- package/serialization/resources/filestorage/types/FileRequest.js +12 -1
- package/serialization/resources/filestorage/types/FileRequestPermissions.d.ts +10 -0
- package/serialization/resources/filestorage/types/FileRequestPermissions.js +44 -0
- package/serialization/resources/filestorage/types/FileRequestPermissionsItem.d.ts +10 -0
- package/serialization/resources/filestorage/types/FileRequestPermissionsItem.js +43 -0
- package/serialization/resources/filestorage/types/File_.d.ts +1 -1
- package/serialization/resources/filestorage/types/File_.js +12 -1
- package/serialization/resources/filestorage/types/Folder.d.ts +1 -1
- package/serialization/resources/filestorage/types/Folder.js +12 -1
- package/serialization/resources/filestorage/types/FolderPermissions.d.ts +10 -0
- package/serialization/resources/filestorage/types/FolderPermissions.js +44 -0
- package/serialization/resources/filestorage/types/FolderPermissionsItem.d.ts +10 -0
- package/serialization/resources/filestorage/types/FolderPermissionsItem.js +43 -0
- package/serialization/resources/filestorage/types/FolderRequest.d.ts +1 -1
- package/serialization/resources/filestorage/types/FolderRequest.js +12 -1
- package/serialization/resources/filestorage/types/FolderRequestPermissions.d.ts +10 -0
- package/serialization/resources/filestorage/types/FolderRequestPermissions.js +44 -0
- package/serialization/resources/filestorage/types/FolderRequestPermissionsItem.d.ts +10 -0
- package/serialization/resources/filestorage/types/FolderRequestPermissionsItem.js +43 -0
- package/serialization/resources/filestorage/types/Permission.d.ts +18 -0
- package/serialization/resources/filestorage/types/Permission.js +50 -0
- package/serialization/resources/filestorage/types/PermissionRequest.d.ts +18 -0
- package/serialization/resources/filestorage/types/PermissionRequest.js +50 -0
- package/serialization/resources/filestorage/types/RolesEnum.d.ts +10 -0
- package/serialization/resources/filestorage/types/RolesEnum.js +31 -0
- package/serialization/resources/filestorage/types/TypeEnum.d.ts +10 -0
- package/serialization/resources/filestorage/types/TypeEnum.js +31 -0
- package/serialization/resources/filestorage/types/index.d.ts +12 -0
- package/serialization/resources/filestorage/types/index.js +12 -0
- package/serialization/resources/hris/types/Employee.d.ts +1 -0
- package/serialization/resources/hris/types/Employee.js +1 -0
- package/serialization/resources/hris/types/EmployeeRequest.d.ts +1 -0
- package/serialization/resources/hris/types/EmployeeRequest.js +1 -0
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
- package/serialization/resources/ticketing/types/RemoteFieldRequest.js +1 -1
|
@@ -50,7 +50,7 @@ class SyncStatus {
|
|
|
50
50
|
this._options = _options;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING
|
|
53
|
+
* Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
|
|
54
54
|
*/
|
|
55
55
|
list(request = {}, requestOptions) {
|
|
56
56
|
var _a;
|
|
@@ -73,7 +73,7 @@ class SyncStatus {
|
|
|
73
73
|
: undefined,
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
76
|
-
"X-Fern-SDK-Version": "0.1.
|
|
76
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
77
77
|
},
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
queryParameters: _queryParams,
|
|
@@ -94,7 +94,7 @@ class Tags {
|
|
|
94
94
|
: undefined,
|
|
95
95
|
"X-Fern-Language": "JavaScript",
|
|
96
96
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
97
|
-
"X-Fern-SDK-Version": "0.1.
|
|
97
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
98
98
|
},
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
queryParameters: _queryParams,
|
|
@@ -150,7 +150,7 @@ class Tags {
|
|
|
150
150
|
: undefined,
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
153
|
-
"X-Fern-SDK-Version": "0.1.
|
|
153
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
154
154
|
},
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
queryParameters: _queryParams,
|
|
@@ -94,7 +94,7 @@ class Teams {
|
|
|
94
94
|
: undefined,
|
|
95
95
|
"X-Fern-Language": "JavaScript",
|
|
96
96
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
97
|
-
"X-Fern-SDK-Version": "0.1.
|
|
97
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
98
98
|
},
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
queryParameters: _queryParams,
|
|
@@ -150,7 +150,7 @@ class Teams {
|
|
|
150
150
|
: undefined,
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
153
|
-
"X-Fern-SDK-Version": "0.1.
|
|
153
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
154
154
|
},
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
queryParameters: _queryParams,
|
|
@@ -171,7 +171,7 @@ class Tickets {
|
|
|
171
171
|
: undefined,
|
|
172
172
|
"X-Fern-Language": "JavaScript",
|
|
173
173
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
174
|
-
"X-Fern-SDK-Version": "0.1.
|
|
174
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
175
175
|
},
|
|
176
176
|
contentType: "application/json",
|
|
177
177
|
queryParameters: _queryParams,
|
|
@@ -230,7 +230,7 @@ class Tickets {
|
|
|
230
230
|
: undefined,
|
|
231
231
|
"X-Fern-Language": "JavaScript",
|
|
232
232
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
233
|
-
"X-Fern-SDK-Version": "0.1.
|
|
233
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
234
234
|
},
|
|
235
235
|
contentType: "application/json",
|
|
236
236
|
queryParameters: _queryParams,
|
|
@@ -301,7 +301,7 @@ class Tickets {
|
|
|
301
301
|
: undefined,
|
|
302
302
|
"X-Fern-Language": "JavaScript",
|
|
303
303
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
304
|
-
"X-Fern-SDK-Version": "0.1.
|
|
304
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
305
305
|
},
|
|
306
306
|
contentType: "application/json",
|
|
307
307
|
queryParameters: _queryParams,
|
|
@@ -360,7 +360,7 @@ class Tickets {
|
|
|
360
360
|
: undefined,
|
|
361
361
|
"X-Fern-Language": "JavaScript",
|
|
362
362
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
363
|
-
"X-Fern-SDK-Version": "0.1.
|
|
363
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
364
364
|
},
|
|
365
365
|
contentType: "application/json",
|
|
366
366
|
queryParameters: _queryParams,
|
|
@@ -431,7 +431,7 @@ class Tickets {
|
|
|
431
431
|
: undefined,
|
|
432
432
|
"X-Fern-Language": "JavaScript",
|
|
433
433
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
434
|
-
"X-Fern-SDK-Version": "0.1.
|
|
434
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
435
435
|
},
|
|
436
436
|
contentType: "application/json",
|
|
437
437
|
queryParameters: _queryParams,
|
|
@@ -482,7 +482,7 @@ class Tickets {
|
|
|
482
482
|
: undefined,
|
|
483
483
|
"X-Fern-Language": "JavaScript",
|
|
484
484
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
485
|
-
"X-Fern-SDK-Version": "0.1.
|
|
485
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
486
486
|
},
|
|
487
487
|
contentType: "application/json",
|
|
488
488
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -532,7 +532,7 @@ class Tickets {
|
|
|
532
532
|
: undefined,
|
|
533
533
|
"X-Fern-Language": "JavaScript",
|
|
534
534
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
535
|
-
"X-Fern-SDK-Version": "0.1.
|
|
535
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
536
536
|
},
|
|
537
537
|
contentType: "application/json",
|
|
538
538
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -596,7 +596,7 @@ class Tickets {
|
|
|
596
596
|
: undefined,
|
|
597
597
|
"X-Fern-Language": "JavaScript",
|
|
598
598
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
599
|
-
"X-Fern-SDK-Version": "0.1.
|
|
599
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
600
600
|
},
|
|
601
601
|
contentType: "application/json",
|
|
602
602
|
queryParameters: _queryParams,
|
|
@@ -100,7 +100,7 @@ class Users {
|
|
|
100
100
|
: undefined,
|
|
101
101
|
"X-Fern-Language": "JavaScript",
|
|
102
102
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
103
|
-
"X-Fern-SDK-Version": "0.1.
|
|
103
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
104
104
|
},
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
@@ -159,7 +159,7 @@ class Users {
|
|
|
159
159
|
: undefined,
|
|
160
160
|
"X-Fern-Language": "JavaScript",
|
|
161
161
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
162
|
-
"X-Fern-SDK-Version": "0.1.
|
|
162
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
163
163
|
},
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
queryParameters: _queryParams,
|
|
@@ -64,7 +64,7 @@ class WebhookReceivers {
|
|
|
64
64
|
: undefined,
|
|
65
65
|
"X-Fern-Language": "JavaScript",
|
|
66
66
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
67
|
-
"X-Fern-SDK-Version": "0.1.
|
|
67
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
68
68
|
},
|
|
69
69
|
contentType: "application/json",
|
|
70
70
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -114,7 +114,7 @@ class WebhookReceivers {
|
|
|
114
114
|
: undefined,
|
|
115
115
|
"X-Fern-Language": "JavaScript",
|
|
116
116
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
117
|
-
"X-Fern-SDK-Version": "0.1.
|
|
117
|
+
"X-Fern-SDK-Version": "0.1.6",
|
|
118
118
|
},
|
|
119
119
|
contentType: "application/json",
|
|
120
120
|
body: yield serializers.ticketing.WebhookReceiverRequest.jsonOrThrow(request, {
|
|
@@ -24,6 +24,7 @@ export declare namespace CreditNote {
|
|
|
24
24
|
remote_updated_at?: string | null;
|
|
25
25
|
payments?: (serializers.accounting.CreditNotePaymentsItem.Raw | null | undefined)[] | null;
|
|
26
26
|
remote_was_deleted?: boolean | null;
|
|
27
|
+
applied_to_lines?: serializers.accounting.CreditNoteApplyLine.Raw[] | null;
|
|
27
28
|
modified_at?: string | null;
|
|
28
29
|
field_mappings?: Record<string, unknown> | null;
|
|
29
30
|
remote_data?: serializers.accounting.RemoteData.Raw[] | null;
|
|
@@ -63,6 +63,9 @@ exports.CreditNote = core.serialization.object({
|
|
|
63
63
|
.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.CreditNotePaymentsItem; })).optional())
|
|
64
64
|
.optional(),
|
|
65
65
|
remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
|
|
66
|
+
appliedToLines: core.serialization.property("applied_to_lines", core.serialization
|
|
67
|
+
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.CreditNoteApplyLine; })))
|
|
68
|
+
.optional()),
|
|
66
69
|
modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
|
|
67
70
|
fieldMappings: core.serialization.property("field_mappings", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
68
71
|
remoteData: core.serialization.property("remote_data", core.serialization
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const CreditNoteApplyLine: core.serialization.ObjectSchema<serializers.accounting.CreditNoteApplyLine.Raw, Merge.accounting.CreditNoteApplyLine>;
|
|
8
|
+
export declare namespace CreditNoteApplyLine {
|
|
9
|
+
interface Raw {
|
|
10
|
+
invoice?: serializers.accounting.CreditNoteApplyLineInvoice.Raw | null;
|
|
11
|
+
applied_date?: string | null;
|
|
12
|
+
applied_amount?: string | null;
|
|
13
|
+
modified_at?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.CreditNoteApplyLine = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.CreditNoteApplyLine = core.serialization.object({
|
|
41
|
+
invoice: core.serialization
|
|
42
|
+
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.CreditNoteApplyLineInvoice; }))
|
|
43
|
+
.optional(),
|
|
44
|
+
appliedDate: core.serialization.property("applied_date", core.serialization.date().optional()),
|
|
45
|
+
appliedAmount: core.serialization.property("applied_amount", core.serialization.string().optional()),
|
|
46
|
+
modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
|
|
47
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const CreditNoteApplyLineInvoice: core.serialization.Schema<serializers.accounting.CreditNoteApplyLineInvoice.Raw, Merge.accounting.CreditNoteApplyLineInvoice>;
|
|
8
|
+
export declare namespace CreditNoteApplyLineInvoice {
|
|
9
|
+
type Raw = string | serializers.accounting.Invoice.Raw;
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.CreditNoteApplyLineInvoice = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.CreditNoteApplyLineInvoice = core.serialization.undiscriminatedUnion([
|
|
41
|
+
core.serialization.string(),
|
|
42
|
+
core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.Invoice; })),
|
|
43
|
+
]);
|
|
@@ -6,5 +6,5 @@ import * as Merge from "../../../../api";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const CreditNotesListRequestExpand: core.serialization.Schema<serializers.accounting.CreditNotesListRequestExpand.Raw, Merge.accounting.CreditNotesListRequestExpand>;
|
|
8
8
|
export declare namespace CreditNotesListRequestExpand {
|
|
9
|
-
type Raw = "line_items" | "line_items,tracking_categories" | "payments" | "payments,line_items" | "payments,line_items,tracking_categories" | "payments,tracking_categories" | "tracking_categories";
|
|
9
|
+
type Raw = "applied_to_lines" | "line_items" | "line_items,applied_to_lines" | "line_items,tracking_categories" | "line_items,tracking_categories,applied_to_lines" | "payments" | "payments,applied_to_lines" | "payments,line_items" | "payments,line_items,applied_to_lines" | "payments,line_items,tracking_categories" | "payments,line_items,tracking_categories,applied_to_lines" | "payments,tracking_categories" | "payments,tracking_categories,applied_to_lines" | "tracking_categories" | "tracking_categories,applied_to_lines";
|
|
10
10
|
}
|
|
@@ -29,11 +29,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.CreditNotesListRequestExpand = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
exports.CreditNotesListRequestExpand = core.serialization.enum_([
|
|
32
|
+
"applied_to_lines",
|
|
32
33
|
"line_items",
|
|
34
|
+
"line_items,applied_to_lines",
|
|
33
35
|
"line_items,tracking_categories",
|
|
36
|
+
"line_items,tracking_categories,applied_to_lines",
|
|
34
37
|
"payments",
|
|
38
|
+
"payments,applied_to_lines",
|
|
35
39
|
"payments,line_items",
|
|
40
|
+
"payments,line_items,applied_to_lines",
|
|
36
41
|
"payments,line_items,tracking_categories",
|
|
42
|
+
"payments,line_items,tracking_categories,applied_to_lines",
|
|
37
43
|
"payments,tracking_categories",
|
|
44
|
+
"payments,tracking_categories,applied_to_lines",
|
|
38
45
|
"tracking_categories",
|
|
46
|
+
"tracking_categories,applied_to_lines",
|
|
39
47
|
]);
|
|
@@ -6,5 +6,5 @@ import * as Merge from "../../../../api";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const CreditNotesRetrieveRequestExpand: core.serialization.Schema<serializers.accounting.CreditNotesRetrieveRequestExpand.Raw, Merge.accounting.CreditNotesRetrieveRequestExpand>;
|
|
8
8
|
export declare namespace CreditNotesRetrieveRequestExpand {
|
|
9
|
-
type Raw = "line_items" | "line_items,tracking_categories" | "payments" | "payments,line_items" | "payments,line_items,tracking_categories" | "payments,tracking_categories" | "tracking_categories";
|
|
9
|
+
type Raw = "applied_to_lines" | "line_items" | "line_items,applied_to_lines" | "line_items,tracking_categories" | "line_items,tracking_categories,applied_to_lines" | "payments" | "payments,applied_to_lines" | "payments,line_items" | "payments,line_items,applied_to_lines" | "payments,line_items,tracking_categories" | "payments,line_items,tracking_categories,applied_to_lines" | "payments,tracking_categories" | "payments,tracking_categories,applied_to_lines" | "tracking_categories" | "tracking_categories,applied_to_lines";
|
|
10
10
|
}
|
|
@@ -29,11 +29,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.CreditNotesRetrieveRequestExpand = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
exports.CreditNotesRetrieveRequestExpand = core.serialization.enum_([
|
|
32
|
+
"applied_to_lines",
|
|
32
33
|
"line_items",
|
|
34
|
+
"line_items,applied_to_lines",
|
|
33
35
|
"line_items,tracking_categories",
|
|
36
|
+
"line_items,tracking_categories,applied_to_lines",
|
|
34
37
|
"payments",
|
|
38
|
+
"payments,applied_to_lines",
|
|
35
39
|
"payments,line_items",
|
|
40
|
+
"payments,line_items,applied_to_lines",
|
|
36
41
|
"payments,line_items,tracking_categories",
|
|
42
|
+
"payments,line_items,tracking_categories,applied_to_lines",
|
|
37
43
|
"payments,tracking_categories",
|
|
44
|
+
"payments,tracking_categories,applied_to_lines",
|
|
38
45
|
"tracking_categories",
|
|
46
|
+
"tracking_categories,applied_to_lines",
|
|
39
47
|
]);
|
|
@@ -12,6 +12,8 @@ export declare namespace Expense {
|
|
|
12
12
|
account?: serializers.accounting.ExpenseAccount.Raw | null;
|
|
13
13
|
contact?: serializers.accounting.ExpenseContact.Raw | null;
|
|
14
14
|
total_amount?: number | null;
|
|
15
|
+
sub_total?: number | null;
|
|
16
|
+
total_tax_amount?: number | null;
|
|
15
17
|
currency?: serializers.accounting.ExpenseCurrency.Raw | null;
|
|
16
18
|
exchange_rate?: string | null;
|
|
17
19
|
company?: serializers.accounting.ExpenseCompany.Raw | null;
|
|
@@ -43,6 +43,8 @@ exports.Expense = core.serialization.object({
|
|
|
43
43
|
account: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.ExpenseAccount; })).optional(),
|
|
44
44
|
contact: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.ExpenseContact; })).optional(),
|
|
45
45
|
totalAmount: core.serialization.property("total_amount", core.serialization.number().optional()),
|
|
46
|
+
subTotal: core.serialization.property("sub_total", core.serialization.number().optional()),
|
|
47
|
+
totalTaxAmount: core.serialization.property("total_tax_amount", core.serialization.number().optional()),
|
|
46
48
|
currency: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.ExpenseCurrency; })).optional(),
|
|
47
49
|
exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
|
|
48
50
|
company: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.ExpenseCompany; })).optional(),
|
|
@@ -13,6 +13,7 @@ export declare namespace ExpenseLine {
|
|
|
13
13
|
tracking_category?: serializers.accounting.ExpenseLineTrackingCategory.Raw | null;
|
|
14
14
|
tracking_categories?: (serializers.accounting.ExpenseLineTrackingCategoriesItem.Raw | null | undefined)[] | null;
|
|
15
15
|
company?: string | null;
|
|
16
|
+
currency?: serializers.accounting.ExpenseLineCurrency.Raw | null;
|
|
16
17
|
account?: serializers.accounting.ExpenseLineAccount.Raw | null;
|
|
17
18
|
contact?: serializers.accounting.ExpenseLineContact.Raw | null;
|
|
18
19
|
description?: string | null;
|
|
@@ -50,6 +50,7 @@ exports.ExpenseLine = core.serialization.object({
|
|
|
50
50
|
.optional())
|
|
51
51
|
.optional()),
|
|
52
52
|
company: core.serialization.string().optional(),
|
|
53
|
+
currency: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.ExpenseLineCurrency; })).optional(),
|
|
53
54
|
account: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.ExpenseLineAccount; })).optional(),
|
|
54
55
|
contact: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.ExpenseLineContact; })).optional(),
|
|
55
56
|
description: core.serialization.string().optional(),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ExpenseLineCurrency: core.serialization.Schema<serializers.accounting.ExpenseLineCurrency.Raw, Merge.accounting.ExpenseLineCurrency>;
|
|
8
|
+
export declare namespace ExpenseLineCurrency {
|
|
9
|
+
type Raw = serializers.accounting.CurrencyEnum.Raw | string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ExpenseLineCurrency = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.ExpenseLineCurrency = core.serialization.undiscriminatedUnion([
|
|
41
|
+
core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.CurrencyEnum; })),
|
|
42
|
+
core.serialization.string(),
|
|
43
|
+
]);
|
|
@@ -13,6 +13,7 @@ export declare namespace ExpenseLineRequest {
|
|
|
13
13
|
tracking_category?: serializers.accounting.ExpenseLineRequestTrackingCategory.Raw | null;
|
|
14
14
|
tracking_categories?: (serializers.accounting.ExpenseLineRequestTrackingCategoriesItem.Raw | null | undefined)[] | null;
|
|
15
15
|
company?: string | null;
|
|
16
|
+
currency?: serializers.accounting.CurrencyEnum.Raw | null;
|
|
16
17
|
account?: serializers.accounting.ExpenseLineRequestAccount.Raw | null;
|
|
17
18
|
contact?: serializers.accounting.ExpenseLineRequestContact.Raw | null;
|
|
18
19
|
description?: string | null;
|
|
@@ -50,6 +50,7 @@ exports.ExpenseLineRequest = core.serialization.object({
|
|
|
50
50
|
.optional())
|
|
51
51
|
.optional()),
|
|
52
52
|
company: core.serialization.string().optional(),
|
|
53
|
+
currency: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.CurrencyEnum; })).optional(),
|
|
53
54
|
account: core.serialization
|
|
54
55
|
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.ExpenseLineRequestAccount; }))
|
|
55
56
|
.optional(),
|
|
@@ -11,6 +11,8 @@ export declare namespace ExpenseRequest {
|
|
|
11
11
|
account?: serializers.accounting.ExpenseRequestAccount.Raw | null;
|
|
12
12
|
contact?: serializers.accounting.ExpenseRequestContact.Raw | null;
|
|
13
13
|
total_amount?: number | null;
|
|
14
|
+
sub_total?: number | null;
|
|
15
|
+
total_tax_amount?: number | null;
|
|
14
16
|
currency?: serializers.accounting.ExpenseRequestCurrency.Raw | null;
|
|
15
17
|
exchange_rate?: string | null;
|
|
16
18
|
company?: serializers.accounting.ExpenseRequestCompany.Raw | null;
|
|
@@ -46,6 +46,8 @@ exports.ExpenseRequest = core.serialization.object({
|
|
|
46
46
|
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.ExpenseRequestContact; }))
|
|
47
47
|
.optional(),
|
|
48
48
|
totalAmount: core.serialization.property("total_amount", core.serialization.number().optional()),
|
|
49
|
+
subTotal: core.serialization.property("sub_total", core.serialization.number().optional()),
|
|
50
|
+
totalTaxAmount: core.serialization.property("total_tax_amount", core.serialization.number().optional()),
|
|
49
51
|
currency: core.serialization
|
|
50
52
|
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.ExpenseRequestCurrency; }))
|
|
51
53
|
.optional(),
|
|
@@ -20,6 +20,7 @@ export declare namespace Invoice {
|
|
|
20
20
|
exchange_rate?: string | null;
|
|
21
21
|
total_discount?: number | null;
|
|
22
22
|
sub_total?: number | null;
|
|
23
|
+
status?: serializers.accounting.InvoiceStatusEnum.Raw | null;
|
|
23
24
|
total_tax_amount?: number | null;
|
|
24
25
|
total_amount?: number | null;
|
|
25
26
|
balance?: number | null;
|
|
@@ -51,6 +51,7 @@ exports.Invoice = core.serialization.object({
|
|
|
51
51
|
exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
|
|
52
52
|
totalDiscount: core.serialization.property("total_discount", core.serialization.number().optional()),
|
|
53
53
|
subTotal: core.serialization.property("sub_total", core.serialization.number().optional()),
|
|
54
|
+
status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.InvoiceStatusEnum; })).optional(),
|
|
54
55
|
totalTaxAmount: core.serialization.property("total_tax_amount", core.serialization.number().optional()),
|
|
55
56
|
totalAmount: core.serialization.property("total_amount", core.serialization.number().optional()),
|
|
56
57
|
balance: core.serialization.number().optional(),
|
|
@@ -14,6 +14,7 @@ export declare namespace InvoiceRequest {
|
|
|
14
14
|
due_date?: string | null;
|
|
15
15
|
paid_on_date?: string | null;
|
|
16
16
|
memo?: string | null;
|
|
17
|
+
status?: serializers.accounting.InvoiceRequestStatus.Raw | null;
|
|
17
18
|
company?: serializers.accounting.InvoiceRequestCompany.Raw | null;
|
|
18
19
|
currency?: serializers.accounting.InvoiceRequestCurrency.Raw | null;
|
|
19
20
|
exchange_rate?: string | null;
|
|
@@ -47,6 +47,7 @@ exports.InvoiceRequest = core.serialization.object({
|
|
|
47
47
|
dueDate: core.serialization.property("due_date", core.serialization.date().optional()),
|
|
48
48
|
paidOnDate: core.serialization.property("paid_on_date", core.serialization.date().optional()),
|
|
49
49
|
memo: core.serialization.string().optional(),
|
|
50
|
+
status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.InvoiceRequestStatus; })).optional(),
|
|
50
51
|
company: core.serialization
|
|
51
52
|
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.InvoiceRequestCompany; }))
|
|
52
53
|
.optional(),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const InvoiceRequestStatus: core.serialization.Schema<serializers.accounting.InvoiceRequestStatus.Raw, Merge.accounting.InvoiceRequestStatus>;
|
|
8
|
+
export declare namespace InvoiceRequestStatus {
|
|
9
|
+
type Raw = serializers.accounting.InvoiceStatusEnum.Raw | string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.InvoiceRequestStatus = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.InvoiceRequestStatus = core.serialization.undiscriminatedUnion([
|
|
41
|
+
core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.InvoiceStatusEnum; })),
|
|
42
|
+
core.serialization.string(),
|
|
43
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const InvoiceStatusEnum: core.serialization.Schema<serializers.accounting.InvoiceStatusEnum.Raw, Merge.accounting.InvoiceStatusEnum>;
|
|
8
|
+
export declare namespace InvoiceStatusEnum {
|
|
9
|
+
type Raw = "PAID" | "DRAFT" | "SUBMITTED" | "PARTIALLY_PAID" | "OPEN" | "VOID";
|
|
10
|
+
}
|