@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
@@ -6,5 +6,5 @@ import * as Merge from "../../../../api";
6
6
  import * as core from "../../../../core";
7
7
  export declare const EventTypeEnum: core.serialization.Schema<serializers.hris.EventTypeEnum.Raw, Merge.hris.EventTypeEnum>;
8
8
  export declare namespace EventTypeEnum {
9
- type Raw = "CREATED_REMOTE_PRODUCTION_API_KEY" | "DELETED_REMOTE_PRODUCTION_API_KEY" | "CREATED_TEST_API_KEY" | "DELETED_TEST_API_KEY" | "REGENERATED_PRODUCTION_API_KEY" | "INVITED_USER" | "TWO_FACTOR_AUTH_ENABLED" | "TWO_FACTOR_AUTH_DISABLED" | "DELETED_LINKED_ACCOUNT" | "CREATED_DESTINATION" | "DELETED_DESTINATION" | "CHANGED_SCOPES" | "CHANGED_PERSONAL_INFORMATION" | "CHANGED_ORGANIZATION_SETTINGS" | "ENABLED_INTEGRATION" | "DISABLED_INTEGRATION" | "ENABLED_CATEGORY" | "DISABLED_CATEGORY" | "CHANGED_PASSWORD" | "RESET_PASSWORD" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT";
9
+ type Raw = "CREATED_REMOTE_PRODUCTION_API_KEY" | "DELETED_REMOTE_PRODUCTION_API_KEY" | "CREATED_TEST_API_KEY" | "DELETED_TEST_API_KEY" | "REGENERATED_PRODUCTION_API_KEY" | "INVITED_USER" | "TWO_FACTOR_AUTH_ENABLED" | "TWO_FACTOR_AUTH_DISABLED" | "DELETED_LINKED_ACCOUNT" | "CREATED_DESTINATION" | "DELETED_DESTINATION" | "CHANGED_SCOPES" | "CHANGED_PERSONAL_INFORMATION" | "CHANGED_ORGANIZATION_SETTINGS" | "ENABLED_INTEGRATION" | "DISABLED_INTEGRATION" | "ENABLED_CATEGORY" | "DISABLED_CATEGORY" | "CHANGED_PASSWORD" | "RESET_PASSWORD" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" | "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" | "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" | "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" | "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" | "DELETED_LINKED_ACCOUNT_FIELD_MAPPING";
10
10
  }
@@ -53,4 +53,10 @@ exports.EventTypeEnum = core.serialization.enum_([
53
53
  "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT",
54
54
  "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION",
55
55
  "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT",
56
+ "CREATED_INTEGRATION_WIDE_FIELD_MAPPING",
57
+ "CREATED_LINKED_ACCOUNT_FIELD_MAPPING",
58
+ "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING",
59
+ "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING",
60
+ "DELETED_INTEGRATION_WIDE_FIELD_MAPPING",
61
+ "DELETED_LINKED_ACCOUNT_FIELD_MAPPING",
56
62
  ]);
@@ -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"));
@@ -17,5 +17,6 @@ export declare namespace AccountDetails {
17
17
  status?: string | null;
18
18
  webhook_listener_url?: string | null;
19
19
  is_duplicate?: boolean | null;
20
+ account_type?: string | null;
20
21
  }
21
22
  }
@@ -48,4 +48,5 @@ exports.AccountDetails = core.serialization.object({
48
48
  status: core.serialization.string().optional(),
49
49
  webhookListenerUrl: core.serialization.property("webhook_listener_url", core.serialization.string().optional()),
50
50
  isDuplicate: core.serialization.property("is_duplicate", core.serialization.boolean().optional()),
51
+ accountType: core.serialization.property("account_type", core.serialization.string().optional()),
51
52
  });
@@ -17,5 +17,6 @@ export declare namespace AccountDetailsAndActions {
17
17
  webhook_listener_url: string;
18
18
  is_duplicate?: boolean | null;
19
19
  integration?: serializers.ticketing.AccountDetailsAndActionsIntegration.Raw | null;
20
+ account_type: string;
20
21
  }
