@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
|
@@ -0,0 +1,194 @@
|
|
|
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
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.Roles = void 0;
|
|
42
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
43
|
+
const core = __importStar(require("../../../../../../core"));
|
|
44
|
+
const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
|
|
45
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
46
|
+
const serializers = __importStar(require("../../../../../../serialization"));
|
|
47
|
+
const errors = __importStar(require("../../../../../../errors"));
|
|
48
|
+
class Roles {
|
|
49
|
+
constructor(_options) {
|
|
50
|
+
this._options = _options;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Returns a list of `Role` objects.
|
|
54
|
+
*/
|
|
55
|
+
list(request = {}, requestOptions) {
|
|
56
|
+
var _a;
|
|
57
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
+
const { createdAfter, createdBefore, cursor, includeDeletedData, includeRemoteData, modifiedAfter, modifiedBefore, pageSize, remoteId, } = request;
|
|
59
|
+
const _queryParams = new url_search_params_1.default();
|
|
60
|
+
if (createdAfter != null) {
|
|
61
|
+
_queryParams.append("created_after", createdAfter.toISOString());
|
|
62
|
+
}
|
|
63
|
+
if (createdBefore != null) {
|
|
64
|
+
_queryParams.append("created_before", createdBefore.toISOString());
|
|
65
|
+
}
|
|
66
|
+
if (cursor != null) {
|
|
67
|
+
_queryParams.append("cursor", cursor);
|
|
68
|
+
}
|
|
69
|
+
if (includeDeletedData != null) {
|
|
70
|
+
_queryParams.append("include_deleted_data", includeDeletedData.toString());
|
|
71
|
+
}
|
|
72
|
+
if (includeRemoteData != null) {
|
|
73
|
+
_queryParams.append("include_remote_data", includeRemoteData.toString());
|
|
74
|
+
}
|
|
75
|
+
if (modifiedAfter != null) {
|
|
76
|
+
_queryParams.append("modified_after", modifiedAfter.toISOString());
|
|
77
|
+
}
|
|
78
|
+
if (modifiedBefore != null) {
|
|
79
|
+
_queryParams.append("modified_before", modifiedBefore.toISOString());
|
|
80
|
+
}
|
|
81
|
+
if (pageSize != null) {
|
|
82
|
+
_queryParams.append("page_size", pageSize.toString());
|
|
83
|
+
}
|
|
84
|
+
if (remoteId != null) {
|
|
85
|
+
_queryParams.append("remote_id", remoteId);
|
|
86
|
+
}
|
|
87
|
+
const _response = yield core.fetcher({
|
|
88
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.MergeEnvironment.Production, "api/ticketing/v1/roles"),
|
|
89
|
+
method: "GET",
|
|
90
|
+
headers: {
|
|
91
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
92
|
+
"X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
93
|
+
? yield core.Supplier.get(this._options.accountToken)
|
|
94
|
+
: undefined,
|
|
95
|
+
"X-Fern-Language": "JavaScript",
|
|
96
|
+
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
97
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
98
|
+
},
|
|
99
|
+
contentType: "application/json",
|
|
100
|
+
queryParameters: _queryParams,
|
|
101
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
102
|
+
});
|
|
103
|
+
if (_response.ok) {
|
|
104
|
+
return yield serializers.ticketing.PaginatedRoleList.parseOrThrow(_response.body, {
|
|
105
|
+
unrecognizedObjectKeys: "passthrough",
|
|
106
|
+
allowUnrecognizedUnionMembers: true,
|
|
107
|
+
allowUnrecognizedEnumValues: true,
|
|
108
|
+
breadcrumbsPrefix: ["response"],
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
if (_response.error.reason === "status-code") {
|
|
112
|
+
throw new errors.MergeError({
|
|
113
|
+
statusCode: _response.error.statusCode,
|
|
114
|
+
body: _response.error.body,
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
switch (_response.error.reason) {
|
|
118
|
+
case "non-json":
|
|
119
|
+
throw new errors.MergeError({
|
|
120
|
+
statusCode: _response.error.statusCode,
|
|
121
|
+
body: _response.error.rawBody,
|
|
122
|
+
});
|
|
123
|
+
case "timeout":
|
|
124
|
+
throw new errors.MergeTimeoutError();
|
|
125
|
+
case "unknown":
|
|
126
|
+
throw new errors.MergeError({
|
|
127
|
+
message: _response.error.errorMessage,
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Returns a `Role` object with the given `id`.
|
|
134
|
+
*/
|
|
135
|
+
retrieve(id, request = {}, requestOptions) {
|
|
136
|
+
var _a;
|
|
137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
+
const { includeRemoteData } = request;
|
|
139
|
+
const _queryParams = new url_search_params_1.default();
|
|
140
|
+
if (includeRemoteData != null) {
|
|
141
|
+
_queryParams.append("include_remote_data", includeRemoteData.toString());
|
|
142
|
+
}
|
|
143
|
+
const _response = yield core.fetcher({
|
|
144
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.MergeEnvironment.Production, `api/ticketing/v1/roles/${id}`),
|
|
145
|
+
method: "GET",
|
|
146
|
+
headers: {
|
|
147
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
148
|
+
"X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
149
|
+
? yield core.Supplier.get(this._options.accountToken)
|
|
150
|
+
: undefined,
|
|
151
|
+
"X-Fern-Language": "JavaScript",
|
|
152
|
+
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
153
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
154
|
+
},
|
|
155
|
+
contentType: "application/json",
|
|
156
|
+
queryParameters: _queryParams,
|
|
157
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
158
|
+
});
|
|
159
|
+
if (_response.ok) {
|
|
160
|
+
return yield serializers.ticketing.Role.parseOrThrow(_response.body, {
|
|
161
|
+
unrecognizedObjectKeys: "passthrough",
|
|
162
|
+
allowUnrecognizedUnionMembers: true,
|
|
163
|
+
allowUnrecognizedEnumValues: true,
|
|
164
|
+
breadcrumbsPrefix: ["response"],
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
if (_response.error.reason === "status-code") {
|
|
168
|
+
throw new errors.MergeError({
|
|
169
|
+
statusCode: _response.error.statusCode,
|
|
170
|
+
body: _response.error.body,
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
switch (_response.error.reason) {
|
|
174
|
+
case "non-json":
|
|
175
|
+
throw new errors.MergeError({
|
|
176
|
+
statusCode: _response.error.statusCode,
|
|
177
|
+
body: _response.error.rawBody,
|
|
178
|
+
});
|
|
179
|
+
case "timeout":
|
|
180
|
+
throw new errors.MergeTimeoutError();
|
|
181
|
+
case "unknown":
|
|
182
|
+
throw new errors.MergeError({
|
|
183
|
+
message: _response.error.errorMessage,
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
_getAuthorizationHeader() {
|
|
189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
190
|
+
return `Bearer ${yield core.Supplier.get(this._options.apiKey)}`;
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
exports.Roles = Roles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface RolesListRequest {
|
|
5
|
+
/**
|
|
6
|
+
* If provided, will only return objects created after this datetime.
|
|
7
|
+
*/
|
|
8
|
+
createdAfter?: Date;
|
|
9
|
+
/**
|
|
10
|
+
* If provided, will only return objects created before this datetime.
|
|
11
|
+
*/
|
|
12
|
+
createdBefore?: Date;
|
|
13
|
+
/**
|
|
14
|
+
* The pagination cursor value.
|
|
15
|
+
*/
|
|
16
|
+
cursor?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Whether to include data that was marked as deleted by third party webhooks.
|
|
19
|
+
*/
|
|
20
|
+
includeDeletedData?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
23
|
+
*/
|
|
24
|
+
includeRemoteData?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If provided, only objects synced by Merge after this date time will be returned.
|
|
27
|
+
*/
|
|
28
|
+
modifiedAfter?: Date;
|
|
29
|
+
/**
|
|
30
|
+
* If provided, only objects synced by Merge before this date time will be returned.
|
|
31
|
+
*/
|
|
32
|
+
modifiedBefore?: Date;
|
|
33
|
+
/**
|
|
34
|
+
* Number of results to return per page.
|
|
35
|
+
*/
|
|
36
|
+
pageSize?: number;
|
|
37
|
+
/**
|
|
38
|
+
* The API provider's ID for the given object.
|
|
39
|
+
*/
|
|
40
|
+
remoteId?: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -65,7 +65,7 @@ class SelectiveSync {
|
|
|
65
65
|
: undefined,
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
68
|
-
"X-Fern-SDK-Version": "1.0.
|
|
68
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -115,7 +115,7 @@ class SelectiveSync {
|
|
|
115
115
|
: undefined,
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
118
|
-
"X-Fern-SDK-Version": "1.0.
|
|
118
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
body: yield serializers.ticketing.LinkedAccountSelectiveSyncConfigurationListRequest.jsonOrThrow(request, {
|
|
@@ -179,7 +179,7 @@ class SelectiveSync {
|
|
|
179
179
|
: undefined,
|
|
180
180
|
"X-Fern-Language": "JavaScript",
|
|
181
181
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
182
|
-
"X-Fern-SDK-Version": "1.0.
|
|
182
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
183
183
|
},
|
|
184
184
|
contentType: "application/json",
|
|
185
185
|
queryParameters: _queryParams,
|
|
@@ -73,7 +73,7 @@ class SyncStatus {
|
|
|
73
73
|
: undefined,
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
76
|
-
"X-Fern-SDK-Version": "1.0.
|
|
76
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
77
77
|
},
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
queryParameters: _queryParams,
|
|
@@ -94,7 +94,7 @@ class Tags {
|
|
|
94
94
|
: undefined,
|
|
95
95
|
"X-Fern-Language": "JavaScript",
|
|
96
96
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
97
|
-
"X-Fern-SDK-Version": "1.0.
|
|
97
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
98
98
|
},
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
queryParameters: _queryParams,
|
|
@@ -150,7 +150,7 @@ class Tags {
|
|
|
150
150
|
: undefined,
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
153
|
-
"X-Fern-SDK-Version": "1.0.
|
|
153
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
154
154
|
},
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
queryParameters: _queryParams,
|
|
@@ -94,7 +94,7 @@ class Teams {
|
|
|
94
94
|
: undefined,
|
|
95
95
|
"X-Fern-Language": "JavaScript",
|
|
96
96
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
97
|
-
"X-Fern-SDK-Version": "1.0.
|
|
97
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
98
98
|
},
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
queryParameters: _queryParams,
|
|
@@ -150,7 +150,7 @@ class Teams {
|
|
|
150
150
|
: undefined,
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
153
|
-
"X-Fern-SDK-Version": "1.0.
|
|
153
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
154
154
|
},
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
queryParameters: _queryParams,
|
|
@@ -171,7 +171,7 @@ class Tickets {
|
|
|
171
171
|
: undefined,
|
|
172
172
|
"X-Fern-Language": "JavaScript",
|
|
173
173
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
174
|
-
"X-Fern-SDK-Version": "1.0.
|
|
174
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
175
175
|
},
|
|
176
176
|
contentType: "application/json",
|
|
177
177
|
queryParameters: _queryParams,
|
|
@@ -230,7 +230,7 @@ class Tickets {
|
|
|
230
230
|
: undefined,
|
|
231
231
|
"X-Fern-Language": "JavaScript",
|
|
232
232
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
233
|
-
"X-Fern-SDK-Version": "1.0.
|
|
233
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
234
234
|
},
|
|
235
235
|
contentType: "application/json",
|
|
236
236
|
queryParameters: _queryParams,
|
|
@@ -301,7 +301,7 @@ class Tickets {
|
|
|
301
301
|
: undefined,
|
|
302
302
|
"X-Fern-Language": "JavaScript",
|
|
303
303
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
304
|
-
"X-Fern-SDK-Version": "1.0.
|
|
304
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
305
305
|
},
|
|
306
306
|
contentType: "application/json",
|
|
307
307
|
queryParameters: _queryParams,
|
|
@@ -360,7 +360,7 @@ class Tickets {
|
|
|
360
360
|
: undefined,
|
|
361
361
|
"X-Fern-Language": "JavaScript",
|
|
362
362
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
363
|
-
"X-Fern-SDK-Version": "1.0.
|
|
363
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
364
364
|
},
|
|
365
365
|
contentType: "application/json",
|
|
366
366
|
queryParameters: _queryParams,
|
|
@@ -431,7 +431,7 @@ class Tickets {
|
|
|
431
431
|
: undefined,
|
|
432
432
|
"X-Fern-Language": "JavaScript",
|
|
433
433
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
434
|
-
"X-Fern-SDK-Version": "1.0.
|
|
434
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
435
435
|
},
|
|
436
436
|
contentType: "application/json",
|
|
437
437
|
queryParameters: _queryParams,
|
|
@@ -482,7 +482,7 @@ class Tickets {
|
|
|
482
482
|
: undefined,
|
|
483
483
|
"X-Fern-Language": "JavaScript",
|
|
484
484
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
485
|
-
"X-Fern-SDK-Version": "1.0.
|
|
485
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
486
486
|
},
|
|
487
487
|
contentType: "application/json",
|
|
488
488
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -532,7 +532,7 @@ class Tickets {
|
|
|
532
532
|
: undefined,
|
|
533
533
|
"X-Fern-Language": "JavaScript",
|
|
534
534
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
535
|
-
"X-Fern-SDK-Version": "1.0.
|
|
535
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
536
536
|
},
|
|
537
537
|
contentType: "application/json",
|
|
538
538
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -596,7 +596,7 @@ class Tickets {
|
|
|
596
596
|
: undefined,
|
|
597
597
|
"X-Fern-Language": "JavaScript",
|
|
598
598
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
599
|
-
"X-Fern-SDK-Version": "1.0.
|
|
599
|
+
"X-Fern-SDK-Version": "1.0.3",
|
|
600
600
|
},
|
|
601
601
|
contentType: "application/json",
|
|
602
602
|
queryParameters: _queryParams,
|
|
@@ -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
|