@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.
Files changed (795) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +6 -6
  3. package/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  4. package/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  5. package/api/resources/accounting/resources/accountingPeriods/client/Client.js +2 -2
  6. package/api/resources/accounting/resources/accounts/client/Client.js +4 -4
  7. package/api/resources/accounting/resources/addresses/client/Client.js +1 -1
  8. package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  9. package/api/resources/accounting/resources/attachments/client/Client.js +4 -4
  10. package/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
  11. package/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  12. package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  13. package/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
  14. package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
  15. package/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
  16. package/api/resources/accounting/resources/contacts/client/Client.js +4 -4
  17. package/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
  18. package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  19. package/api/resources/accounting/resources/expenses/client/Client.js +4 -4
  20. package/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
  21. package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  22. package/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
  23. package/api/resources/accounting/resources/invoices/client/Client.js +4 -4
  24. package/api/resources/accounting/resources/issues/client/Client.js +2 -2
  25. package/api/resources/accounting/resources/items/client/Client.js +2 -2
  26. package/api/resources/accounting/resources/journalEntries/client/Client.js +4 -4
  27. package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  28. package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  29. package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  30. package/api/resources/accounting/resources/payments/client/Client.js +4 -4
  31. package/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
  32. package/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
  33. package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  34. package/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
  35. package/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
  36. package/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
  37. package/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
  38. package/api/resources/accounting/resources/transactions/client/Client.js +2 -2
  39. package/api/resources/accounting/resources/vendorCredits/client/Client.js +2 -2
  40. package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  41. package/api/resources/accounting/types/AccountDetails.d.ts +1 -0
  42. package/api/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
  43. package/api/resources/accounting/types/AuditLogEvent.d.ts +6 -0
  44. package/api/resources/accounting/types/AuditLogEventEventType.d.ts +6 -0
  45. package/api/resources/accounting/types/CreditNote.d.ts +1 -1
  46. package/api/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
  47. package/api/resources/accounting/types/EventTypeEnum.d.ts +13 -1
  48. package/api/resources/accounting/types/EventTypeEnum.js +6 -0
  49. package/api/resources/accounting/types/ExpenseLine.d.ts +1 -0
  50. package/api/resources/accounting/types/Invoice.d.ts +1 -1
  51. package/api/resources/accounting/types/InvoiceRequest.d.ts +1 -0
  52. package/api/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.d.ts +5 -0
  53. package/api/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.js +5 -0
  54. package/api/resources/accounting/types/JournalEntry.d.ts +1 -1
  55. package/api/resources/accounting/types/JournalLine.d.ts +1 -0
  56. package/api/resources/accounting/types/Payment.d.ts +1 -0
  57. package/api/resources/accounting/types/PaymentLineItem.d.ts +4 -5
  58. package/api/resources/accounting/types/PaymentLineItemRequest.d.ts +4 -5
  59. package/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
  60. package/api/resources/accounting/types/PurchaseOrderLineItem.d.ts +1 -0
  61. package/api/resources/accounting/types/TransactionLineItem.d.ts +1 -0
  62. package/api/resources/accounting/types/VendorCreditLine.d.ts +1 -0
  63. package/api/resources/accounting/types/index.d.ts +1 -0
  64. package/api/resources/accounting/types/index.js +1 -0
  65. package/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  66. package/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  67. package/api/resources/ats/resources/activities/client/Client.js +4 -4
  68. package/api/resources/ats/resources/applications/client/Client.js +5 -5
  69. package/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  70. package/api/resources/ats/resources/attachments/client/Client.js +4 -4
  71. package/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
  72. package/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  73. package/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  74. package/api/resources/ats/resources/candidates/client/Client.js +7 -7
  75. package/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  76. package/api/resources/ats/resources/departments/client/Client.js +2 -2
  77. package/api/resources/ats/resources/eeocs/client/Client.js +2 -2
  78. package/api/resources/ats/resources/forceResync/client/Client.js +1 -1
  79. package/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  80. package/api/resources/ats/resources/interviews/client/Client.js +4 -4
  81. package/api/resources/ats/resources/issues/client/Client.js +2 -2
  82. package/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
  83. package/api/resources/ats/resources/jobs/client/Client.js +3 -3
  84. package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  85. package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  86. package/api/resources/ats/resources/offers/client/Client.js +2 -2
  87. package/api/resources/ats/resources/offices/client/Client.js +2 -2
  88. package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  89. package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  90. package/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
  91. package/api/resources/ats/resources/scorecards/client/Client.js +2 -2
  92. package/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
  93. package/api/resources/ats/resources/syncStatus/client/Client.js +1 -1
  94. package/api/resources/ats/resources/tags/client/Client.js +1 -1
  95. package/api/resources/ats/resources/users/client/Client.js +2 -2
  96. package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  97. package/api/resources/ats/types/AccountDetails.d.ts +1 -0
  98. package/api/resources/ats/types/AccountDetailsAndActions.d.ts +1 -0
  99. package/api/resources/ats/types/AuditLogEvent.d.ts +6 -0
  100. package/api/resources/ats/types/AuditLogEventEventType.d.ts +6 -0
  101. package/api/resources/ats/types/EventTypeEnum.d.ts +13 -1
  102. package/api/resources/ats/types/EventTypeEnum.js +6 -0
  103. package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  104. package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  105. package/api/resources/crm/resources/accounts/client/Client.js +11 -8
  106. package/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.d.ts +4 -0
  107. package/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
  108. package/api/resources/crm/resources/associations/client/Client.js +2 -2
  109. package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  110. package/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
  111. package/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  112. package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  113. package/api/resources/crm/resources/contacts/client/Client.js +8 -8
  114. package/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +2 -1
  115. package/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +2 -1
  116. package/api/resources/crm/resources/customObjectClasses/client/Client.js +2 -2
  117. package/api/resources/crm/resources/customObjects/client/Client.js +5 -5
  118. package/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  119. package/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
  120. package/api/resources/crm/resources/engagements/client/Client.js +14 -8
  121. package/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.d.ts +8 -0
  122. package/api/resources/crm/resources/forceResync/client/Client.js +1 -1
  123. package/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  124. package/api/resources/crm/resources/issues/client/Client.js +2 -2
  125. package/api/resources/crm/resources/leads/client/Client.js +5 -5
  126. package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  127. package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  128. package/api/resources/crm/resources/notes/client/Client.js +5 -5
  129. package/api/resources/crm/resources/opportunities/client/Client.js +7 -7
  130. package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  131. package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  132. package/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
  133. package/api/resources/crm/resources/stages/client/Client.js +3 -3
  134. package/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
  135. package/api/resources/crm/resources/tasks/client/Client.js +7 -7
  136. package/api/resources/crm/resources/users/client/Client.js +4 -4
  137. package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  138. package/api/resources/crm/types/AccountDetails.d.ts +1 -0
  139. package/api/resources/crm/types/AccountDetailsAndActions.d.ts +1 -0
  140. package/api/resources/crm/types/AuditLogEvent.d.ts +6 -0
  141. package/api/resources/crm/types/AuditLogEventEventType.d.ts +6 -0
  142. package/api/resources/crm/types/Contact.d.ts +2 -0
  143. package/api/resources/crm/types/ContactOwner.d.ts +8 -0
  144. package/api/resources/crm/types/ContactOwner.js +5 -0
  145. package/api/resources/crm/types/ContactRequest.d.ts +2 -0
  146. package/api/resources/crm/types/ContactRequestOwner.d.ts +8 -0
  147. package/api/resources/crm/types/ContactRequestOwner.js +5 -0
  148. package/api/resources/crm/types/ContactsListRequestExpand.d.ts +9 -0
  149. package/api/resources/crm/types/ContactsListRequestExpand.js +11 -0
  150. package/api/resources/crm/types/ContactsRetrieveRequestExpand.d.ts +9 -0
  151. package/api/resources/crm/types/ContactsRetrieveRequestExpand.js +11 -0
  152. package/api/resources/crm/types/EventTypeEnum.d.ts +13 -1
  153. package/api/resources/crm/types/EventTypeEnum.js +6 -0
  154. package/api/resources/crm/types/PatchedContactRequest.d.ts +2 -0
  155. package/api/resources/crm/types/PatchedContactRequestOwner.d.ts +8 -0
  156. package/api/resources/crm/types/PatchedContactRequestOwner.js +5 -0
  157. package/api/resources/crm/types/index.d.ts +5 -0
  158. package/api/resources/crm/types/index.js +5 -0
  159. package/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  160. package/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  161. package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  162. package/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
  163. package/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  164. package/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  165. package/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  166. package/api/resources/filestorage/resources/drives/client/Client.js +2 -2
  167. package/api/resources/filestorage/resources/files/client/Client.d.ts +1 -1
  168. package/api/resources/filestorage/resources/files/client/Client.js +12 -6
  169. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +9 -0
  170. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.js +5 -0
  171. package/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +2 -2
  172. package/api/resources/filestorage/resources/files/client/requests/index.d.ts +1 -0
  173. package/api/resources/filestorage/resources/folders/client/Client.js +4 -4
  174. package/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
  175. package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  176. package/api/resources/filestorage/resources/groups/client/Client.js +2 -2
  177. package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  178. package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  179. package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  180. package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  181. package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  182. package/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
  183. package/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
  184. package/api/resources/filestorage/resources/users/client/Client.js +2 -2
  185. package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  186. package/api/resources/filestorage/types/AccountDetails.d.ts +1 -0
  187. package/api/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
  188. package/api/resources/filestorage/types/AuditLogEvent.d.ts +6 -0
  189. package/api/resources/filestorage/types/AuditLogEventEventType.d.ts +6 -0
  190. package/api/resources/filestorage/types/EventTypeEnum.d.ts +13 -1
  191. package/api/resources/filestorage/types/EventTypeEnum.js +6 -0
  192. package/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  193. package/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  194. package/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  195. package/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
  196. package/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  197. package/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  198. package/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
  199. package/api/resources/hris/resources/benefits/client/Client.js +2 -2
  200. package/api/resources/hris/resources/companies/client/Client.js +2 -2
  201. package/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  202. package/api/resources/hris/resources/dependents/client/Client.js +2 -2
  203. package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
  204. package/api/resources/hris/resources/employees/client/Client.js +5 -5
  205. package/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
  206. package/api/resources/hris/resources/employments/client/Client.js +2 -2
  207. package/api/resources/hris/resources/forceResync/client/Client.js +1 -1
  208. package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  209. package/api/resources/hris/resources/groups/client/Client.js +2 -2
  210. package/api/resources/hris/resources/issues/client/Client.js +2 -2
  211. package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  212. package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  213. package/api/resources/hris/resources/locations/client/Client.js +2 -2
  214. package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  215. package/api/resources/hris/resources/payGroups/client/Client.js +2 -2
  216. package/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
  217. package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  218. package/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
  219. package/api/resources/hris/resources/syncStatus/client/Client.js +1 -1
  220. package/api/resources/hris/resources/teams/client/Client.js +2 -2
  221. package/api/resources/hris/resources/timeOff/client/Client.js +4 -4
  222. package/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
  223. package/api/resources/hris/resources/timesheetEntries/client/Client.js +4 -4
  224. package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  225. package/api/resources/hris/types/AccountDetails.d.ts +1 -0
  226. package/api/resources/hris/types/AccountDetailsAndActions.d.ts +1 -0
  227. package/api/resources/hris/types/AuditLogEvent.d.ts +6 -0
  228. package/api/resources/hris/types/AuditLogEventEventType.d.ts +6 -0
  229. package/api/resources/hris/types/EventTypeEnum.d.ts +13 -1
  230. package/api/resources/hris/types/EventTypeEnum.js +6 -0
  231. package/api/resources/index.d.ts +1 -1
  232. package/api/resources/index.js +2 -2
  233. package/api/resources/ticketing/client/Client.d.ts +3 -0
  234. package/api/resources/ticketing/client/Client.js +21 -16
  235. package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  236. package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  237. package/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
  238. package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  239. package/api/resources/ticketing/resources/attachments/client/Client.d.ts +1 -1
  240. package/api/resources/ticketing/resources/attachments/client/Client.js +12 -6
  241. package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +9 -0
  242. package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.js +5 -0
  243. package/api/resources/ticketing/resources/attachments/client/requests/index.d.ts +1 -0
  244. package/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
  245. package/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  246. package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  247. package/api/resources/ticketing/resources/collections/client/Client.js +3 -3
  248. package/api/resources/ticketing/resources/comments/client/Client.js +4 -4
  249. package/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
  250. package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  251. package/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
  252. package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  253. package/api/resources/ticketing/resources/index.d.ts +2 -0
  254. package/api/resources/ticketing/resources/index.js +3 -1
  255. package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  256. package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  257. package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  258. package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  259. package/api/resources/ticketing/resources/projects/client/Client.js +3 -3
  260. package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  261. package/api/resources/ticketing/resources/roles/client/Client.d.ts +29 -0
  262. package/api/resources/ticketing/resources/roles/client/Client.js +194 -0
  263. package/api/resources/ticketing/resources/roles/client/index.d.ts +1 -0
  264. package/api/resources/ticketing/resources/roles/client/index.js +17 -0
  265. package/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.d.ts +41 -0
  266. package/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.js +5 -0
  267. package/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +9 -0
  268. package/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.js +5 -0
  269. package/api/resources/ticketing/resources/roles/client/requests/index.d.ts +2 -0
  270. package/api/resources/ticketing/resources/roles/client/requests/index.js +2 -0
  271. package/api/resources/ticketing/resources/roles/index.d.ts +1 -0
  272. package/api/resources/ticketing/resources/roles/index.js +17 -0
  273. package/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
  274. package/api/resources/ticketing/resources/syncStatus/client/Client.js +1 -1
  275. package/api/resources/ticketing/resources/tags/client/Client.js +2 -2
  276. package/api/resources/ticketing/resources/teams/client/Client.js +2 -2
  277. package/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
  278. package/api/resources/ticketing/resources/users/client/Client.js +2 -2
  279. package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  280. package/api/resources/ticketing/types/AccountDetails.d.ts +1 -0
  281. package/api/resources/ticketing/types/AccountDetailsAndActions.d.ts +1 -0
  282. package/api/resources/ticketing/types/AuditLogEvent.d.ts +6 -0
  283. package/api/resources/ticketing/types/AuditLogEventEventType.d.ts +6 -0
  284. package/api/resources/ticketing/types/EventTypeEnum.d.ts +13 -1
  285. package/api/resources/ticketing/types/EventTypeEnum.js +6 -0
  286. package/api/resources/ticketing/types/PaginatedRoleList.d.ts +9 -0
  287. package/api/resources/ticketing/types/PaginatedRoleList.js +5 -0
  288. package/api/resources/ticketing/types/Project.d.ts +1 -1
  289. package/api/resources/ticketing/types/Role.d.ts +36 -0
  290. package/api/resources/ticketing/types/Role.js +5 -0
  291. package/api/resources/ticketing/types/RoleTicketAccess.d.ts +12 -0
  292. package/api/resources/ticketing/types/RoleTicketAccess.js +5 -0
  293. package/api/resources/ticketing/types/RoleTicketActionsItem.d.ts +5 -0
  294. package/api/resources/ticketing/types/RoleTicketActionsItem.js +5 -0
  295. package/api/resources/ticketing/types/TicketAccessEnum.d.ts +14 -0
  296. package/api/resources/ticketing/types/TicketAccessEnum.js +11 -0
  297. package/api/resources/ticketing/types/TicketActionsEnum.d.ts +20 -0
  298. package/api/resources/ticketing/types/TicketActionsEnum.js +14 -0
  299. package/api/resources/ticketing/types/User.d.ts +1 -0
  300. package/api/resources/ticketing/types/UserRolesItem.d.ts +5 -0
  301. package/api/resources/ticketing/types/UserRolesItem.js +5 -0
  302. package/api/resources/ticketing/types/index.d.ts +7 -0
  303. package/api/resources/ticketing/types/index.js +7 -0
  304. package/dist/Client.d.ts +3 -3
  305. package/dist/Client.js +6 -6
  306. package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  307. package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  308. package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +2 -2
  309. package/dist/api/resources/accounting/resources/accounts/client/Client.js +4 -4
  310. package/dist/api/resources/accounting/resources/addresses/client/Client.js +1 -1
  311. package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  312. package/dist/api/resources/accounting/resources/attachments/client/Client.js +4 -4
  313. package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
  314. package/dist/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  315. package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  316. package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
  317. package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
  318. package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
  319. package/dist/api/resources/accounting/resources/contacts/client/Client.js +4 -4
  320. package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
  321. package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  322. package/dist/api/resources/accounting/resources/expenses/client/Client.js +4 -4
  323. package/dist/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
  324. package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  325. package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
  326. package/dist/api/resources/accounting/resources/invoices/client/Client.js +4 -4
  327. package/dist/api/resources/accounting/resources/issues/client/Client.js +2 -2
  328. package/dist/api/resources/accounting/resources/items/client/Client.js +2 -2
  329. package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +4 -4
  330. package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  331. package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  332. package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  333. package/dist/api/resources/accounting/resources/payments/client/Client.js +4 -4
  334. package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
  335. package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
  336. package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  337. package/dist/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
  338. package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
  339. package/dist/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
  340. package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
  341. package/dist/api/resources/accounting/resources/transactions/client/Client.js +2 -2
  342. package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +2 -2
  343. package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  344. package/dist/api/resources/accounting/types/AccountDetails.d.ts +1 -0
  345. package/dist/api/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
  346. package/dist/api/resources/accounting/types/AuditLogEvent.d.ts +6 -0
  347. package/dist/api/resources/accounting/types/AuditLogEventEventType.d.ts +6 -0
  348. package/dist/api/resources/accounting/types/CreditNote.d.ts +1 -1
  349. package/dist/api/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
  350. package/dist/api/resources/accounting/types/EventTypeEnum.d.ts +13 -1
  351. package/dist/api/resources/accounting/types/EventTypeEnum.js +6 -0
  352. package/dist/api/resources/accounting/types/ExpenseLine.d.ts +1 -0
  353. package/dist/api/resources/accounting/types/Invoice.d.ts +1 -1
  354. package/dist/api/resources/accounting/types/InvoiceRequest.d.ts +1 -0
  355. package/dist/api/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.d.ts +5 -0
  356. package/dist/api/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.js +5 -0
  357. package/dist/api/resources/accounting/types/JournalEntry.d.ts +1 -1
  358. package/dist/api/resources/accounting/types/JournalLine.d.ts +1 -0
  359. package/dist/api/resources/accounting/types/Payment.d.ts +1 -0
  360. package/dist/api/resources/accounting/types/PaymentLineItem.d.ts +4 -5
  361. package/dist/api/resources/accounting/types/PaymentLineItemRequest.d.ts +4 -5
  362. package/dist/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
  363. package/dist/api/resources/accounting/types/PurchaseOrderLineItem.d.ts +1 -0
  364. package/dist/api/resources/accounting/types/TransactionLineItem.d.ts +1 -0
  365. package/dist/api/resources/accounting/types/VendorCreditLine.d.ts +1 -0
  366. package/dist/api/resources/accounting/types/index.d.ts +1 -0
  367. package/dist/api/resources/accounting/types/index.js +1 -0
  368. package/dist/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  369. package/dist/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  370. package/dist/api/resources/ats/resources/activities/client/Client.js +4 -4
  371. package/dist/api/resources/ats/resources/applications/client/Client.js +5 -5
  372. package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  373. package/dist/api/resources/ats/resources/attachments/client/Client.js +4 -4
  374. package/dist/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
  375. package/dist/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  376. package/dist/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  377. package/dist/api/resources/ats/resources/candidates/client/Client.js +7 -7
  378. package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  379. package/dist/api/resources/ats/resources/departments/client/Client.js +2 -2
  380. package/dist/api/resources/ats/resources/eeocs/client/Client.js +2 -2
  381. package/dist/api/resources/ats/resources/forceResync/client/Client.js +1 -1
  382. package/dist/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  383. package/dist/api/resources/ats/resources/interviews/client/Client.js +4 -4
  384. package/dist/api/resources/ats/resources/issues/client/Client.js +2 -2
  385. package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
  386. package/dist/api/resources/ats/resources/jobs/client/Client.js +3 -3
  387. package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  388. package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  389. package/dist/api/resources/ats/resources/offers/client/Client.js +2 -2
  390. package/dist/api/resources/ats/resources/offices/client/Client.js +2 -2
  391. package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  392. package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  393. package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
  394. package/dist/api/resources/ats/resources/scorecards/client/Client.js +2 -2
  395. package/dist/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
  396. package/dist/api/resources/ats/resources/syncStatus/client/Client.js +1 -1
  397. package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
  398. package/dist/api/resources/ats/resources/users/client/Client.js +2 -2
  399. package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  400. package/dist/api/resources/ats/types/AccountDetails.d.ts +1 -0
  401. package/dist/api/resources/ats/types/AccountDetailsAndActions.d.ts +1 -0
  402. package/dist/api/resources/ats/types/AuditLogEvent.d.ts +6 -0
  403. package/dist/api/resources/ats/types/AuditLogEventEventType.d.ts +6 -0
  404. package/dist/api/resources/ats/types/EventTypeEnum.d.ts +13 -1
  405. package/dist/api/resources/ats/types/EventTypeEnum.js +6 -0
  406. package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  407. package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  408. package/dist/api/resources/crm/resources/accounts/client/Client.js +11 -8
  409. package/dist/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.d.ts +4 -0
  410. package/dist/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
  411. package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
  412. package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  413. package/dist/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
  414. package/dist/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  415. package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  416. package/dist/api/resources/crm/resources/contacts/client/Client.js +8 -8
  417. package/dist/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +2 -1
  418. package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +2 -1
  419. package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +2 -2
  420. package/dist/api/resources/crm/resources/customObjects/client/Client.js +5 -5
  421. package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  422. package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
  423. package/dist/api/resources/crm/resources/engagements/client/Client.js +14 -8
  424. package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.d.ts +8 -0
  425. package/dist/api/resources/crm/resources/forceResync/client/Client.js +1 -1
  426. package/dist/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  427. package/dist/api/resources/crm/resources/issues/client/Client.js +2 -2
  428. package/dist/api/resources/crm/resources/leads/client/Client.js +5 -5
  429. package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  430. package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  431. package/dist/api/resources/crm/resources/notes/client/Client.js +5 -5
  432. package/dist/api/resources/crm/resources/opportunities/client/Client.js +7 -7
  433. package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  434. package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  435. package/dist/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
  436. package/dist/api/resources/crm/resources/stages/client/Client.js +3 -3
  437. package/dist/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
  438. package/dist/api/resources/crm/resources/tasks/client/Client.js +7 -7
  439. package/dist/api/resources/crm/resources/users/client/Client.js +4 -4
  440. package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  441. package/dist/api/resources/crm/types/AccountDetails.d.ts +1 -0
  442. package/dist/api/resources/crm/types/AccountDetailsAndActions.d.ts +1 -0
  443. package/dist/api/resources/crm/types/AuditLogEvent.d.ts +6 -0
  444. package/dist/api/resources/crm/types/AuditLogEventEventType.d.ts +6 -0
  445. package/dist/api/resources/crm/types/Contact.d.ts +2 -0
  446. package/dist/api/resources/crm/types/ContactOwner.d.ts +8 -0
  447. package/dist/api/resources/crm/types/ContactOwner.js +5 -0
  448. package/dist/api/resources/crm/types/ContactRequest.d.ts +2 -0
  449. package/dist/api/resources/crm/types/ContactRequestOwner.d.ts +8 -0
  450. package/dist/api/resources/crm/types/ContactRequestOwner.js +5 -0
  451. package/dist/api/resources/crm/types/ContactsListRequestExpand.d.ts +9 -0
  452. package/dist/api/resources/crm/types/ContactsListRequestExpand.js +11 -0
  453. package/dist/api/resources/crm/types/ContactsRetrieveRequestExpand.d.ts +9 -0
  454. package/dist/api/resources/crm/types/ContactsRetrieveRequestExpand.js +11 -0
  455. package/dist/api/resources/crm/types/EventTypeEnum.d.ts +13 -1
  456. package/dist/api/resources/crm/types/EventTypeEnum.js +6 -0
  457. package/dist/api/resources/crm/types/PatchedContactRequest.d.ts +2 -0
  458. package/dist/api/resources/crm/types/PatchedContactRequestOwner.d.ts +8 -0
  459. package/dist/api/resources/crm/types/PatchedContactRequestOwner.js +5 -0
  460. package/dist/api/resources/crm/types/index.d.ts +5 -0
  461. package/dist/api/resources/crm/types/index.js +5 -0
  462. package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  463. package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  464. package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  465. package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
  466. package/dist/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  467. package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  468. package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  469. package/dist/api/resources/filestorage/resources/drives/client/Client.js +2 -2
  470. package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +1 -1
  471. package/dist/api/resources/filestorage/resources/files/client/Client.js +12 -6
  472. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +9 -0
  473. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.js +5 -0
  474. package/dist/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +2 -2
  475. package/dist/api/resources/filestorage/resources/files/client/requests/index.d.ts +1 -0
  476. package/dist/api/resources/filestorage/resources/folders/client/Client.js +4 -4
  477. package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
  478. package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  479. package/dist/api/resources/filestorage/resources/groups/client/Client.js +2 -2
  480. package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  481. package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  482. package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  483. package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  484. package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  485. package/dist/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
  486. package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
  487. package/dist/api/resources/filestorage/resources/users/client/Client.js +2 -2
  488. package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  489. package/dist/api/resources/filestorage/types/AccountDetails.d.ts +1 -0
  490. package/dist/api/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
  491. package/dist/api/resources/filestorage/types/AuditLogEvent.d.ts +6 -0
  492. package/dist/api/resources/filestorage/types/AuditLogEventEventType.d.ts +6 -0
  493. package/dist/api/resources/filestorage/types/EventTypeEnum.d.ts +13 -1
  494. package/dist/api/resources/filestorage/types/EventTypeEnum.js +6 -0
  495. package/dist/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  496. package/dist/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  497. package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  498. package/dist/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
  499. package/dist/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  500. package/dist/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  501. package/dist/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
  502. package/dist/api/resources/hris/resources/benefits/client/Client.js +2 -2
  503. package/dist/api/resources/hris/resources/companies/client/Client.js +2 -2
  504. package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  505. package/dist/api/resources/hris/resources/dependents/client/Client.js +2 -2
  506. package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
  507. package/dist/api/resources/hris/resources/employees/client/Client.js +5 -5
  508. package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
  509. package/dist/api/resources/hris/resources/employments/client/Client.js +2 -2
  510. package/dist/api/resources/hris/resources/forceResync/client/Client.js +1 -1
  511. package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  512. package/dist/api/resources/hris/resources/groups/client/Client.js +2 -2
  513. package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
  514. package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  515. package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  516. package/dist/api/resources/hris/resources/locations/client/Client.js +2 -2
  517. package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  518. package/dist/api/resources/hris/resources/payGroups/client/Client.js +2 -2
  519. package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
  520. package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  521. package/dist/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
  522. package/dist/api/resources/hris/resources/syncStatus/client/Client.js +1 -1
  523. package/dist/api/resources/hris/resources/teams/client/Client.js +2 -2
  524. package/dist/api/resources/hris/resources/timeOff/client/Client.js +4 -4
  525. package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
  526. package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +4 -4
  527. package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  528. package/dist/api/resources/hris/types/AccountDetails.d.ts +1 -0
  529. package/dist/api/resources/hris/types/AccountDetailsAndActions.d.ts +1 -0
  530. package/dist/api/resources/hris/types/AuditLogEvent.d.ts +6 -0
  531. package/dist/api/resources/hris/types/AuditLogEventEventType.d.ts +6 -0
  532. package/dist/api/resources/hris/types/EventTypeEnum.d.ts +13 -1
  533. package/dist/api/resources/hris/types/EventTypeEnum.js +6 -0
  534. package/dist/api/resources/index.d.ts +1 -1
  535. package/dist/api/resources/index.js +2 -2
  536. package/dist/api/resources/ticketing/client/Client.d.ts +3 -0
  537. package/dist/api/resources/ticketing/client/Client.js +21 -16
  538. package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  539. package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  540. package/dist/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
  541. package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  542. package/dist/api/resources/ticketing/resources/attachments/client/Client.d.ts +1 -1
  543. package/dist/api/resources/ticketing/resources/attachments/client/Client.js +12 -6
  544. package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +9 -0
  545. package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.js +5 -0
  546. package/dist/api/resources/ticketing/resources/attachments/client/requests/index.d.ts +1 -0
  547. package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
  548. package/dist/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +3 -3
  549. package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  550. package/dist/api/resources/ticketing/resources/collections/client/Client.js +3 -3
  551. package/dist/api/resources/ticketing/resources/comments/client/Client.js +4 -4
  552. package/dist/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
  553. package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  554. package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
  555. package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  556. package/dist/api/resources/ticketing/resources/index.d.ts +2 -0
  557. package/dist/api/resources/ticketing/resources/index.js +3 -1
  558. package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  559. package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  560. package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  561. package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  562. package/dist/api/resources/ticketing/resources/projects/client/Client.js +3 -3
  563. package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  564. package/dist/api/resources/ticketing/resources/roles/client/Client.d.ts +29 -0
  565. package/dist/api/resources/ticketing/resources/roles/client/Client.js +194 -0
  566. package/dist/api/resources/ticketing/resources/roles/client/index.d.ts +1 -0
  567. package/dist/api/resources/ticketing/resources/roles/client/index.js +17 -0
  568. package/dist/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.d.ts +41 -0
  569. package/dist/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.js +5 -0
  570. package/dist/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +9 -0
  571. package/dist/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.js +5 -0
  572. package/dist/api/resources/ticketing/resources/roles/client/requests/index.d.ts +2 -0
  573. package/dist/api/resources/ticketing/resources/roles/client/requests/index.js +2 -0
  574. package/dist/api/resources/ticketing/resources/roles/index.d.ts +1 -0
  575. package/dist/api/resources/ticketing/resources/roles/index.js +17 -0
  576. package/dist/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
  577. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +1 -1
  578. package/dist/api/resources/ticketing/resources/tags/client/Client.js +2 -2
  579. package/dist/api/resources/ticketing/resources/teams/client/Client.js +2 -2
  580. package/dist/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
  581. package/dist/api/resources/ticketing/resources/users/client/Client.js +2 -2
  582. package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  583. package/dist/api/resources/ticketing/types/AccountDetails.d.ts +1 -0
  584. package/dist/api/resources/ticketing/types/AccountDetailsAndActions.d.ts +1 -0
  585. package/dist/api/resources/ticketing/types/AuditLogEvent.d.ts +6 -0
  586. package/dist/api/resources/ticketing/types/AuditLogEventEventType.d.ts +6 -0
  587. package/dist/api/resources/ticketing/types/EventTypeEnum.d.ts +13 -1
  588. package/dist/api/resources/ticketing/types/EventTypeEnum.js +6 -0
  589. package/dist/api/resources/ticketing/types/PaginatedRoleList.d.ts +9 -0
  590. package/dist/api/resources/ticketing/types/PaginatedRoleList.js +5 -0
  591. package/dist/api/resources/ticketing/types/Project.d.ts +1 -1
  592. package/dist/api/resources/ticketing/types/Role.d.ts +36 -0
  593. package/dist/api/resources/ticketing/types/Role.js +5 -0
  594. package/dist/api/resources/ticketing/types/RoleTicketAccess.d.ts +12 -0
  595. package/dist/api/resources/ticketing/types/RoleTicketAccess.js +5 -0
  596. package/dist/api/resources/ticketing/types/RoleTicketActionsItem.d.ts +5 -0
  597. package/dist/api/resources/ticketing/types/RoleTicketActionsItem.js +5 -0
  598. package/dist/api/resources/ticketing/types/TicketAccessEnum.d.ts +14 -0
  599. package/dist/api/resources/ticketing/types/TicketAccessEnum.js +11 -0
  600. package/dist/api/resources/ticketing/types/TicketActionsEnum.d.ts +20 -0
  601. package/dist/api/resources/ticketing/types/TicketActionsEnum.js +14 -0
  602. package/dist/api/resources/ticketing/types/User.d.ts +1 -0
  603. package/dist/api/resources/ticketing/types/UserRolesItem.d.ts +5 -0
  604. package/dist/api/resources/ticketing/types/UserRolesItem.js +5 -0
  605. package/dist/api/resources/ticketing/types/index.d.ts +7 -0
  606. package/dist/api/resources/ticketing/types/index.js +7 -0
  607. package/dist/environments.d.ts +2 -1
  608. package/dist/environments.js +1 -0
  609. package/dist/serialization/resources/accounting/types/AccountDetails.d.ts +1 -0
  610. package/dist/serialization/resources/accounting/types/AccountDetails.js +1 -0
  611. package/dist/serialization/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
  612. package/dist/serialization/resources/accounting/types/AccountDetailsAndActions.js +1 -0
  613. package/dist/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
  614. package/dist/serialization/resources/accounting/types/CreditNoteLineItem.js +1 -0
  615. package/dist/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
  616. package/dist/serialization/resources/accounting/types/EventTypeEnum.js +6 -0
  617. package/dist/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
  618. package/dist/serialization/resources/accounting/types/ExpenseLine.js +1 -0
  619. package/dist/serialization/resources/accounting/types/InvoiceRequest.d.ts +1 -0
  620. package/dist/serialization/resources/accounting/types/InvoiceRequest.js +5 -0
  621. package/dist/serialization/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.d.ts +10 -0
  622. package/dist/serialization/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.js +43 -0
  623. package/dist/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
  624. package/dist/serialization/resources/accounting/types/JournalLine.js +1 -0
  625. package/dist/serialization/resources/accounting/types/PurchaseOrderLineItem.d.ts +1 -0
  626. package/dist/serialization/resources/accounting/types/PurchaseOrderLineItem.js +1 -0
  627. package/dist/serialization/resources/accounting/types/TransactionLineItem.d.ts +1 -0
  628. package/dist/serialization/resources/accounting/types/TransactionLineItem.js +1 -0
  629. package/dist/serialization/resources/accounting/types/VendorCreditLine.d.ts +1 -0
  630. package/dist/serialization/resources/accounting/types/VendorCreditLine.js +1 -0
  631. package/dist/serialization/resources/accounting/types/index.d.ts +1 -0
  632. package/dist/serialization/resources/accounting/types/index.js +1 -0
  633. package/dist/serialization/resources/ats/types/AccountDetails.d.ts +1 -0
  634. package/dist/serialization/resources/ats/types/AccountDetails.js +1 -0
  635. package/dist/serialization/resources/ats/types/AccountDetailsAndActions.d.ts +1 -0
  636. package/dist/serialization/resources/ats/types/AccountDetailsAndActions.js +1 -0
  637. package/dist/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
  638. package/dist/serialization/resources/ats/types/EventTypeEnum.js +6 -0
  639. package/dist/serialization/resources/crm/types/AccountDetails.d.ts +1 -0
  640. package/dist/serialization/resources/crm/types/AccountDetails.js +1 -0
  641. package/dist/serialization/resources/crm/types/AccountDetailsAndActions.d.ts +1 -0
  642. package/dist/serialization/resources/crm/types/AccountDetailsAndActions.js +1 -0
  643. package/dist/serialization/resources/crm/types/Contact.d.ts +1 -0
  644. package/dist/serialization/resources/crm/types/Contact.js +1 -0
  645. package/dist/serialization/resources/crm/types/ContactOwner.d.ts +10 -0
  646. package/dist/serialization/resources/crm/types/ContactOwner.js +43 -0
  647. package/dist/serialization/resources/crm/types/ContactRequest.d.ts +1 -0
  648. package/dist/serialization/resources/crm/types/ContactRequest.js +1 -0
  649. package/dist/serialization/resources/crm/types/ContactRequestOwner.d.ts +10 -0
  650. package/dist/serialization/resources/crm/types/ContactRequestOwner.js +43 -0
  651. package/dist/serialization/resources/crm/types/ContactsListRequestExpand.d.ts +10 -0
  652. package/dist/serialization/resources/crm/types/ContactsListRequestExpand.js +31 -0
  653. package/dist/serialization/resources/crm/types/ContactsRetrieveRequestExpand.d.ts +10 -0
  654. package/dist/serialization/resources/crm/types/ContactsRetrieveRequestExpand.js +31 -0
  655. package/dist/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
  656. package/dist/serialization/resources/crm/types/EventTypeEnum.js +6 -0
  657. package/dist/serialization/resources/crm/types/PatchedContactRequest.d.ts +1 -0
  658. package/dist/serialization/resources/crm/types/PatchedContactRequest.js +1 -0
  659. package/dist/serialization/resources/crm/types/PatchedContactRequestOwner.d.ts +10 -0
  660. package/dist/serialization/resources/crm/types/PatchedContactRequestOwner.js +43 -0
  661. package/dist/serialization/resources/crm/types/index.d.ts +5 -0
  662. package/dist/serialization/resources/crm/types/index.js +5 -0
  663. package/dist/serialization/resources/filestorage/types/AccountDetails.d.ts +1 -0
  664. package/dist/serialization/resources/filestorage/types/AccountDetails.js +1 -0
  665. package/dist/serialization/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
  666. package/dist/serialization/resources/filestorage/types/AccountDetailsAndActions.js +1 -0
  667. package/dist/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
  668. package/dist/serialization/resources/filestorage/types/EventTypeEnum.js +6 -0
  669. package/dist/serialization/resources/hris/types/AccountDetails.d.ts +1 -0
  670. package/dist/serialization/resources/hris/types/AccountDetails.js +1 -0
  671. package/dist/serialization/resources/hris/types/AccountDetailsAndActions.d.ts +1 -0
  672. package/dist/serialization/resources/hris/types/AccountDetailsAndActions.js +1 -0
  673. package/dist/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
  674. package/dist/serialization/resources/hris/types/EventTypeEnum.js +6 -0
  675. package/dist/serialization/resources/index.d.ts +1 -1
  676. package/dist/serialization/resources/index.js +2 -2
  677. package/dist/serialization/resources/ticketing/types/AccountDetails.d.ts +1 -0
  678. package/dist/serialization/resources/ticketing/types/AccountDetails.js +1 -0
  679. package/dist/serialization/resources/ticketing/types/AccountDetailsAndActions.d.ts +1 -0
  680. package/dist/serialization/resources/ticketing/types/AccountDetailsAndActions.js +1 -0
  681. package/dist/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
  682. package/dist/serialization/resources/ticketing/types/EventTypeEnum.js +6 -0
  683. package/dist/serialization/resources/ticketing/types/PaginatedRoleList.d.ts +14 -0
  684. package/dist/serialization/resources/ticketing/types/PaginatedRoleList.js +46 -0
  685. package/dist/serialization/resources/ticketing/types/Role.d.ts +21 -0
  686. package/dist/serialization/resources/ticketing/types/Role.js +57 -0
  687. package/dist/serialization/resources/ticketing/types/RoleTicketAccess.d.ts +10 -0
  688. package/dist/serialization/resources/ticketing/types/RoleTicketAccess.js +43 -0
  689. package/dist/serialization/resources/ticketing/types/RoleTicketActionsItem.d.ts +10 -0
  690. package/dist/serialization/resources/ticketing/types/RoleTicketActionsItem.js +43 -0
  691. package/dist/serialization/resources/ticketing/types/TicketAccessEnum.d.ts +10 -0
  692. package/dist/serialization/resources/ticketing/types/TicketAccessEnum.js +31 -0
  693. package/dist/serialization/resources/ticketing/types/TicketActionsEnum.d.ts +10 -0
  694. package/dist/serialization/resources/ticketing/types/TicketActionsEnum.js +31 -0
  695. package/dist/serialization/resources/ticketing/types/User.d.ts +1 -0
  696. package/dist/serialization/resources/ticketing/types/User.js +3 -0
  697. package/dist/serialization/resources/ticketing/types/UserRolesItem.d.ts +10 -0
  698. package/dist/serialization/resources/ticketing/types/UserRolesItem.js +43 -0
  699. package/dist/serialization/resources/ticketing/types/index.d.ts +7 -0
  700. package/dist/serialization/resources/ticketing/types/index.js +7 -0
  701. package/environments.d.ts +2 -1
  702. package/environments.js +1 -0
  703. package/package.json +1 -1
  704. package/serialization/resources/accounting/types/AccountDetails.d.ts +1 -0
  705. package/serialization/resources/accounting/types/AccountDetails.js +1 -0
  706. package/serialization/resources/accounting/types/AccountDetailsAndActions.d.ts +1 -0
  707. package/serialization/resources/accounting/types/AccountDetailsAndActions.js +1 -0
  708. package/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
  709. package/serialization/resources/accounting/types/CreditNoteLineItem.js +1 -0
  710. package/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
  711. package/serialization/resources/accounting/types/EventTypeEnum.js +6 -0
  712. package/serialization/resources/accounting/types/ExpenseLine.d.ts +1 -0
  713. package/serialization/resources/accounting/types/ExpenseLine.js +1 -0
  714. package/serialization/resources/accounting/types/InvoiceRequest.d.ts +1 -0
  715. package/serialization/resources/accounting/types/InvoiceRequest.js +5 -0
  716. package/serialization/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.d.ts +10 -0
  717. package/serialization/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.js +43 -0
  718. package/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
  719. package/serialization/resources/accounting/types/JournalLine.js +1 -0
  720. package/serialization/resources/accounting/types/PurchaseOrderLineItem.d.ts +1 -0
  721. package/serialization/resources/accounting/types/PurchaseOrderLineItem.js +1 -0
  722. package/serialization/resources/accounting/types/TransactionLineItem.d.ts +1 -0
  723. package/serialization/resources/accounting/types/TransactionLineItem.js +1 -0
  724. package/serialization/resources/accounting/types/VendorCreditLine.d.ts +1 -0
  725. package/serialization/resources/accounting/types/VendorCreditLine.js +1 -0
  726. package/serialization/resources/accounting/types/index.d.ts +1 -0
  727. package/serialization/resources/accounting/types/index.js +1 -0
  728. package/serialization/resources/ats/types/AccountDetails.d.ts +1 -0
  729. package/serialization/resources/ats/types/AccountDetails.js +1 -0
  730. package/serialization/resources/ats/types/AccountDetailsAndActions.d.ts +1 -0
  731. package/serialization/resources/ats/types/AccountDetailsAndActions.js +1 -0
  732. package/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
  733. package/serialization/resources/ats/types/EventTypeEnum.js +6 -0
  734. package/serialization/resources/crm/types/AccountDetails.d.ts +1 -0
  735. package/serialization/resources/crm/types/AccountDetails.js +1 -0
  736. package/serialization/resources/crm/types/AccountDetailsAndActions.d.ts +1 -0
  737. package/serialization/resources/crm/types/AccountDetailsAndActions.js +1 -0
  738. package/serialization/resources/crm/types/Contact.d.ts +1 -0
  739. package/serialization/resources/crm/types/Contact.js +1 -0
  740. package/serialization/resources/crm/types/ContactOwner.d.ts +10 -0
  741. package/serialization/resources/crm/types/ContactOwner.js +43 -0
  742. package/serialization/resources/crm/types/ContactRequest.d.ts +1 -0
  743. package/serialization/resources/crm/types/ContactRequest.js +1 -0
  744. package/serialization/resources/crm/types/ContactRequestOwner.d.ts +10 -0
  745. package/serialization/resources/crm/types/ContactRequestOwner.js +43 -0
  746. package/serialization/resources/crm/types/ContactsListRequestExpand.d.ts +10 -0
  747. package/serialization/resources/crm/types/ContactsListRequestExpand.js +31 -0
  748. package/serialization/resources/crm/types/ContactsRetrieveRequestExpand.d.ts +10 -0
  749. package/serialization/resources/crm/types/ContactsRetrieveRequestExpand.js +31 -0
  750. package/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
  751. package/serialization/resources/crm/types/EventTypeEnum.js +6 -0
  752. package/serialization/resources/crm/types/PatchedContactRequest.d.ts +1 -0
  753. package/serialization/resources/crm/types/PatchedContactRequest.js +1 -0
  754. package/serialization/resources/crm/types/PatchedContactRequestOwner.d.ts +10 -0
  755. package/serialization/resources/crm/types/PatchedContactRequestOwner.js +43 -0
  756. package/serialization/resources/crm/types/index.d.ts +5 -0
  757. package/serialization/resources/crm/types/index.js +5 -0
  758. package/serialization/resources/filestorage/types/AccountDetails.d.ts +1 -0
  759. package/serialization/resources/filestorage/types/AccountDetails.js +1 -0
  760. package/serialization/resources/filestorage/types/AccountDetailsAndActions.d.ts +1 -0
  761. package/serialization/resources/filestorage/types/AccountDetailsAndActions.js +1 -0
  762. package/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
  763. package/serialization/resources/filestorage/types/EventTypeEnum.js +6 -0
  764. package/serialization/resources/hris/types/AccountDetails.d.ts +1 -0
  765. package/serialization/resources/hris/types/AccountDetails.js +1 -0
  766. package/serialization/resources/hris/types/AccountDetailsAndActions.d.ts +1 -0
  767. package/serialization/resources/hris/types/AccountDetailsAndActions.js +1 -0
  768. package/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
  769. package/serialization/resources/hris/types/EventTypeEnum.js +6 -0
  770. package/serialization/resources/index.d.ts +1 -1
  771. package/serialization/resources/index.js +2 -2
  772. package/serialization/resources/ticketing/types/AccountDetails.d.ts +1 -0
  773. package/serialization/resources/ticketing/types/AccountDetails.js +1 -0
  774. package/serialization/resources/ticketing/types/AccountDetailsAndActions.d.ts +1 -0
  775. package/serialization/resources/ticketing/types/AccountDetailsAndActions.js +1 -0
  776. package/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
  777. package/serialization/resources/ticketing/types/EventTypeEnum.js +6 -0
  778. package/serialization/resources/ticketing/types/PaginatedRoleList.d.ts +14 -0
  779. package/serialization/resources/ticketing/types/PaginatedRoleList.js +46 -0
  780. package/serialization/resources/ticketing/types/Role.d.ts +21 -0
  781. package/serialization/resources/ticketing/types/Role.js +57 -0
  782. package/serialization/resources/ticketing/types/RoleTicketAccess.d.ts +10 -0
  783. package/serialization/resources/ticketing/types/RoleTicketAccess.js +43 -0
  784. package/serialization/resources/ticketing/types/RoleTicketActionsItem.d.ts +10 -0
  785. package/serialization/resources/ticketing/types/RoleTicketActionsItem.js +43 -0
  786. package/serialization/resources/ticketing/types/TicketAccessEnum.d.ts +10 -0
  787. package/serialization/resources/ticketing/types/TicketAccessEnum.js +31 -0
  788. package/serialization/resources/ticketing/types/TicketActionsEnum.d.ts +10 -0
  789. package/serialization/resources/ticketing/types/TicketActionsEnum.js +31 -0
  790. package/serialization/resources/ticketing/types/User.d.ts +1 -0
  791. package/serialization/resources/ticketing/types/User.js +3 -0
  792. package/serialization/resources/ticketing/types/UserRolesItem.d.ts +10 -0
  793. package/serialization/resources/ticketing/types/UserRolesItem.js +43 -0
  794. package/serialization/resources/ticketing/types/index.d.ts +7 -0
  795. 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,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface RolesRetrieveRequest {
5
+ /**
6
+ * Whether to include the original data Merge fetched from the third-party to produce these models.
7
+ */
8
+ includeRemoteData?: boolean;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { RolesListRequest } from "./RolesListRequest";
2
+ export { RolesRetrieveRequest } from "./RolesRetrieveRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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
  };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Merge from "../../..";
5
+ export interface PaginatedRoleList {
6
+ next?: string;
7
+ previous?: string;
8
+ results?: Merge.ticketing.Role[];
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,7 +5,7 @@ import * as Merge from "../../..";
5
5
  /**
6
6
  * # The Project Object
7
7
  * ### Description
8
- * The `Project` object is used to represent all projects within a company.
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