21
22
  }
@@ -50,4 +50,5 @@ exports.AccountDetailsAndActions = core.serialization.object({
50
50
  integration: core.serialization
51
51
  .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ticketing.AccountDetailsAndActionsIntegration; }))
52
52
  .optional(),
53
+ accountType: core.serialization.property("account_type", core.serialization.string()),
53
54
  });
@@ -6,5 +6,5 @@ import * as Merge from "../../../../api";
6
6
  import * as core from "../../../../core";
7
7
  export declare const EventTypeEnum: core.serialization.Schema<serializers.ticketing.EventTypeEnum.Raw, Merge.ticketing.EventTypeEnum>;
8
8
  export declare namespace EventTypeEnum {
9
- type Raw = "CREATED_REMOTE_PRODUCTION_API_KEY" | "DELETED_REMOTE_PRODUCTION_API_KEY" | "CREATED_TEST_API_KEY" | "DELETED_TEST_API_KEY" | "REGENERATED_PRODUCTION_API_KEY" | "INVITED_USER" | "TWO_FACTOR_AUTH_ENABLED" | "TWO_FACTOR_AUTH_DISABLED" | "DELETED_LINKED_ACCOUNT" | "CREATED_DESTINATION" | "DELETED_DESTINATION" | "CHANGED_SCOPES" | "CHANGED_PERSONAL_INFORMATION" | "CHANGED_ORGANIZATION_SETTINGS" | "ENABLED_INTEGRATION" | "DISABLED_INTEGRATION" | "ENABLED_CATEGORY" | "DISABLED_CATEGORY" | "CHANGED_PASSWORD" | "RESET_PASSWORD" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT";
9
+ type Raw = "CREATED_REMOTE_PRODUCTION_API_KEY" | "DELETED_REMOTE_PRODUCTION_API_KEY" | "CREATED_TEST_API_KEY" | "DELETED_TEST_API_KEY" | "REGENERATED_PRODUCTION_API_KEY" | "INVITED_USER" | "TWO_FACTOR_AUTH_ENABLED" | "TWO_FACTOR_AUTH_DISABLED" | "DELETED_LINKED_ACCOUNT" | "CREATED_DESTINATION" | "DELETED_DESTINATION" | "CHANGED_SCOPES" | "CHANGED_PERSONAL_INFORMATION" | "CHANGED_ORGANIZATION_SETTINGS" | "ENABLED_INTEGRATION" | "DISABLED_INTEGRATION" | "ENABLED_CATEGORY" | "DISABLED_CATEGORY" | "CHANGED_PASSWORD" | "RESET_PASSWORD" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" | "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" | "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" | "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" | "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" | "DELETED_LINKED_ACCOUNT_FIELD_MAPPING";
10
10
  }
@@ -53,4 +53,10 @@ exports.EventTypeEnum = core.serialization.enum_([
53
53
  "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT",
54
54
  "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION",
55
55
  "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT",
56
+ "CREATED_INTEGRATION_WIDE_FIELD_MAPPING",
57
+ "CREATED_LINKED_ACCOUNT_FIELD_MAPPING",
58
+ "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING",
59
+ "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING",
60
+ "DELETED_INTEGRATION_WIDE_FIELD_MAPPING",
61
+ "DELETED_LINKED_ACCOUNT_FIELD_MAPPING",
56
62
  ]);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const PaginatedRoleList: core.serialization.ObjectSchema<serializers.ticketing.PaginatedRoleList.Raw, Merge.ticketing.PaginatedRoleList>;
