@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
@@ -126,7 +126,7 @@ class TimeOff {
126
126
  : undefined,
127
127
  "X-Fern-Language": "JavaScript",
128
128
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
129
- "X-Fern-SDK-Version": "1.0.1",
129
+ "X-Fern-SDK-Version": "1.0.3",
130
130
  },
131
131
  contentType: "application/json",
132
132
  queryParameters: _queryParams,
@@ -185,7 +185,7 @@ class TimeOff {
185
185
  : undefined,
186
186
  "X-Fern-Language": "JavaScript",
187
187
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
188
- "X-Fern-SDK-Version": "1.0.1",
188
+ "X-Fern-SDK-Version": "1.0.3",
189
189
  },
190
190
  contentType: "application/json",
191
191
  queryParameters: _queryParams,
@@ -251,7 +251,7 @@ class TimeOff {
251
251
  : undefined,
252
252
  "X-Fern-Language": "JavaScript",
253
253
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
254
- "X-Fern-SDK-Version": "1.0.1",
254
+ "X-Fern-SDK-Version": "1.0.3",
255
255
  },
256
256
  contentType: "application/json",
257
257
  queryParameters: _queryParams,
@@ -302,7 +302,7 @@ class TimeOff {
302
302
  : undefined,
303
303
  "X-Fern-Language": "JavaScript",
304
304
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
305
- "X-Fern-SDK-Version": "1.0.1",
305
+ "X-Fern-SDK-Version": "1.0.3",
306
306
  },
307
307
  contentType: "application/json",
308
308
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -109,7 +109,7 @@ class TimeOffBalances {
109
109
  : undefined,
110
110
  "X-Fern-Language": "JavaScript",
111
111
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
112
- "X-Fern-SDK-Version": "1.0.1",
112
+ "X-Fern-SDK-Version": "1.0.3",
113
113
  },
114
114
  contentType: "application/json",
115
115
  queryParameters: _queryParams,
@@ -174,7 +174,7 @@ class TimeOffBalances {
174
174
  : undefined,
175
175
  "X-Fern-Language": "JavaScript",
176
176
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
177
- "X-Fern-SDK-Version": "1.0.1",
177
+ "X-Fern-SDK-Version": "1.0.3",
178
178
  },
179
179
  contentType: "application/json",
180
180
  queryParameters: _queryParams,
@@ -123,7 +123,7 @@ class TimesheetEntries {
123
123
  : undefined,
124
124
  "X-Fern-Language": "JavaScript",
125
125
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
126
- "X-Fern-SDK-Version": "1.0.1",
126
+ "X-Fern-SDK-Version": "1.0.3",
127
127
  },
128
128
  contentType: "application/json",
129
129
  queryParameters: _queryParams,
@@ -182,7 +182,7 @@ class TimesheetEntries {
182
182
  : undefined,
183
183
  "X-Fern-Language": "JavaScript",
184
184
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
185
- "X-Fern-SDK-Version": "1.0.1",
185
+ "X-Fern-SDK-Version": "1.0.3",
186
186
  },
187
187
  contentType: "application/json",
188
188
  queryParameters: _queryParams,
@@ -241,7 +241,7 @@ class TimesheetEntries {
241
241
  : undefined,
242
242
  "X-Fern-Language": "JavaScript",
243
243
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
244
- "X-Fern-SDK-Version": "1.0.1",
244
+ "X-Fern-SDK-Version": "1.0.3",
245
245
  },
246
246
  contentType: "application/json",
247
247
  queryParameters: _queryParams,
@@ -292,7 +292,7 @@ class TimesheetEntries {
292
292
  : undefined,
293
293
  "X-Fern-Language": "JavaScript",
294
294
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
295
- "X-Fern-SDK-Version": "1.0.1",
295
+ "X-Fern-SDK-Version": "1.0.3",
296
296
  },
297
297
  contentType: "application/json",
298
298
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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.hris.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.hris.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.hris.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.hris.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
  };
@@ -1,6 +1,6 @@
1
1
  export * as ats from "./ats";
2
2
  export * as crm from "./crm";
3
- export * as hris from "./hris";
4
3
  export * as filestorage from "./filestorage";
4
+ export * as hris from "./hris";
5
5
  export * as ticketing from "./ticketing";
6
6
  export * as accounting from "./accounting";
@@ -23,10 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.accounting = exports.ticketing = exports.filestorage = exports.hris = exports.crm = exports.ats = void 0;
26
+ exports.accounting = exports.ticketing = exports.hris = exports.filestorage = exports.crm = exports.ats = void 0;
27
27
  exports.ats = __importStar(require("./ats"));
28
28
  exports.crm = __importStar(require("./crm"));
29
- exports.hris = __importStar(require("./hris"));
30
29
  exports.filestorage = __importStar(require("./filestorage"));
