@keystrokehq/freshdesk 0.1.1 → 0.1.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 (1201) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-note-to-ticket.cjs +22 -22
  4. package/dist/actions/add-note-to-ticket.cjs.map +1 -1
  5. package/dist/actions/add-note-to-ticket.d.cts +23 -45
  6. package/dist/actions/add-note-to-ticket.d.mts +23 -45
  7. package/dist/actions/add-note-to-ticket.mjs +22 -22
  8. package/dist/actions/add-note-to-ticket.mjs.map +1 -1
  9. package/dist/actions/add-ticket-user-access.cjs +4 -4
  10. package/dist/actions/add-ticket-user-access.cjs.map +1 -1
  11. package/dist/actions/add-ticket-user-access.d.cts +5 -9
  12. package/dist/actions/add-ticket-user-access.d.mts +5 -9
  13. package/dist/actions/add-ticket-user-access.mjs +4 -4
  14. package/dist/actions/add-ticket-user-access.mjs.map +1 -1
  15. package/dist/actions/add-watcher.cjs +3 -3
  16. package/dist/actions/add-watcher.cjs.map +1 -1
  17. package/dist/actions/add-watcher.d.cts +4 -7
  18. package/dist/actions/add-watcher.d.mts +4 -7
  19. package/dist/actions/add-watcher.mjs +3 -3
  20. package/dist/actions/add-watcher.mjs.map +1 -1
  21. package/dist/actions/bulk-unwatch-tickets.cjs +9 -9
  22. package/dist/actions/bulk-unwatch-tickets.cjs.map +1 -1
  23. package/dist/actions/bulk-unwatch-tickets.d.cts +10 -23
  24. package/dist/actions/bulk-unwatch-tickets.d.mts +10 -23
  25. package/dist/actions/bulk-unwatch-tickets.mjs +9 -9
  26. package/dist/actions/bulk-unwatch-tickets.mjs.map +1 -1
  27. package/dist/actions/bulk-update-tickets.cjs +1 -1
  28. package/dist/actions/bulk-update-tickets.cjs.map +1 -1
  29. package/dist/actions/bulk-update-tickets.d.cts +2 -5
  30. package/dist/actions/bulk-update-tickets.d.mts +2 -5
  31. package/dist/actions/bulk-update-tickets.mjs +1 -1
  32. package/dist/actions/bulk-update-tickets.mjs.map +1 -1
  33. package/dist/actions/cancel-contact-import.cjs +10 -10
  34. package/dist/actions/cancel-contact-import.cjs.map +1 -1
  35. package/dist/actions/cancel-contact-import.d.cts +11 -21
  36. package/dist/actions/cancel-contact-import.d.mts +11 -21
  37. package/dist/actions/cancel-contact-import.mjs +10 -10
  38. package/dist/actions/cancel-contact-import.mjs.map +1 -1
  39. package/dist/actions/create-admin-group.cjs +15 -15
  40. package/dist/actions/create-admin-group.cjs.map +1 -1
  41. package/dist/actions/create-admin-group.d.cts +17 -33
  42. package/dist/actions/create-admin-group.d.mts +17 -33
  43. package/dist/actions/create-admin-group.mjs +15 -15
  44. package/dist/actions/create-admin-group.mjs.map +1 -1
  45. package/dist/actions/create-admin-ticket-field-section.cjs +9 -9
  46. package/dist/actions/create-admin-ticket-field-section.cjs.map +1 -1
  47. package/dist/actions/create-admin-ticket-field-section.d.cts +10 -19
  48. package/dist/actions/create-admin-ticket-field-section.d.mts +10 -19
  49. package/dist/actions/create-admin-ticket-field-section.mjs +9 -9
  50. package/dist/actions/create-admin-ticket-field-section.mjs.map +1 -1
  51. package/dist/actions/create-admin-ticket-field.cjs +18 -18
  52. package/dist/actions/create-admin-ticket-field.cjs.map +1 -1
  53. package/dist/actions/create-admin-ticket-field.d.cts +20 -37
  54. package/dist/actions/create-admin-ticket-field.d.mts +20 -37
  55. package/dist/actions/create-admin-ticket-field.mjs +18 -18
  56. package/dist/actions/create-admin-ticket-field.mjs.map +1 -1
  57. package/dist/actions/create-admin.cjs +14 -14
  58. package/dist/actions/create-admin.cjs.map +1 -1
  59. package/dist/actions/create-admin.d.cts +15 -29
  60. package/dist/actions/create-admin.d.mts +15 -29
  61. package/dist/actions/create-admin.mjs +14 -14
  62. package/dist/actions/create-admin.mjs.map +1 -1
  63. package/dist/actions/create-agents.cjs +4 -4
  64. package/dist/actions/create-agents.cjs.map +1 -1
  65. package/dist/actions/create-agents.d.cts +6 -8
  66. package/dist/actions/create-agents.d.mts +6 -8
  67. package/dist/actions/create-agents.mjs +4 -4
  68. package/dist/actions/create-agents.mjs.map +1 -1
  69. package/dist/actions/create-canned-response-bulk.cjs +2 -2
  70. package/dist/actions/create-canned-response-bulk.cjs.map +1 -1
  71. package/dist/actions/create-canned-response-bulk.d.cts +4 -6
  72. package/dist/actions/create-canned-response-bulk.d.mts +4 -6
  73. package/dist/actions/create-canned-response-bulk.mjs +2 -2
  74. package/dist/actions/create-canned-response-bulk.mjs.map +1 -1
  75. package/dist/actions/create-canned-response-folder.cjs +1 -1
  76. package/dist/actions/create-canned-response-folder.cjs.map +1 -1
  77. package/dist/actions/create-canned-response-folder.d.cts +2 -5
  78. package/dist/actions/create-canned-response-folder.d.mts +2 -5
  79. package/dist/actions/create-canned-response-folder.mjs +1 -1
  80. package/dist/actions/create-canned-response-folder.mjs.map +1 -1
  81. package/dist/actions/create-canned-response.cjs +20 -20
  82. package/dist/actions/create-canned-response.cjs.map +1 -1
  83. package/dist/actions/create-canned-response.d.cts +21 -41
  84. package/dist/actions/create-canned-response.d.mts +21 -41
  85. package/dist/actions/create-canned-response.mjs +20 -20
  86. package/dist/actions/create-canned-response.mjs.map +1 -1
  87. package/dist/actions/create-companies.cjs +15 -15
  88. package/dist/actions/create-companies.cjs.map +1 -1
  89. package/dist/actions/create-companies.d.cts +16 -31
  90. package/dist/actions/create-companies.d.cts.map +1 -1
  91. package/dist/actions/create-companies.d.mts +16 -31
  92. package/dist/actions/create-companies.d.mts.map +1 -1
  93. package/dist/actions/create-companies.mjs +15 -15
  94. package/dist/actions/create-companies.mjs.map +1 -1
  95. package/dist/actions/create-contact-fields.cjs +21 -21
  96. package/dist/actions/create-contact-fields.cjs.map +1 -1
  97. package/dist/actions/create-contact-fields.d.cts +23 -45
  98. package/dist/actions/create-contact-fields.d.cts.map +1 -1
  99. package/dist/actions/create-contact-fields.d.mts +23 -45
  100. package/dist/actions/create-contact-fields.d.mts.map +1 -1
  101. package/dist/actions/create-contact-fields.mjs +21 -21
  102. package/dist/actions/create-contact-fields.mjs.map +1 -1
  103. package/dist/actions/create-contact.cjs +45 -45
  104. package/dist/actions/create-contact.cjs.map +1 -1
  105. package/dist/actions/create-contact.d.cts +47 -91
  106. package/dist/actions/create-contact.d.cts.map +1 -1
  107. package/dist/actions/create-contact.d.mts +47 -91
  108. package/dist/actions/create-contact.d.mts.map +1 -1
  109. package/dist/actions/create-contact.mjs +45 -45
  110. package/dist/actions/create-contact.mjs.map +1 -1
  111. package/dist/actions/create-discussion-category.cjs +3 -3
  112. package/dist/actions/create-discussion-category.cjs.map +1 -1
  113. package/dist/actions/create-discussion-category.d.cts +4 -12
  114. package/dist/actions/create-discussion-category.d.mts +4 -12
  115. package/dist/actions/create-discussion-category.mjs +3 -3
  116. package/dist/actions/create-discussion-category.mjs.map +1 -1
  117. package/dist/actions/create-discussion-forum-topic.cjs +17 -17
  118. package/dist/actions/create-discussion-forum-topic.cjs.map +1 -1
  119. package/dist/actions/create-discussion-forum-topic.d.cts +18 -35
  120. package/dist/actions/create-discussion-forum-topic.d.mts +18 -35
  121. package/dist/actions/create-discussion-forum-topic.mjs +17 -17
  122. package/dist/actions/create-discussion-forum-topic.mjs.map +1 -1
  123. package/dist/actions/create-discussion-topic-comment.cjs +13 -13
  124. package/dist/actions/create-discussion-topic-comment.cjs.map +1 -1
  125. package/dist/actions/create-discussion-topic-comment.d.cts +14 -27
  126. package/dist/actions/create-discussion-topic-comment.d.mts +14 -27
  127. package/dist/actions/create-discussion-topic-comment.mjs +13 -13
  128. package/dist/actions/create-discussion-topic-comment.mjs.map +1 -1
  129. package/dist/actions/create-email.cjs +15 -15
  130. package/dist/actions/create-email.cjs.map +1 -1
  131. package/dist/actions/create-email.d.cts +17 -33
  132. package/dist/actions/create-email.d.mts +17 -33
  133. package/dist/actions/create-email.mjs +15 -15
  134. package/dist/actions/create-email.mjs.map +1 -1
  135. package/dist/actions/create-forum.cjs +5 -5
  136. package/dist/actions/create-forum.cjs.map +1 -1
  137. package/dist/actions/create-forum.d.cts +6 -16
  138. package/dist/actions/create-forum.d.mts +6 -16
  139. package/dist/actions/create-forum.mjs +5 -5
  140. package/dist/actions/create-forum.mjs.map +1 -1
  141. package/dist/actions/create-sla-policies.cjs +9 -9
  142. package/dist/actions/create-sla-policies.cjs.map +1 -1
  143. package/dist/actions/create-sla-policies.d.cts +10 -23
  144. package/dist/actions/create-sla-policies.d.mts +10 -23
  145. package/dist/actions/create-sla-policies.mjs +9 -9
  146. package/dist/actions/create-sla-policies.mjs.map +1 -1
  147. package/dist/actions/create-solution-article.cjs +34 -34
  148. package/dist/actions/create-solution-article.cjs.map +1 -1
  149. package/dist/actions/create-solution-article.d.cts +38 -72
  150. package/dist/actions/create-solution-article.d.cts.map +1 -1
  151. package/dist/actions/create-solution-article.d.mts +38 -72
  152. package/dist/actions/create-solution-article.d.mts.map +1 -1
  153. package/dist/actions/create-solution-article.mjs +34 -34
  154. package/dist/actions/create-solution-article.mjs.map +1 -1
  155. package/dist/actions/create-solution-category.cjs +16 -16
  156. package/dist/actions/create-solution-category.cjs.map +1 -1
  157. package/dist/actions/create-solution-category.d.cts +17 -33
  158. package/dist/actions/create-solution-category.d.cts.map +1 -1
  159. package/dist/actions/create-solution-category.d.mts +17 -33
  160. package/dist/actions/create-solution-category.d.mts.map +1 -1
  161. package/dist/actions/create-solution-category.mjs +16 -16
  162. package/dist/actions/create-solution-category.mjs.map +1 -1
  163. package/dist/actions/create-ticket-forms.cjs +6 -6
  164. package/dist/actions/create-ticket-forms.cjs.map +1 -1
  165. package/dist/actions/create-ticket-forms.d.cts +8 -36
  166. package/dist/actions/create-ticket-forms.d.mts +8 -36
  167. package/dist/actions/create-ticket-forms.mjs +6 -6
  168. package/dist/actions/create-ticket-forms.mjs.map +1 -1
  169. package/dist/actions/create-ticket-outbound-email.cjs +32 -32
  170. package/dist/actions/create-ticket-outbound-email.cjs.map +1 -1
  171. package/dist/actions/create-ticket-outbound-email.d.cts +33 -65
  172. package/dist/actions/create-ticket-outbound-email.d.cts.map +1 -1
  173. package/dist/actions/create-ticket-outbound-email.d.mts +33 -65
  174. package/dist/actions/create-ticket-outbound-email.d.mts.map +1 -1
  175. package/dist/actions/create-ticket-outbound-email.mjs +32 -32
  176. package/dist/actions/create-ticket-outbound-email.mjs.map +1 -1
  177. package/dist/actions/create-ticket-time-entry.cjs +14 -14
  178. package/dist/actions/create-ticket-time-entry.cjs.map +1 -1
  179. package/dist/actions/create-ticket-time-entry.d.cts +15 -29
  180. package/dist/actions/create-ticket-time-entry.d.mts +15 -29
  181. package/dist/actions/create-ticket-time-entry.mjs +14 -14
  182. package/dist/actions/create-ticket-time-entry.mjs.map +1 -1
  183. package/dist/actions/create-ticket.cjs +33 -33
  184. package/dist/actions/create-ticket.cjs.map +1 -1
  185. package/dist/actions/create-ticket.d.cts +34 -83
  186. package/dist/actions/create-ticket.d.cts.map +1 -1
  187. package/dist/actions/create-ticket.d.mts +34 -83
  188. package/dist/actions/create-ticket.d.mts.map +1 -1
  189. package/dist/actions/create-ticket.mjs +33 -33
  190. package/dist/actions/create-ticket.mjs.map +1 -1
  191. package/dist/actions/create-translated-solution-category.cjs +7 -7
  192. package/dist/actions/create-translated-solution-category.cjs.map +1 -1
  193. package/dist/actions/create-translated-solution-category.d.cts +8 -15
  194. package/dist/actions/create-translated-solution-category.d.mts +8 -15
  195. package/dist/actions/create-translated-solution-category.mjs +7 -7
  196. package/dist/actions/create-translated-solution-category.mjs.map +1 -1
  197. package/dist/actions/currently-authenticated-agent.cjs +34 -34
  198. package/dist/actions/currently-authenticated-agent.cjs.map +1 -1
  199. package/dist/actions/currently-authenticated-agent.d.cts +35 -79
  200. package/dist/actions/currently-authenticated-agent.d.cts.map +1 -1
  201. package/dist/actions/currently-authenticated-agent.d.mts +35 -79
  202. package/dist/actions/currently-authenticated-agent.d.mts.map +1 -1
  203. package/dist/actions/currently-authenticated-agent.mjs +34 -34
  204. package/dist/actions/currently-authenticated-agent.mjs.map +1 -1
  205. package/dist/actions/delete-admin-group.cjs +1 -1
  206. package/dist/actions/delete-admin-group.cjs.map +1 -1
  207. package/dist/actions/delete-admin-group.d.cts +2 -2
  208. package/dist/actions/delete-admin-group.d.cts.map +1 -1
  209. package/dist/actions/delete-admin-group.d.mts +2 -2
  210. package/dist/actions/delete-admin-group.d.mts.map +1 -1
  211. package/dist/actions/delete-admin-group.mjs +1 -1
  212. package/dist/actions/delete-admin-group.mjs.map +1 -1
  213. package/dist/actions/delete-agent.cjs +1 -1
  214. package/dist/actions/delete-agent.cjs.map +1 -1
  215. package/dist/actions/delete-agent.d.cts +2 -5
  216. package/dist/actions/delete-agent.d.mts +2 -5
  217. package/dist/actions/delete-agent.mjs +1 -1
  218. package/dist/actions/delete-agent.mjs.map +1 -1
  219. package/dist/actions/delete-automation-rule.cjs +3 -3
  220. package/dist/actions/delete-automation-rule.cjs.map +1 -1
  221. package/dist/actions/delete-automation-rule.d.cts +4 -7
  222. package/dist/actions/delete-automation-rule.d.mts +4 -7
  223. package/dist/actions/delete-automation-rule.mjs +3 -3
  224. package/dist/actions/delete-automation-rule.mjs.map +1 -1
  225. package/dist/actions/delete-company-field.cjs +1 -1
  226. package/dist/actions/delete-company-field.cjs.map +1 -1
  227. package/dist/actions/delete-company-field.d.cts +2 -2
  228. package/dist/actions/delete-company-field.d.cts.map +1 -1
  229. package/dist/actions/delete-company-field.d.mts +2 -2
  230. package/dist/actions/delete-company-field.d.mts.map +1 -1
  231. package/dist/actions/delete-company-field.mjs +1 -1
  232. package/dist/actions/delete-company-field.mjs.map +1 -1
  233. package/dist/actions/delete-company.cjs +1 -1
  234. package/dist/actions/delete-company.cjs.map +1 -1
  235. package/dist/actions/delete-company.d.cts +2 -2
  236. package/dist/actions/delete-company.d.cts.map +1 -1
  237. package/dist/actions/delete-company.d.mts +2 -2
  238. package/dist/actions/delete-company.d.mts.map +1 -1
  239. package/dist/actions/delete-company.mjs +1 -1
  240. package/dist/actions/delete-company.mjs.map +1 -1
  241. package/dist/actions/delete-contact-field.cjs +1 -1
  242. package/dist/actions/delete-contact-field.cjs.map +1 -1
  243. package/dist/actions/delete-contact-field.d.cts +2 -6
  244. package/dist/actions/delete-contact-field.d.mts +2 -6
  245. package/dist/actions/delete-contact-field.mjs +1 -1
  246. package/dist/actions/delete-contact-field.mjs.map +1 -1
  247. package/dist/actions/delete-contact.cjs +1 -1
  248. package/dist/actions/delete-contact.cjs.map +1 -1
  249. package/dist/actions/delete-contact.d.cts +2 -2
  250. package/dist/actions/delete-contact.d.cts.map +1 -1
  251. package/dist/actions/delete-contact.d.mts +2 -2
  252. package/dist/actions/delete-contact.d.mts.map +1 -1
  253. package/dist/actions/delete-contact.mjs +1 -1
  254. package/dist/actions/delete-contact.mjs.map +1 -1
  255. package/dist/actions/delete-conversation.cjs +1 -1
  256. package/dist/actions/delete-conversation.cjs.map +1 -1
  257. package/dist/actions/delete-conversation.d.cts +2 -2
  258. package/dist/actions/delete-conversation.d.cts.map +1 -1
  259. package/dist/actions/delete-conversation.d.mts +2 -2
  260. package/dist/actions/delete-conversation.d.mts.map +1 -1
  261. package/dist/actions/delete-conversation.mjs +1 -1
  262. package/dist/actions/delete-conversation.mjs.map +1 -1
  263. package/dist/actions/delete-discussion-category.cjs +7 -7
  264. package/dist/actions/delete-discussion-category.cjs.map +1 -1
  265. package/dist/actions/delete-discussion-category.d.cts +8 -16
  266. package/dist/actions/delete-discussion-category.d.mts +8 -16
  267. package/dist/actions/delete-discussion-category.mjs +7 -7
  268. package/dist/actions/delete-discussion-category.mjs.map +1 -1
  269. package/dist/actions/delete-discussion-comment.cjs +1 -1
  270. package/dist/actions/delete-discussion-comment.cjs.map +1 -1
  271. package/dist/actions/delete-discussion-comment.d.cts +2 -2
  272. package/dist/actions/delete-discussion-comment.d.cts.map +1 -1
  273. package/dist/actions/delete-discussion-comment.d.mts +2 -2
  274. package/dist/actions/delete-discussion-comment.d.mts.map +1 -1
  275. package/dist/actions/delete-discussion-comment.mjs +1 -1
  276. package/dist/actions/delete-discussion-comment.mjs.map +1 -1
  277. package/dist/actions/delete-discussion-forum.cjs +1 -1
  278. package/dist/actions/delete-discussion-forum.cjs.map +1 -1
  279. package/dist/actions/delete-discussion-forum.d.cts +2 -2
  280. package/dist/actions/delete-discussion-forum.d.cts.map +1 -1
  281. package/dist/actions/delete-discussion-forum.d.mts +2 -2
  282. package/dist/actions/delete-discussion-forum.d.mts.map +1 -1
  283. package/dist/actions/delete-discussion-forum.mjs +1 -1
  284. package/dist/actions/delete-discussion-forum.mjs.map +1 -1
  285. package/dist/actions/delete-discussion-topic.cjs +1 -1
  286. package/dist/actions/delete-discussion-topic.cjs.map +1 -1
  287. package/dist/actions/delete-discussion-topic.d.cts +2 -2
  288. package/dist/actions/delete-discussion-topic.d.cts.map +1 -1
  289. package/dist/actions/delete-discussion-topic.d.mts +2 -2
  290. package/dist/actions/delete-discussion-topic.d.mts.map +1 -1
  291. package/dist/actions/delete-discussion-topic.mjs +1 -1
  292. package/dist/actions/delete-discussion-topic.mjs.map +1 -1
  293. package/dist/actions/delete-discussions-forums-follow.cjs +1 -1
  294. package/dist/actions/delete-discussions-forums-follow.cjs.map +1 -1
  295. package/dist/actions/delete-discussions-forums-follow.d.cts +2 -2
  296. package/dist/actions/delete-discussions-forums-follow.d.cts.map +1 -1
  297. package/dist/actions/delete-discussions-forums-follow.d.mts +2 -2
  298. package/dist/actions/delete-discussions-forums-follow.d.mts.map +1 -1
  299. package/dist/actions/delete-discussions-forums-follow.mjs +1 -1
  300. package/dist/actions/delete-discussions-forums-follow.mjs.map +1 -1
  301. package/dist/actions/delete-discussions-topics-follow.cjs +1 -1
  302. package/dist/actions/delete-discussions-topics-follow.cjs.map +1 -1
  303. package/dist/actions/delete-discussions-topics-follow.d.cts +2 -2
  304. package/dist/actions/delete-discussions-topics-follow.d.cts.map +1 -1
  305. package/dist/actions/delete-discussions-topics-follow.d.mts +2 -2
  306. package/dist/actions/delete-discussions-topics-follow.d.mts.map +1 -1
  307. package/dist/actions/delete-discussions-topics-follow.mjs +1 -1
  308. package/dist/actions/delete-discussions-topics-follow.mjs.map +1 -1
  309. package/dist/actions/delete-email-mailboxes.cjs +2 -2
  310. package/dist/actions/delete-email-mailboxes.cjs.map +1 -1
  311. package/dist/actions/delete-email-mailboxes.d.cts +3 -7
  312. package/dist/actions/delete-email-mailboxes.d.mts +3 -7
  313. package/dist/actions/delete-email-mailboxes.mjs +2 -2
  314. package/dist/actions/delete-email-mailboxes.mjs.map +1 -1
  315. package/dist/actions/delete-group.cjs +1 -1
  316. package/dist/actions/delete-group.cjs.map +1 -1
  317. package/dist/actions/delete-group.d.cts +2 -2
  318. package/dist/actions/delete-group.d.cts.map +1 -1
  319. package/dist/actions/delete-group.d.mts +2 -2
  320. package/dist/actions/delete-group.d.mts.map +1 -1
  321. package/dist/actions/delete-group.mjs +1 -1
  322. package/dist/actions/delete-group.mjs.map +1 -1
  323. package/dist/actions/delete-multiple-tickets.cjs +1 -1
  324. package/dist/actions/delete-multiple-tickets.cjs.map +1 -1
  325. package/dist/actions/delete-multiple-tickets.d.cts +2 -5
  326. package/dist/actions/delete-multiple-tickets.d.mts +2 -5
  327. package/dist/actions/delete-multiple-tickets.mjs +1 -1
  328. package/dist/actions/delete-multiple-tickets.mjs.map +1 -1
  329. package/dist/actions/delete-section.cjs +5 -5
  330. package/dist/actions/delete-section.cjs.map +1 -1
  331. package/dist/actions/delete-section.d.cts +6 -13
  332. package/dist/actions/delete-section.d.mts +6 -13
  333. package/dist/actions/delete-section.mjs +5 -5
  334. package/dist/actions/delete-section.mjs.map +1 -1
  335. package/dist/actions/delete-skill.cjs +3 -3
  336. package/dist/actions/delete-skill.cjs.map +1 -1
  337. package/dist/actions/delete-skill.d.cts +4 -7
  338. package/dist/actions/delete-skill.d.mts +4 -7
  339. package/dist/actions/delete-skill.mjs +3 -3
  340. package/dist/actions/delete-skill.mjs.map +1 -1
  341. package/dist/actions/delete-solution-article.cjs +3 -3
  342. package/dist/actions/delete-solution-article.cjs.map +1 -1
  343. package/dist/actions/delete-solution-article.d.cts +4 -7
  344. package/dist/actions/delete-solution-article.d.mts +4 -7
  345. package/dist/actions/delete-solution-article.mjs +3 -3
  346. package/dist/actions/delete-solution-article.mjs.map +1 -1
  347. package/dist/actions/delete-solution-category.cjs +4 -4
  348. package/dist/actions/delete-solution-category.cjs.map +1 -1
  349. package/dist/actions/delete-solution-category.d.cts +5 -9
  350. package/dist/actions/delete-solution-category.d.mts +5 -9
  351. package/dist/actions/delete-solution-category.mjs +4 -4
  352. package/dist/actions/delete-solution-category.mjs.map +1 -1
  353. package/dist/actions/delete-solution-folder.cjs +1 -1
  354. package/dist/actions/delete-solution-folder.cjs.map +1 -1
  355. package/dist/actions/delete-solution-folder.d.cts +2 -2
  356. package/dist/actions/delete-solution-folder.d.cts.map +1 -1
  357. package/dist/actions/delete-solution-folder.d.mts +2 -2
  358. package/dist/actions/delete-solution-folder.d.mts.map +1 -1
  359. package/dist/actions/delete-solution-folder.mjs +1 -1
  360. package/dist/actions/delete-solution-folder.mjs.map +1 -1
  361. package/dist/actions/delete-ticket-field.cjs +8 -8
  362. package/dist/actions/delete-ticket-field.cjs.map +1 -1
  363. package/dist/actions/delete-ticket-field.d.cts +9 -18
  364. package/dist/actions/delete-ticket-field.d.mts +9 -18
  365. package/dist/actions/delete-ticket-field.mjs +8 -8
  366. package/dist/actions/delete-ticket-field.mjs.map +1 -1
  367. package/dist/actions/delete-ticket-form.cjs +5 -5
  368. package/dist/actions/delete-ticket-form.cjs.map +1 -1
  369. package/dist/actions/delete-ticket-form.d.cts +6 -13
  370. package/dist/actions/delete-ticket-form.d.mts +6 -13
  371. package/dist/actions/delete-ticket-form.mjs +5 -5
  372. package/dist/actions/delete-ticket-form.mjs.map +1 -1
  373. package/dist/actions/delete-ticket-forms.cjs +1 -1
  374. package/dist/actions/delete-ticket-forms.cjs.map +1 -1
  375. package/dist/actions/delete-ticket-forms.d.cts +2 -2
  376. package/dist/actions/delete-ticket-forms.d.cts.map +1 -1
  377. package/dist/actions/delete-ticket-forms.d.mts +2 -2
  378. package/dist/actions/delete-ticket-forms.d.mts.map +1 -1
  379. package/dist/actions/delete-ticket-forms.mjs +1 -1
  380. package/dist/actions/delete-ticket-forms.mjs.map +1 -1
  381. package/dist/actions/delete-ticket-summary.cjs +1 -1
  382. package/dist/actions/delete-ticket-summary.cjs.map +1 -1
  383. package/dist/actions/delete-ticket-summary.d.cts +2 -2
  384. package/dist/actions/delete-ticket-summary.d.cts.map +1 -1
  385. package/dist/actions/delete-ticket-summary.d.mts +2 -2
  386. package/dist/actions/delete-ticket-summary.d.mts.map +1 -1
  387. package/dist/actions/delete-ticket-summary.mjs +1 -1
  388. package/dist/actions/delete-ticket-summary.mjs.map +1 -1
  389. package/dist/actions/delete-ticket-user-access.cjs +1 -1
  390. package/dist/actions/delete-ticket-user-access.cjs.map +1 -1
  391. package/dist/actions/delete-ticket-user-access.d.cts +2 -2
  392. package/dist/actions/delete-ticket-user-access.d.cts.map +1 -1
  393. package/dist/actions/delete-ticket-user-access.d.mts +2 -2
  394. package/dist/actions/delete-ticket-user-access.d.mts.map +1 -1
  395. package/dist/actions/delete-ticket-user-access.mjs +1 -1
  396. package/dist/actions/delete-ticket-user-access.mjs.map +1 -1
  397. package/dist/actions/delete-ticket.cjs +1 -1
  398. package/dist/actions/delete-ticket.cjs.map +1 -1
  399. package/dist/actions/delete-ticket.d.cts +2 -2
  400. package/dist/actions/delete-ticket.d.cts.map +1 -1
  401. package/dist/actions/delete-ticket.d.mts +2 -2
  402. package/dist/actions/delete-ticket.d.mts.map +1 -1
  403. package/dist/actions/delete-ticket.mjs +1 -1
  404. package/dist/actions/delete-ticket.mjs.map +1 -1
  405. package/dist/actions/delete-time-entry.cjs +3 -3
  406. package/dist/actions/delete-time-entry.cjs.map +1 -1
  407. package/dist/actions/delete-time-entry.d.cts +4 -7
  408. package/dist/actions/delete-time-entry.d.mts +4 -7
  409. package/dist/actions/delete-time-entry.mjs +3 -3
  410. package/dist/actions/delete-time-entry.mjs.map +1 -1
  411. package/dist/actions/export-contacts.cjs +1 -1
  412. package/dist/actions/export-contacts.cjs.map +1 -1
  413. package/dist/actions/export-contacts.d.cts +2 -4
  414. package/dist/actions/export-contacts.d.mts +2 -4
  415. package/dist/actions/export-contacts.mjs +1 -1
  416. package/dist/actions/export-contacts.mjs.map +1 -1
  417. package/dist/actions/get-account.cjs +32 -32
  418. package/dist/actions/get-account.cjs.map +1 -1
  419. package/dist/actions/get-account.d.cts +33 -65
  420. package/dist/actions/get-account.d.cts.map +1 -1
  421. package/dist/actions/get-account.d.mts +33 -65
  422. package/dist/actions/get-account.d.mts.map +1 -1
  423. package/dist/actions/get-account.mjs +32 -32
  424. package/dist/actions/get-account.mjs.map +1 -1
  425. package/dist/actions/get-agent-availability.cjs +14 -14
  426. package/dist/actions/get-agent-availability.cjs.map +1 -1
  427. package/dist/actions/get-agent-availability.d.cts +15 -29
  428. package/dist/actions/get-agent-availability.d.mts +15 -29
  429. package/dist/actions/get-agent-availability.mjs +14 -14
  430. package/dist/actions/get-agent-availability.mjs.map +1 -1
  431. package/dist/actions/get-agent.cjs +40 -40
  432. package/dist/actions/get-agent.cjs.map +1 -1
  433. package/dist/actions/get-agent.d.cts +41 -95
  434. package/dist/actions/get-agent.d.mts +41 -95
  435. package/dist/actions/get-agent.mjs +40 -40
  436. package/dist/actions/get-agent.mjs.map +1 -1
  437. package/dist/actions/get-agents.cjs +10 -10
  438. package/dist/actions/get-agents.cjs.map +1 -1
  439. package/dist/actions/get-agents.d.cts +12 -23
  440. package/dist/actions/get-agents.d.mts +12 -23
  441. package/dist/actions/get-agents.mjs +10 -10
  442. package/dist/actions/get-agents.mjs.map +1 -1
  443. package/dist/actions/get-business-hours.cjs +33 -33
  444. package/dist/actions/get-business-hours.cjs.map +1 -1
  445. package/dist/actions/get-business-hours.d.cts +55 -109
  446. package/dist/actions/get-business-hours.d.cts.map +1 -1
  447. package/dist/actions/get-business-hours.d.mts +55 -109
  448. package/dist/actions/get-business-hours.d.mts.map +1 -1
  449. package/dist/actions/get-business-hours.mjs +33 -33
  450. package/dist/actions/get-business-hours.mjs.map +1 -1
  451. package/dist/actions/get-canned-response-folders.cjs +8 -8
  452. package/dist/actions/get-canned-response-folders.cjs.map +1 -1
  453. package/dist/actions/get-canned-response-folders.d.cts +10 -19
  454. package/dist/actions/get-canned-response-folders.d.cts.map +1 -1
  455. package/dist/actions/get-canned-response-folders.d.mts +10 -19
  456. package/dist/actions/get-canned-response-folders.d.mts.map +1 -1
  457. package/dist/actions/get-canned-response-folders.mjs +8 -8
  458. package/dist/actions/get-canned-response-folders.mjs.map +1 -1
  459. package/dist/actions/get-companies.cjs +11 -11
  460. package/dist/actions/get-companies.cjs.map +1 -1
  461. package/dist/actions/get-companies.d.cts +13 -29
  462. package/dist/actions/get-companies.d.cts.map +1 -1
  463. package/dist/actions/get-companies.d.mts +13 -29
  464. package/dist/actions/get-companies.d.mts.map +1 -1
  465. package/dist/actions/get-companies.mjs +11 -11
  466. package/dist/actions/get-companies.mjs.map +1 -1
  467. package/dist/actions/get-company-fields.cjs +20 -20
  468. package/dist/actions/get-company-fields.cjs.map +1 -1
  469. package/dist/actions/get-company-fields.d.cts +22 -47
  470. package/dist/actions/get-company-fields.d.cts.map +1 -1
  471. package/dist/actions/get-company-fields.d.mts +22 -47
  472. package/dist/actions/get-company-fields.d.mts.map +1 -1
  473. package/dist/actions/get-company-fields.mjs +20 -20
  474. package/dist/actions/get-company-fields.mjs.map +1 -1
  475. package/dist/actions/get-company.cjs +11 -11
  476. package/dist/actions/get-company.cjs.map +1 -1
  477. package/dist/actions/get-company.d.cts +12 -27
  478. package/dist/actions/get-company.d.cts.map +1 -1
  479. package/dist/actions/get-company.d.mts +12 -27
  480. package/dist/actions/get-company.d.mts.map +1 -1
  481. package/dist/actions/get-company.mjs +11 -11
  482. package/dist/actions/get-company.mjs.map +1 -1
  483. package/dist/actions/get-contact-fields.cjs +21 -21
  484. package/dist/actions/get-contact-fields.cjs.map +1 -1
  485. package/dist/actions/get-contact-fields.d.cts +23 -45
  486. package/dist/actions/get-contact-fields.d.cts.map +1 -1
  487. package/dist/actions/get-contact-fields.d.mts +23 -45
  488. package/dist/actions/get-contact-fields.d.mts.map +1 -1
  489. package/dist/actions/get-contact-fields.mjs +21 -21
  490. package/dist/actions/get-contact-fields.mjs.map +1 -1
  491. package/dist/actions/get-contact.cjs +50 -50
  492. package/dist/actions/get-contact.cjs.map +1 -1
  493. package/dist/actions/get-contact.d.cts +51 -101
  494. package/dist/actions/get-contact.d.cts.map +1 -1
  495. package/dist/actions/get-contact.d.mts +51 -101
  496. package/dist/actions/get-contact.d.mts.map +1 -1
  497. package/dist/actions/get-contact.mjs +50 -50
  498. package/dist/actions/get-contact.mjs.map +1 -1
  499. package/dist/actions/get-contacts.cjs +25 -25
  500. package/dist/actions/get-contacts.cjs.map +1 -1
  501. package/dist/actions/get-contacts.d.cts +27 -56
  502. package/dist/actions/get-contacts.d.cts.map +1 -1
  503. package/dist/actions/get-contacts.d.mts +27 -56
  504. package/dist/actions/get-contacts.d.mts.map +1 -1
  505. package/dist/actions/get-contacts.mjs +25 -25
  506. package/dist/actions/get-contacts.mjs.map +1 -1
  507. package/dist/actions/get-discussion-category.cjs +6 -6
  508. package/dist/actions/get-discussion-category.cjs.map +1 -1
  509. package/dist/actions/get-discussion-category.d.cts +7 -13
  510. package/dist/actions/get-discussion-category.d.mts +7 -13
  511. package/dist/actions/get-discussion-category.mjs +6 -6
  512. package/dist/actions/get-discussion-category.mjs.map +1 -1
  513. package/dist/actions/get-discussion-topic.cjs +17 -17
  514. package/dist/actions/get-discussion-topic.cjs.map +1 -1
  515. package/dist/actions/get-discussion-topic.d.cts +18 -35
  516. package/dist/actions/get-discussion-topic.d.mts +18 -35
  517. package/dist/actions/get-discussion-topic.mjs +17 -17
  518. package/dist/actions/get-discussion-topic.mjs.map +1 -1
  519. package/dist/actions/get-email-mailbox.cjs +17 -17
  520. package/dist/actions/get-email-mailbox.cjs.map +1 -1
  521. package/dist/actions/get-email-mailbox.d.cts +20 -39
  522. package/dist/actions/get-email-mailbox.d.mts +20 -39
  523. package/dist/actions/get-email-mailbox.mjs +17 -17
  524. package/dist/actions/get-email-mailbox.mjs.map +1 -1
  525. package/dist/actions/get-folder-responses.cjs +19 -19
  526. package/dist/actions/get-folder-responses.cjs.map +1 -1
  527. package/dist/actions/get-folder-responses.d.cts +21 -41
  528. package/dist/actions/get-folder-responses.d.mts +21 -41
  529. package/dist/actions/get-folder-responses.mjs +19 -19
  530. package/dist/actions/get-folder-responses.mjs.map +1 -1
  531. package/dist/actions/get-imported-contacts.cjs +11 -11
  532. package/dist/actions/get-imported-contacts.cjs.map +1 -1
  533. package/dist/actions/get-imported-contacts.d.cts +13 -25
  534. package/dist/actions/get-imported-contacts.d.mts +13 -25
  535. package/dist/actions/get-imported-contacts.mjs +11 -11
  536. package/dist/actions/get-imported-contacts.mjs.map +1 -1
  537. package/dist/actions/get-job.cjs +7 -7
  538. package/dist/actions/get-job.cjs.map +1 -1
  539. package/dist/actions/get-job.d.cts +8 -15
  540. package/dist/actions/get-job.d.mts +8 -15
  541. package/dist/actions/get-job.mjs +7 -7
  542. package/dist/actions/get-job.mjs.map +1 -1
  543. package/dist/actions/get-scenario-automations-json.cjs +14 -14
  544. package/dist/actions/get-scenario-automations-json.cjs.map +1 -1
  545. package/dist/actions/get-scenario-automations-json.d.cts +14 -27
  546. package/dist/actions/get-scenario-automations-json.d.cts.map +1 -1
  547. package/dist/actions/get-scenario-automations-json.d.mts +14 -27
  548. package/dist/actions/get-scenario-automations-json.d.mts.map +1 -1
  549. package/dist/actions/get-scenario-automations-json.mjs +14 -14
  550. package/dist/actions/get-scenario-automations-json.mjs.map +1 -1
  551. package/dist/actions/get-search.cjs +39 -39
  552. package/dist/actions/get-search.cjs.map +1 -1
  553. package/dist/actions/get-search.d.cts +40 -79
  554. package/dist/actions/get-search.d.cts.map +1 -1
  555. package/dist/actions/get-search.d.mts +40 -79
  556. package/dist/actions/get-search.d.mts.map +1 -1
  557. package/dist/actions/get-search.mjs +39 -39
  558. package/dist/actions/get-search.mjs.map +1 -1
  559. package/dist/actions/get-ticket-time-entries.cjs +15 -15
  560. package/dist/actions/get-ticket-time-entries.cjs.map +1 -1
  561. package/dist/actions/get-ticket-time-entries.d.cts +17 -33
  562. package/dist/actions/get-ticket-time-entries.d.mts +17 -33
  563. package/dist/actions/get-ticket-time-entries.mjs +15 -15
  564. package/dist/actions/get-ticket-time-entries.mjs.map +1 -1
  565. package/dist/actions/get-ticket-user-access.cjs +1 -1
  566. package/dist/actions/get-ticket-user-access.cjs.map +1 -1
  567. package/dist/actions/get-ticket-user-access.d.cts +2 -4
  568. package/dist/actions/get-ticket-user-access.d.mts +2 -4
  569. package/dist/actions/get-ticket-user-access.mjs +1 -1
  570. package/dist/actions/get-ticket-user-access.mjs.map +1 -1
  571. package/dist/actions/get-tickets.cjs +44 -44
  572. package/dist/actions/get-tickets.cjs.map +1 -1
  573. package/dist/actions/get-tickets.d.cts +45 -101
  574. package/dist/actions/get-tickets.d.mts +45 -101
  575. package/dist/actions/get-tickets.mjs +44 -44
  576. package/dist/actions/get-tickets.mjs.map +1 -1
  577. package/dist/actions/get-translated-solution-category.cjs +15 -15
  578. package/dist/actions/get-translated-solution-category.cjs.map +1 -1
  579. package/dist/actions/get-translated-solution-category.d.cts +16 -31
  580. package/dist/actions/get-translated-solution-category.d.cts.map +1 -1
  581. package/dist/actions/get-translated-solution-category.d.mts +16 -31
  582. package/dist/actions/get-translated-solution-category.d.mts.map +1 -1
  583. package/dist/actions/get-translated-solution-category.mjs +15 -15
  584. package/dist/actions/get-translated-solution-category.mjs.map +1 -1
  585. package/dist/actions/hard-delete-contact.cjs +3 -3
  586. package/dist/actions/hard-delete-contact.cjs.map +1 -1
  587. package/dist/actions/hard-delete-contact.d.cts +4 -7
  588. package/dist/actions/hard-delete-contact.d.mts +4 -7
  589. package/dist/actions/hard-delete-contact.mjs +3 -3
  590. package/dist/actions/hard-delete-contact.mjs.map +1 -1
  591. package/dist/actions/import-contact.cjs +10 -10
  592. package/dist/actions/import-contact.cjs.map +1 -1
  593. package/dist/actions/import-contact.d.cts +11 -21
  594. package/dist/actions/import-contact.d.mts +11 -21
  595. package/dist/actions/import-contact.mjs +10 -10
  596. package/dist/actions/import-contact.mjs.map +1 -1
  597. package/dist/actions/list-admin-groups.cjs +18 -18
  598. package/dist/actions/list-admin-groups.cjs.map +1 -1
  599. package/dist/actions/list-admin-groups.d.cts +20 -39
  600. package/dist/actions/list-admin-groups.d.mts +20 -39
  601. package/dist/actions/list-admin-groups.mjs +18 -18
  602. package/dist/actions/list-admin-groups.mjs.map +1 -1
  603. package/dist/actions/list-all-agents-in-a-group.cjs +29 -29
  604. package/dist/actions/list-all-agents-in-a-group.cjs.map +1 -1
  605. package/dist/actions/list-all-agents-in-a-group.d.cts +30 -59
  606. package/dist/actions/list-all-agents-in-a-group.d.cts.map +1 -1
  607. package/dist/actions/list-all-agents-in-a-group.d.mts +30 -59
  608. package/dist/actions/list-all-agents-in-a-group.d.mts.map +1 -1
  609. package/dist/actions/list-all-agents-in-a-group.mjs +29 -29
  610. package/dist/actions/list-all-agents-in-a-group.mjs.map +1 -1
  611. package/dist/actions/list-all-sections-for-ticket-field.cjs +7 -7
  612. package/dist/actions/list-all-sections-for-ticket-field.cjs.map +1 -1
  613. package/dist/actions/list-all-sections-for-ticket-field.d.cts +9 -17
  614. package/dist/actions/list-all-sections-for-ticket-field.d.mts +9 -17
  615. package/dist/actions/list-all-sections-for-ticket-field.mjs +7 -7
  616. package/dist/actions/list-all-sections-for-ticket-field.mjs.map +1 -1
  617. package/dist/actions/list-all-skills.cjs +16 -16
  618. package/dist/actions/list-all-skills.cjs.map +1 -1
  619. package/dist/actions/list-all-skills.d.cts +17 -33
  620. package/dist/actions/list-all-skills.d.cts.map +1 -1
  621. package/dist/actions/list-all-skills.d.mts +17 -33
  622. package/dist/actions/list-all-skills.d.mts.map +1 -1
  623. package/dist/actions/list-all-skills.mjs +16 -16
  624. package/dist/actions/list-all-skills.mjs.map +1 -1
  625. package/dist/actions/list-all-ticket-conversations.cjs +37 -37
  626. package/dist/actions/list-all-ticket-conversations.cjs.map +1 -1
  627. package/dist/actions/list-all-ticket-conversations.d.cts +39 -77
  628. package/dist/actions/list-all-ticket-conversations.d.mts +39 -77
  629. package/dist/actions/list-all-ticket-conversations.mjs +37 -37
  630. package/dist/actions/list-all-ticket-conversations.mjs.map +1 -1
  631. package/dist/actions/list-automation-rules.cjs +26 -26
  632. package/dist/actions/list-automation-rules.cjs.map +1 -1
  633. package/dist/actions/list-automation-rules.d.cts +26 -51
  634. package/dist/actions/list-automation-rules.d.cts.map +1 -1
  635. package/dist/actions/list-automation-rules.d.mts +26 -51
  636. package/dist/actions/list-automation-rules.d.mts.map +1 -1
  637. package/dist/actions/list-automation-rules.mjs +26 -26
  638. package/dist/actions/list-automation-rules.mjs.map +1 -1
  639. package/dist/actions/list-discussions-topics.cjs +18 -18
  640. package/dist/actions/list-discussions-topics.cjs.map +1 -1
  641. package/dist/actions/list-discussions-topics.d.cts +20 -39
  642. package/dist/actions/list-discussions-topics.d.mts +20 -39
  643. package/dist/actions/list-discussions-topics.mjs +18 -18
  644. package/dist/actions/list-discussions-topics.mjs.map +1 -1
  645. package/dist/actions/list-discussions.cjs +7 -7
  646. package/dist/actions/list-discussions.cjs.map +1 -1
  647. package/dist/actions/list-discussions.d.cts +9 -17
  648. package/dist/actions/list-discussions.d.mts +9 -17
  649. package/dist/actions/list-discussions.mjs +7 -7
  650. package/dist/actions/list-discussions.mjs.map +1 -1
  651. package/dist/actions/list-email-configs.cjs +15 -15
  652. package/dist/actions/list-email-configs.cjs.map +1 -1
  653. package/dist/actions/list-email-configs.d.cts +16 -31
  654. package/dist/actions/list-email-configs.d.cts.map +1 -1
  655. package/dist/actions/list-email-configs.d.mts +16 -31
  656. package/dist/actions/list-email-configs.d.mts.map +1 -1
  657. package/dist/actions/list-email-configs.mjs +15 -15
  658. package/dist/actions/list-email-configs.mjs.map +1 -1
  659. package/dist/actions/list-email.cjs +15 -15
  660. package/dist/actions/list-email.cjs.map +1 -1
  661. package/dist/actions/list-email.d.cts +16 -31
  662. package/dist/actions/list-email.d.mts +16 -31
  663. package/dist/actions/list-email.mjs +15 -15
  664. package/dist/actions/list-email.mjs.map +1 -1
  665. package/dist/actions/list-forums-in-category.cjs +13 -13
  666. package/dist/actions/list-forums-in-category.cjs.map +1 -1
  667. package/dist/actions/list-forums-in-category.d.cts +15 -29
  668. package/dist/actions/list-forums-in-category.d.mts +15 -29
  669. package/dist/actions/list-forums-in-category.mjs +13 -13
  670. package/dist/actions/list-forums-in-category.mjs.map +1 -1
  671. package/dist/actions/list-monitored-topics.cjs +18 -18
  672. package/dist/actions/list-monitored-topics.cjs.map +1 -1
  673. package/dist/actions/list-monitored-topics.d.cts +20 -39
  674. package/dist/actions/list-monitored-topics.d.mts +20 -39
  675. package/dist/actions/list-monitored-topics.mjs +18 -18
  676. package/dist/actions/list-monitored-topics.mjs.map +1 -1
  677. package/dist/actions/list-participated-topics.cjs +18 -18
  678. package/dist/actions/list-participated-topics.cjs.map +1 -1
  679. package/dist/actions/list-participated-topics.d.cts +20 -39
  680. package/dist/actions/list-participated-topics.d.mts +20 -39
  681. package/dist/actions/list-participated-topics.mjs +18 -18
  682. package/dist/actions/list-participated-topics.mjs.map +1 -1
  683. package/dist/actions/list-products.cjs +9 -9
  684. package/dist/actions/list-products.cjs.map +1 -1
  685. package/dist/actions/list-products.d.cts +11 -21
  686. package/dist/actions/list-products.d.cts.map +1 -1
  687. package/dist/actions/list-products.d.mts +11 -21
  688. package/dist/actions/list-products.d.mts.map +1 -1
  689. package/dist/actions/list-products.mjs +9 -9
  690. package/dist/actions/list-products.mjs.map +1 -1
  691. package/dist/actions/list-roles.cjs +9 -9
  692. package/dist/actions/list-roles.cjs.map +1 -1
  693. package/dist/actions/list-roles.d.cts +11 -21
  694. package/dist/actions/list-roles.d.mts +11 -21
  695. package/dist/actions/list-roles.mjs +9 -9
  696. package/dist/actions/list-roles.mjs.map +1 -1
  697. package/dist/actions/list-satisfaction-ratings.cjs +12 -12
  698. package/dist/actions/list-satisfaction-ratings.cjs.map +1 -1
  699. package/dist/actions/list-satisfaction-ratings.d.cts +14 -27
  700. package/dist/actions/list-satisfaction-ratings.d.cts.map +1 -1
  701. package/dist/actions/list-satisfaction-ratings.d.mts +14 -27
  702. package/dist/actions/list-satisfaction-ratings.d.mts.map +1 -1
  703. package/dist/actions/list-satisfaction-ratings.mjs +12 -12
  704. package/dist/actions/list-satisfaction-ratings.mjs.map +1 -1
  705. package/dist/actions/list-sla-policies.cjs +44 -44
  706. package/dist/actions/list-sla-policies.cjs.map +1 -1
  707. package/dist/actions/list-sla-policies.d.cts +64 -130
  708. package/dist/actions/list-sla-policies.d.cts.map +1 -1
  709. package/dist/actions/list-sla-policies.d.mts +64 -130
  710. package/dist/actions/list-sla-policies.d.mts.map +1 -1
  711. package/dist/actions/list-sla-policies.mjs +44 -44
  712. package/dist/actions/list-sla-policies.mjs.map +1 -1
  713. package/dist/actions/list-solution-articles.cjs +38 -38
  714. package/dist/actions/list-solution-articles.cjs.map +1 -1
  715. package/dist/actions/list-solution-articles.d.cts +39 -77
  716. package/dist/actions/list-solution-articles.d.cts.map +1 -1
  717. package/dist/actions/list-solution-articles.d.mts +39 -77
  718. package/dist/actions/list-solution-articles.d.mts.map +1 -1
  719. package/dist/actions/list-solution-articles.mjs +38 -38
  720. package/dist/actions/list-solution-articles.mjs.map +1 -1
  721. package/dist/actions/list-solution-categories.cjs +11 -11
  722. package/dist/actions/list-solution-categories.cjs.map +1 -1
  723. package/dist/actions/list-solution-categories.d.cts +12 -23
  724. package/dist/actions/list-solution-categories.d.mts +12 -23
  725. package/dist/actions/list-solution-categories.mjs +11 -11
  726. package/dist/actions/list-solution-categories.mjs.map +1 -1
  727. package/dist/actions/list-solution-folders.cjs +26 -26
  728. package/dist/actions/list-solution-folders.cjs.map +1 -1
  729. package/dist/actions/list-solution-folders.d.cts +27 -53
  730. package/dist/actions/list-solution-folders.d.mts +27 -53
  731. package/dist/actions/list-solution-folders.mjs +26 -26
  732. package/dist/actions/list-solution-folders.mjs.map +1 -1
  733. package/dist/actions/list-solution-subfolders.cjs +23 -23
  734. package/dist/actions/list-solution-subfolders.cjs.map +1 -1
  735. package/dist/actions/list-solution-subfolders.d.cts +25 -49
  736. package/dist/actions/list-solution-subfolders.d.mts +25 -49
  737. package/dist/actions/list-solution-subfolders.mjs +23 -23
  738. package/dist/actions/list-solution-subfolders.mjs.map +1 -1
  739. package/dist/actions/list-solutions-category-folders-translated.cjs +21 -21
  740. package/dist/actions/list-solutions-category-folders-translated.cjs.map +1 -1
  741. package/dist/actions/list-solutions-category-folders-translated.d.cts +23 -45
  742. package/dist/actions/list-solutions-category-folders-translated.d.mts +23 -45
  743. package/dist/actions/list-solutions-category-folders-translated.mjs +21 -21
  744. package/dist/actions/list-solutions-category-folders-translated.mjs.map +1 -1
  745. package/dist/actions/list-specific-section-details.cjs +6 -6
  746. package/dist/actions/list-specific-section-details.cjs.map +1 -1
  747. package/dist/actions/list-specific-section-details.d.cts +7 -13
  748. package/dist/actions/list-specific-section-details.d.mts +7 -13
  749. package/dist/actions/list-specific-section-details.mjs +6 -6
  750. package/dist/actions/list-specific-section-details.mjs.map +1 -1
  751. package/dist/actions/list-surveys.cjs +14 -14
  752. package/dist/actions/list-surveys.cjs.map +1 -1
  753. package/dist/actions/list-surveys.d.cts +18 -33
  754. package/dist/actions/list-surveys.d.mts +18 -33
  755. package/dist/actions/list-surveys.mjs +14 -14
  756. package/dist/actions/list-surveys.mjs.map +1 -1
  757. package/dist/actions/list-ticket-fields.cjs +21 -21
  758. package/dist/actions/list-ticket-fields.cjs.map +1 -1
  759. package/dist/actions/list-ticket-fields.d.cts +23 -45
  760. package/dist/actions/list-ticket-fields.d.cts.map +1 -1
  761. package/dist/actions/list-ticket-fields.d.mts +23 -45
  762. package/dist/actions/list-ticket-fields.d.mts.map +1 -1
  763. package/dist/actions/list-ticket-fields.mjs +21 -21
  764. package/dist/actions/list-ticket-fields.mjs.map +1 -1
  765. package/dist/actions/list-ticket-forms.cjs +12 -12
  766. package/dist/actions/list-ticket-forms.cjs.map +1 -1
  767. package/dist/actions/list-ticket-forms.d.cts +14 -27
  768. package/dist/actions/list-ticket-forms.d.cts.map +1 -1
  769. package/dist/actions/list-ticket-forms.d.mts +14 -27
  770. package/dist/actions/list-ticket-forms.d.mts.map +1 -1
  771. package/dist/actions/list-ticket-forms.mjs +12 -12
  772. package/dist/actions/list-ticket-forms.mjs.map +1 -1
  773. package/dist/actions/list-ticket-satisfaction-ratings.cjs +14 -14
  774. package/dist/actions/list-ticket-satisfaction-ratings.cjs.map +1 -1
  775. package/dist/actions/list-ticket-satisfaction-ratings.d.cts +16 -31
  776. package/dist/actions/list-ticket-satisfaction-ratings.d.mts +16 -31
  777. package/dist/actions/list-ticket-satisfaction-ratings.mjs +14 -14
  778. package/dist/actions/list-ticket-satisfaction-ratings.mjs.map +1 -1
  779. package/dist/actions/list-tickets-watchers.cjs +4 -4
  780. package/dist/actions/list-tickets-watchers.cjs.map +1 -1
  781. package/dist/actions/list-tickets-watchers.d.cts +5 -11
  782. package/dist/actions/list-tickets-watchers.d.mts +5 -11
  783. package/dist/actions/list-tickets-watchers.mjs +4 -4
  784. package/dist/actions/list-tickets-watchers.mjs.map +1 -1
  785. package/dist/actions/list-time-entries.cjs +15 -15
  786. package/dist/actions/list-time-entries.cjs.map +1 -1
  787. package/dist/actions/list-time-entries.d.cts +17 -33
  788. package/dist/actions/list-time-entries.d.mts +17 -33
  789. package/dist/actions/list-time-entries.mjs +15 -15
  790. package/dist/actions/list-time-entries.mjs.map +1 -1
  791. package/dist/actions/list-topic-comments2.cjs +14 -14
  792. package/dist/actions/list-topic-comments2.cjs.map +1 -1
  793. package/dist/actions/list-topic-comments2.d.cts +16 -31
  794. package/dist/actions/list-topic-comments2.d.mts +16 -31
  795. package/dist/actions/list-topic-comments2.mjs +14 -14
  796. package/dist/actions/list-topic-comments2.mjs.map +1 -1
  797. package/dist/actions/list-translated-solution-articles.cjs +35 -35
  798. package/dist/actions/list-translated-solution-articles.cjs.map +1 -1
  799. package/dist/actions/list-translated-solution-articles.d.cts +37 -73
  800. package/dist/actions/list-translated-solution-articles.d.cts.map +1 -1
  801. package/dist/actions/list-translated-solution-articles.d.mts +37 -73
  802. package/dist/actions/list-translated-solution-articles.d.mts.map +1 -1
  803. package/dist/actions/list-translated-solution-articles.mjs +35 -35
  804. package/dist/actions/list-translated-solution-articles.mjs.map +1 -1
  805. package/dist/actions/list-translated-subfolders.cjs +20 -20
  806. package/dist/actions/list-translated-subfolders.cjs.map +1 -1
  807. package/dist/actions/list-translated-subfolders.d.cts +22 -43
  808. package/dist/actions/list-translated-subfolders.d.mts +22 -43
  809. package/dist/actions/list-translated-subfolders.mjs +20 -20
  810. package/dist/actions/list-translated-subfolders.mjs.map +1 -1
  811. package/dist/actions/patch-admin-groups-agents.cjs +1 -1
  812. package/dist/actions/patch-admin-groups-agents.cjs.map +1 -1
  813. package/dist/actions/patch-admin-groups-agents.d.cts +3 -5
  814. package/dist/actions/patch-admin-groups-agents.d.mts +3 -5
  815. package/dist/actions/patch-admin-groups-agents.mjs +1 -1
  816. package/dist/actions/patch-admin-groups-agents.mjs.map +1 -1
  817. package/dist/actions/remove-watcher.cjs +3 -3
  818. package/dist/actions/remove-watcher.cjs.map +1 -1
  819. package/dist/actions/remove-watcher.d.cts +4 -7
  820. package/dist/actions/remove-watcher.d.mts +4 -7
  821. package/dist/actions/remove-watcher.mjs +3 -3
  822. package/dist/actions/remove-watcher.mjs.map +1 -1
  823. package/dist/actions/reply-to-forward-ticket.cjs +14 -14
  824. package/dist/actions/reply-to-forward-ticket.cjs.map +1 -1
  825. package/dist/actions/reply-to-forward-ticket.d.cts +15 -29
  826. package/dist/actions/reply-to-forward-ticket.d.mts +15 -29
  827. package/dist/actions/reply-to-forward-ticket.mjs +14 -14
  828. package/dist/actions/reply-to-forward-ticket.mjs.map +1 -1
  829. package/dist/actions/reply-to-ticket.cjs +22 -22
  830. package/dist/actions/reply-to-ticket.cjs.map +1 -1
  831. package/dist/actions/reply-to-ticket.d.cts +23 -45
  832. package/dist/actions/reply-to-ticket.d.cts.map +1 -1
  833. package/dist/actions/reply-to-ticket.d.mts +23 -45
  834. package/dist/actions/reply-to-ticket.d.mts.map +1 -1
  835. package/dist/actions/reply-to-ticket.mjs +22 -22
  836. package/dist/actions/reply-to-ticket.mjs.map +1 -1
  837. package/dist/actions/search-agents.cjs +21 -21
  838. package/dist/actions/search-agents.cjs.map +1 -1
  839. package/dist/actions/search-agents.d.cts +23 -59
  840. package/dist/actions/search-agents.d.mts +23 -59
  841. package/dist/actions/search-agents.mjs +21 -21
  842. package/dist/actions/search-agents.mjs.map +1 -1
  843. package/dist/actions/search-companies.cjs +23 -23
  844. package/dist/actions/search-companies.cjs.map +1 -1
  845. package/dist/actions/search-companies.d.cts +24 -47
  846. package/dist/actions/search-companies.d.cts.map +1 -1
  847. package/dist/actions/search-companies.d.mts +24 -47
  848. package/dist/actions/search-companies.d.mts.map +1 -1
  849. package/dist/actions/search-companies.mjs +23 -23
  850. package/dist/actions/search-companies.mjs.map +1 -1
  851. package/dist/actions/search-company.cjs +4 -4
  852. package/dist/actions/search-company.cjs.map +1 -1
  853. package/dist/actions/search-company.d.cts +6 -11
  854. package/dist/actions/search-company.d.mts +6 -11
  855. package/dist/actions/search-company.mjs +4 -4
  856. package/dist/actions/search-company.mjs.map +1 -1
  857. package/dist/actions/search-contacts-autocomplete.cjs +10 -10
  858. package/dist/actions/search-contacts-autocomplete.cjs.map +1 -1
  859. package/dist/actions/search-contacts-autocomplete.d.cts +12 -23
  860. package/dist/actions/search-contacts-autocomplete.d.mts +12 -23
  861. package/dist/actions/search-contacts-autocomplete.mjs +10 -10
  862. package/dist/actions/search-contacts-autocomplete.mjs.map +1 -1
  863. package/dist/actions/search-contacts.cjs +39 -39
  864. package/dist/actions/search-contacts.cjs.map +1 -1
  865. package/dist/actions/search-contacts.d.cts +40 -79
  866. package/dist/actions/search-contacts.d.cts.map +1 -1
  867. package/dist/actions/search-contacts.d.mts +40 -79
  868. package/dist/actions/search-contacts.d.mts.map +1 -1
  869. package/dist/actions/search-contacts.mjs +39 -39
  870. package/dist/actions/search-contacts.mjs.map +1 -1
  871. package/dist/actions/search-solution-articles.cjs +40 -40
  872. package/dist/actions/search-solution-articles.cjs.map +1 -1
  873. package/dist/actions/search-solution-articles.d.cts +42 -83
  874. package/dist/actions/search-solution-articles.d.mts +42 -83
  875. package/dist/actions/search-solution-articles.mjs +40 -40
  876. package/dist/actions/search-solution-articles.mjs.map +1 -1
  877. package/dist/actions/toggle-timer.cjs +11 -11
  878. package/dist/actions/toggle-timer.cjs.map +1 -1
  879. package/dist/actions/toggle-timer.d.cts +12 -25
  880. package/dist/actions/toggle-timer.d.mts +12 -25
  881. package/dist/actions/toggle-timer.mjs +11 -11
  882. package/dist/actions/toggle-timer.mjs.map +1 -1
  883. package/dist/actions/update-admin-group.cjs +15 -15
  884. package/dist/actions/update-admin-group.cjs.map +1 -1
  885. package/dist/actions/update-admin-group.d.cts +17 -33
  886. package/dist/actions/update-admin-group.d.mts +17 -33
  887. package/dist/actions/update-admin-group.mjs +15 -15
  888. package/dist/actions/update-admin-group.mjs.map +1 -1
  889. package/dist/actions/update-admin-ticket-field-section.cjs +9 -9
  890. package/dist/actions/update-admin-ticket-field-section.cjs.map +1 -1
  891. package/dist/actions/update-admin-ticket-field-section.d.cts +10 -19
  892. package/dist/actions/update-admin-ticket-field-section.d.mts +10 -19
  893. package/dist/actions/update-admin-ticket-field-section.mjs +9 -9
  894. package/dist/actions/update-admin-ticket-field-section.mjs.map +1 -1
  895. package/dist/actions/update-admin-ticket-field.cjs +26 -26
  896. package/dist/actions/update-admin-ticket-field.cjs.map +1 -1
  897. package/dist/actions/update-admin-ticket-field.d.cts +26 -52
  898. package/dist/actions/update-admin-ticket-field.d.cts.map +1 -1
  899. package/dist/actions/update-admin-ticket-field.d.mts +26 -52
  900. package/dist/actions/update-admin-ticket-field.d.mts.map +1 -1
  901. package/dist/actions/update-admin-ticket-field.mjs +26 -26
  902. package/dist/actions/update-admin-ticket-field.mjs.map +1 -1
  903. package/dist/actions/update-agent-availability.cjs +15 -15
  904. package/dist/actions/update-agent-availability.cjs.map +1 -1
  905. package/dist/actions/update-agent-availability.d.cts +17 -30
  906. package/dist/actions/update-agent-availability.d.mts +17 -30
  907. package/dist/actions/update-agent-availability.mjs +15 -15
  908. package/dist/actions/update-agent-availability.mjs.map +1 -1
  909. package/dist/actions/update-agent.cjs +31 -31
  910. package/dist/actions/update-agent.cjs.map +1 -1
  911. package/dist/actions/update-agent.d.cts +32 -63
  912. package/dist/actions/update-agent.d.mts +32 -63
  913. package/dist/actions/update-agent.mjs +31 -31
  914. package/dist/actions/update-agent.mjs.map +1 -1
  915. package/dist/actions/update-automations.cjs +44 -44
  916. package/dist/actions/update-automations.cjs.map +1 -1
  917. package/dist/actions/update-automations.d.cts +45 -89
  918. package/dist/actions/update-automations.d.cts.map +1 -1
  919. package/dist/actions/update-automations.d.mts +45 -89
  920. package/dist/actions/update-automations.d.mts.map +1 -1
  921. package/dist/actions/update-automations.mjs +44 -44
  922. package/dist/actions/update-automations.mjs.map +1 -1
  923. package/dist/actions/update-canned-response-folder.cjs +1 -1
  924. package/dist/actions/update-canned-response-folder.cjs.map +1 -1
  925. package/dist/actions/update-canned-response-folder.d.cts +2 -5
  926. package/dist/actions/update-canned-response-folder.d.mts +2 -5
  927. package/dist/actions/update-canned-response-folder.mjs +1 -1
  928. package/dist/actions/update-canned-response-folder.mjs.map +1 -1
  929. package/dist/actions/update-canned-response.cjs +18 -18
  930. package/dist/actions/update-canned-response.cjs.map +1 -1
  931. package/dist/actions/update-canned-response.d.cts +19 -37
  932. package/dist/actions/update-canned-response.d.mts +19 -37
  933. package/dist/actions/update-canned-response.mjs +18 -18
  934. package/dist/actions/update-canned-response.mjs.map +1 -1
  935. package/dist/actions/update-companies.cjs +15 -15
  936. package/dist/actions/update-companies.cjs.map +1 -1
  937. package/dist/actions/update-companies.d.cts +16 -31
  938. package/dist/actions/update-companies.d.cts.map +1 -1
  939. package/dist/actions/update-companies.d.mts +16 -31
  940. package/dist/actions/update-companies.d.mts.map +1 -1
  941. package/dist/actions/update-companies.mjs +15 -15
  942. package/dist/actions/update-companies.mjs.map +1 -1
  943. package/dist/actions/update-contact-field.cjs +21 -21
  944. package/dist/actions/update-contact-field.cjs.map +1 -1
  945. package/dist/actions/update-contact-field.d.cts +22 -43
  946. package/dist/actions/update-contact-field.d.cts.map +1 -1
  947. package/dist/actions/update-contact-field.d.mts +22 -43
  948. package/dist/actions/update-contact-field.d.mts.map +1 -1
  949. package/dist/actions/update-contact-field.mjs +21 -21
  950. package/dist/actions/update-contact-field.mjs.map +1 -1
  951. package/dist/actions/update-contact-make-agent.cjs +27 -27
  952. package/dist/actions/update-contact-make-agent.cjs.map +1 -1
  953. package/dist/actions/update-contact-make-agent.d.cts +28 -55
  954. package/dist/actions/update-contact-make-agent.d.mts +28 -55
  955. package/dist/actions/update-contact-make-agent.mjs +27 -27
  956. package/dist/actions/update-contact-make-agent.mjs.map +1 -1
  957. package/dist/actions/update-contact.cjs +48 -48
  958. package/dist/actions/update-contact.cjs.map +1 -1
  959. package/dist/actions/update-contact.d.cts +49 -97
  960. package/dist/actions/update-contact.d.cts.map +1 -1
  961. package/dist/actions/update-contact.d.mts +49 -97
  962. package/dist/actions/update-contact.d.mts.map +1 -1
  963. package/dist/actions/update-contact.mjs +48 -48
  964. package/dist/actions/update-contact.mjs.map +1 -1
  965. package/dist/actions/update-conversations.cjs +24 -24
  966. package/dist/actions/update-conversations.cjs.map +1 -1
  967. package/dist/actions/update-conversations.d.cts +25 -49
  968. package/dist/actions/update-conversations.d.mts +25 -49
  969. package/dist/actions/update-conversations.mjs +24 -24
  970. package/dist/actions/update-conversations.mjs.map +1 -1
  971. package/dist/actions/update-discussion-category.cjs +6 -6
  972. package/dist/actions/update-discussion-category.cjs.map +1 -1
  973. package/dist/actions/update-discussion-category.d.cts +7 -13
  974. package/dist/actions/update-discussion-category.d.mts +7 -13
  975. package/dist/actions/update-discussion-category.mjs +6 -6
  976. package/dist/actions/update-discussion-category.mjs.map +1 -1
  977. package/dist/actions/update-discussion-comment.cjs +13 -13
  978. package/dist/actions/update-discussion-comment.cjs.map +1 -1
  979. package/dist/actions/update-discussion-comment.d.cts +14 -27
  980. package/dist/actions/update-discussion-comment.d.mts +14 -27
  981. package/dist/actions/update-discussion-comment.mjs +13 -13
  982. package/dist/actions/update-discussion-comment.mjs.map +1 -1
  983. package/dist/actions/update-discussion-forum.cjs +13 -13
  984. package/dist/actions/update-discussion-forum.cjs.map +1 -1
  985. package/dist/actions/update-discussion-forum.d.cts +14 -27
  986. package/dist/actions/update-discussion-forum.d.mts +14 -27
  987. package/dist/actions/update-discussion-forum.mjs +13 -13
  988. package/dist/actions/update-discussion-forum.mjs.map +1 -1
  989. package/dist/actions/update-discussion-topic.cjs +18 -18
  990. package/dist/actions/update-discussion-topic.cjs.map +1 -1
  991. package/dist/actions/update-discussion-topic.d.cts +19 -37
  992. package/dist/actions/update-discussion-topic.d.mts +19 -37
  993. package/dist/actions/update-discussion-topic.mjs +18 -18
  994. package/dist/actions/update-discussion-topic.mjs.map +1 -1
  995. package/dist/actions/update-email-settings.cjs +13 -13
  996. package/dist/actions/update-email-settings.cjs.map +1 -1
  997. package/dist/actions/update-email-settings.d.cts +14 -27
  998. package/dist/actions/update-email-settings.d.mts +14 -27
  999. package/dist/actions/update-email-settings.mjs +13 -13
  1000. package/dist/actions/update-email-settings.mjs.map +1 -1
  1001. package/dist/actions/update-notification-email-bcc.cjs +1 -1
  1002. package/dist/actions/update-notification-email-bcc.cjs.map +1 -1
  1003. package/dist/actions/update-notification-email-bcc.d.cts +3 -5
  1004. package/dist/actions/update-notification-email-bcc.d.mts +3 -5
  1005. package/dist/actions/update-notification-email-bcc.mjs +1 -1
  1006. package/dist/actions/update-notification-email-bcc.mjs.map +1 -1
  1007. package/dist/actions/update-sla-policies.cjs +43 -43
  1008. package/dist/actions/update-sla-policies.cjs.map +1 -1
  1009. package/dist/actions/update-sla-policies.d.cts +62 -126
  1010. package/dist/actions/update-sla-policies.d.mts +62 -126
  1011. package/dist/actions/update-sla-policies.mjs +43 -43
  1012. package/dist/actions/update-sla-policies.mjs.map +1 -1
  1013. package/dist/actions/update-solution-category.cjs +9 -9
  1014. package/dist/actions/update-solution-category.cjs.map +1 -1
  1015. package/dist/actions/update-solution-category.d.cts +10 -19
  1016. package/dist/actions/update-solution-category.d.mts +10 -19
  1017. package/dist/actions/update-solution-category.mjs +9 -9
  1018. package/dist/actions/update-solution-category.mjs.map +1 -1
  1019. package/dist/actions/update-solution-folder.cjs +25 -25
  1020. package/dist/actions/update-solution-folder.cjs.map +1 -1
  1021. package/dist/actions/update-solution-folder.d.cts +26 -51
  1022. package/dist/actions/update-solution-folder.d.mts +26 -51
  1023. package/dist/actions/update-solution-folder.mjs +25 -25
  1024. package/dist/actions/update-solution-folder.mjs.map +1 -1
  1025. package/dist/actions/update-solutions.cjs +35 -35
  1026. package/dist/actions/update-solutions.cjs.map +1 -1
  1027. package/dist/actions/update-solutions.d.cts +37 -71
  1028. package/dist/actions/update-solutions.d.cts.map +1 -1
  1029. package/dist/actions/update-solutions.d.mts +37 -71
  1030. package/dist/actions/update-solutions.d.mts.map +1 -1
  1031. package/dist/actions/update-solutions.mjs +35 -35
  1032. package/dist/actions/update-solutions.mjs.map +1 -1
  1033. package/dist/actions/update-ticket-bulk-watch.cjs +9 -9
  1034. package/dist/actions/update-ticket-bulk-watch.cjs.map +1 -1
  1035. package/dist/actions/update-ticket-bulk-watch.d.cts +10 -23
  1036. package/dist/actions/update-ticket-bulk-watch.d.mts +10 -23
  1037. package/dist/actions/update-ticket-bulk-watch.mjs +9 -9
  1038. package/dist/actions/update-ticket-bulk-watch.mjs.map +1 -1
  1039. package/dist/actions/update-ticket-forms.cjs +8 -8
  1040. package/dist/actions/update-ticket-forms.cjs.map +1 -1
  1041. package/dist/actions/update-ticket-forms.d.cts +10 -40
  1042. package/dist/actions/update-ticket-forms.d.cts.map +1 -1
  1043. package/dist/actions/update-ticket-forms.d.mts +10 -40
  1044. package/dist/actions/update-ticket-forms.d.mts.map +1 -1
  1045. package/dist/actions/update-ticket-forms.mjs +8 -8
  1046. package/dist/actions/update-ticket-forms.mjs.map +1 -1
  1047. package/dist/actions/update-ticket-summary.cjs +12 -12
  1048. package/dist/actions/update-ticket-summary.cjs.map +1 -1
  1049. package/dist/actions/update-ticket-summary.d.cts +13 -25
  1050. package/dist/actions/update-ticket-summary.d.mts +13 -25
  1051. package/dist/actions/update-ticket-summary.mjs +12 -12
  1052. package/dist/actions/update-ticket-summary.mjs.map +1 -1
  1053. package/dist/actions/update-ticket-user-access.cjs +2 -2
  1054. package/dist/actions/update-ticket-user-access.cjs.map +1 -1
  1055. package/dist/actions/update-ticket-user-access.d.cts +4 -5
  1056. package/dist/actions/update-ticket-user-access.d.mts +4 -5
  1057. package/dist/actions/update-ticket-user-access.mjs +2 -2
  1058. package/dist/actions/update-ticket-user-access.mjs.map +1 -1
  1059. package/dist/actions/update-ticket.cjs +42 -42
  1060. package/dist/actions/update-ticket.cjs.map +1 -1
  1061. package/dist/actions/update-ticket.d.cts +43 -86
  1062. package/dist/actions/update-ticket.d.cts.map +1 -1
  1063. package/dist/actions/update-ticket.d.mts +43 -86
  1064. package/dist/actions/update-ticket.d.mts.map +1 -1
  1065. package/dist/actions/update-ticket.mjs +42 -42
  1066. package/dist/actions/update-ticket.mjs.map +1 -1
  1067. package/dist/actions/update-time-entry.cjs +14 -14
  1068. package/dist/actions/update-time-entry.cjs.map +1 -1
  1069. package/dist/actions/update-time-entry.d.cts +15 -29
  1070. package/dist/actions/update-time-entry.d.mts +15 -29
  1071. package/dist/actions/update-time-entry.mjs +14 -14
  1072. package/dist/actions/update-time-entry.mjs.map +1 -1
  1073. package/dist/actions/view-a-canned-response.cjs +22 -22
  1074. package/dist/actions/view-a-canned-response.cjs.map +1 -1
  1075. package/dist/actions/view-a-canned-response.d.cts +23 -45
  1076. package/dist/actions/view-a-canned-response.d.mts +23 -45
  1077. package/dist/actions/view-a-canned-response.mjs +22 -22
  1078. package/dist/actions/view-a-canned-response.mjs.map +1 -1
  1079. package/dist/actions/view-automations.cjs +45 -45
  1080. package/dist/actions/view-automations.cjs.map +1 -1
  1081. package/dist/actions/view-automations.d.cts +47 -93
  1082. package/dist/actions/view-automations.d.cts.map +1 -1
  1083. package/dist/actions/view-automations.d.mts +47 -93
  1084. package/dist/actions/view-automations.d.mts.map +1 -1
  1085. package/dist/actions/view-automations.mjs +45 -45
  1086. package/dist/actions/view-automations.mjs.map +1 -1
  1087. package/dist/actions/view-business-hour.cjs +26 -26
  1088. package/dist/actions/view-business-hour.cjs.map +1 -1
  1089. package/dist/actions/view-business-hour.d.cts +45 -89
  1090. package/dist/actions/view-business-hour.d.mts +45 -89
  1091. package/dist/actions/view-business-hour.mjs +26 -26
  1092. package/dist/actions/view-business-hour.mjs.map +1 -1
  1093. package/dist/actions/view-company-field.cjs +17 -17
  1094. package/dist/actions/view-company-field.cjs.map +1 -1
  1095. package/dist/actions/view-company-field.d.cts +18 -39
  1096. package/dist/actions/view-company-field.d.mts +18 -39
  1097. package/dist/actions/view-company-field.mjs +17 -17
  1098. package/dist/actions/view-company-field.mjs.map +1 -1
  1099. package/dist/actions/view-contact-field.cjs +9 -9
  1100. package/dist/actions/view-contact-field.cjs.map +1 -1
  1101. package/dist/actions/view-contact-field.d.cts +10 -35
  1102. package/dist/actions/view-contact-field.d.mts +10 -35
  1103. package/dist/actions/view-contact-field.mjs +9 -9
  1104. package/dist/actions/view-contact-field.mjs.map +1 -1
  1105. package/dist/actions/view-email-configs.cjs +11 -11
  1106. package/dist/actions/view-email-configs.cjs.map +1 -1
  1107. package/dist/actions/view-email-configs.d.cts +12 -23
  1108. package/dist/actions/view-email-configs.d.mts +12 -23
  1109. package/dist/actions/view-email-configs.mjs +11 -11
  1110. package/dist/actions/view-email-configs.mjs.map +1 -1
  1111. package/dist/actions/view-email.cjs +15 -15
  1112. package/dist/actions/view-email.cjs.map +1 -1
  1113. package/dist/actions/view-email.d.cts +16 -31
  1114. package/dist/actions/view-email.d.cts.map +1 -1
  1115. package/dist/actions/view-email.d.mts +16 -31
  1116. package/dist/actions/view-email.d.mts.map +1 -1
  1117. package/dist/actions/view-email.mjs +15 -15
  1118. package/dist/actions/view-email.mjs.map +1 -1
  1119. package/dist/actions/view-group.cjs +14 -14
  1120. package/dist/actions/view-group.cjs.map +1 -1
  1121. package/dist/actions/view-group.d.cts +15 -29
  1122. package/dist/actions/view-group.d.mts +15 -29
  1123. package/dist/actions/view-group.mjs +14 -14
  1124. package/dist/actions/view-group.mjs.map +1 -1
  1125. package/dist/actions/view-notifications.cjs +4 -4
  1126. package/dist/actions/view-notifications.cjs.map +1 -1
  1127. package/dist/actions/view-notifications.d.cts +5 -9
  1128. package/dist/actions/view-notifications.d.cts.map +1 -1
  1129. package/dist/actions/view-notifications.d.mts +5 -9
  1130. package/dist/actions/view-notifications.d.mts.map +1 -1
  1131. package/dist/actions/view-notifications.mjs +4 -4
  1132. package/dist/actions/view-notifications.mjs.map +1 -1
  1133. package/dist/actions/view-products.cjs +8 -8
  1134. package/dist/actions/view-products.cjs.map +1 -1
  1135. package/dist/actions/view-products.d.cts +9 -17
  1136. package/dist/actions/view-products.d.mts +9 -17
  1137. package/dist/actions/view-products.mjs +8 -8
  1138. package/dist/actions/view-products.mjs.map +1 -1
  1139. package/dist/actions/view-roles.cjs +10 -10
  1140. package/dist/actions/view-roles.cjs.map +1 -1
  1141. package/dist/actions/view-roles.d.cts +11 -21
  1142. package/dist/actions/view-roles.d.mts +11 -21
  1143. package/dist/actions/view-roles.mjs +10 -10
  1144. package/dist/actions/view-roles.mjs.map +1 -1
  1145. package/dist/actions/view-settings.cjs +5 -5
  1146. package/dist/actions/view-settings.cjs.map +1 -1
  1147. package/dist/actions/view-settings.d.cts +6 -11
  1148. package/dist/actions/view-settings.d.cts.map +1 -1
  1149. package/dist/actions/view-settings.d.mts +6 -11
  1150. package/dist/actions/view-settings.d.mts.map +1 -1
  1151. package/dist/actions/view-settings.mjs +5 -5
  1152. package/dist/actions/view-settings.mjs.map +1 -1
  1153. package/dist/actions/view-skill.cjs +4 -4
  1154. package/dist/actions/view-skill.cjs.map +1 -1
  1155. package/dist/actions/view-skill.d.cts +5 -19
  1156. package/dist/actions/view-skill.d.cts.map +1 -1
  1157. package/dist/actions/view-skill.d.mts +5 -19
  1158. package/dist/actions/view-skill.d.mts.map +1 -1
  1159. package/dist/actions/view-skill.mjs +4 -4
  1160. package/dist/actions/view-skill.mjs.map +1 -1
  1161. package/dist/actions/view-solution-category.cjs +10 -10
  1162. package/dist/actions/view-solution-category.cjs.map +1 -1
  1163. package/dist/actions/view-solution-category.d.cts +11 -21
  1164. package/dist/actions/view-solution-category.d.cts.map +1 -1
  1165. package/dist/actions/view-solution-category.d.mts +11 -21
  1166. package/dist/actions/view-solution-category.d.mts.map +1 -1
  1167. package/dist/actions/view-solution-category.mjs +10 -10
  1168. package/dist/actions/view-solution-category.mjs.map +1 -1
  1169. package/dist/actions/view-solution-folder.cjs +24 -24
  1170. package/dist/actions/view-solution-folder.cjs.map +1 -1
  1171. package/dist/actions/view-solution-folder.d.cts +25 -49
  1172. package/dist/actions/view-solution-folder.d.mts +25 -49
  1173. package/dist/actions/view-solution-folder.mjs +24 -24
  1174. package/dist/actions/view-solution-folder.mjs.map +1 -1
  1175. package/dist/actions/view-solutions.cjs +51 -51
  1176. package/dist/actions/view-solutions.cjs.map +1 -1
  1177. package/dist/actions/view-solutions.d.cts +53 -105
  1178. package/dist/actions/view-solutions.d.mts +53 -105
  1179. package/dist/actions/view-solutions.mjs +51 -51
  1180. package/dist/actions/view-solutions.mjs.map +1 -1
  1181. package/dist/actions/view-ticket-field.cjs +39 -39
  1182. package/dist/actions/view-ticket-field.cjs.map +1 -1
  1183. package/dist/actions/view-ticket-field.d.cts +40 -79
  1184. package/dist/actions/view-ticket-field.d.cts.map +1 -1
  1185. package/dist/actions/view-ticket-field.d.mts +40 -79
  1186. package/dist/actions/view-ticket-field.d.mts.map +1 -1
  1187. package/dist/actions/view-ticket-field.mjs +39 -39
  1188. package/dist/actions/view-ticket-field.mjs.map +1 -1
  1189. package/dist/actions/view-ticket-form-field.cjs +19 -19
  1190. package/dist/actions/view-ticket-form-field.cjs.map +1 -1
  1191. package/dist/actions/view-ticket-form-field.d.cts +20 -39
  1192. package/dist/actions/view-ticket-form-field.d.mts +20 -39
  1193. package/dist/actions/view-ticket-form-field.mjs +19 -19
  1194. package/dist/actions/view-ticket-form-field.mjs.map +1 -1
  1195. package/dist/actions/view-ticket.cjs +95 -95
  1196. package/dist/actions/view-ticket.cjs.map +1 -1
  1197. package/dist/actions/view-ticket.d.cts +96 -192
  1198. package/dist/actions/view-ticket.d.mts +96 -192
  1199. package/dist/actions/view-ticket.mjs +95 -95
  1200. package/dist/actions/view-ticket.mjs.map +1 -1
  1201. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["freshdesk","executeFreshdeskTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { freshdesk } from \"./app\";\nimport { executeFreshdeskTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return freshdesk.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeFreshdeskTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["freshdesk","executeFreshdeskTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { freshdesk } from \"./app\";\nimport { executeFreshdeskTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return freshdesk.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeFreshdeskTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { freshdesk } from \"./app\";\nimport { executeFreshdeskTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return freshdesk.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeFreshdeskTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { freshdesk } from \"./app\";\nimport { executeFreshdeskTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return freshdesk.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeFreshdeskTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -9,28 +9,28 @@ const FreshdeskAddNoteToTicketInput = zod.z.object({
9
9
  notify_emails: zod.z.array(zod.z.string()).describe("Email addresses to notify about the note. IMPORTANT: Only accepts agent email addresses, not external contacts or non-agent users.").optional()
10
10
  });