8
+ export declare namespace PaginatedRoleList {
9
+ interface Raw {
10
+ next?: string | null;
11
+ previous?: string | null;
12
+ results?: serializers.ticketing.Role.Raw[] | null;
13
+ }
14
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.PaginatedRoleList = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.PaginatedRoleList = core.serialization.object({
41
+ next: core.serialization.string().optional(),
42
+ previous: core.serialization.string().optional(),
43
+ results: core.serialization
44
+ .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ticketing.Role; })))
45
+ .optional(),
46
+ });
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const Role: core.serialization.ObjectSchema<serializers.ticketing.Role.Raw, Merge.ticketing.Role>;
8
+ export declare namespace Role {
9
+ interface Raw {
10
+ id?: string | null;
11
+ remote_id?: string | null;
12
+ name?: string | null;
13
+ ticket_actions?: (serializers.ticketing.RoleTicketActionsItem.Raw | null | undefined)[] | null;
14
+ ticket_access?: serializers.ticketing.RoleTicketAccess.Raw | null;
15
+ remote_was_deleted?: boolean | null;
16
+ created_at?: string | null;
17
+ modified_at?: string | null;
18
+ field_mappings?: Record<string, unknown> | null;
19
+ remote_data?: serializers.ticketing.RemoteData.Raw[] | null;
20
+ }
21
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.Role = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.Role = core.serialization.object({
41
+ id: core.serialization.string().optional(),
42
+ remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
43
+ name: core.serialization.string().optional(),
44
+ ticketActions: core.serialization.property("ticket_actions", core.serialization
45
+ .list(core.serialization
46
+ .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ticketing.RoleTicketActionsItem; }))
47
+ .optional())
48
+ .optional()),
49
+ ticketAccess: core.serialization.property("ticket_access", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ticketing.RoleTicketAccess; })).optional()),
50
+ remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
51
+ createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
52
+ modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
53
+ fieldMappings: core.serialization.property("field_mappings", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
54
+ remoteData: core.serialization.property("remote_data", core.serialization
55
+ .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ticketing.RemoteData; })))
56
+ .optional()),
57
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const RoleTicketAccess: core.serialization.Schema<serializers.ticketing.RoleTicketAccess.Raw, Merge.ticketing.RoleTicketAccess>;
8
+ export declare namespace RoleTicketAccess {
9
+ type Raw = string | serializers.ticketing.TicketAccessEnum.Raw;
10
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.RoleTicketAccess = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.RoleTicketAccess = core.serialization.undiscriminatedUnion([
41
+ core.serialization.string(),
42
+ core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ticketing.TicketAccessEnum; })),
43
+ ]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const RoleTicketActionsItem: core.serialization.Schema<serializers.ticketing.RoleTicketActionsItem.Raw, Merge.ticketing.RoleTicketActionsItem>;
8
+ export declare namespace RoleTicketActionsItem {
9
+ type Raw = string | serializers.ticketing.TicketActionsEnum.Raw;
10
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.RoleTicketActionsItem = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.RoleTicketActionsItem = core.serialization.undiscriminatedUnion([
41
+ core.serialization.string(),
42
+ core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ticketing.TicketActionsEnum; })),
43
+ ]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const TicketAccessEnum: core.serialization.Schema<serializers.ticketing.TicketAccessEnum.Raw, Merge.ticketing.TicketAccessEnum>;
8
+ export declare namespace TicketAccessEnum {
9
+ type Raw = "ALL" | "ASSIGNED_ONLY" | "TEAM_ONLY";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TicketAccessEnum = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.TicketAccessEnum = core.serialization.enum_(["ALL", "ASSIGNED_ONLY", "TEAM_ONLY"]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const TicketActionsEnum: core.serialization.Schema<serializers.ticketing.TicketActionsEnum.Raw, Merge.ticketing.TicketActionsEnum>;
8
+ export declare namespace TicketActionsEnum {
9
+ type Raw = "VIEW" | "CREATE" | "EDIT" | "DELETE" | "CLOSE" | "ASSIGN";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TicketActionsEnum = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.TicketActionsEnum = core.serialization.enum_(["VIEW", "CREATE", "EDIT", "DELETE", "CLOSE", "ASSIGN"]);
@@ -13,6 +13,7 @@ export declare namespace User {
13
13
  email_address?: string | null;
14
14
  is_active?: boolean | null;
15
15
  teams?: (serializers.ticketing.UserTeamsItem.Raw | null | undefined)[] | null;
16
+ roles?: (serializers.ticketing.UserRolesItem.Raw | null | undefined)[] | null;
16
17
  avatar?: string | null;
17
18
  remote_was_deleted?: boolean | null;
18
19
  created_at?: string | null;
@@ -46,6 +46,9 @@ exports.User = core.serialization.object({
46
46
  teams: core.serialization
47
47
  .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ticketing.UserTeamsItem; })).optional())
48
48
  .optional(),
49
+ roles: core.serialization
50
+ .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ticketing.UserRolesItem; })).optional())
51
+ .optional(),
49
52
  avatar: core.serialization.string().optional(),