30
+ exports.hris = __importStar(require("./hris"));
31
31
  exports.ticketing = __importStar(require("./ticketing"));
32
32
  exports.accounting = __importStar(require("./accounting"));
@@ -21,6 +21,7 @@ import { LinkedAccounts } from "../resources/linkedAccounts/client/Client";
21
21
  import { Passthrough } from "../resources/passthrough/client/Client";
22
22
  import { Projects } from "../resources/projects/client/Client";
23
23
  import { RegenerateKey } from "../resources/regenerateKey/client/Client";
24
+ import { Roles } from "../resources/roles/client/Client";
24
25
  import { SelectiveSync } from "../resources/selectiveSync/client/Client";
25
26
  import { SyncStatus } from "../resources/syncStatus/client/Client";
26
27
  import { ForceResync } from "../resources/forceResync/client/Client";
@@ -78,6 +79,8 @@ export declare class Ticketing {
78
79
  get projects(): Projects;
79
80
  protected _regenerateKey: RegenerateKey | undefined;
80
81
  get regenerateKey(): RegenerateKey;
82
+ protected _roles: Roles | undefined;
83
+ get roles(): Roles;
81
84
  protected _selectiveSync: SelectiveSync | undefined;
82
85
  get selectiveSync(): SelectiveSync;
83
86
  protected _syncStatus: SyncStatus | undefined;
@@ -22,14 +22,15 @@ const Client_15 = require("../resources/linkedAccounts/client/Client");
22
22
  const Client_16 = require("../resources/passthrough/client/Client");
23
23
  const Client_17 = require("../resources/projects/client/Client");
24
24
  const Client_18 = require("../resources/regenerateKey/client/Client");
25
- const Client_19 = require("../resources/selectiveSync/client/Client");
26
- const Client_20 = require("../resources/syncStatus/client/Client");
27
- const Client_21 = require("../resources/forceResync/client/Client");
28
- const Client_22 = require("../resources/tags/client/Client");
29
- const Client_23 = require("../resources/teams/client/Client");
30
- const Client_24 = require("../resources/tickets/client/Client");
31
- const Client_25 = require("../resources/users/client/Client");
32
- const Client_26 = require("../resources/webhookReceivers/client/Client");
25
+ const Client_19 = require("../resources/roles/client/Client");
26
+ const Client_20 = require("../resources/selectiveSync/client/Client");
27
+ const Client_21 = require("../resources/syncStatus/client/Client");
28
+ const Client_22 = require("../resources/forceResync/client/Client");
29
+ const Client_23 = require("../resources/tags/client/Client");
30
+ const Client_24 = require("../resources/teams/client/Client");
31
+ const Client_25 = require("../resources/tickets/client/Client");
32
+ const Client_26 = require("../resources/users/client/Client");
33
+ const Client_27 = require("../resources/webhookReceivers/client/Client");
33
34
  class Ticketing {
34
35
  constructor(_options) {
35
36
  this._options = _options;
@@ -106,37 +107,41 @@ class Ticketing {
106
107
  var _a;
107
108
  return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new Client_18.RegenerateKey(this._options)));
108
109
  }
110
+ get roles() {
111
+ var _a;
112
+ return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new Client_19.Roles(this._options)));
113
+ }
109
114
  get selectiveSync() {
110
115
  var _a;
111
- return ((_a = this._selectiveSync) !== null && _a !== void 0 ? _a : (this._selectiveSync = new Client_19.SelectiveSync(this._options)));
116
+ return ((_a = this._selectiveSync) !== null && _a !== void 0 ? _a : (this._selectiveSync = new Client_20.SelectiveSync(this._options)));
112
117
  }
113
118
  get syncStatus() {
114
119
  var _a;
115
- return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new Client_20.SyncStatus(this._options)));
120
+ return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new Client_21.SyncStatus(this._options)));
116
121
  }
117
122
  get forceResync() {
118
123
  var _a;
119
- return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new Client_21.ForceResync(this._options)));
124
+ return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new Client_22.ForceResync(this._options)));
120
125
  }
121
126
  get tags() {
122
127
  var _a;
123
- return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_22.Tags(this._options)));
128
+ return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_23.Tags(this._options)));
124
129
  }
125
130
  get teams() {
126
131
  var _a;
127
- return ((_a = this._teams) !== null && _a !== void 0 ? _a : (this._teams = new Client_23.Teams(this._options)));
132
+ return ((_a = this._teams) !== null && _a !== void 0 ? _a : (this._teams = new Client_24.Teams(this._options)));
128
133
  }
129
134
  get tickets() {
130
135
  var _a;
131
- return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new Client_24.Tickets(this._options)));
136
+ return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new Client_25.Tickets(this._options)));
132
137
  }
133
138
  get users() {
134
139
  var _a;
135
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_25.Users(this._options)));
140
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_26.Users(this._options)));
136
141
  }
