@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
|
@@ -191,7 +191,7 @@ class Tickets {
|
|
|
191
191
|
method: "GET",
|
|
192
192
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
193
193
|
? yield core.Supplier.get(this._options.accountToken)
|
|
194
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
194
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.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),
|
|
195
195
|
contentType: "application/json",
|
|
196
196
|
queryParameters: _queryParams,
|
|
197
197
|
requestType: "json",
|
|
@@ -262,7 +262,7 @@ class Tickets {
|
|
|
262
262
|
method: "POST",
|
|
263
263
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
264
264
|
? yield core.Supplier.get(this._options.accountToken)
|
|
265
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
265
|
+
: 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),
|
|
266
266
|
contentType: "application/json",
|
|
267
267
|
queryParameters: _queryParams,
|
|
268
268
|
requestType: "json",
|
|
@@ -347,7 +347,7 @@ class Tickets {
|
|
|
347
347
|
method: "GET",
|
|
348
348
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
349
349
|
? yield core.Supplier.get(this._options.accountToken)
|
|
350
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
350
|
+
: 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),
|
|
351
351
|
contentType: "application/json",
|
|
352
352
|
queryParameters: _queryParams,
|
|
353
353
|
requestType: "json",
|
|
@@ -419,7 +419,7 @@ class Tickets {
|
|
|
419
419
|
method: "PATCH",
|
|
420
420
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
421
421
|
? yield core.Supplier.get(this._options.accountToken)
|
|
422
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
422
|
+
: 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),
|
|
423
423
|
contentType: "application/json",
|
|
424
424
|
queryParameters: _queryParams,
|
|
425
425
|
requestType: "json",
|
|
@@ -506,7 +506,7 @@ class Tickets {
|
|
|
506
506
|
method: "GET",
|
|
507
507
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
508
508
|
? yield core.Supplier.get(this._options.accountToken)
|
|
509
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
509
|
+
: 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),
|
|
510
510
|
contentType: "application/json",
|
|
511
511
|
queryParameters: _queryParams,
|
|
512
512
|
requestType: "json",
|
|
@@ -567,7 +567,7 @@ class Tickets {
|
|
|
567
567
|
method: "GET",
|
|
568
568
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
569
569
|
? yield core.Supplier.get(this._options.accountToken)
|
|
570
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
570
|
+
: 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),
|
|
571
571
|
contentType: "application/json",
|
|
572
572
|
requestType: "json",
|
|
573
573
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -626,7 +626,7 @@ class Tickets {
|
|
|
626
626
|
method: "GET",
|
|
627
627
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
628
628
|
? yield core.Supplier.get(this._options.accountToken)
|
|
629
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
629
|
+
: 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),
|
|
630
630
|
contentType: "application/json",
|
|
631
631
|
requestType: "json",
|
|
632
632
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -709,7 +709,7 @@ class Tickets {
|
|
|
709
709
|
method: "GET",
|
|
710
710
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
711
711
|
? yield core.Supplier.get(this._options.accountToken)
|
|
712
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
712
|
+
: 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),
|
|
713
713
|
contentType: "application/json",
|
|
714
714
|
queryParameters: _queryParams,
|
|
715
715
|
requestType: "json",
|
|
@@ -121,7 +121,7 @@ class Users {
|
|
|
121
121
|
method: "GET",
|
|
122
122
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
123
123
|
? yield core.Supplier.get(this._options.accountToken)
|
|
124
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
124
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
125
125
|
contentType: "application/json",
|
|
126
126
|
queryParameters: _queryParams,
|
|
127
127
|
requestType: "json",
|
|
@@ -196,7 +196,7 @@ class Users {
|
|
|
196
196
|
method: "GET",
|
|
197
197
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
198
198
|
? yield core.Supplier.get(this._options.accountToken)
|
|
199
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
199
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
200
200
|
contentType: "application/json",
|
|
201
201
|
queryParameters: _queryParams,
|
|
202
202
|
requestType: "json",
|
|
@@ -77,7 +77,7 @@ class WebhookReceivers {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.accountToken)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -140,7 +140,7 @@ class WebhookReceivers {
|
|
|
140
140
|
method: "POST",
|
|
141
141
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
142
142
|
? yield core.Supplier.get(this._options.accountToken)
|
|
143
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
143
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.9", "User-Agent": "@mergeapi/merge-node-client/1.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
144
144
|
contentType: "application/json",
|
|
145
145
|
requestType: "json",
|
|
146
146
|
body: serializers.ticketing.WebhookReceiverRequest.jsonOrThrow(request, {
|
|
@@ -24,6 +24,8 @@ export * as linkedAccounts from "./linkedAccounts";
|
|
|
24
24
|
export * from "./linkedAccounts/types";
|
|
25
25
|
export * as payments from "./payments";
|
|
26
26
|
export * from "./payments/types";
|
|
27
|
+
export * as projects from "./projects";
|
|
28
|
+
export * from "./projects/types";
|
|
27
29
|
export * as purchaseOrders from "./purchaseOrders";
|
|
28
30
|
export * from "./purchaseOrders/types";
|
|
29
31
|
export * as transactions from "./transactions";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.regenerateKey = exports.linkToken = exports.generateKey = exports.fieldMapping = exports.scopes = exports.bankFeedTransactions = exports.bankFeedAccounts = exports.attachments = exports.webhookReceivers = exports.forceResync = exports.vendorCredits = exports.transactions = exports.purchaseOrders = exports.payments = exports.linkedAccounts = exports.journalEntries = exports.items = exports.issues = exports.invoices = exports.generalLedgerTransactions = exports.expenses = exports.creditNotes = exports.contacts = exports.companyInfo = exports.asyncPassthrough = exports.accounts = void 0;
|
|
39
|
+
exports.regenerateKey = exports.linkToken = exports.generateKey = exports.fieldMapping = exports.scopes = exports.bankFeedTransactions = exports.bankFeedAccounts = exports.attachments = exports.webhookReceivers = exports.forceResync = exports.vendorCredits = exports.transactions = exports.purchaseOrders = exports.projects = exports.payments = exports.linkedAccounts = exports.journalEntries = exports.items = exports.issues = exports.invoices = exports.generalLedgerTransactions = exports.expenses = exports.creditNotes = exports.contacts = exports.companyInfo = exports.asyncPassthrough = exports.accounts = void 0;
|
|
40
40
|
exports.accounts = __importStar(require("./accounts"));
|
|
41
41
|
__exportStar(require("./accounts/types"), exports);
|
|
42
42
|
exports.asyncPassthrough = __importStar(require("./asyncPassthrough"));
|
|
@@ -63,6 +63,8 @@ exports.linkedAccounts = __importStar(require("./linkedAccounts"));
|
|
|
63
63
|
__exportStar(require("./linkedAccounts/types"), exports);
|
|
64
64
|
exports.payments = __importStar(require("./payments"));
|
|
65
65
|
__exportStar(require("./payments/types"), exports);
|
|
66
|
+
exports.projects = __importStar(require("./projects"));
|
|
67
|
+
__exportStar(require("./projects/types"), exports);
|
|
66
68
|
exports.purchaseOrders = __importStar(require("./purchaseOrders"));
|
|
67
69
|
__exportStar(require("./purchaseOrders/types"), exports);
|
|
68
70
|
exports.transactions = __importStar(require("./transactions"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as Merge from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ProjectsListRequestExpand: core.serialization.Schema<serializers.accounting.ProjectsListRequestExpand.Raw, Merge.accounting.ProjectsListRequestExpand>;
|
|
8
|
+
export declare namespace ProjectsListRequestExpand {
|
|
9
|
+
type Raw = "company" | "company,contact" | "contact";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ProjectsListRequestExpand = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.ProjectsListRequestExpand = core.serialization.enum_(["company", "company,contact", "contact"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as Merge from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ProjectsRetrieveRequestExpand: core.serialization.Schema<serializers.accounting.ProjectsRetrieveRequestExpand.Raw, Merge.accounting.ProjectsRetrieveRequestExpand>;
|
|
8
|
+
export declare namespace ProjectsRetrieveRequestExpand {
|
|
9
|
+
type Raw = "company" | "company,contact" | "contact";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ProjectsRetrieveRequestExpand = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.ProjectsRetrieveRequestExpand = core.serialization.enum_(["company", "company,contact", "contact"]);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ProjectsListRequestExpand"), exports);
|
|
18
|
+
__exportStar(require("./ProjectsRetrieveRequestExpand"), exports);
|
|
@@ -6,6 +6,8 @@ import * as Merge from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { CreditNoteLineItemItem } from "./CreditNoteLineItemItem";
|
|
8
8
|
import { CreditNoteLineItemCompany } from "./CreditNoteLineItemCompany";
|
|
9
|
+
import { CreditNoteLineItemContact } from "./CreditNoteLineItemContact";
|
|
10
|
+
import { CreditNoteLineItemProject } from "./CreditNoteLineItemProject";
|
|
9
11
|
export declare const CreditNoteLineItem: core.serialization.ObjectSchema<serializers.accounting.CreditNoteLineItem.Raw, Merge.accounting.CreditNoteLineItem>;
|
|
10
12
|
export declare namespace CreditNoteLineItem {
|
|
11
13
|
interface Raw {
|
|
@@ -25,6 +27,8 @@ export declare namespace CreditNoteLineItem {
|
|
|
25
27
|
tracking_categories?: (string | null | undefined)[] | null;
|
|
26
28
|
account?: string | null;
|
|
27
29
|
company?: CreditNoteLineItemCompany.Raw | null;
|
|
30
|
+
contact?: CreditNoteLineItemContact.Raw | null;
|
|
31
|
+
project?: CreditNoteLineItemProject.Raw | null;
|
|
28
32
|
remote_was_deleted?: boolean | null;
|
|
29
33
|
}
|
|
30
34
|
}
|
|
@@ -40,6 +40,8 @@ exports.CreditNoteLineItem = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const CreditNoteLineItemItem_1 = require("./CreditNoteLineItemItem");
|
|
42
42
|
const CreditNoteLineItemCompany_1 = require("./CreditNoteLineItemCompany");
|
|
43
|
+
const CreditNoteLineItemContact_1 = require("./CreditNoteLineItemContact");
|
|
44
|
+
const CreditNoteLineItemProject_1 = require("./CreditNoteLineItemProject");
|
|
43
45
|
exports.CreditNoteLineItem = core.serialization.object({
|
|
44
46
|
id: core.serialization.string().optional(),
|
|
45
47
|
remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
|
|
@@ -57,5 +59,7 @@ exports.CreditNoteLineItem = core.serialization.object({
|
|
|
57
59
|
trackingCategories: core.serialization.property("tracking_categories", core.serialization.list(core.serialization.string().optional()).optional()),
|
|
58
60
|
account: core.serialization.string().optional(),
|
|
59
61
|
company: CreditNoteLineItemCompany_1.CreditNoteLineItemCompany.optional(),
|
|
62
|
+
contact: CreditNoteLineItemContact_1.CreditNoteLineItemContact.optional(),
|
|
63
|
+
project: CreditNoteLineItemProject_1.CreditNoteLineItemProject.optional(),
|
|
60
64
|
remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
|
|
61
65
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Merge from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Contact } from "./Contact";
|
|
8
|
+
export declare const CreditNoteLineItemContact: core.serialization.Schema<serializers.accounting.CreditNoteLineItemContact.Raw, Merge.accounting.CreditNoteLineItemContact>;
|
|
9
|
+
export declare namespace CreditNoteLineItemContact {
|
|
10
|
+
type Raw = string | Contact.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreditNoteLineItemContact = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Contact_1 = require("./Contact");
|
|
42
|
+
exports.CreditNoteLineItemContact = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact_1.Contact]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Merge from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Project } from "./Project";
|
|
8
|
+
export declare const CreditNoteLineItemProject: core.serialization.Schema<serializers.accounting.CreditNoteLineItemProject.Raw, Merge.accounting.CreditNoteLineItemProject>;
|
|
9
|
+
export declare namespace CreditNoteLineItemProject {
|
|
10
|
+
type Raw = string | Project.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreditNoteLineItemProject = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Project_1 = require("./Project");
|
|
42
|
+
exports.CreditNoteLineItemProject = core.serialization.undiscriminatedUnion([core.serialization.string(), Project_1.Project]);
|
|
@@ -6,6 +6,8 @@ import * as Merge from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { CreditNoteLineItemRequestItem } from "./CreditNoteLineItemRequestItem";
|
|
8
8
|
import { CreditNoteLineItemRequestCompany } from "./CreditNoteLineItemRequestCompany";
|
|
9
|
+
import { CreditNoteLineItemRequestContact } from "./CreditNoteLineItemRequestContact";
|
|
10
|
+
import { CreditNoteLineItemRequestProject } from "./CreditNoteLineItemRequestProject";
|
|
9
11
|
export declare const CreditNoteLineItemRequest: core.serialization.ObjectSchema<serializers.accounting.CreditNoteLineItemRequest.Raw, Merge.accounting.CreditNoteLineItemRequest>;
|
|
10
12
|
export declare namespace CreditNoteLineItemRequest {
|
|
11
13
|
interface Raw {
|
|
@@ -22,6 +24,8 @@ export declare namespace CreditNoteLineItemRequest {
|
|
|
22
24
|
tracking_categories?: (string | null | undefined)[] | null;
|
|
23
25
|
account?: string | null;
|
|
24
26
|
company?: CreditNoteLineItemRequestCompany.Raw | null;
|
|
27
|
+
contact?: CreditNoteLineItemRequestContact.Raw | null;
|
|
28
|
+
project?: CreditNoteLineItemRequestProject.Raw | null;
|
|
25
29
|
integration_params?: Record<string, unknown> | null;
|
|
26
30
|
linked_account_params?: Record<string, unknown> | null;
|
|
27
31
|
}
|
|
@@ -40,6 +40,8 @@ exports.CreditNoteLineItemRequest = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const CreditNoteLineItemRequestItem_1 = require("./CreditNoteLineItemRequestItem");
|
|
42
42
|
const CreditNoteLineItemRequestCompany_1 = require("./CreditNoteLineItemRequestCompany");
|
|
43
|
+
const CreditNoteLineItemRequestContact_1 = require("./CreditNoteLineItemRequestContact");
|
|
44
|
+
const CreditNoteLineItemRequestProject_1 = require("./CreditNoteLineItemRequestProject");
|
|
43
45
|
exports.CreditNoteLineItemRequest = core.serialization.object({
|
|
44
46
|
remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
|
|
45
47
|
item: CreditNoteLineItemRequestItem_1.CreditNoteLineItemRequestItem.optional(),
|
|
@@ -54,6 +56,8 @@ exports.CreditNoteLineItemRequest = core.serialization.object({
|
|
|
54
56
|
trackingCategories: core.serialization.property("tracking_categories", core.serialization.list(core.serialization.string().optional()).optional()),
|
|
55
57
|
account: core.serialization.string().optional(),
|
|
56
58
|
company: CreditNoteLineItemRequestCompany_1.CreditNoteLineItemRequestCompany.optional(),
|
|
59
|
+
contact: CreditNoteLineItemRequestContact_1.CreditNoteLineItemRequestContact.optional(),
|
|
60
|
+
project: CreditNoteLineItemRequestProject_1.CreditNoteLineItemRequestProject.optional(),
|
|
57
61
|
integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
58
62
|
linkedAccountParams: core.serialization.property("linked_account_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
59
63
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Merge from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Contact } from "./Contact";
|
|
8
|
+
export declare const CreditNoteLineItemRequestContact: core.serialization.Schema<serializers.accounting.CreditNoteLineItemRequestContact.Raw, Merge.accounting.CreditNoteLineItemRequestContact>;
|
|
9
|
+
export declare namespace CreditNoteLineItemRequestContact {
|
|
10
|
+
type Raw = string | Contact.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreditNoteLineItemRequestContact = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Contact_1 = require("./Contact");
|
|
42
|
+
exports.CreditNoteLineItemRequestContact = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact_1.Contact]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Merge from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Contact } from "./Contact";
|
|
8
|
+
export declare const CreditNoteLineItemRequestProject: core.serialization.Schema<serializers.accounting.CreditNoteLineItemRequestProject.Raw, Merge.accounting.CreditNoteLineItemRequestProject>;
|
|
9
|
+
export declare namespace CreditNoteLineItemRequestProject {
|
|
10
|
+
type Raw = string | Contact.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreditNoteLineItemRequestProject = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Contact_1 = require("./Contact");
|
|
42
|
+
exports.CreditNoteLineItemRequestProject = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact_1.Contact]);
|
|
@@ -11,6 +11,7 @@ import { ExpenseLineEmployee } from "./ExpenseLineEmployee";
|
|
|
11
11
|
import { ExpenseLineCurrency } from "./ExpenseLineCurrency";
|
|
12
12
|
import { ExpenseLineAccount } from "./ExpenseLineAccount";
|
|
13
13
|
import { ExpenseLineContact } from "./ExpenseLineContact";
|
|
14
|
+
import { ExpenseLineProject } from "./ExpenseLineProject";
|
|
14
15
|
export declare const ExpenseLine: core.serialization.ObjectSchema<serializers.accounting.ExpenseLine.Raw, Merge.accounting.ExpenseLine>;
|
|
15
16
|
export declare namespace ExpenseLine {
|
|
16
17
|
interface Raw {
|
|
@@ -27,6 +28,7 @@ export declare namespace ExpenseLine {
|
|
|
27
28
|
currency?: ExpenseLineCurrency.Raw | null;
|
|
28
29
|
account?: ExpenseLineAccount.Raw | null;
|
|
29
30
|
contact?: ExpenseLineContact.Raw | null;
|
|
31
|
+
project?: ExpenseLineProject.Raw | null;
|
|
30
32
|
description?: string | null;
|
|
31
33
|
exchange_rate?: string | null;
|
|
32
34
|
tax_rate?: string | null;
|