50
53
  remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
51
54
  createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const UserRolesItem: core.serialization.Schema<serializers.ticketing.UserRolesItem.Raw, Merge.ticketing.UserRolesItem>;
8
+ export declare namespace UserRolesItem {
9
+ type Raw = string | serializers.ticketing.Role.Raw;
10
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.UserRolesItem = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.UserRolesItem = core.serialization.undiscriminatedUnion([
41
+ core.serialization.string(),
42
+ core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ticketing.Role; })),
43
+ ]);
@@ -93,6 +93,7 @@ export * from "./PaginatedContactList";
93
93
  export * from "./PaginatedIssueList";
94
94
  export * from "./PaginatedProjectList";
95
95
  export * from "./PaginatedRemoteFieldClassList";
96
+ export * from "./PaginatedRoleList";
96
97
  export * from "./PaginatedSyncStatusList";
97
98
  export * from "./PaginatedTagList";
98
99
  export * from "./PaginatedTeamList";
@@ -116,6 +117,9 @@ export * from "./RemoteKey";
116
117
  export * from "./RemoteResponse";
117
118
  export * from "./RequestFormatEnum";
118
119
  export * from "./ResponseTypeEnum";
120
+ export * from "./Role";
121
+ export * from "./RoleTicketActionsItem";
122
+ export * from "./RoleTicketAccess";
119
123
  export * from "./RoleEnum";
120
124
  export * from "./SelectiveSyncConfigurationsUsageEnum";
121
125
  export * from "./SyncStatus";
@@ -132,6 +136,8 @@ export * from "./TicketContact";
132
136
  export * from "./TicketParentTicket";
133
137
  export * from "./TicketAttachmentsItem";
134
138
  export * from "./TicketPriority";
139
+ export * from "./TicketAccessEnum";
140
+ export * from "./TicketActionsEnum";
135
141
  export * from "./TicketRequest";
136
142
  export * from "./TicketRequestAssigneesItem";
137
143
  export * from "./TicketRequestCreator";
@@ -147,6 +153,7 @@ export * from "./TicketStatusEnum";
147
153
  export * from "./TicketingAttachmentResponse";
148
154
  export * from "./User";
149
155
  export * from "./UserTeamsItem";
156
+ export * from "./UserRolesItem";
150
157
  export * from "./ValidationProblemSource";
151
158
  export * from "./WarningValidationProblem";
152
159
  export * from "./WebhookReceiver";
@@ -109,6 +109,7 @@ __exportStar(require("./PaginatedContactList"), exports);
109
109
  __exportStar(require("./PaginatedIssueList"), exports);
110
110
  __exportStar(require("./PaginatedProjectList"), exports);
111
111
  __exportStar(require("./PaginatedRemoteFieldClassList"), exports);
112
+ __exportStar(require("./PaginatedRoleList"), exports);
112
113
  __exportStar(require("./PaginatedSyncStatusList"), exports);
113
114
  __exportStar(require("./PaginatedTagList"), exports);
