@mergeapi/merge-node-client 1.0.1 → 1.0.3
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 +6 -6
- 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/attachments/client/Client.js +4 -4
- package/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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/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 +4 -4
- package/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/accounting/resources/expenses/client/Client.js +4 -4
- package/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
- 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/invoices/client/Client.js +4 -4
- 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 +4 -4
- 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/payments/client/Client.js +4 -4
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/selectiveSync/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 +2 -2
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/accounting/types/AccountDetails.d.ts +1 -0
- package/api/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
- package/api/resources/accounting/types/AuditLogEvent.d.ts +6 -0
- package/api/resources/accounting/types/AuditLogEventEventType.d.ts +6 -0
- package/api/resources/accounting/types/CreditNote.d.ts +1 -1
- package/api/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
- package/api/resources/accounting/types/EventTypeEnum.d.ts +13 -1
- package/api/resources/accounting/types/EventTypeEnum.js +6 -0
- package/api/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/api/resources/accounting/types/Invoice.d.ts +1 -1
- package/api/resources/accounting/types/InvoiceRequest.d.ts +1 -0
- package/api/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.d.ts +5 -0
- package/api/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.js +5 -0
- package/api/resources/accounting/types/JournalEntry.d.ts +1 -1
- package/api/resources/accounting/types/JournalLine.d.ts +1 -0
- package/api/resources/accounting/types/Payment.d.ts +1 -0
- package/api/resources/accounting/types/PaymentLineItem.d.ts +4 -5
- package/api/resources/accounting/types/PaymentLineItemRequest.d.ts +4 -5
- package/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/api/resources/accounting/types/PurchaseOrderLineItem.d.ts +1 -0
- package/api/resources/accounting/types/TransactionLineItem.d.ts +1 -0
- package/api/resources/accounting/types/VendorCreditLine.d.ts +1 -0
- package/api/resources/accounting/types/index.d.ts +1 -0
- package/api/resources/accounting/types/index.js +1 -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/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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/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/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/scorecards/client/Client.js +2 -2
- package/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
- 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/ats/types/AccountDetails.d.ts +1 -0
- package/api/resources/ats/types/AccountDetailsAndActions.d.ts +1 -0
- package/api/resources/ats/types/AuditLogEvent.d.ts +6 -0
- package/api/resources/ats/types/AuditLogEventEventType.d.ts +6 -0
- package/api/resources/ats/types/EventTypeEnum.d.ts +13 -1
- package/api/resources/ats/types/EventTypeEnum.js +6 -0
- 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 +11 -8
- package/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.d.ts +4 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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/contacts/client/requests/ContactsListRequest.d.ts +2 -1
- package/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +2 -1
- 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 +14 -8
- package/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.d.ts +8 -0
- 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/selectiveSync/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/crm/types/AccountDetails.d.ts +1 -0
- package/api/resources/crm/types/AccountDetailsAndActions.d.ts +1 -0
- package/api/resources/crm/types/AuditLogEvent.d.ts +6 -0
- package/api/resources/crm/types/AuditLogEventEventType.d.ts +6 -0
- package/api/resources/crm/types/Contact.d.ts +2 -0
- package/api/resources/crm/types/ContactOwner.d.ts +8 -0
- package/api/resources/crm/types/ContactOwner.js +5 -0
- package/api/resources/crm/types/ContactRequest.d.ts +2 -0
- package/api/resources/crm/types/ContactRequestOwner.d.ts +8 -0
- package/api/resources/crm/types/ContactRequestOwner.js +5 -0
- package/api/resources/crm/types/ContactsListRequestExpand.d.ts +9 -0
- package/api/resources/crm/types/ContactsListRequestExpand.js +11 -0
- package/api/resources/crm/types/ContactsRetrieveRequestExpand.d.ts +9 -0
- package/api/resources/crm/types/ContactsRetrieveRequestExpand.js +11 -0
- package/api/resources/crm/types/EventTypeEnum.d.ts +13 -1
- package/api/resources/crm/types/EventTypeEnum.js +6 -0
- package/api/resources/crm/types/PatchedContactRequest.d.ts +2 -0
- package/api/resources/crm/types/PatchedContactRequestOwner.d.ts +8 -0
- package/api/resources/crm/types/PatchedContactRequestOwner.js +5 -0
- package/api/resources/crm/types/index.d.ts +5 -0
- package/api/resources/crm/types/index.js +5 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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/files/client/Client.d.ts +1 -1
- package/api/resources/filestorage/resources/files/client/Client.js +12 -6
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +9 -0
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.js +5 -0
- package/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +2 -2
- package/api/resources/filestorage/resources/files/client/requests/index.d.ts +1 -0
- 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/selectiveSync/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/filestorage/types/AccountDetails.d.ts +1 -0
- package/api/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
- package/api/resources/filestorage/types/AuditLogEvent.d.ts +6 -0
- package/api/resources/filestorage/types/AuditLogEventEventType.d.ts +6 -0
- package/api/resources/filestorage/types/EventTypeEnum.d.ts +13 -1
- package/api/resources/filestorage/types/EventTypeEnum.js +6 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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/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/selectiveSync/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/hris/types/AccountDetails.d.ts +1 -0
- package/api/resources/hris/types/AccountDetailsAndActions.d.ts +1 -0
- package/api/resources/hris/types/AuditLogEvent.d.ts +6 -0
- package/api/resources/hris/types/AuditLogEventEventType.d.ts +6 -0
- package/api/resources/hris/types/EventTypeEnum.d.ts +13 -1
- package/api/resources/hris/types/EventTypeEnum.js +6 -0
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/ticketing/client/Client.d.ts +3 -0
- package/api/resources/ticketing/client/Client.js +21 -16
- 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.d.ts +1 -1
- package/api/resources/ticketing/resources/attachments/client/Client.js +12 -6
- package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +9 -0
- package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.js +5 -0
- package/api/resources/ticketing/resources/attachments/client/requests/index.d.ts +1 -0
- package/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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 +2 -2
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- 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/index.d.ts +2 -0
- package/api/resources/ticketing/resources/index.js +3 -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.d.ts +29 -0
- package/api/resources/ticketing/resources/roles/client/Client.js +194 -0
- package/api/resources/ticketing/resources/roles/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/roles/client/index.js +17 -0
- package/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.d.ts +41 -0
- package/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.js +5 -0
- package/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +9 -0
- package/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.js +5 -0
- package/api/resources/ticketing/resources/roles/client/requests/index.d.ts +2 -0
- package/api/resources/ticketing/resources/roles/client/requests/index.js +2 -0
- package/api/resources/ticketing/resources/roles/index.d.ts +1 -0
- package/api/resources/ticketing/resources/roles/index.js +17 -0
- package/api/resources/ticketing/resources/selectiveSync/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/api/resources/ticketing/types/AccountDetails.d.ts +1 -0
- package/api/resources/ticketing/types/AccountDetailsAndActions.d.ts +1 -0
- package/api/resources/ticketing/types/AuditLogEvent.d.ts +6 -0
- package/api/resources/ticketing/types/AuditLogEventEventType.d.ts +6 -0
- package/api/resources/ticketing/types/EventTypeEnum.d.ts +13 -1
- package/api/resources/ticketing/types/EventTypeEnum.js +6 -0
- package/api/resources/ticketing/types/PaginatedRoleList.d.ts +9 -0
- package/api/resources/ticketing/types/PaginatedRoleList.js +5 -0
- package/api/resources/ticketing/types/Project.d.ts +1 -1
- package/api/resources/ticketing/types/Role.d.ts +36 -0
- package/api/resources/ticketing/types/Role.js +5 -0
- package/api/resources/ticketing/types/RoleTicketAccess.d.ts +12 -0
- package/api/resources/ticketing/types/RoleTicketAccess.js +5 -0
- package/api/resources/ticketing/types/RoleTicketActionsItem.d.ts +5 -0
- package/api/resources/ticketing/types/RoleTicketActionsItem.js +5 -0
- package/api/resources/ticketing/types/TicketAccessEnum.d.ts +14 -0
- package/api/resources/ticketing/types/TicketAccessEnum.js +11 -0
- package/api/resources/ticketing/types/TicketActionsEnum.d.ts +20 -0
- package/api/resources/ticketing/types/TicketActionsEnum.js +14 -0
- package/api/resources/ticketing/types/User.d.ts +1 -0
- package/api/resources/ticketing/types/UserRolesItem.d.ts +5 -0
- package/api/resources/ticketing/types/UserRolesItem.js +5 -0
- package/api/resources/ticketing/types/index.d.ts +7 -0
- package/api/resources/ticketing/types/index.js +7 -0
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +6 -6
- 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/attachments/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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/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 +4 -4
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
- 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/invoices/client/Client.js +4 -4
- 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 +4 -4
- 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/payments/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/selectiveSync/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 +2 -2
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/accounting/types/AccountDetails.d.ts +1 -0
- package/dist/api/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/api/resources/accounting/types/AuditLogEvent.d.ts +6 -0
- package/dist/api/resources/accounting/types/AuditLogEventEventType.d.ts +6 -0
- package/dist/api/resources/accounting/types/CreditNote.d.ts +1 -1
- package/dist/api/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
- package/dist/api/resources/accounting/types/EventTypeEnum.d.ts +13 -1
- package/dist/api/resources/accounting/types/EventTypeEnum.js +6 -0
- package/dist/api/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/dist/api/resources/accounting/types/Invoice.d.ts +1 -1
- package/dist/api/resources/accounting/types/InvoiceRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.js +5 -0
- package/dist/api/resources/accounting/types/JournalEntry.d.ts +1 -1
- package/dist/api/resources/accounting/types/JournalLine.d.ts +1 -0
- package/dist/api/resources/accounting/types/Payment.d.ts +1 -0
- package/dist/api/resources/accounting/types/PaymentLineItem.d.ts +4 -5
- package/dist/api/resources/accounting/types/PaymentLineItemRequest.d.ts +4 -5
- package/dist/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
- package/dist/api/resources/accounting/types/PurchaseOrderLineItem.d.ts +1 -0
- package/dist/api/resources/accounting/types/TransactionLineItem.d.ts +1 -0
- package/dist/api/resources/accounting/types/VendorCreditLine.d.ts +1 -0
- package/dist/api/resources/accounting/types/index.d.ts +1 -0
- package/dist/api/resources/accounting/types/index.js +1 -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/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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/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/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/scorecards/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
- 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/ats/types/AccountDetails.d.ts +1 -0
- package/dist/api/resources/ats/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/api/resources/ats/types/AuditLogEvent.d.ts +6 -0
- package/dist/api/resources/ats/types/AuditLogEventEventType.d.ts +6 -0
- package/dist/api/resources/ats/types/EventTypeEnum.d.ts +13 -1
- package/dist/api/resources/ats/types/EventTypeEnum.js +6 -0
- 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 +11 -8
- package/dist/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.d.ts +4 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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/contacts/client/requests/ContactsListRequest.d.ts +2 -1
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +2 -1
- 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 +14 -8
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.d.ts +8 -0
- 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/selectiveSync/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/crm/types/AccountDetails.d.ts +1 -0
- package/dist/api/resources/crm/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/api/resources/crm/types/AuditLogEvent.d.ts +6 -0
- package/dist/api/resources/crm/types/AuditLogEventEventType.d.ts +6 -0
- package/dist/api/resources/crm/types/Contact.d.ts +2 -0
- package/dist/api/resources/crm/types/ContactOwner.d.ts +8 -0
- package/dist/api/resources/crm/types/ContactOwner.js +5 -0
- package/dist/api/resources/crm/types/ContactRequest.d.ts +2 -0
- package/dist/api/resources/crm/types/ContactRequestOwner.d.ts +8 -0
- package/dist/api/resources/crm/types/ContactRequestOwner.js +5 -0
- package/dist/api/resources/crm/types/ContactsListRequestExpand.d.ts +9 -0
- package/dist/api/resources/crm/types/ContactsListRequestExpand.js +11 -0
- package/dist/api/resources/crm/types/ContactsRetrieveRequestExpand.d.ts +9 -0
- package/dist/api/resources/crm/types/ContactsRetrieveRequestExpand.js +11 -0
- package/dist/api/resources/crm/types/EventTypeEnum.d.ts +13 -1
- package/dist/api/resources/crm/types/EventTypeEnum.js +6 -0
- package/dist/api/resources/crm/types/PatchedContactRequest.d.ts +2 -0
- package/dist/api/resources/crm/types/PatchedContactRequestOwner.d.ts +8 -0
- package/dist/api/resources/crm/types/PatchedContactRequestOwner.js +5 -0
- package/dist/api/resources/crm/types/index.d.ts +5 -0
- package/dist/api/resources/crm/types/index.js +5 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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/files/client/Client.d.ts +1 -1
- package/dist/api/resources/filestorage/resources/files/client/Client.js +12 -6
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +9 -0
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.js +5 -0
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +2 -2
- package/dist/api/resources/filestorage/resources/files/client/requests/index.d.ts +1 -0
- 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/selectiveSync/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/filestorage/types/AccountDetails.d.ts +1 -0
- package/dist/api/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/api/resources/filestorage/types/AuditLogEvent.d.ts +6 -0
- package/dist/api/resources/filestorage/types/AuditLogEventEventType.d.ts +6 -0
- package/dist/api/resources/filestorage/types/EventTypeEnum.d.ts +13 -1
- package/dist/api/resources/filestorage/types/EventTypeEnum.js +6 -0
- 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/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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/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/selectiveSync/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/hris/types/AccountDetails.d.ts +1 -0
- package/dist/api/resources/hris/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/api/resources/hris/types/AuditLogEvent.d.ts +6 -0
- package/dist/api/resources/hris/types/AuditLogEventEventType.d.ts +6 -0
- package/dist/api/resources/hris/types/EventTypeEnum.d.ts +13 -1
- package/dist/api/resources/hris/types/EventTypeEnum.js +6 -0
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/ticketing/client/Client.d.ts +3 -0
- package/dist/api/resources/ticketing/client/Client.js +21 -16
- 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.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +12 -6
- package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +9 -0
- package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.js +5 -0
- package/dist/api/resources/ticketing/resources/attachments/client/requests/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
- 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 +2 -2
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- 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/index.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/index.js +3 -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.d.ts +29 -0
- package/dist/api/resources/ticketing/resources/roles/client/Client.js +194 -0
- package/dist/api/resources/ticketing/resources/roles/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/roles/client/index.js +17 -0
- package/dist/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.d.ts +41 -0
- package/dist/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.js +5 -0
- package/dist/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +9 -0
- package/dist/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.js +5 -0
- package/dist/api/resources/ticketing/resources/roles/client/requests/index.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/roles/client/requests/index.js +2 -0
- package/dist/api/resources/ticketing/resources/roles/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/roles/index.js +17 -0
- package/dist/api/resources/ticketing/resources/selectiveSync/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/api/resources/ticketing/types/AccountDetails.d.ts +1 -0
- package/dist/api/resources/ticketing/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/api/resources/ticketing/types/AuditLogEvent.d.ts +6 -0
- package/dist/api/resources/ticketing/types/AuditLogEventEventType.d.ts +6 -0
- package/dist/api/resources/ticketing/types/EventTypeEnum.d.ts +13 -1
- package/dist/api/resources/ticketing/types/EventTypeEnum.js +6 -0
- package/dist/api/resources/ticketing/types/PaginatedRoleList.d.ts +9 -0
- package/dist/api/resources/ticketing/types/PaginatedRoleList.js +5 -0
- package/dist/api/resources/ticketing/types/Project.d.ts +1 -1
- package/dist/api/resources/ticketing/types/Role.d.ts +36 -0
- package/dist/api/resources/ticketing/types/Role.js +5 -0
- package/dist/api/resources/ticketing/types/RoleTicketAccess.d.ts +12 -0
- package/dist/api/resources/ticketing/types/RoleTicketAccess.js +5 -0
- package/dist/api/resources/ticketing/types/RoleTicketActionsItem.d.ts +5 -0
- package/dist/api/resources/ticketing/types/RoleTicketActionsItem.js +5 -0
- package/dist/api/resources/ticketing/types/TicketAccessEnum.d.ts +14 -0
- package/dist/api/resources/ticketing/types/TicketAccessEnum.js +11 -0
- package/dist/api/resources/ticketing/types/TicketActionsEnum.d.ts +20 -0
- package/dist/api/resources/ticketing/types/TicketActionsEnum.js +14 -0
- package/dist/api/resources/ticketing/types/User.d.ts +1 -0
- package/dist/api/resources/ticketing/types/UserRolesItem.d.ts +5 -0
- package/dist/api/resources/ticketing/types/UserRolesItem.js +5 -0
- package/dist/api/resources/ticketing/types/index.d.ts +7 -0
- package/dist/api/resources/ticketing/types/index.js +7 -0
- package/dist/environments.d.ts +2 -1
- package/dist/environments.js +1 -0
- package/dist/serialization/resources/accounting/types/AccountDetails.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/AccountDetails.js +1 -0
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/AccountDetailsAndActions.js +1 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/CreditNoteLineItem.js +1 -0
- package/dist/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/EventTypeEnum.js +6 -0
- package/dist/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/ExpenseLine.js +1 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequest.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequest.js +5 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.js +43 -0
- package/dist/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/JournalLine.js +1 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderLineItem.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderLineItem.js +1 -0
- package/dist/serialization/resources/accounting/types/TransactionLineItem.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/TransactionLineItem.js +1 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLine.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/VendorCreditLine.js +1 -0
- package/dist/serialization/resources/accounting/types/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/index.js +1 -0
- package/dist/serialization/resources/ats/types/AccountDetails.d.ts +1 -0
- package/dist/serialization/resources/ats/types/AccountDetails.js +1 -0
- package/dist/serialization/resources/ats/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/serialization/resources/ats/types/AccountDetailsAndActions.js +1 -0
- package/dist/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/ats/types/EventTypeEnum.js +6 -0
- package/dist/serialization/resources/crm/types/AccountDetails.d.ts +1 -0
- package/dist/serialization/resources/crm/types/AccountDetails.js +1 -0
- package/dist/serialization/resources/crm/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/serialization/resources/crm/types/AccountDetailsAndActions.js +1 -0
- package/dist/serialization/resources/crm/types/Contact.d.ts +1 -0
- package/dist/serialization/resources/crm/types/Contact.js +1 -0
- package/dist/serialization/resources/crm/types/ContactOwner.d.ts +10 -0
- package/dist/serialization/resources/crm/types/ContactOwner.js +43 -0
- package/dist/serialization/resources/crm/types/ContactRequest.d.ts +1 -0
- package/dist/serialization/resources/crm/types/ContactRequest.js +1 -0
- package/dist/serialization/resources/crm/types/ContactRequestOwner.d.ts +10 -0
- package/dist/serialization/resources/crm/types/ContactRequestOwner.js +43 -0
- package/dist/serialization/resources/crm/types/ContactsListRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/crm/types/ContactsListRequestExpand.js +31 -0
- package/dist/serialization/resources/crm/types/ContactsRetrieveRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/crm/types/ContactsRetrieveRequestExpand.js +31 -0
- package/dist/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/crm/types/EventTypeEnum.js +6 -0
- package/dist/serialization/resources/crm/types/PatchedContactRequest.d.ts +1 -0
- package/dist/serialization/resources/crm/types/PatchedContactRequest.js +1 -0
- package/dist/serialization/resources/crm/types/PatchedContactRequestOwner.d.ts +10 -0
- package/dist/serialization/resources/crm/types/PatchedContactRequestOwner.js +43 -0
- package/dist/serialization/resources/crm/types/index.d.ts +5 -0
- package/dist/serialization/resources/crm/types/index.js +5 -0
- package/dist/serialization/resources/filestorage/types/AccountDetails.d.ts +1 -0
- package/dist/serialization/resources/filestorage/types/AccountDetails.js +1 -0
- package/dist/serialization/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/serialization/resources/filestorage/types/AccountDetailsAndActions.js +1 -0
- package/dist/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/EventTypeEnum.js +6 -0
- package/dist/serialization/resources/hris/types/AccountDetails.d.ts +1 -0
- package/dist/serialization/resources/hris/types/AccountDetails.js +1 -0
- package/dist/serialization/resources/hris/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/serialization/resources/hris/types/AccountDetailsAndActions.js +1 -0
- package/dist/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/hris/types/EventTypeEnum.js +6 -0
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/ticketing/types/AccountDetails.d.ts +1 -0
- package/dist/serialization/resources/ticketing/types/AccountDetails.js +1 -0
- package/dist/serialization/resources/ticketing/types/AccountDetailsAndActions.d.ts +1 -0
- package/dist/serialization/resources/ticketing/types/AccountDetailsAndActions.js +1 -0
- package/dist/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/ticketing/types/EventTypeEnum.js +6 -0
- package/dist/serialization/resources/ticketing/types/PaginatedRoleList.d.ts +14 -0
- package/dist/serialization/resources/ticketing/types/PaginatedRoleList.js +46 -0
- package/dist/serialization/resources/ticketing/types/Role.d.ts +21 -0
- package/dist/serialization/resources/ticketing/types/Role.js +57 -0
- package/dist/serialization/resources/ticketing/types/RoleTicketAccess.d.ts +10 -0
- package/dist/serialization/resources/ticketing/types/RoleTicketAccess.js +43 -0
- package/dist/serialization/resources/ticketing/types/RoleTicketActionsItem.d.ts +10 -0
- package/dist/serialization/resources/ticketing/types/RoleTicketActionsItem.js +43 -0
- package/dist/serialization/resources/ticketing/types/TicketAccessEnum.d.ts +10 -0
- package/dist/serialization/resources/ticketing/types/TicketAccessEnum.js +31 -0
- package/dist/serialization/resources/ticketing/types/TicketActionsEnum.d.ts +10 -0
- package/dist/serialization/resources/ticketing/types/TicketActionsEnum.js +31 -0
- package/dist/serialization/resources/ticketing/types/User.d.ts +1 -0
- package/dist/serialization/resources/ticketing/types/User.js +3 -0
- package/dist/serialization/resources/ticketing/types/UserRolesItem.d.ts +10 -0
- package/dist/serialization/resources/ticketing/types/UserRolesItem.js +43 -0
- package/dist/serialization/resources/ticketing/types/index.d.ts +7 -0
- package/dist/serialization/resources/ticketing/types/index.js +7 -0
- package/environments.d.ts +2 -1
- package/environments.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/accounting/types/AccountDetails.d.ts +1 -0
- package/serialization/resources/accounting/types/AccountDetails.js +1 -0
- package/serialization/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
- package/serialization/resources/accounting/types/AccountDetailsAndActions.js +1 -0
- package/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
- package/serialization/resources/accounting/types/CreditNoteLineItem.js +1 -0
- package/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/accounting/types/EventTypeEnum.js +6 -0
- package/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
- package/serialization/resources/accounting/types/ExpenseLine.js +1 -0
- package/serialization/resources/accounting/types/InvoiceRequest.d.ts +1 -0
- package/serialization/resources/accounting/types/InvoiceRequest.js +5 -0
- package/serialization/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.d.ts +10 -0
- package/serialization/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.js +43 -0
- package/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
- package/serialization/resources/accounting/types/JournalLine.js +1 -0
- package/serialization/resources/accounting/types/PurchaseOrderLineItem.d.ts +1 -0
- package/serialization/resources/accounting/types/PurchaseOrderLineItem.js +1 -0
- package/serialization/resources/accounting/types/TransactionLineItem.d.ts +1 -0
- package/serialization/resources/accounting/types/TransactionLineItem.js +1 -0
- package/serialization/resources/accounting/types/VendorCreditLine.d.ts +1 -0
- package/serialization/resources/accounting/types/VendorCreditLine.js +1 -0
- package/serialization/resources/accounting/types/index.d.ts +1 -0
- package/serialization/resources/accounting/types/index.js +1 -0
- package/serialization/resources/ats/types/AccountDetails.d.ts +1 -0
- package/serialization/resources/ats/types/AccountDetails.js +1 -0
- package/serialization/resources/ats/types/AccountDetailsAndActions.d.ts +1 -0
- package/serialization/resources/ats/types/AccountDetailsAndActions.js +1 -0
- package/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/ats/types/EventTypeEnum.js +6 -0
- package/serialization/resources/crm/types/AccountDetails.d.ts +1 -0
- package/serialization/resources/crm/types/AccountDetails.js +1 -0
- package/serialization/resources/crm/types/AccountDetailsAndActions.d.ts +1 -0
- package/serialization/resources/crm/types/AccountDetailsAndActions.js +1 -0
- package/serialization/resources/crm/types/Contact.d.ts +1 -0
- package/serialization/resources/crm/types/Contact.js +1 -0
- package/serialization/resources/crm/types/ContactOwner.d.ts +10 -0
- package/serialization/resources/crm/types/ContactOwner.js +43 -0
- package/serialization/resources/crm/types/ContactRequest.d.ts +1 -0
- package/serialization/resources/crm/types/ContactRequest.js +1 -0
- package/serialization/resources/crm/types/ContactRequestOwner.d.ts +10 -0
- package/serialization/resources/crm/types/ContactRequestOwner.js +43 -0
- package/serialization/resources/crm/types/ContactsListRequestExpand.d.ts +10 -0
- package/serialization/resources/crm/types/ContactsListRequestExpand.js +31 -0
- package/serialization/resources/crm/types/ContactsRetrieveRequestExpand.d.ts +10 -0
- package/serialization/resources/crm/types/ContactsRetrieveRequestExpand.js +31 -0
- package/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/crm/types/EventTypeEnum.js +6 -0
- package/serialization/resources/crm/types/PatchedContactRequest.d.ts +1 -0
- package/serialization/resources/crm/types/PatchedContactRequest.js +1 -0
- package/serialization/resources/crm/types/PatchedContactRequestOwner.d.ts +10 -0
- package/serialization/resources/crm/types/PatchedContactRequestOwner.js +43 -0
- package/serialization/resources/crm/types/index.d.ts +5 -0
- package/serialization/resources/crm/types/index.js +5 -0
- package/serialization/resources/filestorage/types/AccountDetails.d.ts +1 -0
- package/serialization/resources/filestorage/types/AccountDetails.js +1 -0
- package/serialization/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
- package/serialization/resources/filestorage/types/AccountDetailsAndActions.js +1 -0
- package/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/filestorage/types/EventTypeEnum.js +6 -0
- package/serialization/resources/hris/types/AccountDetails.d.ts +1 -0
- package/serialization/resources/hris/types/AccountDetails.js +1 -0
- package/serialization/resources/hris/types/AccountDetailsAndActions.d.ts +1 -0
- package/serialization/resources/hris/types/AccountDetailsAndActions.js +1 -0
- package/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/hris/types/EventTypeEnum.js +6 -0
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/ticketing/types/AccountDetails.d.ts +1 -0
- package/serialization/resources/ticketing/types/AccountDetails.js +1 -0
- package/serialization/resources/ticketing/types/AccountDetailsAndActions.d.ts +1 -0
- package/serialization/resources/ticketing/types/AccountDetailsAndActions.js +1 -0
- package/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/ticketing/types/EventTypeEnum.js +6 -0
- package/serialization/resources/ticketing/types/PaginatedRoleList.d.ts +14 -0
- package/serialization/resources/ticketing/types/PaginatedRoleList.js +46 -0
- package/serialization/resources/ticketing/types/Role.d.ts +21 -0
- package/serialization/resources/ticketing/types/Role.js +57 -0
- package/serialization/resources/ticketing/types/RoleTicketAccess.d.ts +10 -0
- package/serialization/resources/ticketing/types/RoleTicketAccess.js +43 -0
- package/serialization/resources/ticketing/types/RoleTicketActionsItem.d.ts +10 -0
- package/serialization/resources/ticketing/types/RoleTicketActionsItem.js +43 -0
- package/serialization/resources/ticketing/types/TicketAccessEnum.d.ts +10 -0
- package/serialization/resources/ticketing/types/TicketAccessEnum.js +31 -0
- package/serialization/resources/ticketing/types/TicketActionsEnum.d.ts +10 -0
- package/serialization/resources/ticketing/types/TicketActionsEnum.js +31 -0
- package/serialization/resources/ticketing/types/User.d.ts +1 -0
- package/serialization/resources/ticketing/types/User.js +3 -0
- package/serialization/resources/ticketing/types/UserRolesItem.d.ts +10 -0
- package/serialization/resources/ticketing/types/UserRolesItem.js +43 -0
- package/serialization/resources/ticketing/types/index.d.ts +7 -0
- package/serialization/resources/ticketing/types/index.js +7 -0
|
@@ -100,7 +100,7 @@ class Users {
|
|
|
100
100
|
: undefined,
|
|
101
101
|
"X-Fern-Language": "JavaScript",
|
|
102
102
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
103
|
-
"X-Fern-SDK-Version": "1.0.
|
|
103
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
104
104
|
},
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
@@ -159,7 +159,7 @@ class Users {
|
|
|
159
159
|
: undefined,
|
|
160
160
|
"X-Fern-Language": "JavaScript",
|
|
161
161
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
162
|
-
"X-Fern-SDK-Version": "1.0.
|
|
162
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
163
163
|
},
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
queryParameters: _queryParams,
|
|
@@ -64,7 +64,7 @@ class WebhookReceivers {
|
|
|
64
64
|
: undefined,
|
|
65
65
|
"X-Fern-Language": "JavaScript",
|
|
66
66
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
67
|
-
"X-Fern-SDK-Version": "1.0.
|
|
67
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
68
68
|
},
|
|
69
69
|
contentType: "application/json",
|
|
70
70
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -114,7 +114,7 @@ class WebhookReceivers {
|
|
|
114
114
|
: undefined,
|
|
115
115
|
"X-Fern-Language": "JavaScript",
|
|
116
116
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
117
|
-
"X-Fern-SDK-Version": "1.0.
|
|
117
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
118
118
|
},
|
|
119
119
|
contentType: "application/json",
|
|
120
120
|
body: yield serializers.ticketing.WebhookReceiverRequest.jsonOrThrow(request, {
|
|
@@ -14,4 +14,5 @@ export interface AccountDetails {
|
|
|
14
14
|
webhookListenerUrl?: string;
|
|
15
15
|
/** Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. */
|
|
16
16
|
isDuplicate?: boolean;
|
|
17
|
+
accountType?: string;
|
|
17
18
|
}
|
|
@@ -22,4 +22,5 @@ export interface AccountDetailsAndActions {
|
|
|
22
22
|
/** Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. */
|
|
23
23
|
isDuplicate?: boolean;
|
|
24
24
|
integration?: Merge.ticketing.AccountDetailsAndActionsIntegration;
|
|
25
|
+
accountType: string;
|
|
25
26
|
}
|
|
@@ -47,6 +47,12 @@ export interface AuditLogEvent {
|
|
|
47
47
|
* * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT
|
|
48
48
|
* * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION
|
|
49
49
|
* * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT
|
|
50
|
+
* * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING
|
|
51
|
+
* * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING
|
|
52
|
+
* * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING
|
|
53
|
+
* * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING
|
|
54
|
+
* * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING
|
|
55
|
+
* * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING
|
|
50
56
|
*/
|
|
51
57
|
eventType: Merge.ticketing.AuditLogEventEventType;
|
|
52
58
|
eventDescription: string;
|
|
@@ -29,5 +29,11 @@ import * as Merge from "../../..";
|
|
|
29
29
|
* * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT
|
|
30
30
|
* * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION
|
|
31
31
|
* * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT
|
|
32
|
+
* * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING
|
|
33
|
+
* * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING
|
|
34
|
+
* * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING
|
|
35
|
+
* * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING
|
|
36
|
+
* * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING
|
|
37
|
+
* * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING
|
|
32
38
|
*/
|
|
33
39
|
export declare type AuditLogEventEventType = Merge.ticketing.EventTypeEnum | string;
|
|
@@ -26,8 +26,14 @@
|
|
|
26
26
|
* * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT
|
|
27
27
|
* * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION
|
|
28
28
|
* * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT
|
|
29
|
+
* * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING
|
|
30
|
+
* * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING
|
|
31
|
+
* * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING
|
|
32
|
+
* * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING
|
|
33
|
+
* * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING
|
|
34
|
+
* * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING
|
|
29
35
|
*/
|
|
30
|
-
export declare type EventTypeEnum = "CREATED_REMOTE_PRODUCTION_API_KEY" | "DELETED_REMOTE_PRODUCTION_API_KEY" | "CREATED_TEST_API_KEY" | "DELETED_TEST_API_KEY" | "REGENERATED_PRODUCTION_API_KEY" | "INVITED_USER" | "TWO_FACTOR_AUTH_ENABLED" | "TWO_FACTOR_AUTH_DISABLED" | "DELETED_LINKED_ACCOUNT" | "CREATED_DESTINATION" | "DELETED_DESTINATION" | "CHANGED_SCOPES" | "CHANGED_PERSONAL_INFORMATION" | "CHANGED_ORGANIZATION_SETTINGS" | "ENABLED_INTEGRATION" | "DISABLED_INTEGRATION" | "ENABLED_CATEGORY" | "DISABLED_CATEGORY" | "CHANGED_PASSWORD" | "RESET_PASSWORD" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT";
|
|
36
|
+
export declare type EventTypeEnum = "CREATED_REMOTE_PRODUCTION_API_KEY" | "DELETED_REMOTE_PRODUCTION_API_KEY" | "CREATED_TEST_API_KEY" | "DELETED_TEST_API_KEY" | "REGENERATED_PRODUCTION_API_KEY" | "INVITED_USER" | "TWO_FACTOR_AUTH_ENABLED" | "TWO_FACTOR_AUTH_DISABLED" | "DELETED_LINKED_ACCOUNT" | "CREATED_DESTINATION" | "DELETED_DESTINATION" | "CHANGED_SCOPES" | "CHANGED_PERSONAL_INFORMATION" | "CHANGED_ORGANIZATION_SETTINGS" | "ENABLED_INTEGRATION" | "DISABLED_INTEGRATION" | "ENABLED_CATEGORY" | "DISABLED_CATEGORY" | "CHANGED_PASSWORD" | "RESET_PASSWORD" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" | "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" | "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" | "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" | "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" | "DELETED_LINKED_ACCOUNT_FIELD_MAPPING";
|
|
31
37
|
export declare const EventTypeEnum: {
|
|
32
38
|
readonly CreatedRemoteProductionApiKey: "CREATED_REMOTE_PRODUCTION_API_KEY";
|
|
33
39
|
readonly DeletedRemoteProductionApiKey: "DELETED_REMOTE_PRODUCTION_API_KEY";
|
|
@@ -53,4 +59,10 @@ export declare const EventTypeEnum: {
|
|
|
53
59
|
readonly EnabledRedactUnmappedDataForLinkedAccount: "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT";
|
|
54
60
|
readonly DisabledRedactUnmappedDataForOrganization: "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION";
|
|
55
61
|
readonly DisabledRedactUnmappedDataForLinkedAccount: "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT";
|
|
62
|
+
readonly CreatedIntegrationWideFieldMapping: "CREATED_INTEGRATION_WIDE_FIELD_MAPPING";
|
|
63
|
+
readonly CreatedLinkedAccountFieldMapping: "CREATED_LINKED_ACCOUNT_FIELD_MAPPING";
|
|
64
|
+
readonly ChangedIntegrationWideFieldMapping: "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING";
|
|
65
|
+
readonly ChangedLinkedAccountFieldMapping: "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING";
|
|
66
|
+
readonly DeletedIntegrationWideFieldMapping: "DELETED_INTEGRATION_WIDE_FIELD_MAPPING";
|
|
67
|
+
readonly DeletedLinkedAccountFieldMapping: "DELETED_LINKED_ACCOUNT_FIELD_MAPPING";
|
|
56
68
|
};
|
|
@@ -29,4 +29,10 @@ exports.EventTypeEnum = {
|
|
|
29
29
|
EnabledRedactUnmappedDataForLinkedAccount: "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT",
|
|
30
30
|
DisabledRedactUnmappedDataForOrganization: "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION",
|
|
31
31
|
DisabledRedactUnmappedDataForLinkedAccount: "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT",
|
|
32
|
+
CreatedIntegrationWideFieldMapping: "CREATED_INTEGRATION_WIDE_FIELD_MAPPING",
|
|
33
|
+
CreatedLinkedAccountFieldMapping: "CREATED_LINKED_ACCOUNT_FIELD_MAPPING",
|
|
34
|
+
ChangedIntegrationWideFieldMapping: "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING",
|
|
35
|
+
ChangedLinkedAccountFieldMapping: "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING",
|
|
36
|
+
DeletedIntegrationWideFieldMapping: "DELETED_INTEGRATION_WIDE_FIELD_MAPPING",
|
|
37
|
+
DeletedLinkedAccountFieldMapping: "DELETED_LINKED_ACCOUNT_FIELD_MAPPING",
|
|
32
38
|
};
|
|
@@ -5,7 +5,7 @@ import * as Merge from "../../..";
|
|
|
5
5
|
/**
|
|
6
6
|
* # The Project Object
|
|
7
7
|
* ### Description
|
|
8
|
-
*
|
|
8
|
+
* Please use the `Collection` model. This model will be fully deprecated on 3/30/2024.
|
|
9
9
|
*
|
|
10
10
|
* ### Usage Example
|
|
11
11
|
* TODO
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Merge from "../../..";
|
|
5
|
+
/**
|
|
6
|
+
* # The Role Object
|
|
7
|
+
* ### Description
|
|
8
|
+
* The `Role` object is used to represent the set of actions & access that a user with this role is allowed to perform.
|
|
9
|
+
*
|
|
10
|
+
* ### Usage Example
|
|
11
|
+
* TODO
|
|
12
|
+
*/
|
|
13
|
+
export interface Role {
|
|
14
|
+
id?: string;
|
|
15
|
+
/** The third-party API ID of the matching object. */
|
|
16
|
+
remoteId?: string;
|
|
17
|
+
/** The name of the Role. */
|
|
18
|
+
name?: string;
|
|
19
|
+
/** The set of actions that a User with this Role can perform. Possible enum values include: `VIEW`, `CREATE`, `EDIT`, `DELETE`, `CLOSE`, and `ASSIGN`. */
|
|
20
|
+
ticketActions?: (Merge.ticketing.RoleTicketActionsItem | undefined)[];
|
|
21
|
+
/**
|
|
22
|
+
* The level of Ticket access that a User with this Role can perform.
|
|
23
|
+
*
|
|
24
|
+
* * `ALL` - ALL
|
|
25
|
+
* * `ASSIGNED_ONLY` - ASSIGNED_ONLY
|
|
26
|
+
* * `TEAM_ONLY` - TEAM_ONLY
|
|
27
|
+
*/
|
|
28
|
+
ticketAccess?: Merge.ticketing.RoleTicketAccess;
|
|
29
|
+
/** Indicates whether or not this object has been deleted in the third party platform. */
|
|
30
|
+
remoteWasDeleted?: boolean;
|
|
31
|
+
createdAt?: Date;
|
|
32
|
+
/** This is the datetime that this object was last updated by Merge */
|
|
33
|
+
modifiedAt?: Date;
|
|
34
|
+
fieldMappings?: Record<string, unknown>;
|
|
35
|
+
remoteData?: Merge.ticketing.RemoteData[];
|
|
36
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Merge from "../../..";
|
|
5
|
+
/**
|
|
6
|
+
* The level of Ticket access that a User with this Role can perform.
|
|
7
|
+
*
|
|
8
|
+
* * `ALL` - ALL
|
|
9
|
+
* * `ASSIGNED_ONLY` - ASSIGNED_ONLY
|
|
10
|
+
* * `TEAM_ONLY` - TEAM_ONLY
|
|
11
|
+
*/
|
|
12
|
+
export declare type RoleTicketAccess = string | Merge.ticketing.TicketAccessEnum;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* * `ALL` - ALL
|
|
6
|
+
* * `ASSIGNED_ONLY` - ASSIGNED_ONLY
|
|
7
|
+
* * `TEAM_ONLY` - TEAM_ONLY
|
|
8
|
+
*/
|
|
9
|
+
export declare type TicketAccessEnum = "ALL" | "ASSIGNED_ONLY" | "TEAM_ONLY";
|
|
10
|
+
export declare const TicketAccessEnum: {
|
|
11
|
+
readonly All: "ALL";
|
|
12
|
+
readonly AssignedOnly: "ASSIGNED_ONLY";
|
|
13
|
+
readonly TeamOnly: "TEAM_ONLY";
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TicketAccessEnum = void 0;
|
|
7
|
+
exports.TicketAccessEnum = {
|
|
8
|
+
All: "ALL",
|
|
9
|
+
AssignedOnly: "ASSIGNED_ONLY",
|
|
10
|
+
TeamOnly: "TEAM_ONLY",
|
|
11
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* * `VIEW` - VIEW
|
|
6
|
+
* * `CREATE` - CREATE
|
|
7
|
+
* * `EDIT` - EDIT
|
|
8
|
+
* * `DELETE` - DELETE
|
|
9
|
+
* * `CLOSE` - CLOSE
|
|
10
|
+
* * `ASSIGN` - ASSIGN
|
|
11
|
+
*/
|
|
12
|
+
export declare type TicketActionsEnum = "VIEW" | "CREATE" | "EDIT" | "DELETE" | "CLOSE" | "ASSIGN";
|
|
13
|
+
export declare const TicketActionsEnum: {
|
|
14
|
+
readonly View: "VIEW";
|
|
15
|
+
readonly Create: "CREATE";
|
|
16
|
+
readonly Edit: "EDIT";
|
|
17
|
+
readonly Delete: "DELETE";
|
|
18
|
+
readonly Close: "CLOSE";
|
|
19
|
+
readonly Assign: "ASSIGN";
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TicketActionsEnum = void 0;
|
|
7
|
+
exports.TicketActionsEnum = {
|
|
8
|
+
View: "VIEW",
|
|
9
|
+
Create: "CREATE",
|
|
10
|
+
Edit: "EDIT",
|
|
11
|
+
Delete: "DELETE",
|
|
12
|
+
Close: "CLOSE",
|
|
13
|
+
Assign: "ASSIGN",
|
|
14
|
+
};
|
|
@@ -21,6 +21,7 @@ export interface User {
|
|
|
21
21
|
/** Whether or not the user is active. */
|
|
22
22
|
isActive?: boolean;
|
|
23
23
|
teams?: (Merge.ticketing.UserTeamsItem | undefined)[];
|
|
24
|
+
roles?: (Merge.ticketing.UserRolesItem | undefined)[];
|
|
24
25
|
/** The user's avatar picture. */
|
|
25
26
|
avatar?: string;
|
|
26
27
|
/** Indicates whether or not this object has been deleted in the third party platform. */
|
|
@@ -93,6 +93,7 @@ export * from "./PaginatedContactList";
|
|
|
93
93
|
export * from "./PaginatedIssueList";
|
|
94
94
|
export * from "./PaginatedProjectList";
|
|
95
95
|
export * from "./PaginatedRemoteFieldClassList";
|
|
96
|
+
export * from "./PaginatedRoleList";
|
|
96
97
|
export * from "./PaginatedSyncStatusList";
|
|
97
98
|
export * from "./PaginatedTagList";
|
|
98
99
|
export * from "./PaginatedTeamList";
|
|
@@ -116,6 +117,9 @@ export * from "./RemoteKey";
|
|
|
116
117
|
export * from "./RemoteResponse";
|
|
117
118
|
export * from "./RequestFormatEnum";
|
|
118
119
|
export * from "./ResponseTypeEnum";
|
|
120
|
+
export * from "./Role";
|
|
121
|
+
export * from "./RoleTicketActionsItem";
|
|
122
|
+
export * from "./RoleTicketAccess";
|
|
119
123
|
export * from "./RoleEnum";
|
|
120
124
|
export * from "./SelectiveSyncConfigurationsUsageEnum";
|
|
121
125
|
export * from "./SyncStatus";
|
|
@@ -132,6 +136,8 @@ export * from "./TicketContact";
|
|
|
132
136
|
export * from "./TicketParentTicket";
|
|
133
137
|
export * from "./TicketAttachmentsItem";
|
|
134
138
|
export * from "./TicketPriority";
|
|
139
|
+
export * from "./TicketAccessEnum";
|
|
140
|
+
export * from "./TicketActionsEnum";
|
|
135
141
|
export * from "./TicketRequest";
|
|
136
142
|
export * from "./TicketRequestAssigneesItem";
|
|
137
143
|
export * from "./TicketRequestCreator";
|
|
@@ -147,6 +153,7 @@ export * from "./TicketStatusEnum";
|
|
|
147
153
|
export * from "./TicketingAttachmentResponse";
|
|
148
154
|
export * from "./User";
|
|
149
155
|
export * from "./UserTeamsItem";
|
|
156
|
+
export * from "./UserRolesItem";
|
|
150
157
|
export * from "./ValidationProblemSource";
|
|
151
158
|
export * from "./WarningValidationProblem";
|
|
152
159
|
export * from "./WebhookReceiver";
|
|
@@ -109,6 +109,7 @@ __exportStar(require("./PaginatedContactList"), exports);
|
|
|
109
109
|
__exportStar(require("./PaginatedIssueList"), exports);
|
|
110
110
|
__exportStar(require("./PaginatedProjectList"), exports);
|
|
111
111
|
__exportStar(require("./PaginatedRemoteFieldClassList"), exports);
|
|
112
|
+
__exportStar(require("./PaginatedRoleList"), exports);
|
|
112
113
|
__exportStar(require("./PaginatedSyncStatusList"), exports);
|
|
113
114
|
__exportStar(require("./PaginatedTagList"), exports);
|
|
114
115
|
__exportStar(require("./PaginatedTeamList"), exports);
|
|
@@ -132,6 +133,9 @@ __exportStar(require("./RemoteKey"), exports);
|
|
|
132
133
|
__exportStar(require("./RemoteResponse"), exports);
|
|
133
134
|
__exportStar(require("./RequestFormatEnum"), exports);
|
|
134
135
|
__exportStar(require("./ResponseTypeEnum"), exports);
|
|
136
|
+
__exportStar(require("./Role"), exports);
|
|
137
|
+
__exportStar(require("./RoleTicketActionsItem"), exports);
|
|
138
|
+
__exportStar(require("./RoleTicketAccess"), exports);
|
|
135
139
|
__exportStar(require("./RoleEnum"), exports);
|
|
136
140
|
__exportStar(require("./SelectiveSyncConfigurationsUsageEnum"), exports);
|
|
137
141
|
__exportStar(require("./SyncStatus"), exports);
|
|
@@ -148,6 +152,8 @@ __exportStar(require("./TicketContact"), exports);
|
|
|
148
152
|
__exportStar(require("./TicketParentTicket"), exports);
|
|
149
153
|
__exportStar(require("./TicketAttachmentsItem"), exports);
|
|
150
154
|
__exportStar(require("./TicketPriority"), exports);
|
|
155
|
+
__exportStar(require("./TicketAccessEnum"), exports);
|
|
156
|
+
__exportStar(require("./TicketActionsEnum"), exports);
|
|
151
157
|
__exportStar(require("./TicketRequest"), exports);
|
|
152
158
|
__exportStar(require("./TicketRequestAssigneesItem"), exports);
|
|
153
159
|
__exportStar(require("./TicketRequestCreator"), exports);
|
|
@@ -163,6 +169,7 @@ __exportStar(require("./TicketStatusEnum"), exports);
|
|
|
163
169
|
__exportStar(require("./TicketingAttachmentResponse"), exports);
|
|
164
170
|
__exportStar(require("./User"), exports);
|
|
165
171
|
__exportStar(require("./UserTeamsItem"), exports);
|
|
172
|
+
__exportStar(require("./UserRolesItem"), exports);
|
|
166
173
|
__exportStar(require("./ValidationProblemSource"), exports);
|
|
167
174
|
__exportStar(require("./WarningValidationProblem"), exports);
|
|
168
175
|
__exportStar(require("./WebhookReceiver"), exports);
|
package/dist/environments.d.ts
CHANGED
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
export declare const MergeEnvironment: {
|
|
5
5
|
readonly Production: "https://api.merge.dev";
|
|
6
6
|
readonly Sandbox: "https://api-sandbox.merge.dev";
|
|
7
|
+
readonly ProductionEu: "https://api-eu.merge.dev";
|
|
7
8
|
};
|
|
8
|
-
export declare type MergeEnvironment = typeof MergeEnvironment.Production | typeof MergeEnvironment.Sandbox;
|
|
9
|
+
export declare type MergeEnvironment = typeof MergeEnvironment.Production | typeof MergeEnvironment.Sandbox | typeof MergeEnvironment.ProductionEu;
|
package/dist/environments.js
CHANGED
|
@@ -48,4 +48,5 @@ exports.AccountDetails = core.serialization.object({
|
|
|
48
48
|
status: core.serialization.string().optional(),
|
|
49
49
|
webhookListenerUrl: core.serialization.property("webhook_listener_url", core.serialization.string().optional()),
|
|
50
50
|
isDuplicate: core.serialization.property("is_duplicate", core.serialization.boolean().optional()),
|
|
51
|
+
accountType: core.serialization.property("account_type", core.serialization.string().optional()),
|
|
51
52
|
});
|
|
@@ -50,4 +50,5 @@ exports.AccountDetailsAndActions = core.serialization.object({
|
|
|
50
50
|
integration: core.serialization
|
|
51
51
|
.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.AccountDetailsAndActionsIntegration; }))
|
|
52
52
|
.optional(),
|
|
53
|
+
accountType: core.serialization.property("account_type", core.serialization.string()),
|
|
53
54
|
});
|
|
@@ -21,6 +21,7 @@ export declare namespace CreditNoteLineItem {
|
|
|
21
21
|
company?: serializers.accounting.CreditNoteLineItemCompany.Raw | null;
|
|
22
22
|
remote_id?: string | null;
|
|
23
23
|
remote_was_deleted?: boolean | null;
|
|
24
|
+
id?: string | null;
|
|
24
25
|
created_at?: string | null;
|
|
25
26
|
modified_at?: string | null;
|
|
26
27
|
}
|
|
@@ -54,6 +54,7 @@ exports.CreditNoteLineItem = core.serialization.object({
|
|
|
54
54
|
.optional(),
|
|
55
55
|
remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
|
|
56
56
|
remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
|
|
57
|
+
id: core.serialization.string().optional(),
|
|
57
58
|
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
|
58
59
|
modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
|
|
59
60
|
});
|
|
@@ -6,5 +6,5 @@ import * as Merge from "../../../../api";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const EventTypeEnum: core.serialization.Schema<serializers.accounting.EventTypeEnum.Raw, Merge.accounting.EventTypeEnum>;
|
|
8
8
|
export declare namespace EventTypeEnum {
|
|
9
|
-
type Raw = "CREATED_REMOTE_PRODUCTION_API_KEY" | "DELETED_REMOTE_PRODUCTION_API_KEY" | "CREATED_TEST_API_KEY" | "DELETED_TEST_API_KEY" | "REGENERATED_PRODUCTION_API_KEY" | "INVITED_USER" | "TWO_FACTOR_AUTH_ENABLED" | "TWO_FACTOR_AUTH_DISABLED" | "DELETED_LINKED_ACCOUNT" | "CREATED_DESTINATION" | "DELETED_DESTINATION" | "CHANGED_SCOPES" | "CHANGED_PERSONAL_INFORMATION" | "CHANGED_ORGANIZATION_SETTINGS" | "ENABLED_INTEGRATION" | "DISABLED_INTEGRATION" | "ENABLED_CATEGORY" | "DISABLED_CATEGORY" | "CHANGED_PASSWORD" | "RESET_PASSWORD" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT";
|
|
9
|
+
type Raw = "CREATED_REMOTE_PRODUCTION_API_KEY" | "DELETED_REMOTE_PRODUCTION_API_KEY" | "CREATED_TEST_API_KEY" | "DELETED_TEST_API_KEY" | "REGENERATED_PRODUCTION_API_KEY" | "INVITED_USER" | "TWO_FACTOR_AUTH_ENABLED" | "TWO_FACTOR_AUTH_DISABLED" | "DELETED_LINKED_ACCOUNT" | "CREATED_DESTINATION" | "DELETED_DESTINATION" | "CHANGED_SCOPES" | "CHANGED_PERSONAL_INFORMATION" | "CHANGED_ORGANIZATION_SETTINGS" | "ENABLED_INTEGRATION" | "DISABLED_INTEGRATION" | "ENABLED_CATEGORY" | "DISABLED_CATEGORY" | "CHANGED_PASSWORD" | "RESET_PASSWORD" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" | "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" | "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" | "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" | "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" | "DELETED_LINKED_ACCOUNT_FIELD_MAPPING";
|
|
10
10
|
}
|
|
@@ -53,4 +53,10 @@ exports.EventTypeEnum = core.serialization.enum_([
|
|
|
53
53
|
"ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT",
|
|
54
54
|
"DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION",
|
|
55
55
|
"DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT",
|
|
56
|
+
"CREATED_INTEGRATION_WIDE_FIELD_MAPPING",
|
|
57
|
+
"CREATED_LINKED_ACCOUNT_FIELD_MAPPING",
|
|
58
|
+
"CHANGED_INTEGRATION_WIDE_FIELD_MAPPING",
|
|
59
|
+
"CHANGED_LINKED_ACCOUNT_FIELD_MAPPING",
|
|
60
|
+
"DELETED_INTEGRATION_WIDE_FIELD_MAPPING",
|
|
61
|
+
"DELETED_LINKED_ACCOUNT_FIELD_MAPPING",
|
|
56
62
|
]);
|
|
@@ -56,6 +56,7 @@ exports.ExpenseLine = core.serialization.object({
|
|
|
56
56
|
description: core.serialization.string().optional(),
|
|
57
57
|
exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
|
|
58
58
|
remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
|
|
59
|
+
id: core.serialization.string().optional(),
|
|
59
60
|
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
|
60
61
|
modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
|
|
61
62
|
});
|
|
@@ -26,6 +26,7 @@ export declare namespace InvoiceRequest {
|
|
|
26
26
|
payments?: (serializers.accounting.InvoiceRequestPaymentsItem.Raw | null | undefined)[] | null;
|
|
27
27
|
tracking_categories?: (serializers.accounting.InvoiceRequestTrackingCategoriesItem.Raw | null | undefined)[] | null;
|
|
28
28
|
line_items?: serializers.accounting.InvoiceLineItemRequest.Raw[] | null;
|
|
29
|
+
purchase_orders?: (serializers.accounting.InvoiceRequestPurchaseOrdersItem.Raw | null | undefined)[] | null;
|
|
29
30
|
integration_params?: Record<string, unknown> | null;
|
|
30
31
|
linked_account_params?: Record<string, unknown> | null;
|
|
31
32
|
}
|
|
@@ -73,6 +73,11 @@ exports.InvoiceRequest = core.serialization.object({
|
|
|
73
73
|
lineItems: core.serialization.property("line_items", core.serialization
|
|
74
74
|
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.InvoiceLineItemRequest; })))
|
|
75
75
|
.optional()),
|
|
76
|
+
purchaseOrders: core.serialization.property("purchase_orders", core.serialization
|
|
77
|
+
.list(core.serialization
|
|
78
|
+
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.InvoiceRequestPurchaseOrdersItem; }))
|
|
79
|
+
.optional())
|
|
80
|
+
.optional()),
|
|
76
81
|
integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
77
82
|
linkedAccountParams: core.serialization.property("linked_account_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
78
83
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Merge from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const InvoiceRequestPurchaseOrdersItem: core.serialization.Schema<serializers.accounting.InvoiceRequestPurchaseOrdersItem.Raw, Merge.accounting.InvoiceRequestPurchaseOrdersItem>;
|
|
8
|
+
export declare namespace InvoiceRequestPurchaseOrdersItem {
|
|
9
|
+
type Raw = string | serializers.accounting.PurchaseOrder.Raw;
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.InvoiceRequestPurchaseOrdersItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.InvoiceRequestPurchaseOrdersItem = core.serialization.undiscriminatedUnion([
|
|
41
|
+
core.serialization.string(),
|
|
42
|
+
core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.PurchaseOrder; })),
|
|
43
|
+
]);
|
|
@@ -55,6 +55,7 @@ exports.JournalLine = core.serialization.object({
|
|
|
55
55
|
description: core.serialization.string().optional(),
|
|
56
56
|
exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
|
|
57
57
|
remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
|
|
58
|
+
id: core.serialization.string().optional(),
|
|
58
59
|
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
|
59
60
|
modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
|
|
60
61
|
});
|
|
@@ -56,6 +56,7 @@ exports.PurchaseOrderLineItem = core.serialization.object({
|
|
|
56
56
|
exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
|
|
57
57
|
company: core.serialization.string().optional(),
|
|
58
58
|
remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
|
|
59
|
+
id: core.serialization.string().optional(),
|
|
59
60
|
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
|
60
61
|
modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
|
|
61
62
|
});
|