@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
|
@@ -144,7 +144,7 @@ class CreditNotes {
|
|
|
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
|
queryParameters: _queryParams,
|
|
150
150
|
requestType: "json",
|
|
@@ -215,7 +215,7 @@ class CreditNotes {
|
|
|
215
215
|
method: "POST",
|
|
216
216
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
217
217
|
? yield core.Supplier.get(this._options.accountToken)
|
|
218
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
218
|
+
: 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),
|
|
219
219
|
contentType: "application/json",
|
|
220
220
|
queryParameters: _queryParams,
|
|
221
221
|
requestType: "json",
|
|
@@ -302,7 +302,7 @@ class CreditNotes {
|
|
|
302
302
|
method: "GET",
|
|
303
303
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
304
304
|
? yield core.Supplier.get(this._options.accountToken)
|
|
305
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
305
|
+
: 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),
|
|
306
306
|
contentType: "application/json",
|
|
307
307
|
queryParameters: _queryParams,
|
|
308
308
|
requestType: "json",
|
|
@@ -362,7 +362,7 @@ class CreditNotes {
|
|
|
362
362
|
method: "GET",
|
|
363
363
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
364
364
|
? yield core.Supplier.get(this._options.accountToken)
|
|
365
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
365
|
+
: 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),
|
|
366
366
|
contentType: "application/json",
|
|
367
367
|
requestType: "json",
|
|
368
368
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -76,7 +76,7 @@ class DeleteAccount {
|
|
|
76
76
|
method: "POST",
|
|
77
77
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
78
78
|
? yield core.Supplier.get(this._options.accountToken)
|
|
79
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
79
|
+
: 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),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
requestType: "json",
|
|
82
82
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -98,7 +98,7 @@ class Employees {
|
|
|
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",
|
|
@@ -171,7 +171,7 @@ class Employees {
|
|
|
171
171
|
method: "GET",
|
|
172
172
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
173
173
|
? yield core.Supplier.get(this._options.accountToken)
|
|
174
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
174
|
+
: 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),
|
|
175
175
|
contentType: "application/json",
|
|
176
176
|
queryParameters: _queryParams,
|
|
177
177
|
requestType: "json",
|
|
@@ -138,7 +138,7 @@ class Expenses {
|
|
|
138
138
|
method: "GET",
|
|
139
139
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
140
140
|
? yield core.Supplier.get(this._options.accountToken)
|
|
141
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
141
|
+
: 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),
|
|
142
142
|
contentType: "application/json",
|
|
143
143
|
queryParameters: _queryParams,
|
|
144
144
|
requestType: "json",
|
|
@@ -209,7 +209,7 @@ class Expenses {
|
|
|
209
209
|
method: "POST",
|
|
210
210
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
211
211
|
? yield core.Supplier.get(this._options.accountToken)
|
|
212
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
212
|
+
: 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),
|
|
213
213
|
contentType: "application/json",
|
|
214
214
|
queryParameters: _queryParams,
|
|
215
215
|
requestType: "json",
|
|
@@ -288,7 +288,7 @@ class Expenses {
|
|
|
288
288
|
method: "GET",
|
|
289
289
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
290
290
|
? yield core.Supplier.get(this._options.accountToken)
|
|
291
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
291
|
+
: 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),
|
|
292
292
|
contentType: "application/json",
|
|
293
293
|
queryParameters: _queryParams,
|
|
294
294
|
requestType: "json",
|
|
@@ -369,7 +369,7 @@ class Expenses {
|
|
|
369
369
|
method: "GET",
|
|
370
370
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
371
371
|
? yield core.Supplier.get(this._options.accountToken)
|
|
372
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
372
|
+
: 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),
|
|
373
373
|
contentType: "application/json",
|
|
374
374
|
queryParameters: _queryParams,
|
|
375
375
|
requestType: "json",
|
|
@@ -429,7 +429,7 @@ class Expenses {
|
|
|
429
429
|
method: "GET",
|
|
430
430
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
431
431
|
? yield core.Supplier.get(this._options.accountToken)
|
|
432
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
432
|
+
: 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),
|
|
433
433
|
contentType: "application/json",
|
|
434
434
|
requestType: "json",
|
|
435
435
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -509,7 +509,7 @@ class Expenses {
|
|
|
509
509
|
method: "GET",
|
|
510
510
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
511
511
|
? yield core.Supplier.get(this._options.accountToken)
|
|
512
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
512
|
+
: 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),
|
|
513
513
|
contentType: "application/json",
|
|
514
514
|
queryParameters: _queryParams,
|
|
515
515
|
requestType: "json",
|
|
@@ -94,7 +94,7 @@ class FieldMapping {
|
|
|
94
94
|
method: "GET",
|
|
95
95
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
96
96
|
? yield core.Supplier.get(this._options.accountToken)
|
|
97
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
97
|
+
: 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),
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
queryParameters: _queryParams,
|
|
100
100
|
requestType: "json",
|
|
@@ -167,7 +167,7 @@ class FieldMapping {
|
|
|
167
167
|
method: "POST",
|
|
168
168
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
169
169
|
? yield core.Supplier.get(this._options.accountToken)
|
|
170
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
170
|
+
: 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),
|
|
171
171
|
contentType: "application/json",
|
|
172
172
|
queryParameters: _queryParams,
|
|
173
173
|
requestType: "json",
|
|
@@ -231,7 +231,7 @@ class FieldMapping {
|
|
|
231
231
|
method: "DELETE",
|
|
232
232
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
233
233
|
? yield core.Supplier.get(this._options.accountToken)
|
|
234
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
234
|
+
: 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),
|
|
235
235
|
contentType: "application/json",
|
|
236
236
|
requestType: "json",
|
|
237
237
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -292,7 +292,7 @@ class FieldMapping {
|
|
|
292
292
|
method: "PATCH",
|
|
293
293
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
294
294
|
? yield core.Supplier.get(this._options.accountToken)
|
|
295
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
295
|
+
: 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),
|
|
296
296
|
contentType: "application/json",
|
|
297
297
|
requestType: "json",
|
|
298
298
|
body: serializers.accounting.PatchedEditFieldMappingRequest.jsonOrThrow(request, {
|
|
@@ -363,7 +363,7 @@ class FieldMapping {
|
|
|
363
363
|
method: "GET",
|
|
364
364
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
365
365
|
? yield core.Supplier.get(this._options.accountToken)
|
|
366
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
366
|
+
: 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),
|
|
367
367
|
contentType: "application/json",
|
|
368
368
|
queryParameters: _queryParams,
|
|
369
369
|
requestType: "json",
|
|
@@ -423,7 +423,7 @@ class FieldMapping {
|
|
|
423
423
|
method: "GET",
|
|
424
424
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
425
425
|
? yield core.Supplier.get(this._options.accountToken)
|
|
426
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
426
|
+
: 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),
|
|
427
427
|
contentType: "application/json",
|
|
428
428
|
requestType: "json",
|
|
429
429
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -77,7 +77,7 @@ class ForceResync {
|
|
|
77
77
|
method: "POST",
|
|
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,
|
|
@@ -122,7 +122,7 @@ class GeneralLedgerTransactions {
|
|
|
122
122
|
method: "GET",
|
|
123
123
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
124
124
|
? yield core.Supplier.get(this._options.accountToken)
|
|
125
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
125
|
+
: 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),
|
|
126
126
|
contentType: "application/json",
|
|
127
127
|
queryParameters: _queryParams,
|
|
128
128
|
requestType: "json",
|
|
@@ -195,7 +195,7 @@ class GeneralLedgerTransactions {
|
|
|
195
195
|
method: "GET",
|
|
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",
|
|
@@ -80,7 +80,7 @@ class GenerateKey {
|
|
|
80
80
|
method: "POST",
|
|
81
81
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
82
82
|
? yield core.Supplier.get(this._options.accountToken)
|
|
83
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
83
|
+
: 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),
|
|
84
84
|
contentType: "application/json",
|
|
85
85
|
requestType: "json",
|
|
86
86
|
body: serializers.accounting.GenerateRemoteKeyRequest.jsonOrThrow(request, {
|
|
@@ -116,7 +116,7 @@ class IncomeStatements {
|
|
|
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 IncomeStatements {
|
|
|
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",
|
|
@@ -24,6 +24,8 @@ export * as linkedAccounts from "./linkedAccounts";
|
|
|
24
24
|
export * from "./linkedAccounts/types";
|
|
25
25
|
export * as payments from "./payments";
|
|
26
26
|
export * from "./payments/types";
|
|
27
|
+
export * as projects from "./projects";
|
|
28
|
+
export * from "./projects/types";
|
|
27
29
|
export * as purchaseOrders from "./purchaseOrders";
|
|
28
30
|
export * from "./purchaseOrders/types";
|
|
29
31
|
export * as transactions from "./transactions";
|
|
@@ -88,6 +90,7 @@ export * from "./paymentMethods/client/requests";
|
|
|
88
90
|
export * from "./paymentTerms/client/requests";
|
|
89
91
|
export * from "./payments/client/requests";
|
|
90
92
|
export * from "./phoneNumbers/client/requests";
|
|
93
|
+
export * from "./projects/client/requests";
|
|
91
94
|
export * from "./purchaseOrders/client/requests";
|
|
92
95
|
export * from "./regenerateKey/client/requests";
|
|
93
96
|
export * from "./syncStatus/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.webhookReceivers = exports.trackingCategories = exports.taxRates = exports.forceResync = exports.syncStatus = exports.regenerateKey = exports.phoneNumbers = exports.paymentTerms = exports.paymentMethods = exports.passthrough = exports.linkToken = exports.incomeStatements = exports.generateKey = exports.fieldMapping = exports.employees = exports.deleteAccount = exports.scopes = exports.cashFlowStatements = exports.bankFeedTransactions = exports.bankFeedAccounts = exports.balanceSheets = exports.availableActions = exports.auditTrail = exports.attachments = exports.asyncTasks = exports.addresses = exports.accountingPeriods = exports.accountToken = exports.accountDetails = exports.vendorCredits = exports.transactions = exports.purchaseOrders = exports.payments = exports.linkedAccounts = exports.journalEntries = exports.items = exports.issues = exports.invoices = exports.generalLedgerTransactions = exports.expenses = exports.creditNotes = exports.contacts = exports.companyInfo = exports.asyncPassthrough = exports.accounts = void 0;
|
|
39
|
+
exports.webhookReceivers = exports.trackingCategories = exports.taxRates = exports.forceResync = exports.syncStatus = exports.regenerateKey = exports.phoneNumbers = exports.paymentTerms = exports.paymentMethods = exports.passthrough = exports.linkToken = exports.incomeStatements = exports.generateKey = exports.fieldMapping = exports.employees = exports.deleteAccount = exports.scopes = exports.cashFlowStatements = exports.bankFeedTransactions = exports.bankFeedAccounts = exports.balanceSheets = exports.availableActions = exports.auditTrail = exports.attachments = exports.asyncTasks = exports.addresses = exports.accountingPeriods = exports.accountToken = exports.accountDetails = exports.vendorCredits = exports.transactions = exports.purchaseOrders = exports.projects = exports.payments = exports.linkedAccounts = exports.journalEntries = exports.items = exports.issues = exports.invoices = exports.generalLedgerTransactions = exports.expenses = exports.creditNotes = exports.contacts = exports.companyInfo = exports.asyncPassthrough = exports.accounts = void 0;
|
|
40
40
|
exports.accounts = __importStar(require("./accounts"));
|
|
41
41
|
__exportStar(require("./accounts/types"), exports);
|
|
42
42
|
exports.asyncPassthrough = __importStar(require("./asyncPassthrough"));
|
|
@@ -63,6 +63,8 @@ exports.linkedAccounts = __importStar(require("./linkedAccounts"));
|
|
|
63
63
|
__exportStar(require("./linkedAccounts/types"), exports);
|
|
64
64
|
exports.payments = __importStar(require("./payments"));
|
|
65
65
|
__exportStar(require("./payments/types"), exports);
|
|
66
|
+
exports.projects = __importStar(require("./projects"));
|
|
67
|
+
__exportStar(require("./projects/types"), exports);
|
|
66
68
|
exports.purchaseOrders = __importStar(require("./purchaseOrders"));
|
|
67
69
|
__exportStar(require("./purchaseOrders/types"), exports);
|
|
68
70
|
exports.transactions = __importStar(require("./transactions"));
|
|
@@ -127,6 +129,7 @@ __exportStar(require("./paymentMethods/client/requests"), exports);
|
|
|
127
129
|
__exportStar(require("./paymentTerms/client/requests"), exports);
|
|
128
130
|
__exportStar(require("./payments/client/requests"), exports);
|
|
129
131
|
__exportStar(require("./phoneNumbers/client/requests"), exports);
|
|
132
|
+
__exportStar(require("./projects/client/requests"), exports);
|
|
130
133
|
__exportStar(require("./purchaseOrders/client/requests"), exports);
|
|
131
134
|
__exportStar(require("./regenerateKey/client/requests"), exports);
|
|
132
135
|
__exportStar(require("./syncStatus/client/requests"), exports);
|
|
@@ -160,7 +160,7 @@ class Invoices {
|
|
|
160
160
|
method: "GET",
|
|
161
161
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
162
162
|
? yield core.Supplier.get(this._options.accountToken)
|
|
163
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
163
|
+
: 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),
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
queryParameters: _queryParams,
|
|
166
166
|
requestType: "json",
|
|
@@ -233,7 +233,7 @@ class Invoices {
|
|
|
233
233
|
method: "POST",
|
|
234
234
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
235
235
|
? yield core.Supplier.get(this._options.accountToken)
|
|
236
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
236
|
+
: 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),
|
|
237
237
|
contentType: "application/json",
|
|
238
238
|
queryParameters: _queryParams,
|
|
239
239
|
requestType: "json",
|
|
@@ -318,7 +318,7 @@ class Invoices {
|
|
|
318
318
|
method: "GET",
|
|
319
319
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
320
320
|
? yield core.Supplier.get(this._options.accountToken)
|
|
321
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
321
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.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),
|
|
322
322
|
contentType: "application/json",
|
|
323
323
|
queryParameters: _queryParams,
|
|
324
324
|
requestType: "json",
|
|
@@ -390,7 +390,7 @@ class Invoices {
|
|
|
390
390
|
method: "PATCH",
|
|
391
391
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
392
392
|
? yield core.Supplier.get(this._options.accountToken)
|
|
393
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
393
|
+
: 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),
|
|
394
394
|
contentType: "application/json",
|
|
395
395
|
queryParameters: _queryParams,
|
|
396
396
|
requestType: "json",
|
|
@@ -474,7 +474,7 @@ class Invoices {
|
|
|
474
474
|
method: "GET",
|
|
475
475
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
476
476
|
? yield core.Supplier.get(this._options.accountToken)
|
|
477
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
477
|
+
: 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),
|
|
478
478
|
contentType: "application/json",
|
|
479
479
|
queryParameters: _queryParams,
|
|
480
480
|
requestType: "json",
|
|
@@ -535,7 +535,7 @@ class Invoices {
|
|
|
535
535
|
method: "GET",
|
|
536
536
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
537
537
|
? yield core.Supplier.get(this._options.accountToken)
|
|
538
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
538
|
+
: 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),
|
|
539
539
|
contentType: "application/json",
|
|
540
540
|
requestType: "json",
|
|
541
541
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -594,7 +594,7 @@ class Invoices {
|
|
|
594
594
|
method: "GET",
|
|
595
595
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
596
596
|
? yield core.Supplier.get(this._options.accountToken)
|
|
597
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
597
|
+
: 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),
|
|
598
598
|
contentType: "application/json",
|
|
599
599
|
requestType: "json",
|
|
600
600
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -674,7 +674,7 @@ class Invoices {
|
|
|
674
674
|
method: "GET",
|
|
675
675
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
676
676
|
? yield core.Supplier.get(this._options.accountToken)
|
|
677
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
677
|
+
: 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),
|
|
678
678
|
contentType: "application/json",
|
|
679
679
|
queryParameters: _queryParams,
|
|
680
680
|
requestType: "json",
|
|
@@ -124,7 +124,7 @@ class Issues {
|
|
|
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",
|
|
@@ -185,7 +185,7 @@ class Issues {
|
|
|
185
185
|
method: "GET",
|
|
186
186
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
187
187
|
? yield core.Supplier.get(this._options.accountToken)
|
|
188
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
188
|
+
: 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),
|
|
189
189
|
contentType: "application/json",
|
|
190
190
|
requestType: "json",
|
|
191
191
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -124,7 +124,7 @@ class Items {
|
|
|
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",
|
|
@@ -205,7 +205,7 @@ class Items {
|
|
|
205
205
|
method: "GET",
|
|
206
206
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
207
207
|
? yield core.Supplier.get(this._options.accountToken)
|
|
208
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
208
|
+
: 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),
|
|
209
209
|
contentType: "application/json",
|
|
210
210
|
queryParameters: _queryParams,
|
|
211
211
|
requestType: "json",
|
|
@@ -138,7 +138,7 @@ class JournalEntries {
|
|
|
138
138
|
method: "GET",
|
|
139
139
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
140
140
|
? yield core.Supplier.get(this._options.accountToken)
|
|
141
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
141
|
+
: 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),
|
|
142
142
|
contentType: "application/json",
|
|
143
143
|
queryParameters: _queryParams,
|
|
144
144
|
requestType: "json",
|
|
@@ -209,7 +209,7 @@ class JournalEntries {
|
|
|
209
209
|
method: "POST",
|
|
210
210
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
211
211
|
? yield core.Supplier.get(this._options.accountToken)
|
|
212
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
212
|
+
: 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),
|
|
213
213
|
contentType: "application/json",
|
|
214
214
|
queryParameters: _queryParams,
|
|
215
215
|
requestType: "json",
|
|
@@ -290,7 +290,7 @@ class JournalEntries {
|
|
|
290
290
|
method: "GET",
|
|
291
291
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
292
292
|
? yield core.Supplier.get(this._options.accountToken)
|
|
293
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
293
|
+
: 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),
|
|
294
294
|
contentType: "application/json",
|
|
295
295
|
queryParameters: _queryParams,
|
|
296
296
|
requestType: "json",
|
|
@@ -371,7 +371,7 @@ class JournalEntries {
|
|
|
371
371
|
method: "GET",
|
|
372
372
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
373
373
|
? yield core.Supplier.get(this._options.accountToken)
|
|
374
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
374
|
+
: 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),
|
|
375
375
|
contentType: "application/json",
|
|
376
376
|
queryParameters: _queryParams,
|
|
377
377
|
requestType: "json",
|
|
@@ -431,7 +431,7 @@ class JournalEntries {
|
|
|
431
431
|
method: "GET",
|
|
432
432
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
433
433
|
? yield core.Supplier.get(this._options.accountToken)
|
|
434
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
434
|
+
: 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),
|
|
435
435
|
contentType: "application/json",
|
|
436
436
|
requestType: "json",
|
|
437
437
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -511,7 +511,7 @@ class JournalEntries {
|
|
|
511
511
|
method: "GET",
|
|
512
512
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
513
513
|
? yield core.Supplier.get(this._options.accountToken)
|
|
514
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
514
|
+
: 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),
|
|
515
515
|
contentType: "application/json",
|
|
516
516
|
queryParameters: _queryParams,
|
|
517
517
|
requestType: "json",
|
|
@@ -83,7 +83,7 @@ class LinkToken {
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
85
85
|
? yield core.Supplier.get(this._options.accountToken)
|
|
86
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
86
|
+
: 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),
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
requestType: "json",
|
|
89
89
|
body: serializers.accounting.EndUserDetailsRequest.jsonOrThrow(request, {
|
|
@@ -121,7 +121,7 @@ class LinkedAccounts {
|
|
|
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",
|
|
@@ -81,7 +81,7 @@ class Passthrough {
|
|
|
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, {
|
|
@@ -95,7 +95,7 @@ class PaymentMethods {
|
|
|
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 PaymentMethods {
|
|
|
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",
|
|
@@ -98,7 +98,7 @@ class PaymentTerms {
|
|
|
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",
|
|
@@ -171,7 +171,7 @@ class PaymentTerms {
|
|
|
171
171
|
method: "GET",
|
|
172
172
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
173
173
|
? yield core.Supplier.get(this._options.accountToken)
|
|
174
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
174
|
+
: 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),
|
|
175
175
|
contentType: "application/json",
|
|
176
176
|
queryParameters: _queryParams,
|
|
177
177
|
requestType: "json",
|