11
11
  const FreshdeskAddNoteToTicketOutput = zod.z.object({
12
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the created note").optional()),
13
- body: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("HTML content of the note").optional()),
14
- source: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Source channel of the conversation").optional()),
15
- private: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Privacy flag indicating if note is visible only to agents").optional()),
16
- user_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the user who created the note").optional()),
17
- category: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Classification category of the conversation").optional()),
18
- incoming: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Direction indicator (false for notes created via API)").optional()),
19
- body_text: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Plain text version of the note content").optional()),
20
- cc_emails: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Carbon copy recipient email addresses").optional()),
21
- ticket_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the associated ticket").optional()),
22
- to_emails: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("List of recipient email addresses").optional()),
23
- bcc_emails: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Blind carbon copy recipient email addresses").optional()),
24
- created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the note was created (UTC format: YYYY-MM-DDTHH:MM:SSZ)").optional()),
25
- from_email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Sender email address").optional()),
26
- updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the note was last updated (UTC format: YYYY-MM-DDTHH:MM:SSZ)").optional()),
27
- attachments: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.unknown()).describe("File attachments associated with the note").optional()),
28
- support_email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Support email address used").optional()),
29
- structured_body: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.unknown().describe("Structured representation of the note body").optional()),
30
- outgoing_failures: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.unknown().describe("Details of outgoing email failures").optional()),
31
- email_failure_count: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.unknown().describe("Email delivery failure tracking").optional()),
32
- source_additional_info: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.unknown().describe("Additional metadata about the source").optional())
33
- });
12
+ id: zod.z.number().int().describe("Unique identifier of the created note").nullable().optional(),
13
+ body: zod.z.string().describe("HTML content of the note").nullable().optional(),
14
+ source: zod.z.number().int().describe("Source channel of the conversation").nullable().optional(),
15
+ private: zod.z.boolean().describe("Privacy flag indicating if note is visible only to agents").nullable().optional(),
16
+ user_id: zod.z.number().int().describe("ID of the user who created the note").nullable().optional(),
17
+ category: zod.z.number().int().describe("Classification category of the conversation").nullable().optional(),
18
+ incoming: zod.z.boolean().describe("Direction indicator (false for notes created via API)").nullable().optional(),
19
+ body_text: zod.z.string().describe("Plain text version of the note content").nullable().optional(),
20
+ cc_emails: zod.z.array(zod.z.string()).describe("Carbon copy recipient email addresses").nullable().optional(),
21
+ ticket_id: zod.z.number().int().describe("ID of the associated ticket").nullable().optional(),
22
+ to_emails: zod.z.array(zod.z.string()).describe("List of recipient email addresses").nullable().optional(),
23
+ bcc_emails: zod.z.array(zod.z.string()).describe("Blind carbon copy recipient email addresses").nullable().optional(),
24
+ created_at: zod.z.string().describe("Timestamp when the note was created (UTC format: YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
25
+ from_email: zod.z.string().describe("Sender email address").nullable().optional(),
26
+ updated_at: zod.z.string().describe("Timestamp when the note was last updated (UTC format: YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
27
+ attachments: zod.z.array(zod.z.unknown()).describe("File attachments associated with the note").nullable().optional(),
28
+ support_email: zod.z.string().describe("Support email address used").nullable().optional(),
29
+ structured_body: zod.z.unknown().describe("Structured representation of the note body").nullable().optional(),
30
+ outgoing_failures: zod.z.unknown().describe("Details of outgoing email failures").nullable().optional(),
31
+ email_failure_count: zod.z.unknown().describe("Email delivery failure tracking").nullable().optional(),
32
+ source_additional_info: zod.z.unknown().describe("Additional metadata about the source").nullable().optional()
33
+ }).passthrough();
34
34
  const freshdeskAddNoteToTicket = require_action.action("FRESHDESK_ADD_NOTE_TO_TICKET", {
35
35
  slug: "freshdesk-add-note-to-ticket",
36
36
  name: "Add Note to Ticket",
@@ -1 +1 @@
1
- {"version":3,"file":"add-note-to-ticket.cjs","names":["z","action"],"sources":["../../src/actions/add-note-to-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddNoteToTicketInput = z.object({\n body: z.string().describe(\"The content of the note. Can contain plain text or HTML.\"),\n private: z.boolean().default(true).describe(\"Indicates whether the note is private (visible only to agents). Default: true\").optional(),\n user_id: z.number().int().describe(\"The ID of the user creating the note (useful for posting on behalf of another user).\").optional(),\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add the note to.\"),\n notify_emails: z.array(z.string()).describe(\"Email addresses to notify about the note. IMPORTANT: Only accepts agent email addresses, not external contacts or non-agent users.\").optional(),\n});\nexport const FreshdeskAddNoteToTicketOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the created note\").optional()),\n body: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"HTML content of the note\").optional()),\n source: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Source channel of the conversation\").optional()),\n private: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Privacy flag indicating if note is visible only to agents\").optional()),\n user_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the user who created the note\").optional()),\n category: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Classification category of the conversation\").optional()),\n incoming: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Direction indicator (false for notes created via API)\").optional()),\n body_text: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Plain text version of the note content\").optional()),\n cc_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Carbon copy recipient email addresses\").optional()),\n ticket_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the associated ticket\").optional()),\n to_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of recipient email addresses\").optional()),\n bcc_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Blind carbon copy recipient email addresses\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the note was created (UTC format: YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n from_email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Sender email address\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the note was last updated (UTC format: YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n attachments: z.preprocess((value) => (value === null ? undefined : value), z.array(z.unknown()).describe(\"File attachments associated with the note\").optional()),\n support_email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Support email address used\").optional()),\n structured_body: z.preprocess((value) => (value === null ? undefined : value), z.unknown().describe(\"Structured representation of the note body\").optional()),\n outgoing_failures: z.preprocess((value) => (value === null ? undefined : value), z.unknown().describe(\"Details of outgoing email failures\").optional()),\n email_failure_count: z.preprocess((value) => (value === null ? undefined : value), z.unknown().describe(\"Email delivery failure tracking\").optional()),\n source_additional_info: z.preprocess((value) => (value === null ? undefined : value), z.unknown().describe(\"Additional metadata about the source\").optional()),\n});\n\nexport const freshdeskAddNoteToTicket = action(\"FRESHDESK_ADD_NOTE_TO_TICKET\", {\n slug: \"freshdesk-add-note-to-ticket\",\n name: \"Add Note to Ticket\",\n description: \"Tool to add a private or public note to an existing ticket in Freshdesk. Use when you need to add internal comments or public notes to a ticket. Notes can be private (agent-only) or public, and can include HTML content.\",\n input: FreshdeskAddNoteToTicketInput,\n output: FreshdeskAddNoteToTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC9F,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;AAC7L,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;CAC/I,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;CAC9H,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC;CAChJ,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC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SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;AAC/J,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-note-to-ticket.cjs","names":["z","action"],"sources":["../../src/actions/add-note-to-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddNoteToTicketInput = z.object({\n body: z.string().describe(\"The content of the note. Can contain plain text or HTML.\"),\n private: z.boolean().default(true).describe(\"Indicates whether the note is private (visible only to agents). Default: true\").optional(),\n user_id: z.number().int().describe(\"The ID of the user creating the note (useful for posting on behalf of another user).\").optional(),\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add the note to.\"),\n notify_emails: z.array(z.string()).describe(\"Email addresses to notify about the note. IMPORTANT: Only accepts agent email addresses, not external contacts or non-agent users.\").optional(),\n});\nexport const FreshdeskAddNoteToTicketOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created note\").nullable().optional(),\n body: z.string().describe(\"HTML content of the note\").nullable().optional(),\n source: z.number().int().describe(\"Source channel of the conversation\").nullable().optional(),\n private: z.boolean().describe(\"Privacy flag indicating if note is visible only to agents\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who created the note\").nullable().optional(),\n category: z.number().int().describe(\"Classification category of the conversation\").nullable().optional(),\n incoming: z.boolean().describe(\"Direction indicator (false for notes created via API)\").nullable().optional(),\n body_text: z.string().describe(\"Plain text version of the note content\").nullable().optional(),\n cc_emails: z.array(z.string()).describe(\"Carbon copy recipient email addresses\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the associated ticket\").nullable().optional(),\n to_emails: z.array(z.string()).describe(\"List of recipient email addresses\").nullable().optional(),\n bcc_emails: z.array(z.string()).describe(\"Blind carbon copy recipient email addresses\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created (UTC format: YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated (UTC format: YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n attachments: z.array(z.unknown()).describe(\"File attachments associated with the note\").nullable().optional(),\n support_email: z.string().describe(\"Support email address used\").nullable().optional(),\n structured_body: z.unknown().describe(\"Structured representation of the note body\").nullable().optional(),\n outgoing_failures: z.unknown().describe(\"Details of outgoing email failures\").nullable().optional(),\n email_failure_count: z.unknown().describe(\"Email delivery failure tracking\").nullable().optional(),\n source_additional_info: z.unknown().describe(\"Additional metadata about the source\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskAddNoteToTicket = action(\"FRESHDESK_ADD_NOTE_TO_TICKET\", {\n slug: \"freshdesk-add-note-to-ticket\",\n name: \"Add Note to Ticket\",\n description: \"Tool to add a private or public note to an existing ticket in Freshdesk. Use when you need to add internal comments or public notes to a ticket. Notes can be private (agent-only) or public, and can include HTML content.\",\n input: FreshdeskAddNoteToTicketInput,\n output: FreshdeskAddNoteToTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC9F,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;AAC7L,CAAC;AACD,MAAa,iCAAiCA,IAA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.ZodArray<z.ZodString>>;
10
10
  }, z.core.$strip>;
11
11
  declare const FreshdeskAddNoteToTicketOutput: z.ZodObject<{
12
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
- body: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- source: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
- private: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
16
- user_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
17
- category: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- incoming: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
19
- body_text: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- cc_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
21
- ticket_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- to_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
23
- bcc_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
24
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- from_email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- attachments: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodUnknown>>>;
28
- support_email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- structured_body: z.ZodPreprocess<z.ZodOptional<z.ZodUnknown>>;
30
- outgoing_failures: z.ZodPreprocess<z.ZodOptional<z.ZodUnknown>>;
31
- email_failure_count: z.ZodPreprocess<z.ZodOptional<z.ZodUnknown>>;
32
- source_additional_info: z.ZodPreprocess<z.ZodOptional<z.ZodUnknown>>;
33
- }, z.core.$strip>;
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ source: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ category: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ incoming: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ body_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ cc_emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
+ ticket_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ to_emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23
+ bcc_emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ from_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
28
+ support_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ structured_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
30
+ outgoing_failures: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
31
+ email_failure_count: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
32
+ source_additional_info: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
33
+ }, z.core.$loose>;
34
34
  declare const freshdeskAddNoteToTicket: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  body: string;
36
36
  ticket_id: number;
37
37
  private?: boolean | undefined;
38
38
  user_id?: number | undefined;
39
39
  notify_emails?: string[] | undefined;
40
- }, {
41
- id?: number | undefined;
42
- body?: string | undefined;
43
- source?: number | undefined;
44
- private?: boolean | undefined;
45
- user_id?: number | undefined;
46
- category?: number | undefined;
47
- incoming?: boolean | undefined;
48
- body_text?: string | undefined;
49
- cc_emails?: string[] | undefined;
50
- ticket_id?: number | undefined;
51
- to_emails?: string[] | undefined;
52
- bcc_emails?: string[] | undefined;
53
- created_at?: string | undefined;
54
- from_email?: string | undefined;
55
- updated_at?: string | undefined;
56
- attachments?: unknown[] | undefined;
57
- support_email?: string | undefined;
58
- structured_body?: unknown;
59
- outgoing_failures?: unknown;
60
- email_failure_count?: unknown;
61
- source_additional_info?: unknown;
62
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
63
41
  //#endregion
64
42
  export { freshdeskAddNoteToTicket };
65
43
  //# sourceMappingURL=add-note-to-ticket.d.cts.map
@@ -9,57 +9,35 @@ declare const FreshdeskAddNoteToTicketInput: z.ZodObject<{
9
9
  notify_emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
10
  }, z.core.$strip>;
11
11
  declare const FreshdeskAddNoteToTicketOutput: z.ZodObject<{
12
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
- body: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- source: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
- private: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
16
- user_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
17
- category: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- incoming: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
19
- body_text: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- cc_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
21
- ticket_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- to_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
23
- bcc_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
24
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- from_email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- attachments: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodUnknown>>>;
28
- support_email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- structured_body: z.ZodPreprocess<z.ZodOptional<z.ZodUnknown>>;
30
- outgoing_failures: z.ZodPreprocess<z.ZodOptional<z.ZodUnknown>>;
31
- email_failure_count: z.ZodPreprocess<z.ZodOptional<z.ZodUnknown>>;
32
- source_additional_info: z.ZodPreprocess<z.ZodOptional<z.ZodUnknown>>;
33
- }, z.core.$strip>;
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ source: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ category: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ incoming: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ body_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ cc_emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
+ ticket_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ to_emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23
+ bcc_emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ from_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
28
+ support_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ structured_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
30
+ outgoing_failures: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
31
+ email_failure_count: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
32
+ source_additional_info: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
33
+ }, z.core.$loose>;
34
34
  declare const freshdeskAddNoteToTicket: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  body: string;
36
36
  ticket_id: number;
37
37
  private?: boolean | undefined;
38
38
  user_id?: number | undefined;
39
39
  notify_emails?: string[] | undefined;
40
- }, {
41
- id?: number | undefined;
42
- body?: string | undefined;
43
- source?: number | undefined;
44
- private?: boolean | undefined;
45
- user_id?: number | undefined;
46
- category?: number | undefined;
47
- incoming?: boolean | undefined;
48
- body_text?: string | undefined;
49
- cc_emails?: string[] | undefined;
50
- ticket_id?: number | undefined;
51
- to_emails?: string[] | undefined;
52
- bcc_emails?: string[] | undefined;
53
- created_at?: string | undefined;
54
- from_email?: string | undefined;
55
- updated_at?: string | undefined;
56
- attachments?: unknown[] | undefined;
57
- support_email?: string | undefined;
58
- structured_body?: unknown;
59
- outgoing_failures?: unknown;
60
- email_failure_count?: unknown;
61
- source_additional_info?: unknown;
62
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
63
41
  //#endregion
64
42
  export { freshdeskAddNoteToTicket };
65
43
  //# sourceMappingURL=add-note-to-ticket.d.mts.map
@@ -12,28 +12,28 @@ const freshdeskAddNoteToTicket = action("FRESHDESK_ADD_NOTE_TO_TICKET", {
12
12
  notify_emails: z.array(z.string()).describe("Email addresses to notify about the note. IMPORTANT: Only accepts agent email addresses, not external contacts or non-agent users.").optional()
13
13
  }),
14
14
  output: z.object({
15
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the created note").optional()),
16
- body: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("HTML content of the note").optional()),
17
- source: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Source channel of the conversation").optional()),
18
- private: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Privacy flag indicating if note is visible only to agents").optional()),
19
- user_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the user who created the note").optional()),
20
- category: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Classification category of the conversation").optional()),
21
- incoming: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Direction indicator (false for notes created via API)").optional()),
22
- body_text: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Plain text version of the note content").optional()),
23
- cc_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Carbon copy recipient email addresses").optional()),
24
- ticket_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the associated ticket").optional()),
25
- to_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("List of recipient email addresses").optional()),
26
- bcc_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Blind carbon copy recipient email addresses").optional()),
27
- created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the note was created (UTC format: YYYY-MM-DDTHH:MM:SSZ)").optional()),
28
- from_email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Sender email address").optional()),
29
- updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the note was last updated (UTC format: YYYY-MM-DDTHH:MM:SSZ)").optional()),
30
- attachments: z.preprocess((value) => value === null ? void 0 : value, z.array(z.unknown()).describe("File attachments associated with the note").optional()),
31
- support_email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Support email address used").optional()),
32
- structured_body: z.preprocess((value) => value === null ? void 0 : value, z.unknown().describe("Structured representation of the note body").optional()),
33
- outgoing_failures: z.preprocess((value) => value === null ? void 0 : value, z.unknown().describe("Details of outgoing email failures").optional()),
34
- email_failure_count: z.preprocess((value) => value === null ? void 0 : value, z.unknown().describe("Email delivery failure tracking").optional()),
35
- source_additional_info: z.preprocess((value) => value === null ? void 0 : value, z.unknown().describe("Additional metadata about the source").optional())
36
- })
15
+ id: z.number().int().describe("Unique identifier of the created note").nullable().optional(),
16
+ body: z.string().describe("HTML content of the note").nullable().optional(),
17
+ source: z.number().int().describe("Source channel of the conversation").nullable().optional(),
18
+ private: z.boolean().describe("Privacy flag indicating if note is visible only to agents").nullable().optional(),
19
+ user_id: z.number().int().describe("ID of the user who created the note").nullable().optional(),
20
+ category: z.number().int().describe("Classification category of the conversation").nullable().optional(),
21
+ incoming: z.boolean().describe("Direction indicator (false for notes created via API)").nullable().optional(),
22
+ body_text: z.string().describe("Plain text version of the note content").nullable().optional(),
23
+ cc_emails: z.array(z.string()).describe("Carbon copy recipient email addresses").nullable().optional(),
24
+ ticket_id: z.number().int().describe("ID of the associated ticket").nullable().optional(),
25
+ to_emails: z.array(z.string()).describe("List of recipient email addresses").nullable().optional(),
26
+ bcc_emails: z.array(z.string()).describe("Blind carbon copy recipient email addresses").nullable().optional(),
27
+ created_at: z.string().describe("Timestamp when the note was created (UTC format: YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
28
+ from_email: z.string().describe("Sender email address").nullable().optional(),
29
+ updated_at: z.string().describe("Timestamp when the note was last updated (UTC format: YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
30
+ attachments: z.array(z.unknown()).describe("File attachments associated with the note").nullable().optional(),
31
+ support_email: z.string().describe("Support email address used").nullable().optional(),
32
+ structured_body: z.unknown().describe("Structured representation of the note body").nullable().optional(),
33
+ outgoing_failures: z.unknown().describe("Details of outgoing email failures").nullable().optional(),
34
+ email_failure_count: z.unknown().describe("Email delivery failure tracking").nullable().optional(),
35
+ source_additional_info: z.unknown().describe("Additional metadata about the source").nullable().optional()
36
+ }).passthrough()
37
37
  });