137
142
  get webhookReceivers() {
138
143
  var _a;
139
- return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new Client_26.WebhookReceivers(this._options)));
144
+ return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new Client_27.WebhookReceivers(this._options)));
140
145
  }
141
146
  }
142
147
  exports.Ticketing = Ticketing;
@@ -64,7 +64,7 @@ class AccountDetails {
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,
@@ -64,7 +64,7 @@ class AccountToken {
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,
@@ -94,7 +94,7 @@ class Accounts {
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 Accounts {
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,
@@ -64,7 +64,7 @@ class AsyncPassthrough {
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
  body: yield serializers.ticketing.DataPassthroughRequest.jsonOrThrow(request, {
@@ -117,7 +117,7 @@ class AsyncPassthrough {
117
117
  : undefined,
118
118
  "X-Fern-Language": "JavaScript",
119
119
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
120
- "X-Fern-SDK-Version": "1.0.1",
120
+ "X-Fern-SDK-Version": "1.0.3",
121
121
  },
122
122
  contentType: "application/json",
123
123
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -34,7 +34,7 @@ export declare class Attachments {
34
34
  /**
35
35
  * Returns an `Attachment` object with the given `id`.
36
36
  */
37
- downloadRetrieve(id: string, requestOptions?: Attachments.RequestOptions): Promise<stream.Readable>;
37
+ downloadRetrieve(id: string, request?: Merge.ticketing.AttachmentsDownloadRetrieveRequest, requestOptions?: Attachments.RequestOptions): Promise<stream.Readable>;
38
38
  /**
39
39
  * Returns metadata for `TicketingAttachment` POSTs.
40
40
  */
@@ -114,7 +114,7 @@ class Attachments {
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
  queryParameters: _queryParams,
@@ -173,7 +173,7 @@ class Attachments {
173
173
  : undefined,
174
174
  "X-Fern-Language": "JavaScript",
175
175
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
176
- "X-Fern-SDK-Version": "1.0.1",
176
+ "X-Fern-SDK-Version": "1.0.3",
177
177
  },
178
178
  contentType: "application/json",
179
179
  queryParameters: _queryParams,
@@ -235,7 +235,7 @@ class Attachments {
235
235
  : undefined,
236
236
  "X-Fern-Language": "JavaScript",
237
237
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
238
- "X-Fern-SDK-Version": "1.0.1",
238
+ "X-Fern-SDK-Version": "1.0.3",
239
239
  },
240
240
  contentType: "application/json",
241
241
  queryParameters: _queryParams,
@@ -273,9 +273,14 @@ class Attachments {
273
273
  /**
274
274
  * Returns an `Attachment` object with the given `id`.
275
275
  */
276
- downloadRetrieve(id, requestOptions) {
276
+ downloadRetrieve(id, request = {}, requestOptions) {
277
277
  var _a;
278
278
  return __awaiter(this, void 0, void 0, function* () {
279
+ const { mimeType } = request;
280
+ const _queryParams = new url_search_params_1.default();
281
+ if (mimeType != null) {
282
+ _queryParams.append("mime_type", mimeType);
283
+ }
279
284
  const _response = yield core.streamingFetcher({
280
285
  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/attachments/${id}/download`),
281
286
  method: "GET",
@@ -286,8 +291,9 @@ class Attachments {
286
291
  : undefined,
287
292
  "X-Fern-Language": "JavaScript",
288
293
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
289
- "X-Fern-SDK-Version": "1.0.1",
294
+ "X-Fern-SDK-Version": "1.0.3",
290
295
  },
296
+ queryParameters: _queryParams,
291
297
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
292
298
  onError: (error) => {
293
299
  throw new errors.MergeError({
@@ -314,7 +320,7 @@ class Attachments {
314
320
  : undefined,
315
321
  "X-Fern-Language": "JavaScript",
316
322
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
317
- "X-Fern-SDK-Version": "1.0.1",
323
+ "X-Fern-SDK-Version": "1.0.3",
318
324
  },
319
325
  contentType: "application/json",
320
326
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AttachmentsDownloadRetrieveRequest {
5
+ /**
6
+ * If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our <a href='https://help.merge.dev/en/articles/8615316-file-export-and-download-specification' target='_blank'>export format help center article</a>.
7
+ */
8
+ mimeType?: string;
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 });
@@ -1,3 +1,4 @@
1
1
  export { AttachmentsListRequest } from "./AttachmentsListRequest";
2
2
  export { TicketingAttachmentEndpointRequest } from "./TicketingAttachmentEndpointRequest";
3
3
  export { AttachmentsRetrieveRequest } from "./AttachmentsRetrieveRequest";
4
+ export { AttachmentsDownloadRetrieveRequest } from "./AttachmentsDownloadRetrieveRequest";
@@ -85,7 +85,7 @@ class AuditTrail {
85
85
  : undefined,
86
86
  "X-Fern-Language": "JavaScript",
87
87
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
88
- "X-Fern-SDK-Version": "1.0.1",
88
+ "X-Fern-SDK-Version": "1.0.3",
89
89
  },
90
90
  contentType: "application/json",
91
91
  queryParameters: _queryParams,
@@ -7,11 +7,11 @@ export interface AuditTrailListRequest {
7
7
  */
8
8
  cursor?: string;
9
9
  /**
10
- * If included, will only include audit trail events that occured before this time
10
+ * If included, will only include audit trail events that occurred before this time
11
11
  */
12
12
  endDate?: string;
13
13
  /**
14
- * If included, will only include events with the given event type. Possible values include: `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`
14
+ * If included, will only include events with the given event type. Possible values include: `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`
15
15
  */
16
16
  eventType?: string;
17
17
  /**
@@ -19,7 +19,7 @@ export interface AuditTrailListRequest {
19
19
  */
20
20
  pageSize?: number;
21
21
  /**
22
- * If included, will only include audit trail events that occured after this time
22
+ * If included, will only include audit trail events that occurred after this time
23
23
  */
24
24
  startDate?: string;
25
25
  /**
@@ -64,7 +64,7 @@ class AvailableActions {
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,
@@ -109,7 +109,7 @@ class Collections {
109
109
  : undefined,
110
110
  "X-Fern-Language": "JavaScript",
111
111
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
112
- "X-Fern-SDK-Version": "1.0.1",
112
+ "X-Fern-SDK-Version": "1.0.3",
113
113
  },
114
114
  contentType: "application/json",
115
115
  queryParameters: _queryParams,
@@ -174,7 +174,7 @@ class Collections {
174
174
  : undefined,
175
175
  "X-Fern-Language": "JavaScript",
176
176
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
177
- "X-Fern-SDK-Version": "1.0.1",
177
+ "X-Fern-SDK-Version": "1.0.3",
178
178
  },
179
179
  contentType: "application/json",
180
180
  queryParameters: _queryParams,
@@ -242,7 +242,7 @@ class Collections {
242
242
  : undefined,
243
243
  "X-Fern-Language": "JavaScript",
244
244
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
245
- "X-Fern-SDK-Version": "1.0.1",
245
+ "X-Fern-SDK-Version": "1.0.3",
246
246
  },
247
247
  contentType: "application/json",
248
248
  queryParameters: _queryParams,
@@ -114,7 +114,7 @@ class Comments {
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
  queryParameters: _queryParams,
@@ -173,7 +173,7 @@ class Comments {
173
173
  : undefined,
174
174
  "X-Fern-Language": "JavaScript",
175
175
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
176
- "X-Fern-SDK-Version": "1.0.1",
176
+ "X-Fern-SDK-Version": "1.0.3",
177
177
  },
178
178
  contentType: "application/json",
179
179
  queryParameters: _queryParams,
@@ -235,7 +235,7 @@ class Comments {
235
235
  : undefined,
236
236
  "X-Fern-Language": "JavaScript",
237
237
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
238
- "X-Fern-SDK-Version": "1.0.1",
238
+ "X-Fern-SDK-Version": "1.0.3",
239
239
  },
240
240
  contentType: "application/json",
241
241
  queryParameters: _queryParams,
@@ -286,7 +286,7 @@ class Comments {
286
286
  : undefined,
287
287
  "X-Fern-Language": "JavaScript",
288
288
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
289
- "X-Fern-SDK-Version": "1.0.1",
289
+ "X-Fern-SDK-Version": "1.0.3",
290
290
  },
291
291
  contentType: "application/json",
292
292
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -97,7 +97,7 @@ class Contacts {
97
97
  : undefined,
98
98
  "X-Fern-Language": "JavaScript",
99
99
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
100
- "X-Fern-SDK-Version": "1.0.1",
100
+ "X-Fern-SDK-Version": "1.0.3",
101
101
  },
102
102
  contentType: "application/json",
103
103
  queryParameters: _queryParams,
@@ -156,7 +156,7 @@ class Contacts {
156
156
  : undefined,
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
159
- "X-Fern-SDK-Version": "1.0.1",
159
+ "X-Fern-SDK-Version": "1.0.3",
160
160
  },
161
161
  contentType: "application/json",
162
162
  queryParameters: _queryParams,
@@ -63,7 +63,7 @@ class DeleteAccount {
63
63
  : undefined,
64
64
  "X-Fern-Language": "JavaScript",
65
65
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
66
- "X-Fern-SDK-Version": "1.0.1",
66
+ "X-Fern-SDK-Version": "1.0.3",
67
67
  },
68
68
  contentType: "application/json",
69
69
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -64,7 +64,7 @@ class ForceResync {
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,