114
115
  __exportStar(require("./PaginatedTeamList"), exports);
@@ -132,6 +133,9 @@ __exportStar(require("./RemoteKey"), exports);
132
133
  __exportStar(require("./RemoteResponse"), exports);
133
134
  __exportStar(require("./RequestFormatEnum"), exports);
134
135
  __exportStar(require("./ResponseTypeEnum"), exports);
136
+ __exportStar(require("./Role"), exports);
137
+ __exportStar(require("./RoleTicketActionsItem"), exports);
138
+ __exportStar(require("./RoleTicketAccess"), exports);
135
139
  __exportStar(require("./RoleEnum"), exports);
136
140
  __exportStar(require("./SelectiveSyncConfigurationsUsageEnum"), exports);
137
141
  __exportStar(require("./SyncStatus"), exports);
@@ -148,6 +152,8 @@ __exportStar(require("./TicketContact"), exports);
148
152
  __exportStar(require("./TicketParentTicket"), exports);
149
153
  __exportStar(require("./TicketAttachmentsItem"), exports);
150
154
  __exportStar(require("./TicketPriority"), exports);
155
+ __exportStar(require("./TicketAccessEnum"), exports);
156
+ __exportStar(require("./TicketActionsEnum"), exports);
151
157
  __exportStar(require("./TicketRequest"), exports);
152
158
  __exportStar(require("./TicketRequestAssigneesItem"), exports);
153
159
  __exportStar(require("./TicketRequestCreator"), exports);
@@ -163,6 +169,7 @@ __exportStar(require("./TicketStatusEnum"), exports);
163
169
  __exportStar(require("./TicketingAttachmentResponse"), exports);
164
170
  __exportStar(require("./User"), exports);
165
171
  __exportStar(require("./UserTeamsItem"), exports);
172
+ __exportStar(require("./UserRolesItem"), exports);
166
173
  __exportStar(require("./ValidationProblemSource"), exports);
167
174
  __exportStar(require("./WarningValidationProblem"), exports);
168
175
  __exportStar(require("./WebhookReceiver"), exports);
package/environments.d.ts CHANGED
@@ -4,5 +4,6 @@
4
4
  export declare const MergeEnvironment: {
5
5
  readonly Production: "https://api.merge.dev";
6
6
  readonly Sandbox: "https://api-sandbox.merge.dev";
7
+ readonly ProductionEu: "https://api-eu.merge.dev";
7
8
  };
8
- export declare type MergeEnvironment = typeof MergeEnvironment.Production | typeof MergeEnvironment.Sandbox;
9
+ export declare type MergeEnvironment = typeof MergeEnvironment.Production | typeof MergeEnvironment.Sandbox | typeof MergeEnvironment.ProductionEu;
package/environments.js CHANGED
@@ -7,4 +7,5 @@ exports.MergeEnvironment = void 0;
7
7
  exports.MergeEnvironment = {
8
8
  Production: "https://api.merge.dev",
9
9
  Sandbox: "https://api-sandbox.merge.dev",
10
+ ProductionEu: "https://api-eu.merge.dev",
10
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mergeapi/merge-node-client",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "repository": "https://github.com/merge-api/merge-node-client",
6
6
  "main": "./index.js",
@@ -17,5 +17,6 @@ export declare namespace AccountDetails {
17
17
  status?: string | null;
18
18
  webhook_listener_url?: string | null;
19
19
  is_duplicate?: boolean | null;
20
+ account_type?: string | null;
20
21
  }
21
22
  }
@@ -48,4 +48,5 @@ exports.AccountDetails = core.serialization.object({
48
48
  status: core.serialization.string().optional(),
49
49
  webhookListenerUrl: core.serialization.property("webhook_listener_url", core.serialization.string().optional()),
50
50
  isDuplicate: core.serialization.property("is_duplicate", core.serialization.boolean().optional()),
51
+ accountType: core.serialization.property("account_type", core.serialization.string().optional()),
51
52
  });