38
38
  //#endregion
39
39
  export { freshdeskAddNoteToTicket };
@@ -1 +1 @@
1
- {"version":3,"file":"add-note-to-ticket.mjs","names":[],"sources":["../../src/actions/add-note-to-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddNoteToTicketInput = z.object({\n body: z.string().describe(\"The content of the note. Can contain plain text or HTML.\"),\n private: z.boolean().default(true).describe(\"Indicates whether the note is private (visible only to agents). Default: true\").optional(),\n user_id: z.number().int().describe(\"The ID of the user creating the note (useful for posting on behalf of another user).\").optional(),\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add the note to.\"),\n notify_emails: z.array(z.string()).describe(\"Email addresses to notify about the note. IMPORTANT: Only accepts agent email addresses, not external contacts or non-agent users.\").optional(),\n});\nexport const FreshdeskAddNoteToTicketOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the created note\").optional()),\n body: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"HTML content of the note\").optional()),\n source: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Source channel of the conversation\").optional()),\n private: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Privacy flag indicating if note is visible only to agents\").optional()),\n user_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the user who created the note\").optional()),\n category: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Classification category of the conversation\").optional()),\n incoming: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Direction indicator (false for notes created via API)\").optional()),\n body_text: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Plain text version of the note content\").optional()),\n cc_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Carbon copy recipient email addresses\").optional()),\n ticket_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the associated ticket\").optional()),\n to_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of recipient email addresses\").optional()),\n bcc_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Blind carbon copy recipient email addresses\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the note was created (UTC format: YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n from_email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Sender email address\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the note was last updated (UTC format: YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n attachments: z.preprocess((value) => (value === null ? undefined : value), z.array(z.unknown()).describe(\"File attachments associated with the note\").optional()),\n support_email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Support email address used\").optional()),\n structured_body: z.preprocess((value) => (value === null ? undefined : value), z.unknown().describe(\"Structured representation of the note body\").optional()),\n outgoing_failures: z.preprocess((value) => (value === null ? undefined : value), z.unknown().describe(\"Details of outgoing email failures\").optional()),\n email_failure_count: z.preprocess((value) => (value === null ? undefined : value), z.unknown().describe(\"Email delivery failure tracking\").optional()),\n source_additional_info: z.preprocess((value) => (value === null ? undefined : value), z.unknown().describe(\"Additional metadata about the source\").optional()),\n});\n\nexport const freshdeskAddNoteToTicket = action(\"FRESHDESK_ADD_NOTE_TO_TICKET\", {\n slug: \"freshdesk-add-note-to-ticket\",\n name: \"Add Note to Ticket\",\n description: \"Tool to add a private or public note to an existing ticket in Freshdesk. Use when you need to add internal comments or public notes to a ticket. Notes can be private (agent-only) or public, and can include HTML content.\",\n input: FreshdeskAddNoteToTicketInput,\n output: FreshdeskAddNoteToTicketOutput,\n});\n"],"mappings":";;AAmCA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnC2C,EAAE,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S,2CAA2C,CAAC,CAAC,SAAS,CAAC;EAChK,eAAe,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;EACzI,iBAAiB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;EAC5J,mBAAmB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC;EACtJ,qBAAqB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC;EACrJ,wBAAwB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;CAC/J,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"add-note-to-ticket.mjs","names":[],"sources":["../../src/actions/add-note-to-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddNoteToTicketInput = z.object({\n body: z.string().describe(\"The content of the note. Can contain plain text or HTML.\"),\n private: z.boolean().default(true).describe(\"Indicates whether the note is private (visible only to agents). Default: true\").optional(),\n user_id: z.number().int().describe(\"The ID of the user creating the note (useful for posting on behalf of another user).\").optional(),\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add the note to.\"),\n notify_emails: z.array(z.string()).describe(\"Email addresses to notify about the note. IMPORTANT: Only accepts agent email addresses, not external contacts or non-agent users.\").optional(),\n});\nexport const FreshdeskAddNoteToTicketOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created note\").nullable().optional(),\n body: z.string().describe(\"HTML content of the note\").nullable().optional(),\n source: z.number().int().describe(\"Source channel of the conversation\").nullable().optional(),\n private: z.boolean().describe(\"Privacy flag indicating if note is visible only to agents\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who created the note\").nullable().optional(),\n category: z.number().int().describe(\"Classification category of the conversation\").nullable().optional(),\n incoming: z.boolean().describe(\"Direction indicator (false for notes created via API)\").nullable().optional(),\n body_text: z.string().describe(\"Plain text version of the note content\").nullable().optional(),\n cc_emails: z.array(z.string()).describe(\"Carbon copy recipient email addresses\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the associated ticket\").nullable().optional(),\n to_emails: z.array(z.string()).describe(\"List of recipient email addresses\").nullable().optional(),\n bcc_emails: z.array(z.string()).describe(\"Blind carbon copy recipient email addresses\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created (UTC format: YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated (UTC format: YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n attachments: z.array(z.unknown()).describe(\"File attachments associated with the note\").nullable().optional(),\n support_email: z.string().describe(\"Support email address used\").nullable().optional(),\n structured_body: z.unknown().describe(\"Structured representation of the note body\").nullable().optional(),\n outgoing_failures: z.unknown().describe(\"Details of outgoing email failures\").nullable().optional(),\n email_failure_count: z.unknown().describe(\"Email delivery failure tracking\").nullable().optional(),\n source_additional_info: z.unknown().describe(\"Additional metadata about the source\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskAddNoteToTicket = action(\"FRESHDESK_ADD_NOTE_TO_TICKET\", {\n slug: \"freshdesk-add-note-to-ticket\",\n name: \"Add Note to Ticket\",\n description: \"Tool to add a private or public note to an existing ticket in Freshdesk. Use when you need to add internal comments or public notes to a ticket. Notes can be private (agent-only) or public, and can include HTML content.\",\n input: FreshdeskAddNoteToTicketInput,\n output: FreshdeskAddNoteToTicketOutput,\n});\n"],"mappings":";;AAmCA,MAAa,2BA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,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,10 +6,10 @@ const FreshdeskAddTicketUserAccessInput = zod.z.object({
6
6
  ticket_id: zod.z.number().int().describe("The unique identifier of the ticket to add user access to")
7
7
  });
8
8
  const FreshdeskAddTicketUserAccessOutput = zod.z.object({
9
- message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().default("User access added successfully").describe("Status message for the operation").optional()),
10
- success: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(true).describe("Indicates whether the operation was successful").optional()),
11
- user_ids: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.number().int()).describe("List of agent IDs that have access to the ticket").optional())
12
- });
9
+ message: zod.z.string().default("User access added successfully").describe("Status message for the operation").nullable().optional(),
10
+ success: zod.z.boolean().default(true).describe("Indicates whether the operation was successful").nullable().optional(),
11
+ user_ids: zod.z.array(zod.z.number().int()).describe("List of agent IDs that have access to the ticket").nullable().optional()
12
+ }).passthrough();
13
13
  const freshdeskAddTicketUserAccess = require_action.action("FRESHDESK_ADD_TICKET_USER_ACCESS", {
14
14
  slug: "freshdesk-add-ticket-user-access",
15
15
  name: "Add Ticket User Access",
@@ -1 +1 @@
1
- {"version":3,"file":"add-ticket-user-access.cjs","names":["z","action"],"sources":["../../src/actions/add-ticket-user-access.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddTicketUserAccessInput = z.object({\n user_ids: z.array(z.number().int()).describe(\"List of agent IDs to grant access to the ticket. These should be agent IDs, not contact IDs.\"),\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add user access to\"),\n});\nexport const FreshdeskAddTicketUserAccessOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().default(\"User access added successfully\").describe(\"Status message for the operation\").optional()),\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(true).describe(\"Indicates whether the operation was successful\").optional()),\n user_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"List of agent IDs that have access to the ticket\").optional()),\n});\n\nexport const freshdeskAddTicketUserAccess = action(\"FRESHDESK_ADD_TICKET_USER_ACCESS\", {\n slug: \"freshdesk-add-ticket-user-access\",\n name: \"Add Ticket User Access\",\n description: \"Tool to add agent access to a specific ticket in Freshdesk. Use when you need to grant agent(s) permission to view or interact with a ticket. The endpoint accepts agent IDs (not contact IDs) and returns the list of agent IDs that have access to the ticket.\",\n input: FreshdeskAddTicketUserAccessInput,\n output: FreshdeskAddTicketUserAccessOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8FAA8F;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AAClG,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,gCAAgC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CACnL,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;CACtK,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC;AAC3K,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-ticket-user-access.cjs","names":["z","action"],"sources":["../../src/actions/add-ticket-user-access.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddTicketUserAccessInput = z.object({\n user_ids: z.array(z.number().int()).describe(\"List of agent IDs to grant access to the ticket. These should be agent IDs, not contact IDs.\"),\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add user access to\"),\n});\nexport const FreshdeskAddTicketUserAccessOutput = z.object({\n message: z.string().default(\"User access added successfully\").describe(\"Status message for the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the operation was successful\").nullable().optional(),\n user_ids: z.array(z.number().int()).describe(\"List of agent IDs that have access to the ticket\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskAddTicketUserAccess = action(\"FRESHDESK_ADD_TICKET_USER_ACCESS\", {\n slug: \"freshdesk-add-ticket-user-access\",\n name: \"Add Ticket User Access\",\n description: \"Tool to add agent access to a specific ticket in Freshdesk. Use when you need to grant agent(s) permission to view or interact with a ticket. The endpoint accepts agent IDs (not contact IDs) and returns the list of agent IDs that have access to the ticket.\",\n input: FreshdeskAddTicketUserAccessInput,\n output: FreshdeskAddTicketUserAccessOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8FAA8F;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AAClG,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,gCAAgC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,18 +6,14 @@ declare const FreshdeskAddTicketUserAccessInput: z.ZodObject<{
6
6
  ticket_id: z.ZodNumber;
7
7
  }, z.core.$strip>;
8
8
  declare const FreshdeskAddTicketUserAccessOutput: z.ZodObject<{
9
- message: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
10
- success: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
11
- user_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
12
- }, z.core.$strip>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
12
+ }, z.core.$loose>;
13
13
  declare const freshdeskAddTicketUserAccess: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  user_ids: number[];
15
15
  ticket_id: number;
16
- }, {
17
- message?: string | undefined;
18
- success?: boolean | undefined;
19
- user_ids?: number[] | undefined;
20
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
17
  //#endregion
22
18
  export { freshdeskAddTicketUserAccess };
23
19
  //# sourceMappingURL=add-ticket-user-access.d.cts.map
@@ -6,18 +6,14 @@ declare const FreshdeskAddTicketUserAccessInput: z.ZodObject<{
6
6
  ticket_id: z.ZodNumber;
7
7
  }, z.core.$strip>;
8
8
  declare const FreshdeskAddTicketUserAccessOutput: z.ZodObject<{
9
- message: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
10
- success: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
11
- user_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
12
- }, z.core.$strip>;
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
12
+ }, z.core.$loose>;
13
13
  declare const freshdeskAddTicketUserAccess: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  user_ids: number[];
15
15
  ticket_id: number;
16
- }, {
17
- message?: string | undefined;
18
- success?: boolean | undefined;
19
- user_ids?: number[] | undefined;
20
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
17
  //#endregion
22
18
  export { freshdeskAddTicketUserAccess };
23
19
  //# sourceMappingURL=add-ticket-user-access.d.mts.map
@@ -9,10 +9,10 @@ const freshdeskAddTicketUserAccess = action("FRESHDESK_ADD_TICKET_USER_ACCESS",
9
9
  ticket_id: z.number().int().describe("The unique identifier of the ticket to add user access to")
10
10
  }),
11
11
  output: z.object({
12
- message: z.preprocess((value) => value === null ? void 0 : value, z.string().default("User access added successfully").describe("Status message for the operation").optional()),
13
- success: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(true).describe("Indicates whether the operation was successful").optional()),
14
- user_ids: z.preprocess((value) => value === null ? void 0 : value, z.array(z.number().int()).describe("List of agent IDs that have access to the ticket").optional())
15
- })
12
+ message: z.string().default("User access added successfully").describe("Status message for the operation").nullable().optional(),
13
+ success: z.boolean().default(true).describe("Indicates whether the operation was successful").nullable().optional(),
14
+ user_ids: z.array(z.number().int()).describe("List of agent IDs that have access to the ticket").nullable().optional()
15
+ }).passthrough()
16
16
  });
