@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
|
@@ -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.JournalLineProject = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Project_1 = require("./Project");
|
|
42
|
+
exports.JournalLineProject = core.serialization.undiscriminatedUnion([core.serialization.string(), Project_1.Project]);
|
|
@@ -8,6 +8,7 @@ import { JournalLineRequestAccount } from "./JournalLineRequestAccount";
|
|
|
8
8
|
import { JournalLineRequestTrackingCategory } from "./JournalLineRequestTrackingCategory";
|
|
9
9
|
import { JournalLineRequestTrackingCategoriesItem } from "./JournalLineRequestTrackingCategoriesItem";
|
|
10
10
|
import { JournalLineRequestCurrency } from "./JournalLineRequestCurrency";
|
|
11
|
+
import { JournalLineRequestProject } from "./JournalLineRequestProject";
|
|
11
12
|
import { RemoteFieldRequest } from "./RemoteFieldRequest";
|
|
12
13
|
export declare const JournalLineRequest: core.serialization.ObjectSchema<serializers.accounting.JournalLineRequest.Raw, Merge.accounting.JournalLineRequest>;
|
|
13
14
|
export declare namespace JournalLineRequest {
|
|
@@ -20,6 +21,7 @@ export declare namespace JournalLineRequest {
|
|
|
20
21
|
currency?: JournalLineRequestCurrency.Raw | null;
|
|
21
22
|
company?: string | null;
|
|
22
23
|
employee?: string | null;
|
|
24
|
+
project?: JournalLineRequestProject.Raw | null;
|
|
23
25
|
contact?: string | null;
|
|
24
26
|
tax_rate?: string | null;
|
|
25
27
|
description?: string | null;
|
|
@@ -42,6 +42,7 @@ const JournalLineRequestAccount_1 = require("./JournalLineRequestAccount");
|
|
|
42
42
|
const JournalLineRequestTrackingCategory_1 = require("./JournalLineRequestTrackingCategory");
|
|
43
43
|
const JournalLineRequestTrackingCategoriesItem_1 = require("./JournalLineRequestTrackingCategoriesItem");
|
|
44
44
|
const JournalLineRequestCurrency_1 = require("./JournalLineRequestCurrency");
|
|
45
|
+
const JournalLineRequestProject_1 = require("./JournalLineRequestProject");
|
|
45
46
|
const RemoteFieldRequest_1 = require("./RemoteFieldRequest");
|
|
46
47
|
exports.JournalLineRequest = core.serialization.object({
|
|
47
48
|
remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
|
|
@@ -52,6 +53,7 @@ exports.JournalLineRequest = core.serialization.object({
|
|
|
52
53
|
currency: JournalLineRequestCurrency_1.JournalLineRequestCurrency.optional(),
|
|
53
54
|
company: core.serialization.string().optional(),
|
|
54
55
|
employee: core.serialization.string().optional(),
|
|
56
|
+
project: JournalLineRequestProject_1.JournalLineRequestProject.optional(),
|
|
55
57
|
contact: core.serialization.string().optional(),
|
|
56
58
|
taxRate: core.serialization.property("tax_rate", core.serialization.string().optional()),
|
|
57
59
|
description: core.serialization.string().optional(),
|
|
@@ -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 JournalLineRequestProject: core.serialization.Schema<serializers.accounting.JournalLineRequestProject.Raw, Merge.accounting.JournalLineRequestProject>;
|
|
9
|
+
export declare namespace JournalLineRequestProject {
|
|
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.JournalLineRequestProject = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Project_1 = require("./Project");
|
|
42
|
+
exports.JournalLineRequestProject = core.serialization.undiscriminatedUnion([core.serialization.string(), Project_1.Project]);
|
|
@@ -0,0 +1,15 @@
|
|
|
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 PaginatedProjectList: core.serialization.ObjectSchema<serializers.accounting.PaginatedProjectList.Raw, Merge.accounting.PaginatedProjectList>;
|
|
9
|
+
export declare namespace PaginatedProjectList {
|
|
10
|
+
interface Raw {
|
|
11
|
+
next?: string | null;
|
|
12
|
+
previous?: string | null;
|
|
13
|
+
results?: Project.Raw[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.PaginatedProjectList = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Project_1 = require("./Project");
|
|
42
|
+
exports.PaginatedProjectList = core.serialization.object({
|
|
43
|
+
next: core.serialization.string().optional(),
|
|
44
|
+
previous: core.serialization.string().optional(),
|
|
45
|
+
results: core.serialization.list(Project_1.Project).optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { ProjectCompany } from "./ProjectCompany";
|
|
8
|
+
import { ProjectContact } from "./ProjectContact";
|
|
9
|
+
import { RemoteData } from "./RemoteData";
|
|
10
|
+
export declare const Project: core.serialization.ObjectSchema<serializers.accounting.Project.Raw, Merge.accounting.Project>;
|
|
11
|
+
export declare namespace Project {
|
|
12
|
+
interface Raw {
|
|
13
|
+
id?: string | null;
|
|
14
|
+
remote_id?: string | null;
|
|
15
|
+
created_at?: string | null;
|
|
16
|
+
modified_at?: string | null;
|
|
17
|
+
name: string;
|
|
18
|
+
is_active?: boolean | null;
|
|
19
|
+
company?: ProjectCompany.Raw | null;
|
|
20
|
+
contact?: ProjectContact.Raw | null;
|
|
21
|
+
field_mappings?: Record<string, unknown> | null;
|
|
22
|
+
remote_data?: RemoteData.Raw[] | null;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.Project = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const ProjectCompany_1 = require("./ProjectCompany");
|
|
42
|
+
const ProjectContact_1 = require("./ProjectContact");
|
|
43
|
+
const RemoteData_1 = require("./RemoteData");
|
|
44
|
+
exports.Project = core.serialization.object({
|
|
45
|
+
id: core.serialization.string().optional(),
|
|
46
|
+
remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
|
|
47
|
+
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
|
48
|
+
modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
|
|
49
|
+
name: core.serialization.string(),
|
|
50
|
+
isActive: core.serialization.property("is_active", core.serialization.boolean().optional()),
|
|
51
|
+
company: ProjectCompany_1.ProjectCompany.optional(),
|
|
52
|
+
contact: ProjectContact_1.ProjectContact.optional(),
|
|
53
|
+
fieldMappings: core.serialization.property("field_mappings", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
54
|
+
remoteData: core.serialization.property("remote_data", core.serialization.list(RemoteData_1.RemoteData).optional()),
|
|
55
|
+
});
|
|
@@ -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 { CompanyInfo } from "./CompanyInfo";
|
|
8
|
+
export declare const ProjectCompany: core.serialization.Schema<serializers.accounting.ProjectCompany.Raw, Merge.accounting.ProjectCompany>;
|
|
9
|
+
export declare namespace ProjectCompany {
|
|
10
|
+
type Raw = string | CompanyInfo.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.ProjectCompany = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const CompanyInfo_1 = require("./CompanyInfo");
|
|
42
|
+
exports.ProjectCompany = core.serialization.undiscriminatedUnion([core.serialization.string(), CompanyInfo_1.CompanyInfo]);
|
|
@@ -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 ProjectContact: core.serialization.Schema<serializers.accounting.ProjectContact.Raw, Merge.accounting.ProjectContact>;
|
|
9
|
+
export declare namespace ProjectContact {
|
|
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.ProjectContact = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Contact_1 = require("./Contact");
|
|
42
|
+
exports.ProjectContact = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact_1.Contact]);
|
|
@@ -31,6 +31,7 @@ export declare namespace RemoteFieldApiResponse {
|
|
|
31
31
|
BankFeedAccount?: RemoteFieldApi.Raw[] | null;
|
|
32
32
|
Employee?: RemoteFieldApi.Raw[] | null;
|
|
33
33
|
PaymentMethod?: RemoteFieldApi.Raw[] | null;
|
|
34
|
+
Project?: RemoteFieldApi.Raw[] | null;
|
|
34
35
|
PaymentTerm?: RemoteFieldApi.Raw[] | null;
|
|
35
36
|
}
|
|
36
37
|
}
|
|
@@ -63,5 +63,6 @@ exports.RemoteFieldApiResponse = core.serialization.object({
|
|
|
63
63
|
bankFeedAccount: core.serialization.property("BankFeedAccount", core.serialization.list(RemoteFieldApi_1.RemoteFieldApi).optional()),
|
|
64
64
|
employee: core.serialization.property("Employee", core.serialization.list(RemoteFieldApi_1.RemoteFieldApi).optional()),
|
|
65
65
|
paymentMethod: core.serialization.property("PaymentMethod", core.serialization.list(RemoteFieldApi_1.RemoteFieldApi).optional()),
|
|
66
|
+
project: core.serialization.property("Project", core.serialization.list(RemoteFieldApi_1.RemoteFieldApi).optional()),
|
|
66
67
|
paymentTerm: core.serialization.property("PaymentTerm", core.serialization.list(RemoteFieldApi_1.RemoteFieldApi).optional()),
|
|
67
68
|
});
|
|
@@ -5,6 +5,8 @@ import * as serializers from "../../../index";
|
|
|
5
5
|
import * as Merge from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { VendorCreditLineAccount } from "./VendorCreditLineAccount";
|
|
8
|
+
import { VendorCreditLineProject } from "./VendorCreditLineProject";
|
|
9
|
+
import { VendorCreditLineContact } from "./VendorCreditLineContact";
|
|
8
10
|
export declare const VendorCreditLine: core.serialization.ObjectSchema<serializers.accounting.VendorCreditLine.Raw, Merge.accounting.VendorCreditLine>;
|
|
9
11
|
export declare namespace VendorCreditLine {
|
|
10
12
|
interface Raw {
|
|
@@ -18,6 +20,8 @@ export declare namespace VendorCreditLine {
|
|
|
18
20
|
description?: string | null;
|
|
19
21
|
account?: VendorCreditLineAccount.Raw | null;
|
|
20
22
|
company?: string | null;
|
|
23
|
+
project?: VendorCreditLineProject.Raw | null;
|
|
24
|
+
contact?: VendorCreditLineContact.Raw | null;
|
|
21
25
|
tax_rate?: string | null;
|
|
22
26
|
exchange_rate?: string | null;
|
|
23
27
|
remote_was_deleted?: boolean | null;
|
|
@@ -39,6 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.VendorCreditLine = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const VendorCreditLineAccount_1 = require("./VendorCreditLineAccount");
|
|
42
|
+
const VendorCreditLineProject_1 = require("./VendorCreditLineProject");
|
|
43
|
+
const VendorCreditLineContact_1 = require("./VendorCreditLineContact");
|
|
42
44
|
exports.VendorCreditLine = core.serialization.object({
|
|
43
45
|
id: core.serialization.string().optional(),
|
|
44
46
|
remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
|
|
@@ -50,6 +52,8 @@ exports.VendorCreditLine = core.serialization.object({
|
|
|
50
52
|
description: core.serialization.string().optional(),
|
|
51
53
|
account: VendorCreditLineAccount_1.VendorCreditLineAccount.optional(),
|
|
52
54
|
company: core.serialization.string().optional(),
|
|
55
|
+
project: VendorCreditLineProject_1.VendorCreditLineProject.optional(),
|
|
56
|
+
contact: VendorCreditLineContact_1.VendorCreditLineContact.optional(),
|
|
53
57
|
taxRate: core.serialization.property("tax_rate", core.serialization.string().optional()),
|
|
54
58
|
exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
|
|
55
59
|
remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
|
|
@@ -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 VendorCreditLineContact: core.serialization.Schema<serializers.accounting.VendorCreditLineContact.Raw, Merge.accounting.VendorCreditLineContact>;
|
|
9
|
+
export declare namespace VendorCreditLineContact {
|
|
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.VendorCreditLineContact = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Contact_1 = require("./Contact");
|
|
42
|
+
exports.VendorCreditLineContact = 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 VendorCreditLineProject: core.serialization.Schema<serializers.accounting.VendorCreditLineProject.Raw, Merge.accounting.VendorCreditLineProject>;
|
|
9
|
+
export declare namespace VendorCreditLineProject {
|
|
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.VendorCreditLineProject = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Project_1 = require("./Project");
|
|
42
|
+
exports.VendorCreditLineProject = core.serialization.undiscriminatedUnion([core.serialization.string(), Project_1.Project]);
|
|
@@ -5,6 +5,8 @@ import * as serializers from "../../../index";
|
|
|
5
5
|
import * as Merge from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { VendorCreditLineRequestAccount } from "./VendorCreditLineRequestAccount";
|
|
8
|
+
import { VendorCreditLineRequestProject } from "./VendorCreditLineRequestProject";
|
|
9
|
+
import { VendorCreditLineRequestContact } from "./VendorCreditLineRequestContact";
|
|
8
10
|
export declare const VendorCreditLineRequest: core.serialization.ObjectSchema<serializers.accounting.VendorCreditLineRequest.Raw, Merge.accounting.VendorCreditLineRequest>;
|
|
9
11
|
export declare namespace VendorCreditLineRequest {
|
|
10
12
|
interface Raw {
|
|
@@ -15,6 +17,8 @@ export declare namespace VendorCreditLineRequest {
|
|
|
15
17
|
description?: string | null;
|
|
16
18
|
account?: VendorCreditLineRequestAccount.Raw | null;
|
|
17
19
|
company?: string | null;
|
|
20
|
+
project?: VendorCreditLineRequestProject.Raw | null;
|
|
21
|
+
contact?: VendorCreditLineRequestContact.Raw | null;
|
|
18
22
|
tax_rate?: string | null;
|
|
19
23
|
exchange_rate?: string | null;
|
|
20
24
|
integration_params?: Record<string, unknown> | null;
|
|
@@ -39,6 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.VendorCreditLineRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const VendorCreditLineRequestAccount_1 = require("./VendorCreditLineRequestAccount");
|
|
42
|
+
const VendorCreditLineRequestProject_1 = require("./VendorCreditLineRequestProject");
|
|
43
|
+
const VendorCreditLineRequestContact_1 = require("./VendorCreditLineRequestContact");
|
|
42
44
|
exports.VendorCreditLineRequest = core.serialization.object({
|
|
43
45
|
remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
|
|
44
46
|
netAmount: core.serialization.property("net_amount", core.serialization.number().optional()),
|
|
@@ -47,6 +49,8 @@ exports.VendorCreditLineRequest = core.serialization.object({
|
|
|
47
49
|
description: core.serialization.string().optional(),
|
|
48
50
|
account: VendorCreditLineRequestAccount_1.VendorCreditLineRequestAccount.optional(),
|
|
49
51
|
company: core.serialization.string().optional(),
|
|
52
|
+
project: VendorCreditLineRequestProject_1.VendorCreditLineRequestProject.optional(),
|
|
53
|
+
contact: VendorCreditLineRequestContact_1.VendorCreditLineRequestContact.optional(),
|
|
50
54
|
taxRate: core.serialization.property("tax_rate", core.serialization.string().optional()),
|
|
51
55
|
exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
|
|
52
56
|
integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
@@ -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 VendorCreditLineRequestContact: core.serialization.Schema<serializers.accounting.VendorCreditLineRequestContact.Raw, Merge.accounting.VendorCreditLineRequestContact>;
|
|
9
|
+
export declare namespace VendorCreditLineRequestContact {
|
|
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.VendorCreditLineRequestContact = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Contact_1 = require("./Contact");
|
|
42
|
+
exports.VendorCreditLineRequestContact = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact_1.Contact]);
|