@mergeapi/merge-node-client 1.1.8 → 1.1.9
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 +11 -11
- package/api/resources/accounting/client/Client.d.ts +3 -0
- package/api/resources/accounting/client/Client.js +23 -18
- package/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
- package/api/resources/accounting/resources/accountingPeriods/client/Client.js +2 -2
- package/api/resources/accounting/resources/accounts/client/Client.js +4 -4
- package/api/resources/accounting/resources/addresses/client/Client.js +1 -1
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/accounting/resources/asyncTasks/client/Client.js +1 -1
- package/api/resources/accounting/resources/attachments/client/Client.js +4 -4
- package/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +4 -4
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +4 -4
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
- package/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
- package/api/resources/accounting/resources/contacts/client/Client.js +5 -5
- package/api/resources/accounting/resources/creditNotes/client/Client.js +4 -4
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/accounting/resources/employees/client/Client.js +2 -2
- package/api/resources/accounting/resources/expenses/client/Client.js +6 -6
- package/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +2 -2
- package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
- package/api/resources/accounting/resources/index.d.ts +3 -0
- package/api/resources/accounting/resources/index.js +4 -1
- package/api/resources/accounting/resources/invoices/client/Client.js +8 -8
- package/api/resources/accounting/resources/issues/client/Client.js +2 -2
- package/api/resources/accounting/resources/items/client/Client.js +2 -2
- package/api/resources/accounting/resources/journalEntries/client/Client.js +6 -6
- package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
- package/api/resources/accounting/resources/paymentMethods/client/Client.js +2 -2
- package/api/resources/accounting/resources/paymentTerms/client/Client.js +2 -2
- package/api/resources/accounting/resources/payments/client/Client.js +8 -8
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/api/resources/accounting/resources/projects/client/Client.d.ts +57 -0
- package/api/resources/accounting/resources/projects/client/Client.js +225 -0
- package/api/resources/accounting/resources/projects/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/projects/client/index.js +17 -0
- package/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.d.ts +34 -0
- package/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.js +5 -0
- package/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +22 -0
- package/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.js +5 -0
- package/api/resources/accounting/resources/projects/client/requests/index.d.ts +2 -0
- package/api/resources/accounting/resources/projects/client/requests/index.js +2 -0
- package/api/resources/accounting/resources/projects/index.d.ts +2 -0
- package/api/resources/accounting/resources/projects/index.js +18 -0
- package/api/resources/accounting/resources/projects/types/ProjectsListRequestExpand.d.ts +9 -0
- package/api/resources/accounting/resources/projects/types/ProjectsListRequestExpand.js +11 -0
- package/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.d.ts +9 -0
- package/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.js +11 -0
- package/api/resources/accounting/resources/projects/types/index.d.ts +2 -0
- package/api/resources/accounting/resources/projects/types/index.js +18 -0
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +6 -6
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/scopes/client/Client.js +3 -3
- package/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
- package/api/resources/accounting/resources/transactions/client/Client.js +2 -2
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +4 -4
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/accounting/types/CreditNoteLineItem.d.ts +3 -0
- package/api/resources/accounting/types/CreditNoteLineItemContact.d.ts +8 -0
- package/api/resources/accounting/types/CreditNoteLineItemContact.js +5 -0
- package/api/resources/accounting/types/CreditNoteLineItemProject.d.ts +5 -0
- package/api/resources/accounting/types/CreditNoteLineItemProject.js +5 -0
- package/api/resources/accounting/types/CreditNoteLineItemRequest.d.ts +3 -0
- package/api/resources/accounting/types/CreditNoteLineItemRequestContact.d.ts +8 -0
- package/api/resources/accounting/types/CreditNoteLineItemRequestContact.js +5 -0
- package/api/resources/accounting/types/CreditNoteLineItemRequestProject.d.ts +5 -0
- package/api/resources/accounting/types/CreditNoteLineItemRequestProject.js +5 -0
- package/api/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/api/resources/accounting/types/ExpenseLineProject.d.ts +5 -0
- package/api/resources/accounting/types/ExpenseLineProject.js +5 -0
- package/api/resources/accounting/types/ExpenseLineRequest.d.ts +1 -0
- package/api/resources/accounting/types/ExpenseLineRequestProject.d.ts +5 -0
- package/api/resources/accounting/types/ExpenseLineRequestProject.js +5 -0
- package/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +1 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineProject.d.ts +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineProject.js +5 -0
- package/api/resources/accounting/types/InvoiceLineItem.d.ts +3 -0
- package/api/resources/accounting/types/InvoiceLineItemContact.d.ts +8 -0
- package/api/resources/accounting/types/InvoiceLineItemContact.js +5 -0
- package/api/resources/accounting/types/InvoiceLineItemProject.d.ts +5 -0
- package/api/resources/accounting/types/InvoiceLineItemProject.js +5 -0
- package/api/resources/accounting/types/InvoiceLineItemRequest.d.ts +3 -0
- package/api/resources/accounting/types/InvoiceLineItemRequestContact.d.ts +8 -0
- package/api/resources/accounting/types/InvoiceLineItemRequestContact.js +5 -0
- package/api/resources/accounting/types/InvoiceLineItemRequestProject.d.ts +5 -0
- package/api/resources/accounting/types/InvoiceLineItemRequestProject.js +5 -0
- package/api/resources/accounting/types/JournalLine.d.ts +1 -0
- package/api/resources/accounting/types/JournalLineProject.d.ts +5 -0
- package/api/resources/accounting/types/JournalLineProject.js +5 -0
- package/api/resources/accounting/types/JournalLineRequest.d.ts +1 -0
- package/api/resources/accounting/types/JournalLineRequestProject.d.ts +5 -0
- package/api/resources/accounting/types/JournalLineRequestProject.js +5 -0
- package/api/resources/accounting/types/PaginatedProjectList.d.ts +9 -0
- package/api/resources/accounting/types/PaginatedProjectList.js +5 -0
- package/api/resources/accounting/types/Project.d.ts +32 -0
- package/api/resources/accounting/types/Project.js +5 -0
- package/api/resources/accounting/types/ProjectCompany.d.ts +8 -0
- package/api/resources/accounting/types/ProjectCompany.js +5 -0
- package/api/resources/accounting/types/ProjectContact.d.ts +8 -0
- package/api/resources/accounting/types/ProjectContact.js +5 -0
- package/api/resources/accounting/types/RemoteFieldApiResponse.d.ts +1 -0
- package/api/resources/accounting/types/VendorCreditLine.d.ts +2 -0
- package/api/resources/accounting/types/VendorCreditLineContact.d.ts +5 -0
- package/api/resources/accounting/types/VendorCreditLineContact.js +5 -0
- package/api/resources/accounting/types/VendorCreditLineProject.d.ts +5 -0
- package/api/resources/accounting/types/VendorCreditLineProject.js +5 -0
- package/api/resources/accounting/types/VendorCreditLineRequest.d.ts +2 -0
- package/api/resources/accounting/types/VendorCreditLineRequestContact.d.ts +5 -0
- package/api/resources/accounting/types/VendorCreditLineRequestContact.js +5 -0
- package/api/resources/accounting/types/VendorCreditLineRequestProject.d.ts +5 -0
- package/api/resources/accounting/types/VendorCreditLineRequestProject.js +5 -0
- package/api/resources/accounting/types/index.d.ts +21 -0
- package/api/resources/accounting/types/index.js +21 -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/auditTrail/client/Client.js +1 -1
- package/api/resources/ats/resources/availableActions/client/Client.js +1 -1
- package/api/resources/ats/resources/candidates/client/Client.js +7 -7
- package/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/ats/resources/departments/client/Client.js +2 -2
- package/api/resources/ats/resources/eeocs/client/Client.js +2 -2
- package/api/resources/ats/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/ats/resources/forceResync/client/Client.js +1 -1
- package/api/resources/ats/resources/generateKey/client/Client.js +1 -1
- package/api/resources/ats/resources/interviews/client/Client.js +4 -4
- package/api/resources/ats/resources/issues/client/Client.js +2 -2
- package/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
- package/api/resources/ats/resources/jobPostings/client/Client.js +2 -2
- package/api/resources/ats/resources/jobs/client/Client.js +3 -3
- package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/ats/resources/offers/client/Client.js +2 -2
- package/api/resources/ats/resources/offices/client/Client.js +2 -2
- package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
- package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
- package/api/resources/ats/resources/scopes/client/Client.js +3 -3
- package/api/resources/ats/resources/scorecards/client/Client.js +2 -2
- package/api/resources/ats/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/ats/resources/tags/client/Client.js +1 -1
- package/api/resources/ats/resources/users/client/Client.js +2 -2
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
- package/api/resources/crm/resources/accounts/client/Client.js +7 -7
- package/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
- package/api/resources/crm/resources/associations/client/Client.js +2 -2
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
- package/api/resources/crm/resources/contacts/client/Client.js +8 -8
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +2 -2
- package/api/resources/crm/resources/customObjects/client/Client.js +5 -5
- package/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
- package/api/resources/crm/resources/engagements/client/Client.js +7 -7
- package/api/resources/crm/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/crm/resources/forceResync/client/Client.js +1 -1
- package/api/resources/crm/resources/generateKey/client/Client.js +1 -1
- package/api/resources/crm/resources/issues/client/Client.js +2 -2
- package/api/resources/crm/resources/leads/client/Client.js +5 -5
- package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/crm/resources/notes/client/Client.js +5 -5
- package/api/resources/crm/resources/opportunities/client/Client.js +7 -7
- package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
- package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/crm/resources/scopes/client/Client.js +3 -3
- package/api/resources/crm/resources/stages/client/Client.js +3 -3
- package/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/crm/resources/tasks/client/Client.js +7 -7
- package/api/resources/crm/resources/users/client/Client.js +4 -4
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
- package/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/filestorage/resources/drives/client/Client.js +2 -2
- package/api/resources/filestorage/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/filestorage/resources/files/client/Client.js +7 -7
- package/api/resources/filestorage/resources/folders/client/Client.js +4 -4
- package/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
- package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
- package/api/resources/filestorage/resources/groups/client/Client.js +2 -2
- package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
- package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/filestorage/resources/scopes/client/Client.js +3 -3
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/filestorage/resources/users/client/Client.js +2 -2
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/hris/resources/accountToken/client/Client.js +1 -1
- package/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/hris/resources/availableActions/client/Client.js +1 -1
- package/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
- package/api/resources/hris/resources/benefits/client/Client.js +2 -2
- package/api/resources/hris/resources/companies/client/Client.js +2 -2
- package/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/hris/resources/dependents/client/Client.js +2 -2
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
- package/api/resources/hris/resources/employees/client/Client.js +5 -5
- package/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
- package/api/resources/hris/resources/employments/client/Client.js +2 -2
- package/api/resources/hris/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/hris/resources/forceResync/client/Client.js +1 -1
- package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
- package/api/resources/hris/resources/groups/client/Client.js +2 -2
- package/api/resources/hris/resources/issues/client/Client.js +2 -2
- package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/hris/resources/locations/client/Client.js +2 -2
- package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
- package/api/resources/hris/resources/payGroups/client/Client.js +2 -2
- package/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
- package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/hris/resources/scopes/client/Client.js +3 -3
- package/api/resources/hris/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/hris/resources/teams/client/Client.js +2 -2
- package/api/resources/hris/resources/timeOff/client/Client.js +4 -4
- package/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
- package/api/resources/hris/resources/timesheetEntries/client/Client.js +4 -4
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
- package/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
- package/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/api/resources/ticketing/resources/collections/client/Client.js +3 -3
- package/api/resources/ticketing/resources/comments/client/Client.js +4 -4
- package/api/resources/ticketing/resources/contacts/client/Client.js +4 -4
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/ticketing/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
- package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
- package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
- package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
- package/api/resources/ticketing/resources/projects/client/Client.js +3 -3
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/ticketing/resources/roles/client/Client.js +2 -2
- package/api/resources/ticketing/resources/scopes/client/Client.js +3 -3
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/ticketing/resources/tags/client/Client.js +2 -2
- package/api/resources/ticketing/resources/teams/client/Client.js +2 -2
- package/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
- package/api/resources/ticketing/resources/users/client/Client.js +2 -2
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +11 -11
- package/dist/api/resources/accounting/client/Client.d.ts +3 -0
- package/dist/api/resources/accounting/client/Client.js +23 -18
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/addresses/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/asyncTasks/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +5 -5
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/employees/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/index.d.ts +3 -0
- package/dist/api/resources/accounting/resources/index.js +4 -1
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/items/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/payments/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/projects/client/Client.d.ts +57 -0
- package/dist/api/resources/accounting/resources/projects/client/Client.js +225 -0
- package/dist/api/resources/accounting/resources/projects/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/projects/client/index.js +17 -0
- package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.d.ts +34 -0
- package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +22 -0
- package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.js +5 -0
- package/dist/api/resources/accounting/resources/projects/client/requests/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/projects/client/requests/index.js +2 -0
- package/dist/api/resources/accounting/resources/projects/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/projects/index.js +18 -0
- package/dist/api/resources/accounting/resources/projects/types/ProjectsListRequestExpand.d.ts +9 -0
- package/dist/api/resources/accounting/resources/projects/types/ProjectsListRequestExpand.js +11 -0
- package/dist/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.d.ts +9 -0
- package/dist/api/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.js +11 -0
- package/dist/api/resources/accounting/resources/projects/types/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/projects/types/index.js +18 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/accounting/types/CreditNoteLineItem.d.ts +3 -0
- package/dist/api/resources/accounting/types/CreditNoteLineItemContact.d.ts +8 -0
- package/dist/api/resources/accounting/types/CreditNoteLineItemContact.js +5 -0
- package/dist/api/resources/accounting/types/CreditNoteLineItemProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/CreditNoteLineItemProject.js +5 -0
- package/dist/api/resources/accounting/types/CreditNoteLineItemRequest.d.ts +3 -0
- package/dist/api/resources/accounting/types/CreditNoteLineItemRequestContact.d.ts +8 -0
- package/dist/api/resources/accounting/types/CreditNoteLineItemRequestContact.js +5 -0
- package/dist/api/resources/accounting/types/CreditNoteLineItemRequestProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/CreditNoteLineItemRequestProject.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/dist/api/resources/accounting/types/ExpenseLineProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/ExpenseLineProject.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseLineRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/ExpenseLineRequestProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/ExpenseLineRequestProject.js +5 -0
- package/dist/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/dist/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +1 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineProject.js +5 -0
- package/dist/api/resources/accounting/types/InvoiceLineItem.d.ts +3 -0
- package/dist/api/resources/accounting/types/InvoiceLineItemContact.d.ts +8 -0
- package/dist/api/resources/accounting/types/InvoiceLineItemContact.js +5 -0
- package/dist/api/resources/accounting/types/InvoiceLineItemProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/InvoiceLineItemProject.js +5 -0
- package/dist/api/resources/accounting/types/InvoiceLineItemRequest.d.ts +3 -0
- package/dist/api/resources/accounting/types/InvoiceLineItemRequestContact.d.ts +8 -0
- package/dist/api/resources/accounting/types/InvoiceLineItemRequestContact.js +5 -0
- package/dist/api/resources/accounting/types/InvoiceLineItemRequestProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/InvoiceLineItemRequestProject.js +5 -0
- package/dist/api/resources/accounting/types/JournalLine.d.ts +1 -0
- package/dist/api/resources/accounting/types/JournalLineProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/JournalLineProject.js +5 -0
- package/dist/api/resources/accounting/types/JournalLineRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/JournalLineRequestProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/JournalLineRequestProject.js +5 -0
- package/dist/api/resources/accounting/types/PaginatedProjectList.d.ts +9 -0
- package/dist/api/resources/accounting/types/PaginatedProjectList.js +5 -0
- package/dist/api/resources/accounting/types/Project.d.ts +32 -0
- package/dist/api/resources/accounting/types/Project.js +5 -0
- package/dist/api/resources/accounting/types/ProjectCompany.d.ts +8 -0
- package/dist/api/resources/accounting/types/ProjectCompany.js +5 -0
- package/dist/api/resources/accounting/types/ProjectContact.d.ts +8 -0
- package/dist/api/resources/accounting/types/ProjectContact.js +5 -0
- package/dist/api/resources/accounting/types/RemoteFieldApiResponse.d.ts +1 -0
- package/dist/api/resources/accounting/types/VendorCreditLine.d.ts +2 -0
- package/dist/api/resources/accounting/types/VendorCreditLineContact.d.ts +5 -0
- package/dist/api/resources/accounting/types/VendorCreditLineContact.js +5 -0
- package/dist/api/resources/accounting/types/VendorCreditLineProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/VendorCreditLineProject.js +5 -0
- package/dist/api/resources/accounting/types/VendorCreditLineRequest.d.ts +2 -0
- package/dist/api/resources/accounting/types/VendorCreditLineRequestContact.d.ts +5 -0
- package/dist/api/resources/accounting/types/VendorCreditLineRequestContact.js +5 -0
- package/dist/api/resources/accounting/types/VendorCreditLineRequestProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/VendorCreditLineRequestProject.js +5 -0
- package/dist/api/resources/accounting/types/index.d.ts +21 -0
- package/dist/api/resources/accounting/types/index.js +21 -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/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/candidates/client/Client.js +7 -7
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/departments/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/eeocs/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/ats/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/interviews/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/jobPostings/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/jobs/client/Client.js +3 -3
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/offers/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/offices/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/users/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/accounts/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/contacts/client/Client.js +8 -8
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +5 -5
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/engagements/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/crm/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/leads/client/Client.js +5 -5
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/notes/client/Client.js +5 -5
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/stages/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/tasks/client/Client.js +7 -7
- package/dist/api/resources/crm/resources/users/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/drives/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/filestorage/resources/files/client/Client.js +7 -7
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/users/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/benefits/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/companies/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/dependents/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/employees/client/Client.js +5 -5
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/employments/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/hris/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/groups/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/locations/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/teams/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/timeOff/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/roles/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
- package/dist/api/resources/ticketing/resources/users/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/serialization/resources/accounting/resources/index.d.ts +2 -0
- package/dist/serialization/resources/accounting/resources/index.js +3 -1
- package/dist/serialization/resources/accounting/resources/projects/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/projects/index.js +17 -0
- package/dist/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpand.js +41 -0
- package/dist/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.js +41 -0
- package/dist/serialization/resources/accounting/resources/projects/types/index.d.ts +2 -0
- package/dist/serialization/resources/accounting/resources/projects/types/index.js +18 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +4 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItem.js +4 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItemContact.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItemContact.js +42 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItemProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItemProject.js +42 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItemRequest.d.ts +4 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItemRequest.js +4 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItemRequestContact.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItemRequestContact.js +42 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItemRequestProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItemRequestProject.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseLine.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/ExpenseLine.js +2 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineProject.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineRequest.js +2 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineRequestProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseLineRequestProject.js +42 -0
- package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +1 -0
- package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +1 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLine.js +2 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineProject.js +42 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItem.d.ts +4 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItem.js +4 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemContact.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemContact.js +42 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemProject.js +42 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemRequest.d.ts +4 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemRequest.js +4 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemRequestContact.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemRequestContact.js +42 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemRequestProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/InvoiceLineItemRequestProject.js +42 -0
- package/dist/serialization/resources/accounting/types/JournalLine.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/JournalLine.js +2 -0
- package/dist/serialization/resources/accounting/types/JournalLineProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/JournalLineProject.js +42 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequest.js +2 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequestProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/JournalLineRequestProject.js +42 -0
- package/dist/serialization/resources/accounting/types/PaginatedProjectList.d.ts +15 -0
- package/dist/serialization/resources/accounting/types/PaginatedProjectList.js +46 -0
- package/dist/serialization/resources/accounting/types/Project.d.ts +24 -0
- package/dist/serialization/resources/accounting/types/Project.js +55 -0
- package/dist/serialization/resources/accounting/types/ProjectCompany.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ProjectCompany.js +42 -0
- package/dist/serialization/resources/accounting/types/ProjectContact.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ProjectContact.js +42 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldApiResponse.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldApiResponse.js +1 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLine.d.ts +4 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLine.js +4 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLineContact.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLineContact.js +42 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLineProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLineProject.js +42 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLineRequest.d.ts +4 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLineRequest.js +4 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLineRequestContact.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLineRequestContact.js +42 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLineRequestProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLineRequestProject.js +42 -0
- package/dist/serialization/resources/accounting/types/index.d.ts +21 -0
- package/dist/serialization/resources/accounting/types/index.js +21 -0
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +2712 -2576
- package/serialization/resources/accounting/resources/index.d.ts +2 -0
- package/serialization/resources/accounting/resources/index.js +3 -1
- package/serialization/resources/accounting/resources/projects/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/projects/index.js +17 -0
- package/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpand.d.ts +10 -0
- package/serialization/resources/accounting/resources/projects/types/ProjectsListRequestExpand.js +41 -0
- package/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.d.ts +10 -0
- package/serialization/resources/accounting/resources/projects/types/ProjectsRetrieveRequestExpand.js +41 -0
- package/serialization/resources/accounting/resources/projects/types/index.d.ts +2 -0
- package/serialization/resources/accounting/resources/projects/types/index.js +18 -0
- package/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +4 -0
- package/serialization/resources/accounting/types/CreditNoteLineItem.js +4 -0
- package/serialization/resources/accounting/types/CreditNoteLineItemContact.d.ts +11 -0
- package/serialization/resources/accounting/types/CreditNoteLineItemContact.js +42 -0
- package/serialization/resources/accounting/types/CreditNoteLineItemProject.d.ts +11 -0
- package/serialization/resources/accounting/types/CreditNoteLineItemProject.js +42 -0
- package/serialization/resources/accounting/types/CreditNoteLineItemRequest.d.ts +4 -0
- package/serialization/resources/accounting/types/CreditNoteLineItemRequest.js +4 -0
- package/serialization/resources/accounting/types/CreditNoteLineItemRequestContact.d.ts +11 -0
- package/serialization/resources/accounting/types/CreditNoteLineItemRequestContact.js +42 -0
- package/serialization/resources/accounting/types/CreditNoteLineItemRequestProject.d.ts +11 -0
- package/serialization/resources/accounting/types/CreditNoteLineItemRequestProject.js +42 -0
- package/serialization/resources/accounting/types/ExpenseLine.d.ts +2 -0
- package/serialization/resources/accounting/types/ExpenseLine.js +2 -0
- package/serialization/resources/accounting/types/ExpenseLineProject.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseLineProject.js +42 -0
- package/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/ExpenseLineRequest.js +2 -0
- package/serialization/resources/accounting/types/ExpenseLineRequestProject.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseLineRequestProject.js +42 -0
- package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +1 -0
- package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +1 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +2 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLine.js +2 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineProject.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineProject.js +42 -0
- package/serialization/resources/accounting/types/InvoiceLineItem.d.ts +4 -0
- package/serialization/resources/accounting/types/InvoiceLineItem.js +4 -0
- package/serialization/resources/accounting/types/InvoiceLineItemContact.d.ts +11 -0
- package/serialization/resources/accounting/types/InvoiceLineItemContact.js +42 -0
- package/serialization/resources/accounting/types/InvoiceLineItemProject.d.ts +11 -0
- package/serialization/resources/accounting/types/InvoiceLineItemProject.js +42 -0
- package/serialization/resources/accounting/types/InvoiceLineItemRequest.d.ts +4 -0
- package/serialization/resources/accounting/types/InvoiceLineItemRequest.js +4 -0
- package/serialization/resources/accounting/types/InvoiceLineItemRequestContact.d.ts +11 -0
- package/serialization/resources/accounting/types/InvoiceLineItemRequestContact.js +42 -0
- package/serialization/resources/accounting/types/InvoiceLineItemRequestProject.d.ts +11 -0
- package/serialization/resources/accounting/types/InvoiceLineItemRequestProject.js +42 -0
- package/serialization/resources/accounting/types/JournalLine.d.ts +2 -0
- package/serialization/resources/accounting/types/JournalLine.js +2 -0
- package/serialization/resources/accounting/types/JournalLineProject.d.ts +11 -0
- package/serialization/resources/accounting/types/JournalLineProject.js +42 -0
- package/serialization/resources/accounting/types/JournalLineRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/JournalLineRequest.js +2 -0
- package/serialization/resources/accounting/types/JournalLineRequestProject.d.ts +11 -0
- package/serialization/resources/accounting/types/JournalLineRequestProject.js +42 -0
- package/serialization/resources/accounting/types/PaginatedProjectList.d.ts +15 -0
- package/serialization/resources/accounting/types/PaginatedProjectList.js +46 -0
- package/serialization/resources/accounting/types/Project.d.ts +24 -0
- package/serialization/resources/accounting/types/Project.js +55 -0
- package/serialization/resources/accounting/types/ProjectCompany.d.ts +11 -0
- package/serialization/resources/accounting/types/ProjectCompany.js +42 -0
- package/serialization/resources/accounting/types/ProjectContact.d.ts +11 -0
- package/serialization/resources/accounting/types/ProjectContact.js +42 -0
- package/serialization/resources/accounting/types/RemoteFieldApiResponse.d.ts +1 -0
- package/serialization/resources/accounting/types/RemoteFieldApiResponse.js +1 -0
- package/serialization/resources/accounting/types/VendorCreditLine.d.ts +4 -0
- package/serialization/resources/accounting/types/VendorCreditLine.js +4 -0
- package/serialization/resources/accounting/types/VendorCreditLineContact.d.ts +11 -0
- package/serialization/resources/accounting/types/VendorCreditLineContact.js +42 -0
- package/serialization/resources/accounting/types/VendorCreditLineProject.d.ts +11 -0
- package/serialization/resources/accounting/types/VendorCreditLineProject.js +42 -0
- package/serialization/resources/accounting/types/VendorCreditLineRequest.d.ts +4 -0
- package/serialization/resources/accounting/types/VendorCreditLineRequest.js +4 -0
- package/serialization/resources/accounting/types/VendorCreditLineRequestContact.d.ts +11 -0
- package/serialization/resources/accounting/types/VendorCreditLineRequestContact.js +42 -0
- package/serialization/resources/accounting/types/VendorCreditLineRequestProject.d.ts +11 -0
- package/serialization/resources/accounting/types/VendorCreditLineRequestProject.js +42 -0
- package/serialization/resources/accounting/types/index.d.ts +21 -0
- package/serialization/resources/accounting/types/index.js +21 -0
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -121,7 +121,7 @@ class Users {
|
|
|
121
121
|
method: "GET",
|
|
122
122
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
123
123
|
? yield core.Supplier.get(this._options.accountToken)
|
|
124
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
124
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
125
125
|
contentType: "application/json",
|
|
126
126
|
queryParameters: _queryParams,
|
|
127
127
|
requestType: "json",
|
|
@@ -196,7 +196,7 @@ class Users {
|
|
|
196
196
|
method: "GET",
|
|
197
197
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
198
198
|
? yield core.Supplier.get(this._options.accountToken)
|
|
199
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
199
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
200
200
|
contentType: "application/json",
|
|
201
201
|
queryParameters: _queryParams,
|
|
202
202
|
requestType: "json",
|
|
@@ -77,7 +77,7 @@ class WebhookReceivers {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.accountToken)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -140,7 +140,7 @@ class WebhookReceivers {
|
|
|
140
140
|
method: "POST",
|
|
141
141
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
142
142
|
? yield core.Supplier.get(this._options.accountToken)
|
|
143
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
143
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
144
144
|
contentType: "application/json",
|
|
145
145
|
requestType: "json",
|
|
146
146
|
body: serializers.ticketing.WebhookReceiverRequest.jsonOrThrow(request, {
|
package/dist/Client.d.ts
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import * as environments from "./environments";
|
|
5
5
|
import * as core from "./core";
|
|
6
6
|
import { Ats } from "./api/resources/ats/client/Client";
|
|
7
|
-
import { Crm } from "./api/resources/crm/client/Client";
|
|
8
7
|
import { Filestorage } from "./api/resources/filestorage/client/Client";
|
|
9
8
|
import { Hris } from "./api/resources/hris/client/Client";
|
|
10
9
|
import { Ticketing } from "./api/resources/ticketing/client/Client";
|
|
10
|
+
import { Crm } from "./api/resources/crm/client/Client";
|
|
11
11
|
import { Accounting } from "./api/resources/accounting/client/Client";
|
|
12
12
|
export declare namespace MergeClient {
|
|
13
13
|
interface Options {
|
|
@@ -35,16 +35,16 @@ export declare namespace MergeClient {
|
|
|
35
35
|
export declare class MergeClient {
|
|
36
36
|
protected readonly _options: MergeClient.Options;
|
|
37
37
|
protected _ats: Ats | undefined;
|
|
38
|
-
protected _crm: Crm | undefined;
|
|
39
38
|
protected _filestorage: Filestorage | undefined;
|
|
40
39
|
protected _hris: Hris | undefined;
|
|
41
40
|
protected _ticketing: Ticketing | undefined;
|
|
41
|
+
protected _crm: Crm | undefined;
|
|
42
42
|
protected _accounting: Accounting | undefined;
|
|
43
43
|
constructor(_options: MergeClient.Options);
|
|
44
44
|
get ats(): Ats;
|
|
45
|
-
get crm(): Crm;
|
|
46
45
|
get filestorage(): Filestorage;
|
|
47
46
|
get hris(): Hris;
|
|
48
47
|
get ticketing(): Ticketing;
|
|
48
|
+
get crm(): Crm;
|
|
49
49
|
get accounting(): Accounting;
|
|
50
50
|
}
|
package/dist/Client.js
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.MergeClient = void 0;
|
|
7
7
|
const Client_1 = require("./api/resources/ats/client/Client");
|
|
8
|
-
const Client_2 = require("./api/resources/
|
|
9
|
-
const Client_3 = require("./api/resources/
|
|
10
|
-
const Client_4 = require("./api/resources/
|
|
11
|
-
const Client_5 = require("./api/resources/
|
|
8
|
+
const Client_2 = require("./api/resources/filestorage/client/Client");
|
|
9
|
+
const Client_3 = require("./api/resources/hris/client/Client");
|
|
10
|
+
const Client_4 = require("./api/resources/ticketing/client/Client");
|
|
11
|
+
const Client_5 = require("./api/resources/crm/client/Client");
|
|
12
12
|
const Client_6 = require("./api/resources/accounting/client/Client");
|
|
13
13
|
class MergeClient {
|
|
14
14
|
constructor(_options) {
|
|
@@ -18,21 +18,21 @@ class MergeClient {
|
|
|
18
18
|
var _a;
|
|
19
19
|
return ((_a = this._ats) !== null && _a !== void 0 ? _a : (this._ats = new Client_1.Ats(this._options)));
|
|
20
20
|
}
|
|
21
|
-
get crm() {
|
|
22
|
-
var _a;
|
|
23
|
-
return ((_a = this._crm) !== null && _a !== void 0 ? _a : (this._crm = new Client_2.Crm(this._options)));
|
|
24
|
-
}
|
|
25
21
|
get filestorage() {
|
|
26
22
|
var _a;
|
|
27
|
-
return ((_a = this._filestorage) !== null && _a !== void 0 ? _a : (this._filestorage = new
|
|
23
|
+
return ((_a = this._filestorage) !== null && _a !== void 0 ? _a : (this._filestorage = new Client_2.Filestorage(this._options)));
|
|
28
24
|
}
|
|
29
25
|
get hris() {
|
|
30
26
|
var _a;
|
|
31
|
-
return ((_a = this._hris) !== null && _a !== void 0 ? _a : (this._hris = new
|
|
27
|
+
return ((_a = this._hris) !== null && _a !== void 0 ? _a : (this._hris = new Client_3.Hris(this._options)));
|
|
32
28
|
}
|
|
33
29
|
get ticketing() {
|
|
34
30
|
var _a;
|
|
35
|
-
return ((_a = this._ticketing) !== null && _a !== void 0 ? _a : (this._ticketing = new
|
|
31
|
+
return ((_a = this._ticketing) !== null && _a !== void 0 ? _a : (this._ticketing = new Client_4.Ticketing(this._options)));
|
|
32
|
+
}
|
|
33
|
+
get crm() {
|
|
34
|
+
var _a;
|
|
35
|
+
return ((_a = this._crm) !== null && _a !== void 0 ? _a : (this._crm = new Client_5.Crm(this._options)));
|
|
36
36
|
}
|
|
37
37
|
get accounting() {
|
|
38
38
|
var _a;
|
|
@@ -39,6 +39,7 @@ import { PaymentMethods } from "../resources/paymentMethods/client/Client";
|
|
|
39
39
|
import { PaymentTerms } from "../resources/paymentTerms/client/Client";
|
|
40
40
|
import { Payments } from "../resources/payments/client/Client";
|
|
41
41
|
import { PhoneNumbers } from "../resources/phoneNumbers/client/Client";
|
|
42
|
+
import { Projects } from "../resources/projects/client/Client";
|
|
42
43
|
import { PurchaseOrders } from "../resources/purchaseOrders/client/Client";
|
|
43
44
|
import { RegenerateKey } from "../resources/regenerateKey/client/Client";
|
|
44
45
|
import { SyncStatus } from "../resources/syncStatus/client/Client";
|
|
@@ -97,6 +98,7 @@ export declare class Accounting {
|
|
|
97
98
|
protected _paymentTerms: PaymentTerms | undefined;
|
|
98
99
|
protected _payments: Payments | undefined;
|
|
99
100
|
protected _phoneNumbers: PhoneNumbers | undefined;
|
|
101
|
+
protected _projects: Projects | undefined;
|
|
100
102
|
protected _purchaseOrders: PurchaseOrders | undefined;
|
|
101
103
|
protected _regenerateKey: RegenerateKey | undefined;
|
|
102
104
|
protected _syncStatus: SyncStatus | undefined;
|
|
@@ -143,6 +145,7 @@ export declare class Accounting {
|
|
|
143
145
|
get paymentTerms(): PaymentTerms;
|
|
144
146
|
get payments(): Payments;
|
|
145
147
|
get phoneNumbers(): PhoneNumbers;
|
|
148
|
+
get projects(): Projects;
|
|
146
149
|
get purchaseOrders(): PurchaseOrders;
|
|
147
150
|
get regenerateKey(): RegenerateKey;
|
|
148
151
|
get syncStatus(): SyncStatus;
|
|
@@ -40,15 +40,16 @@ const Client_33 = require("../resources/paymentMethods/client/Client");
|
|
|
40
40
|
const Client_34 = require("../resources/paymentTerms/client/Client");
|
|
41
41
|
const Client_35 = require("../resources/payments/client/Client");
|
|
42
42
|
const Client_36 = require("../resources/phoneNumbers/client/Client");
|
|
43
|
-
const Client_37 = require("../resources/
|
|
44
|
-
const Client_38 = require("../resources/
|
|
45
|
-
const Client_39 = require("../resources/
|
|
46
|
-
const Client_40 = require("../resources/
|
|
47
|
-
const Client_41 = require("../resources/
|
|
48
|
-
const Client_42 = require("../resources/
|
|
49
|
-
const Client_43 = require("../resources/
|
|
50
|
-
const Client_44 = require("../resources/
|
|
51
|
-
const Client_45 = require("../resources/
|
|
43
|
+
const Client_37 = require("../resources/projects/client/Client");
|
|
44
|
+
const Client_38 = require("../resources/purchaseOrders/client/Client");
|
|
45
|
+
const Client_39 = require("../resources/regenerateKey/client/Client");
|
|
46
|
+
const Client_40 = require("../resources/syncStatus/client/Client");
|
|
47
|
+
const Client_41 = require("../resources/forceResync/client/Client");
|
|
48
|
+
const Client_42 = require("../resources/taxRates/client/Client");
|
|
49
|
+
const Client_43 = require("../resources/trackingCategories/client/Client");
|
|
50
|
+
const Client_44 = require("../resources/transactions/client/Client");
|
|
51
|
+
const Client_45 = require("../resources/vendorCredits/client/Client");
|
|
52
|
+
const Client_46 = require("../resources/webhookReceivers/client/Client");
|
|
52
53
|
class Accounting {
|
|
53
54
|
constructor(_options) {
|
|
54
55
|
this._options = _options;
|
|
@@ -197,41 +198,45 @@ class Accounting {
|
|
|
197
198
|
var _a;
|
|
198
199
|
return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_36.PhoneNumbers(this._options)));
|
|
199
200
|
}
|
|
201
|
+
get projects() {
|
|
202
|
+
var _a;
|
|
203
|
+
return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new Client_37.Projects(this._options)));
|
|
204
|
+
}
|
|
200
205
|
get purchaseOrders() {
|
|
201
206
|
var _a;
|
|
202
|
-
return ((_a = this._purchaseOrders) !== null && _a !== void 0 ? _a : (this._purchaseOrders = new
|
|
207
|
+
return ((_a = this._purchaseOrders) !== null && _a !== void 0 ? _a : (this._purchaseOrders = new Client_38.PurchaseOrders(this._options)));
|
|
203
208
|
}
|
|
204
209
|
get regenerateKey() {
|
|
205
210
|
var _a;
|
|
206
|
-
return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new
|
|
211
|
+
return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new Client_39.RegenerateKey(this._options)));
|
|
207
212
|
}
|
|
208
213
|
get syncStatus() {
|
|
209
214
|
var _a;
|
|
210
|
-
return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new
|
|
215
|
+
return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new Client_40.SyncStatus(this._options)));
|
|
211
216
|
}
|
|
212
217
|
get forceResync() {
|
|
213
218
|
var _a;
|
|
214
|
-
return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new
|
|
219
|
+
return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new Client_41.ForceResync(this._options)));
|
|
215
220
|
}
|
|
216
221
|
get taxRates() {
|
|
217
222
|
var _a;
|
|
218
|
-
return ((_a = this._taxRates) !== null && _a !== void 0 ? _a : (this._taxRates = new
|
|
223
|
+
return ((_a = this._taxRates) !== null && _a !== void 0 ? _a : (this._taxRates = new Client_42.TaxRates(this._options)));
|
|
219
224
|
}
|
|
220
225
|
get trackingCategories() {
|
|
221
226
|
var _a;
|
|
222
|
-
return ((_a = this._trackingCategories) !== null && _a !== void 0 ? _a : (this._trackingCategories = new
|
|
227
|
+
return ((_a = this._trackingCategories) !== null && _a !== void 0 ? _a : (this._trackingCategories = new Client_43.TrackingCategories(this._options)));
|
|
223
228
|
}
|
|
224
229
|
get transactions() {
|
|
225
230
|
var _a;
|
|
226
|
-
return ((_a = this._transactions) !== null && _a !== void 0 ? _a : (this._transactions = new
|
|
231
|
+
return ((_a = this._transactions) !== null && _a !== void 0 ? _a : (this._transactions = new Client_44.Transactions(this._options)));
|
|
227
232
|
}
|
|
228
233
|
get vendorCredits() {
|
|
229
234
|
var _a;
|
|
230
|
-
return ((_a = this._vendorCredits) !== null && _a !== void 0 ? _a : (this._vendorCredits = new
|
|
235
|
+
return ((_a = this._vendorCredits) !== null && _a !== void 0 ? _a : (this._vendorCredits = new Client_45.VendorCredits(this._options)));
|
|
231
236
|
}
|
|
232
237
|
get webhookReceivers() {
|
|
233
238
|
var _a;
|
|
234
|
-
return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new
|
|
239
|
+
return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new Client_46.WebhookReceivers(this._options)));
|
|
235
240
|
}
|
|
236
241
|
}
|
|
237
242
|
exports.Accounting = Accounting;
|
|
@@ -77,7 +77,7 @@ class AccountDetails {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.accountToken)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -78,7 +78,7 @@ class AccountToken {
|
|
|
78
78
|
method: "GET",
|
|
79
79
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
80
80
|
? yield core.Supplier.get(this._options.accountToken)
|
|
81
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
81
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
requestType: "json",
|
|
84
84
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -95,7 +95,7 @@ class AccountingPeriods {
|
|
|
95
95
|
method: "GET",
|
|
96
96
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
97
97
|
? yield core.Supplier.get(this._options.accountToken)
|
|
98
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
98
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
queryParameters: _queryParams,
|
|
101
101
|
requestType: "json",
|
|
@@ -165,7 +165,7 @@ class AccountingPeriods {
|
|
|
165
165
|
method: "GET",
|
|
166
166
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
167
167
|
? yield core.Supplier.get(this._options.accountToken)
|
|
168
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
168
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
queryParameters: _queryParams,
|
|
171
171
|
requestType: "json",
|
|
@@ -142,7 +142,7 @@ class Accounts {
|
|
|
142
142
|
method: "GET",
|
|
143
143
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
144
144
|
? yield core.Supplier.get(this._options.accountToken)
|
|
145
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
145
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
146
146
|
contentType: "application/json",
|
|
147
147
|
queryParameters: _queryParams,
|
|
148
148
|
requestType: "json",
|
|
@@ -213,7 +213,7 @@ class Accounts {
|
|
|
213
213
|
method: "POST",
|
|
214
214
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
215
215
|
? yield core.Supplier.get(this._options.accountToken)
|
|
216
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
216
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
217
217
|
contentType: "application/json",
|
|
218
218
|
queryParameters: _queryParams,
|
|
219
219
|
requestType: "json",
|
|
@@ -296,7 +296,7 @@ class Accounts {
|
|
|
296
296
|
method: "GET",
|
|
297
297
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
298
298
|
? yield core.Supplier.get(this._options.accountToken)
|
|
299
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
299
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
300
300
|
contentType: "application/json",
|
|
301
301
|
queryParameters: _queryParams,
|
|
302
302
|
requestType: "json",
|
|
@@ -356,7 +356,7 @@ class Accounts {
|
|
|
356
356
|
method: "GET",
|
|
357
357
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
358
358
|
? yield core.Supplier.get(this._options.accountToken)
|
|
359
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
359
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
360
360
|
contentType: "application/json",
|
|
361
361
|
requestType: "json",
|
|
362
362
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -93,7 +93,7 @@ class Addresses {
|
|
|
93
93
|
method: "GET",
|
|
94
94
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
95
95
|
? yield core.Supplier.get(this._options.accountToken)
|
|
96
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
96
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
97
97
|
contentType: "application/json",
|
|
98
98
|
queryParameters: _queryParams,
|
|
99
99
|
requestType: "json",
|
|
@@ -81,7 +81,7 @@ class AsyncPassthrough {
|
|
|
81
81
|
method: "POST",
|
|
82
82
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.accountToken)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
body: serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, {
|
|
@@ -144,7 +144,7 @@ class AsyncPassthrough {
|
|
|
144
144
|
method: "GET",
|
|
145
145
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
146
146
|
? yield core.Supplier.get(this._options.accountToken)
|
|
147
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
147
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
requestType: "json",
|
|
150
150
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -78,7 +78,7 @@ class AsyncTasks {
|
|
|
78
78
|
method: "GET",
|
|
79
79
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
80
80
|
? yield core.Supplier.get(this._options.accountToken)
|
|
81
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
81
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
requestType: "json",
|
|
84
84
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -124,7 +124,7 @@ class Attachments {
|
|
|
124
124
|
method: "GET",
|
|
125
125
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
126
126
|
? yield core.Supplier.get(this._options.accountToken)
|
|
127
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
127
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
queryParameters: _queryParams,
|
|
130
130
|
requestType: "json",
|
|
@@ -195,7 +195,7 @@ class Attachments {
|
|
|
195
195
|
method: "POST",
|
|
196
196
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
197
197
|
? yield core.Supplier.get(this._options.accountToken)
|
|
198
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
198
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
199
199
|
contentType: "application/json",
|
|
200
200
|
queryParameters: _queryParams,
|
|
201
201
|
requestType: "json",
|
|
@@ -268,7 +268,7 @@ class Attachments {
|
|
|
268
268
|
method: "GET",
|
|
269
269
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
270
270
|
? yield core.Supplier.get(this._options.accountToken)
|
|
271
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
271
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
272
272
|
contentType: "application/json",
|
|
273
273
|
queryParameters: _queryParams,
|
|
274
274
|
requestType: "json",
|
|
@@ -328,7 +328,7 @@ class Attachments {
|
|
|
328
328
|
method: "GET",
|
|
329
329
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
330
330
|
? yield core.Supplier.get(this._options.accountToken)
|
|
331
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
331
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
332
332
|
contentType: "application/json",
|
|
333
333
|
requestType: "json",
|
|
334
334
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -98,7 +98,7 @@ class AuditTrail {
|
|
|
98
98
|
method: "GET",
|
|
99
99
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
100
100
|
? yield core.Supplier.get(this._options.accountToken)
|
|
101
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
101
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
queryParameters: _queryParams,
|
|
104
104
|
requestType: "json",
|
|
@@ -77,7 +77,7 @@ class AvailableActions {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.accountToken)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -116,7 +116,7 @@ class BalanceSheets {
|
|
|
116
116
|
method: "GET",
|
|
117
117
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
118
118
|
? yield core.Supplier.get(this._options.accountToken)
|
|
119
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
119
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
122
122
|
requestType: "json",
|
|
@@ -189,7 +189,7 @@ class BalanceSheets {
|
|
|
189
189
|
method: "GET",
|
|
190
190
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
191
191
|
? yield core.Supplier.get(this._options.accountToken)
|
|
192
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
192
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
193
193
|
contentType: "application/json",
|
|
194
194
|
queryParameters: _queryParams,
|
|
195
195
|
requestType: "json",
|
|
@@ -106,7 +106,7 @@ class BankFeedAccounts {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
108
108
|
? yield core.Supplier.get(this._options.accountToken)
|
|
109
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
109
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
queryParameters: _queryParams,
|
|
112
112
|
requestType: "json",
|
|
@@ -177,7 +177,7 @@ class BankFeedAccounts {
|
|
|
177
177
|
method: "POST",
|
|
178
178
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
179
179
|
? yield core.Supplier.get(this._options.accountToken)
|
|
180
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
180
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
181
181
|
contentType: "application/json",
|
|
182
182
|
queryParameters: _queryParams,
|
|
183
183
|
requestType: "json",
|
|
@@ -250,7 +250,7 @@ class BankFeedAccounts {
|
|
|
250
250
|
method: "GET",
|
|
251
251
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
252
252
|
? yield core.Supplier.get(this._options.accountToken)
|
|
253
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
253
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
254
254
|
contentType: "application/json",
|
|
255
255
|
queryParameters: _queryParams,
|
|
256
256
|
requestType: "json",
|
|
@@ -310,7 +310,7 @@ class BankFeedAccounts {
|
|
|
310
310
|
method: "GET",
|
|
311
311
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
312
312
|
? yield core.Supplier.get(this._options.accountToken)
|
|
313
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
313
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
314
314
|
contentType: "application/json",
|
|
315
315
|
requestType: "json",
|
|
316
316
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -127,7 +127,7 @@ class BankFeedTransactions {
|
|
|
127
127
|
method: "GET",
|
|
128
128
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
129
129
|
? yield core.Supplier.get(this._options.accountToken)
|
|
130
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
130
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
queryParameters: _queryParams,
|
|
133
133
|
requestType: "json",
|
|
@@ -198,7 +198,7 @@ class BankFeedTransactions {
|
|
|
198
198
|
method: "POST",
|
|
199
199
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
200
200
|
? yield core.Supplier.get(this._options.accountToken)
|
|
201
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
201
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
202
202
|
contentType: "application/json",
|
|
203
203
|
queryParameters: _queryParams,
|
|
204
204
|
requestType: "json",
|
|
@@ -274,7 +274,7 @@ class BankFeedTransactions {
|
|
|
274
274
|
method: "GET",
|
|
275
275
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
276
276
|
? yield core.Supplier.get(this._options.accountToken)
|
|
277
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
277
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
278
278
|
contentType: "application/json",
|
|
279
279
|
queryParameters: _queryParams,
|
|
280
280
|
requestType: "json",
|
|
@@ -334,7 +334,7 @@ class BankFeedTransactions {
|
|
|
334
334
|
method: "GET",
|
|
335
335
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
336
336
|
? yield core.Supplier.get(this._options.accountToken)
|
|
337
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
337
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
338
338
|
contentType: "application/json",
|
|
339
339
|
requestType: "json",
|
|
340
340
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -116,7 +116,7 @@ class CashFlowStatements {
|
|
|
116
116
|
method: "GET",
|
|
117
117
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
118
118
|
? yield core.Supplier.get(this._options.accountToken)
|
|
119
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
119
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
122
122
|
requestType: "json",
|
|
@@ -189,7 +189,7 @@ class CashFlowStatements {
|
|
|
189
189
|
method: "GET",
|
|
190
190
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
191
191
|
? yield core.Supplier.get(this._options.accountToken)
|
|
192
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
192
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
193
193
|
contentType: "application/json",
|
|
194
194
|
queryParameters: _queryParams,
|
|
195
195
|
requestType: "json",
|
|
@@ -115,7 +115,7 @@ class CompanyInfo {
|
|
|
115
115
|
method: "GET",
|
|
116
116
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
117
117
|
? yield core.Supplier.get(this._options.accountToken)
|
|
118
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
118
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
119
119
|
contentType: "application/json",
|
|
120
120
|
queryParameters: _queryParams,
|
|
121
121
|
requestType: "json",
|
|
@@ -190,7 +190,7 @@ class CompanyInfo {
|
|
|
190
190
|
method: "GET",
|
|
191
191
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
192
192
|
? yield core.Supplier.get(this._options.accountToken)
|
|
193
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
193
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
194
194
|
contentType: "application/json",
|
|
195
195
|
queryParameters: _queryParams,
|
|
196
196
|
requestType: "json",
|