17
17
  //#endregion
18
18
  export { freshdeskAddTicketUserAccess };
@@ -1 +1 @@
1
- {"version":3,"file":"add-ticket-user-access.mjs","names":[],"sources":["../../src/actions/add-ticket-user-access.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddTicketUserAccessInput = z.object({\n user_ids: z.array(z.number().int()).describe(\"List of agent IDs to grant access to the ticket. These should be agent IDs, not contact IDs.\"),\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add user access to\"),\n});\nexport const FreshdeskAddTicketUserAccessOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().default(\"User access added successfully\").describe(\"Status message for the operation\").optional()),\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(true).describe(\"Indicates whether the operation was successful\").optional()),\n user_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"List of agent IDs that have access to the ticket\").optional()),\n});\n\nexport const freshdeskAddTicketUserAccess = action(\"FRESHDESK_ADD_TICKET_USER_ACCESS\", {\n slug: \"freshdesk-add-ticket-user-access\",\n name: \"Add Ticket User Access\",\n description: \"Tool to add agent access to a specific ticket in Freshdesk. Use when you need to grant agent(s) permission to view or interact with a ticket. The endpoint accepts agent IDs (not contact IDs) and returns the list of agent IDs that have access to the ticket.\",\n input: FreshdeskAddTicketUserAccessInput,\n output: FreshdeskAddTicketUserAccessOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8FAA8F;EAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAClG,CAWS;CACP,QAXgD,EAAE,OAAO;EACzD,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,gCAAgC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;EACnL,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;EACtK,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC;CAC3K,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"add-ticket-user-access.mjs","names":[],"sources":["../../src/actions/add-ticket-user-access.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddTicketUserAccessInput = z.object({\n user_ids: z.array(z.number().int()).describe(\"List of agent IDs to grant access to the ticket. These should be agent IDs, not contact IDs.\"),\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add user access to\"),\n});\nexport const FreshdeskAddTicketUserAccessOutput = z.object({\n message: z.string().default(\"User access added successfully\").describe(\"Status message for the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the operation was successful\").nullable().optional(),\n user_ids: z.array(z.number().int()).describe(\"List of agent IDs that have access to the ticket\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskAddTicketUserAccess = action(\"FRESHDESK_ADD_TICKET_USER_ACCESS\", {\n slug: \"freshdesk-add-ticket-user-access\",\n name: \"Add Ticket User Access\",\n description: \"Tool to add agent access to a specific ticket in Freshdesk. Use when you need to grant agent(s) permission to view or interact with a ticket. The endpoint accepts agent IDs (not contact IDs) and returns the list of agent IDs that have access to the ticket.\",\n input: FreshdeskAddTicketUserAccessInput,\n output: FreshdeskAddTicketUserAccessOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8FAA8F;EAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAClG,CAWS;CACP,QAXgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,gCAAgC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/add-watcher.ts
4
4
  const FreshdeskAddWatcherInput = zod.z.object({ ticket_id: zod.z.number().int().describe("The unique identifier of the ticket to add the watcher to. The authenticated user will be added as a watcher to this ticket.") });
5
5
  const FreshdeskAddWatcherOutput = zod.z.object({
6
- message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().default("Watcher added successfully").describe("Status message for the operation").optional()),
7
- success: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(true).describe("Indicates whether the authenticated user was successfully added as a watcher to the ticket").optional())
8
- });
6
+ message: zod.z.string().default("Watcher added successfully").describe("Status message for the operation").nullable().optional(),
7
+ success: zod.z.boolean().default(true).describe("Indicates whether the authenticated user was successfully added as a watcher to the ticket").nullable().optional()
8
+ }).passthrough();
9
9
  const freshdeskAddWatcher = require_action.action("FRESHDESK_ADD_WATCHER", {
10
10
  slug: "freshdesk-add-watcher",
11
11
  name: "Add Watcher to Ticket",
@@ -1 +1 @@
1
- {"version":3,"file":"add-watcher.cjs","names":["z","action"],"sources":["../../src/actions/add-watcher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddWatcherInput = z.object({\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add the watcher to. The authenticated user will be added as a watcher to this ticket.\"),\n});\nexport const FreshdeskAddWatcherOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().default(\"Watcher added successfully\").describe(\"Status message for the operation\").optional()),\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(true).describe(\"Indicates whether the authenticated user was successfully added as a watcher to the ticket\").optional()),\n});\n\nexport const freshdeskAddWatcher = action(\"FRESHDESK_ADD_WATCHER\", {\n slug: \"freshdesk-add-watcher\",\n name: \"Add Watcher to Ticket\",\n description: \"Tool to add the authenticated user as a watcher to a Freshdesk ticket. Use when you need to follow a ticket's progress and receive email notifications for updates like replies or status changes. The API automatically uses the authenticated user's credentials and does not require additional parameters.\",\n input: FreshdeskAddWatcherInput,\n output: FreshdeskAddWatcherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H,EACrK,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,4BAA4B,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAC/K,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC;AACpN,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-watcher.cjs","names":["z","action"],"sources":["../../src/actions/add-watcher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddWatcherInput = z.object({\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add the watcher to. The authenticated user will be added as a watcher to this ticket.\"),\n});\nexport const FreshdeskAddWatcherOutput = z.object({\n message: z.string().default(\"Watcher added successfully\").describe(\"Status message for the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the authenticated user was successfully added as a watcher to the ticket\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskAddWatcher = action(\"FRESHDESK_ADD_WATCHER\", {\n slug: \"freshdesk-add-watcher\",\n name: \"Add Watcher to Ticket\",\n description: \"Tool to add the authenticated user as a watcher to a Freshdesk ticket. Use when you need to follow a ticket's progress and receive email notifications for updates like replies or status changes. The API automatically uses the authenticated user's credentials and does not require additional parameters.\",\n input: FreshdeskAddWatcherInput,\n output: FreshdeskAddWatcherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H,EACrK,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,4BAA4B,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,15 +5,12 @@ declare const FreshdeskAddWatcherInput: z.ZodObject<{
5
5
  ticket_id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const FreshdeskAddWatcherOutput: z.ZodObject<{
8
- message: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
9
- success: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
10
- }, z.core.$strip>;
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
+ }, z.core.$loose>;
11
11
  declare const freshdeskAddWatcher: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  ticket_id: number;
13
- }, {
14
- message?: string | undefined;
15
- success?: boolean | undefined;
16
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { freshdeskAddWatcher };
19
16
  //# sourceMappingURL=add-watcher.d.cts.map
@@ -5,15 +5,12 @@ declare const FreshdeskAddWatcherInput: z.ZodObject<{
5
5
  ticket_id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const FreshdeskAddWatcherOutput: z.ZodObject<{
8
- message: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
9
- success: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
10
- }, z.core.$strip>;
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
+ }, z.core.$loose>;
11
11
  declare const freshdeskAddWatcher: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  ticket_id: number;
13
- }, {
14
- message?: string | undefined;
15
- success?: boolean | undefined;
16
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
14
  //#endregion
18
15
  export { freshdeskAddWatcher };
19
16
  //# sourceMappingURL=add-watcher.d.mts.map
@@ -6,9 +6,9 @@ const freshdeskAddWatcher = action("FRESHDESK_ADD_WATCHER", {
6
6
  description: "Tool to add the authenticated user as a watcher to a Freshdesk ticket. Use when you need to follow a ticket's progress and receive email notifications for updates like replies or status changes. The API automatically uses the authenticated user's credentials and does not require additional parameters.",
7
7
  input: z.object({ ticket_id: z.number().int().describe("The unique identifier of the ticket to add the watcher to. The authenticated user will be added as a watcher to this ticket.") }),
8
8
  output: z.object({
9
- message: z.preprocess((value) => value === null ? void 0 : value, z.string().default("Watcher added successfully").describe("Status message for the operation").optional()),
10
- success: z.preprocess((value) => value === null ? void 0 : value, z.boolean().default(true).describe("Indicates whether the authenticated user was successfully added as a watcher to the ticket").optional())
11
- })
9
+ message: z.string().default("Watcher added successfully").describe("Status message for the operation").nullable().optional(),
10
+ success: z.boolean().default(true).describe("Indicates whether the authenticated user was successfully added as a watcher to the ticket").nullable().optional()
11
+ }).passthrough()
12
12
  });
13
13
  //#endregion
14
14
  export { freshdeskAddWatcher };
@@ -1 +1 @@
1
- {"version":3,"file":"add-watcher.mjs","names":[],"sources":["../../src/actions/add-watcher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddWatcherInput = z.object({\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add the watcher to. The authenticated user will be added as a watcher to this ticket.\"),\n});\nexport const FreshdeskAddWatcherOutput = z.object({\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().default(\"Watcher added successfully\").describe(\"Status message for the operation\").optional()),\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(true).describe(\"Indicates whether the authenticated user was successfully added as a watcher to the ticket\").optional()),\n});\n\nexport const freshdeskAddWatcher = action(\"FRESHDESK_ADD_WATCHER\", {\n slug: \"freshdesk-add-watcher\",\n name: \"Add Watcher to Ticket\",\n description: \"Tool to add the authenticated user as a watcher to a Freshdesk ticket. Use when you need to follow a ticket's progress and receive email notifications for updates like replies or status changes. The API automatically uses the authenticated user's credentials and does not require additional parameters.\",\n input: FreshdeskAddWatcherInput,\n output: FreshdeskAddWatcherOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H,EACrK,CAUS;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,4BAA4B,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;EAC/K,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC;CACpN,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"add-watcher.mjs","names":[],"sources":["../../src/actions/add-watcher.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskAddWatcherInput = z.object({\n ticket_id: z.number().int().describe(\"The unique identifier of the ticket to add the watcher to. The authenticated user will be added as a watcher to this ticket.\"),\n});\nexport const FreshdeskAddWatcherOutput = z.object({\n message: z.string().default(\"Watcher added successfully\").describe(\"Status message for the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the authenticated user was successfully added as a watcher to the ticket\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskAddWatcher = action(\"FRESHDESK_ADD_WATCHER\", {\n slug: \"freshdesk-add-watcher\",\n name: \"Add Watcher to Ticket\",\n description: \"Tool to add the authenticated user as a watcher to a Freshdesk ticket. Use when you need to follow a ticket's progress and receive email notifications for updates like replies or status changes. The API automatically uses the authenticated user's credentials and does not require additional parameters.\",\n input: FreshdeskAddWatcherInput,\n output: FreshdeskAddWatcherOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8HAA8H,EACrK,CAUS;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,4BAA4B,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}