@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 Leads {
|
|
|
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 Leads {
|
|
|
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",
|
|
@@ -294,7 +294,7 @@ class Leads {
|
|
|
294
294
|
method: "GET",
|
|
295
295
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
296
296
|
? yield core.Supplier.get(this._options.accountToken)
|
|
297
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
297
|
+
: 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),
|
|
298
298
|
contentType: "application/json",
|
|
299
299
|
queryParameters: _queryParams,
|
|
300
300
|
requestType: "json",
|
|
@@ -354,7 +354,7 @@ class Leads {
|
|
|
354
354
|
method: "GET",
|
|
355
355
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
356
356
|
? yield core.Supplier.get(this._options.accountToken)
|
|
357
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
357
|
+
: 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),
|
|
358
358
|
contentType: "application/json",
|
|
359
359
|
requestType: "json",
|
|
360
360
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -437,7 +437,7 @@ class Leads {
|
|
|
437
437
|
method: "GET",
|
|
438
438
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
439
439
|
? yield core.Supplier.get(this._options.accountToken)
|
|
440
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
440
|
+
: 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),
|
|
441
441
|
contentType: "application/json",
|
|
442
442
|
queryParameters: _queryParams,
|
|
443
443
|
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.crm.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -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",
|
|
@@ -141,7 +141,7 @@ class Notes {
|
|
|
141
141
|
method: "GET",
|
|
142
142
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
143
143
|
? yield core.Supplier.get(this._options.accountToken)
|
|
144
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
144
|
+
: 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),
|
|
145
145
|
contentType: "application/json",
|
|
146
146
|
queryParameters: _queryParams,
|
|
147
147
|
requestType: "json",
|
|
@@ -212,7 +212,7 @@ class Notes {
|
|
|
212
212
|
method: "POST",
|
|
213
213
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
214
214
|
? yield core.Supplier.get(this._options.accountToken)
|
|
215
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
215
|
+
: 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),
|
|
216
216
|
contentType: "application/json",
|
|
217
217
|
queryParameters: _queryParams,
|
|
218
218
|
requestType: "json",
|
|
@@ -291,7 +291,7 @@ class Notes {
|
|
|
291
291
|
method: "GET",
|
|
292
292
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
293
293
|
? yield core.Supplier.get(this._options.accountToken)
|
|
294
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
294
|
+
: 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),
|
|
295
295
|
contentType: "application/json",
|
|
296
296
|
queryParameters: _queryParams,
|
|
297
297
|
requestType: "json",
|
|
@@ -351,7 +351,7 @@ class Notes {
|
|
|
351
351
|
method: "GET",
|
|
352
352
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
353
353
|
? yield core.Supplier.get(this._options.accountToken)
|
|
354
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
354
|
+
: 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),
|
|
355
355
|
contentType: "application/json",
|
|
356
356
|
requestType: "json",
|
|
357
357
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -434,7 +434,7 @@ class Notes {
|
|
|
434
434
|
method: "GET",
|
|
435
435
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
436
436
|
? yield core.Supplier.get(this._options.accountToken)
|
|
437
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
437
|
+
: 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),
|
|
438
438
|
contentType: "application/json",
|
|
439
439
|
queryParameters: _queryParams,
|
|
440
440
|
requestType: "json",
|
|
@@ -152,7 +152,7 @@ class Opportunities {
|
|
|
152
152
|
method: "GET",
|
|
153
153
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
154
154
|
? yield core.Supplier.get(this._options.accountToken)
|
|
155
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
155
|
+
: 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),
|
|
156
156
|
contentType: "application/json",
|
|
157
157
|
queryParameters: _queryParams,
|
|
158
158
|
requestType: "json",
|
|
@@ -223,7 +223,7 @@ class Opportunities {
|
|
|
223
223
|
method: "POST",
|
|
224
224
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
225
225
|
? yield core.Supplier.get(this._options.accountToken)
|
|
226
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
226
|
+
: 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),
|
|
227
227
|
contentType: "application/json",
|
|
228
228
|
queryParameters: _queryParams,
|
|
229
229
|
requestType: "json",
|
|
@@ -308,7 +308,7 @@ class Opportunities {
|
|
|
308
308
|
method: "GET",
|
|
309
309
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
310
310
|
? yield core.Supplier.get(this._options.accountToken)
|
|
311
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
311
|
+
: 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),
|
|
312
312
|
contentType: "application/json",
|
|
313
313
|
queryParameters: _queryParams,
|
|
314
314
|
requestType: "json",
|
|
@@ -380,7 +380,7 @@ class Opportunities {
|
|
|
380
380
|
method: "PATCH",
|
|
381
381
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
382
382
|
? yield core.Supplier.get(this._options.accountToken)
|
|
383
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
383
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.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),
|
|
384
384
|
contentType: "application/json",
|
|
385
385
|
queryParameters: _queryParams,
|
|
386
386
|
requestType: "json",
|
|
@@ -444,7 +444,7 @@ class Opportunities {
|
|
|
444
444
|
method: "GET",
|
|
445
445
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
446
446
|
? yield core.Supplier.get(this._options.accountToken)
|
|
447
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
447
|
+
: 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),
|
|
448
448
|
contentType: "application/json",
|
|
449
449
|
requestType: "json",
|
|
450
450
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -503,7 +503,7 @@ class Opportunities {
|
|
|
503
503
|
method: "GET",
|
|
504
504
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
505
505
|
? yield core.Supplier.get(this._options.accountToken)
|
|
506
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
506
|
+
: 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),
|
|
507
507
|
contentType: "application/json",
|
|
508
508
|
requestType: "json",
|
|
509
509
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -586,7 +586,7 @@ class Opportunities {
|
|
|
586
586
|
method: "GET",
|
|
587
587
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
588
588
|
? yield core.Supplier.get(this._options.accountToken)
|
|
589
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
589
|
+
: 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),
|
|
590
590
|
contentType: "application/json",
|
|
591
591
|
queryParameters: _queryParams,
|
|
592
592
|
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.crm.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -80,7 +80,7 @@ class RegenerateKey {
|
|
|
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.crm.RemoteKeyForRegenerationRequest.jsonOrThrow(request, {
|
|
@@ -77,7 +77,7 @@ class Scopes {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.accountToken)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -136,7 +136,7 @@ class Scopes {
|
|
|
136
136
|
method: "GET",
|
|
137
137
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
138
138
|
? yield core.Supplier.get(this._options.accountToken)
|
|
139
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
139
|
+
: 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),
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
requestType: "json",
|
|
142
142
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -219,7 +219,7 @@ class Scopes {
|
|
|
219
219
|
method: "POST",
|
|
220
220
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
221
221
|
? yield core.Supplier.get(this._options.accountToken)
|
|
222
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
222
|
+
: 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),
|
|
223
223
|
contentType: "application/json",
|
|
224
224
|
requestType: "json",
|
|
225
225
|
body: serializers.crm.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, {
|
|
@@ -113,7 +113,7 @@ class Stages {
|
|
|
113
113
|
method: "GET",
|
|
114
114
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
115
115
|
? yield core.Supplier.get(this._options.accountToken)
|
|
116
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
116
|
+
: 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),
|
|
117
117
|
contentType: "application/json",
|
|
118
118
|
queryParameters: _queryParams,
|
|
119
119
|
requestType: "json",
|
|
@@ -186,7 +186,7 @@ class Stages {
|
|
|
186
186
|
method: "GET",
|
|
187
187
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
188
188
|
? yield core.Supplier.get(this._options.accountToken)
|
|
189
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
189
|
+
: 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),
|
|
190
190
|
contentType: "application/json",
|
|
191
191
|
queryParameters: _queryParams,
|
|
192
192
|
requestType: "json",
|
|
@@ -270,7 +270,7 @@ class Stages {
|
|
|
270
270
|
method: "GET",
|
|
271
271
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
272
272
|
? yield core.Supplier.get(this._options.accountToken)
|
|
273
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
273
|
+
: 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),
|
|
274
274
|
contentType: "application/json",
|
|
275
275
|
queryParameters: _queryParams,
|
|
276
276
|
requestType: "json",
|
|
@@ -86,7 +86,7 @@ class SyncStatus {
|
|
|
86
86
|
method: "GET",
|
|
87
87
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
88
88
|
? yield core.Supplier.get(this._options.accountToken)
|
|
89
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
89
|
+
: 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),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
queryParameters: _queryParams,
|
|
92
92
|
requestType: "json",
|
|
@@ -129,7 +129,7 @@ class Tasks {
|
|
|
129
129
|
method: "GET",
|
|
130
130
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
131
131
|
? yield core.Supplier.get(this._options.accountToken)
|
|
132
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
132
|
+
: 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),
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
queryParameters: _queryParams,
|
|
135
135
|
requestType: "json",
|
|
@@ -200,7 +200,7 @@ class Tasks {
|
|
|
200
200
|
method: "POST",
|
|
201
201
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
202
202
|
? yield core.Supplier.get(this._options.accountToken)
|
|
203
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
203
|
+
: 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),
|
|
204
204
|
contentType: "application/json",
|
|
205
205
|
queryParameters: _queryParams,
|
|
206
206
|
requestType: "json",
|
|
@@ -279,7 +279,7 @@ class Tasks {
|
|
|
279
279
|
method: "GET",
|
|
280
280
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
281
281
|
? yield core.Supplier.get(this._options.accountToken)
|
|
282
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
282
|
+
: 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),
|
|
283
283
|
contentType: "application/json",
|
|
284
284
|
queryParameters: _queryParams,
|
|
285
285
|
requestType: "json",
|
|
@@ -351,7 +351,7 @@ class Tasks {
|
|
|
351
351
|
method: "PATCH",
|
|
352
352
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
353
353
|
? yield core.Supplier.get(this._options.accountToken)
|
|
354
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
354
|
+
: 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),
|
|
355
355
|
contentType: "application/json",
|
|
356
356
|
queryParameters: _queryParams,
|
|
357
357
|
requestType: "json",
|
|
@@ -413,7 +413,7 @@ class Tasks {
|
|
|
413
413
|
method: "GET",
|
|
414
414
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
415
415
|
? yield core.Supplier.get(this._options.accountToken)
|
|
416
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
416
|
+
: 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),
|
|
417
417
|
contentType: "application/json",
|
|
418
418
|
requestType: "json",
|
|
419
419
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -472,7 +472,7 @@ class Tasks {
|
|
|
472
472
|
method: "GET",
|
|
473
473
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
474
474
|
? yield core.Supplier.get(this._options.accountToken)
|
|
475
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
475
|
+
: 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),
|
|
476
476
|
contentType: "application/json",
|
|
477
477
|
requestType: "json",
|
|
478
478
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -555,7 +555,7 @@ class Tasks {
|
|
|
555
555
|
method: "GET",
|
|
556
556
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
557
557
|
? yield core.Supplier.get(this._options.accountToken)
|
|
558
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
558
|
+
: 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),
|
|
559
559
|
contentType: "application/json",
|
|
560
560
|
queryParameters: _queryParams,
|
|
561
561
|
requestType: "json",
|
|
@@ -116,7 +116,7 @@ class Users {
|
|
|
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 Users {
|
|
|
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",
|
|
@@ -253,7 +253,7 @@ class Users {
|
|
|
253
253
|
method: "POST",
|
|
254
254
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
255
255
|
? yield core.Supplier.get(this._options.accountToken)
|
|
256
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
256
|
+
: 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),
|
|
257
257
|
contentType: "application/json",
|
|
258
258
|
requestType: "json",
|
|
259
259
|
body: serializers.crm.IgnoreCommonModelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -328,7 +328,7 @@ class Users {
|
|
|
328
328
|
method: "GET",
|
|
329
329
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
330
330
|
? yield core.Supplier.get(this._options.accountToken)
|
|
331
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
331
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
332
332
|
contentType: "application/json",
|
|
333
333
|
queryParameters: _queryParams,
|
|
334
334
|
requestType: "json",
|
|
@@ -77,7 +77,7 @@ class WebhookReceivers {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.accountToken)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -140,7 +140,7 @@ class WebhookReceivers {
|
|
|
140
140
|
method: "POST",
|
|
141
141
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
142
142
|
? yield core.Supplier.get(this._options.accountToken)
|
|
143
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
143
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
144
144
|
contentType: "application/json",
|
|
145
145
|
requestType: "json",
|
|
146
146
|
body: serializers.crm.WebhookReceiverRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -77,7 +77,7 @@ class AccountDetails {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.accountToken)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -78,7 +78,7 @@ class AccountToken {
|
|
|
78
78
|
method: "GET",
|
|
79
79
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
80
80
|
? yield core.Supplier.get(this._options.accountToken)
|
|
81
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
81
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
requestType: "json",
|
|
84
84
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -81,7 +81,7 @@ class AsyncPassthrough {
|
|
|
81
81
|
method: "POST",
|
|
82
82
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
83
83
|
? yield core.Supplier.get(this._options.accountToken)
|
|
84
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
84
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
body: serializers.filestorage.DataPassthroughRequest.jsonOrThrow(request, {
|
|
@@ -144,7 +144,7 @@ class AsyncPassthrough {
|
|
|
144
144
|
method: "GET",
|
|
145
145
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
146
146
|
? yield core.Supplier.get(this._options.accountToken)
|
|
147
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
147
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
requestType: "json",
|
|
150
150
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -98,7 +98,7 @@ class AuditTrail {
|
|
|
98
98
|
method: "GET",
|
|
99
99
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
100
100
|
? yield core.Supplier.get(this._options.accountToken)
|
|
101
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
101
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
queryParameters: _queryParams,
|
|
104
104
|
requestType: "json",
|
|
@@ -77,7 +77,7 @@ class AvailableActions {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.accountToken)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -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,
|
|
@@ -113,7 +113,7 @@ class Drives {
|
|
|
113
113
|
method: "GET",
|
|
114
114
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
115
115
|
? yield core.Supplier.get(this._options.accountToken)
|
|
116
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
116
|
+
: 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),
|
|
117
117
|
contentType: "application/json",
|
|
118
118
|
queryParameters: _queryParams,
|
|
119
119
|
requestType: "json",
|
|
@@ -183,7 +183,7 @@ class Drives {
|
|
|
183
183
|
method: "GET",
|
|
184
184
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
185
185
|
? yield core.Supplier.get(this._options.accountToken)
|
|
186
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
186
|
+
: 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),
|
|
187
187
|
contentType: "application/json",
|
|
188
188
|
queryParameters: _queryParams,
|
|
189
189
|
requestType: "json",
|