@keystrokehq/freshdesk 0.1.1 → 0.1.2

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 (1097) 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 +21 -21
  4. package/dist/actions/add-note-to-ticket.cjs.map +1 -1
  5. package/dist/actions/add-note-to-ticket.d.cts +22 -44
  6. package/dist/actions/add-note-to-ticket.d.mts +22 -44
  7. package/dist/actions/add-note-to-ticket.mjs +21 -21
  8. package/dist/actions/add-note-to-ticket.mjs.map +1 -1
  9. package/dist/actions/add-ticket-user-access.cjs +3 -3
  10. package/dist/actions/add-ticket-user-access.cjs.map +1 -1
  11. package/dist/actions/add-ticket-user-access.d.cts +4 -8
  12. package/dist/actions/add-ticket-user-access.d.mts +4 -8
  13. package/dist/actions/add-ticket-user-access.mjs +3 -3
  14. package/dist/actions/add-ticket-user-access.mjs.map +1 -1
  15. package/dist/actions/add-watcher.cjs +2 -2
  16. package/dist/actions/add-watcher.cjs.map +1 -1
  17. package/dist/actions/add-watcher.d.cts +3 -6
  18. package/dist/actions/add-watcher.d.mts +3 -6
  19. package/dist/actions/add-watcher.mjs +2 -2
  20. package/dist/actions/add-watcher.mjs.map +1 -1
  21. package/dist/actions/bulk-unwatch-tickets.cjs +6 -6
  22. package/dist/actions/bulk-unwatch-tickets.cjs.map +1 -1
  23. package/dist/actions/bulk-unwatch-tickets.d.cts +7 -20
  24. package/dist/actions/bulk-unwatch-tickets.d.mts +7 -20
  25. package/dist/actions/bulk-unwatch-tickets.mjs +6 -6
  26. package/dist/actions/bulk-unwatch-tickets.mjs.map +1 -1
  27. package/dist/actions/bulk-update-tickets.d.cts +1 -4
  28. package/dist/actions/bulk-update-tickets.d.mts +1 -4
  29. package/dist/actions/cancel-contact-import.cjs +8 -8
  30. package/dist/actions/cancel-contact-import.cjs.map +1 -1
  31. package/dist/actions/cancel-contact-import.d.cts +9 -19
  32. package/dist/actions/cancel-contact-import.d.mts +9 -19
  33. package/dist/actions/cancel-contact-import.mjs +8 -8
  34. package/dist/actions/cancel-contact-import.mjs.map +1 -1
  35. package/dist/actions/create-admin-group.cjs +14 -14
  36. package/dist/actions/create-admin-group.cjs.map +1 -1
  37. package/dist/actions/create-admin-group.d.cts +15 -31
  38. package/dist/actions/create-admin-group.d.mts +15 -31
  39. package/dist/actions/create-admin-group.mjs +14 -14
  40. package/dist/actions/create-admin-group.mjs.map +1 -1
  41. package/dist/actions/create-admin-ticket-field-section.cjs +8 -8
  42. package/dist/actions/create-admin-ticket-field-section.cjs.map +1 -1
  43. package/dist/actions/create-admin-ticket-field-section.d.cts +9 -18
  44. package/dist/actions/create-admin-ticket-field-section.d.mts +9 -18
  45. package/dist/actions/create-admin-ticket-field-section.mjs +8 -8
  46. package/dist/actions/create-admin-ticket-field-section.mjs.map +1 -1
  47. package/dist/actions/create-admin-ticket-field.cjs +16 -16
  48. package/dist/actions/create-admin-ticket-field.cjs.map +1 -1
  49. package/dist/actions/create-admin-ticket-field.d.cts +17 -34
  50. package/dist/actions/create-admin-ticket-field.d.mts +17 -34
  51. package/dist/actions/create-admin-ticket-field.mjs +16 -16
  52. package/dist/actions/create-admin-ticket-field.mjs.map +1 -1
  53. package/dist/actions/create-admin.cjs +13 -13
  54. package/dist/actions/create-admin.cjs.map +1 -1
  55. package/dist/actions/create-admin.d.cts +14 -28
  56. package/dist/actions/create-admin.d.mts +14 -28
  57. package/dist/actions/create-admin.mjs +13 -13
  58. package/dist/actions/create-admin.mjs.map +1 -1
  59. package/dist/actions/create-agents.cjs +2 -2
  60. package/dist/actions/create-agents.cjs.map +1 -1
  61. package/dist/actions/create-agents.d.cts +3 -6
  62. package/dist/actions/create-agents.d.mts +3 -6
  63. package/dist/actions/create-agents.mjs +2 -2
  64. package/dist/actions/create-agents.mjs.map +1 -1
  65. package/dist/actions/create-canned-response-bulk.d.cts +1 -4
  66. package/dist/actions/create-canned-response-bulk.d.mts +1 -4
  67. package/dist/actions/create-canned-response-folder.d.cts +1 -4
  68. package/dist/actions/create-canned-response-folder.d.mts +1 -4
  69. package/dist/actions/create-canned-response.cjs +18 -18
  70. package/dist/actions/create-canned-response.cjs.map +1 -1
  71. package/dist/actions/create-canned-response.d.cts +19 -39
  72. package/dist/actions/create-canned-response.d.mts +19 -39
  73. package/dist/actions/create-canned-response.mjs +18 -18
  74. package/dist/actions/create-canned-response.mjs.map +1 -1
  75. package/dist/actions/create-companies.cjs +14 -14
  76. package/dist/actions/create-companies.cjs.map +1 -1
  77. package/dist/actions/create-companies.d.cts +15 -30
  78. package/dist/actions/create-companies.d.cts.map +1 -1
  79. package/dist/actions/create-companies.d.mts +15 -30
  80. package/dist/actions/create-companies.d.mts.map +1 -1
  81. package/dist/actions/create-companies.mjs +14 -14
  82. package/dist/actions/create-companies.mjs.map +1 -1
  83. package/dist/actions/create-contact-fields.cjs +18 -18
  84. package/dist/actions/create-contact-fields.cjs.map +1 -1
  85. package/dist/actions/create-contact-fields.d.cts +19 -42
  86. package/dist/actions/create-contact-fields.d.cts.map +1 -1
  87. package/dist/actions/create-contact-fields.d.mts +19 -42
  88. package/dist/actions/create-contact-fields.d.mts.map +1 -1
  89. package/dist/actions/create-contact-fields.mjs +18 -18
  90. package/dist/actions/create-contact-fields.mjs.map +1 -1
  91. package/dist/actions/create-contact.cjs +41 -41
  92. package/dist/actions/create-contact.cjs.map +1 -1
  93. package/dist/actions/create-contact.d.cts +42 -86
  94. package/dist/actions/create-contact.d.cts.map +1 -1
  95. package/dist/actions/create-contact.d.mts +42 -86
  96. package/dist/actions/create-contact.d.mts.map +1 -1
  97. package/dist/actions/create-contact.mjs +41 -41
  98. package/dist/actions/create-contact.mjs.map +1 -1
  99. package/dist/actions/create-discussion-category.cjs +2 -2
  100. package/dist/actions/create-discussion-category.cjs.map +1 -1
  101. package/dist/actions/create-discussion-category.d.cts +3 -11
  102. package/dist/actions/create-discussion-category.d.mts +3 -11
  103. package/dist/actions/create-discussion-category.mjs +2 -2
  104. package/dist/actions/create-discussion-category.mjs.map +1 -1
  105. package/dist/actions/create-discussion-forum-topic.cjs +16 -16
  106. package/dist/actions/create-discussion-forum-topic.cjs.map +1 -1
  107. package/dist/actions/create-discussion-forum-topic.d.cts +17 -34
  108. package/dist/actions/create-discussion-forum-topic.d.mts +17 -34
  109. package/dist/actions/create-discussion-forum-topic.mjs +16 -16
  110. package/dist/actions/create-discussion-forum-topic.mjs.map +1 -1
  111. package/dist/actions/create-discussion-topic-comment.cjs +12 -12
  112. package/dist/actions/create-discussion-topic-comment.cjs.map +1 -1
  113. package/dist/actions/create-discussion-topic-comment.d.cts +13 -26
  114. package/dist/actions/create-discussion-topic-comment.d.mts +13 -26
  115. package/dist/actions/create-discussion-topic-comment.mjs +12 -12
  116. package/dist/actions/create-discussion-topic-comment.mjs.map +1 -1
  117. package/dist/actions/create-email.cjs +14 -14
  118. package/dist/actions/create-email.cjs.map +1 -1
  119. package/dist/actions/create-email.d.cts +15 -31
  120. package/dist/actions/create-email.d.mts +15 -31
  121. package/dist/actions/create-email.mjs +14 -14
  122. package/dist/actions/create-email.mjs.map +1 -1
  123. package/dist/actions/create-forum.cjs +4 -4
  124. package/dist/actions/create-forum.cjs.map +1 -1
  125. package/dist/actions/create-forum.d.cts +5 -15
  126. package/dist/actions/create-forum.d.mts +5 -15
  127. package/dist/actions/create-forum.mjs +4 -4
  128. package/dist/actions/create-forum.mjs.map +1 -1
  129. package/dist/actions/create-sla-policies.cjs +8 -8
  130. package/dist/actions/create-sla-policies.cjs.map +1 -1
  131. package/dist/actions/create-sla-policies.d.cts +9 -22
  132. package/dist/actions/create-sla-policies.d.mts +9 -22
  133. package/dist/actions/create-sla-policies.mjs +8 -8
  134. package/dist/actions/create-sla-policies.mjs.map +1 -1
  135. package/dist/actions/create-solution-article.cjs +30 -30
  136. package/dist/actions/create-solution-article.cjs.map +1 -1
  137. package/dist/actions/create-solution-article.d.cts +31 -65
  138. package/dist/actions/create-solution-article.d.cts.map +1 -1
  139. package/dist/actions/create-solution-article.d.mts +31 -65
  140. package/dist/actions/create-solution-article.d.mts.map +1 -1
  141. package/dist/actions/create-solution-article.mjs +30 -30
  142. package/dist/actions/create-solution-article.mjs.map +1 -1
  143. package/dist/actions/create-solution-category.cjs +14 -14
  144. package/dist/actions/create-solution-category.cjs.map +1 -1
  145. package/dist/actions/create-solution-category.d.cts +15 -31
  146. package/dist/actions/create-solution-category.d.cts.map +1 -1
  147. package/dist/actions/create-solution-category.d.mts +15 -31
  148. package/dist/actions/create-solution-category.d.mts.map +1 -1
  149. package/dist/actions/create-solution-category.mjs +14 -14
  150. package/dist/actions/create-solution-category.mjs.map +1 -1
  151. package/dist/actions/create-ticket-forms.cjs +3 -3
  152. package/dist/actions/create-ticket-forms.cjs.map +1 -1
  153. package/dist/actions/create-ticket-forms.d.cts +4 -33
  154. package/dist/actions/create-ticket-forms.d.mts +4 -33
  155. package/dist/actions/create-ticket-forms.mjs +3 -3
  156. package/dist/actions/create-ticket-forms.mjs.map +1 -1
  157. package/dist/actions/create-ticket-outbound-email.cjs +31 -31
  158. package/dist/actions/create-ticket-outbound-email.cjs.map +1 -1
  159. package/dist/actions/create-ticket-outbound-email.d.cts +32 -64
  160. package/dist/actions/create-ticket-outbound-email.d.cts.map +1 -1
  161. package/dist/actions/create-ticket-outbound-email.d.mts +32 -64
  162. package/dist/actions/create-ticket-outbound-email.d.mts.map +1 -1
  163. package/dist/actions/create-ticket-outbound-email.mjs +31 -31
  164. package/dist/actions/create-ticket-outbound-email.mjs.map +1 -1
  165. package/dist/actions/create-ticket-time-entry.cjs +13 -13
  166. package/dist/actions/create-ticket-time-entry.cjs.map +1 -1
  167. package/dist/actions/create-ticket-time-entry.d.cts +14 -28
  168. package/dist/actions/create-ticket-time-entry.d.mts +14 -28
  169. package/dist/actions/create-ticket-time-entry.mjs +13 -13
  170. package/dist/actions/create-ticket-time-entry.mjs.map +1 -1
  171. package/dist/actions/create-ticket.cjs +31 -31
  172. package/dist/actions/create-ticket.cjs.map +1 -1
  173. package/dist/actions/create-ticket.d.cts +32 -81
  174. package/dist/actions/create-ticket.d.cts.map +1 -1
  175. package/dist/actions/create-ticket.d.mts +32 -81
  176. package/dist/actions/create-ticket.d.mts.map +1 -1
  177. package/dist/actions/create-ticket.mjs +31 -31
  178. package/dist/actions/create-ticket.mjs.map +1 -1
  179. package/dist/actions/create-translated-solution-category.cjs +6 -6
  180. package/dist/actions/create-translated-solution-category.cjs.map +1 -1
  181. package/dist/actions/create-translated-solution-category.d.cts +7 -14
  182. package/dist/actions/create-translated-solution-category.d.mts +7 -14
  183. package/dist/actions/create-translated-solution-category.mjs +6 -6
  184. package/dist/actions/create-translated-solution-category.mjs.map +1 -1
  185. package/dist/actions/currently-authenticated-agent.cjs +32 -32
  186. package/dist/actions/currently-authenticated-agent.cjs.map +1 -1
  187. package/dist/actions/currently-authenticated-agent.d.cts +33 -77
  188. package/dist/actions/currently-authenticated-agent.d.cts.map +1 -1
  189. package/dist/actions/currently-authenticated-agent.d.mts +33 -77
  190. package/dist/actions/currently-authenticated-agent.d.mts.map +1 -1
  191. package/dist/actions/currently-authenticated-agent.mjs +32 -32
  192. package/dist/actions/currently-authenticated-agent.mjs.map +1 -1
  193. package/dist/actions/delete-admin-group.d.cts +1 -1
  194. package/dist/actions/delete-admin-group.d.cts.map +1 -1
  195. package/dist/actions/delete-admin-group.d.mts +1 -1
  196. package/dist/actions/delete-admin-group.d.mts.map +1 -1
  197. package/dist/actions/delete-agent.d.cts +1 -4
  198. package/dist/actions/delete-agent.d.mts +1 -4
  199. package/dist/actions/delete-automation-rule.cjs +2 -2
  200. package/dist/actions/delete-automation-rule.cjs.map +1 -1
  201. package/dist/actions/delete-automation-rule.d.cts +3 -6
  202. package/dist/actions/delete-automation-rule.d.mts +3 -6
  203. package/dist/actions/delete-automation-rule.mjs +2 -2
  204. package/dist/actions/delete-automation-rule.mjs.map +1 -1
  205. package/dist/actions/delete-company-field.d.cts +1 -1
  206. package/dist/actions/delete-company-field.d.cts.map +1 -1
  207. package/dist/actions/delete-company-field.d.mts +1 -1
  208. package/dist/actions/delete-company-field.d.mts.map +1 -1
  209. package/dist/actions/delete-company.d.cts +1 -1
  210. package/dist/actions/delete-company.d.cts.map +1 -1
  211. package/dist/actions/delete-company.d.mts +1 -1
  212. package/dist/actions/delete-company.d.mts.map +1 -1
  213. package/dist/actions/delete-contact-field.d.cts +1 -5
  214. package/dist/actions/delete-contact-field.d.mts +1 -5
  215. package/dist/actions/delete-contact.d.cts +1 -1
  216. package/dist/actions/delete-contact.d.cts.map +1 -1
  217. package/dist/actions/delete-contact.d.mts +1 -1
  218. package/dist/actions/delete-contact.d.mts.map +1 -1
  219. package/dist/actions/delete-conversation.d.cts +1 -1
  220. package/dist/actions/delete-conversation.d.cts.map +1 -1
  221. package/dist/actions/delete-conversation.d.mts +1 -1
  222. package/dist/actions/delete-conversation.d.mts.map +1 -1
  223. package/dist/actions/delete-discussion-category.cjs +5 -5
  224. package/dist/actions/delete-discussion-category.cjs.map +1 -1
  225. package/dist/actions/delete-discussion-category.d.cts +6 -14
  226. package/dist/actions/delete-discussion-category.d.mts +6 -14
  227. package/dist/actions/delete-discussion-category.mjs +5 -5
  228. package/dist/actions/delete-discussion-category.mjs.map +1 -1
  229. package/dist/actions/delete-discussion-comment.d.cts +1 -1
  230. package/dist/actions/delete-discussion-comment.d.cts.map +1 -1
  231. package/dist/actions/delete-discussion-comment.d.mts +1 -1
  232. package/dist/actions/delete-discussion-comment.d.mts.map +1 -1
  233. package/dist/actions/delete-discussion-forum.d.cts +1 -1
  234. package/dist/actions/delete-discussion-forum.d.cts.map +1 -1
  235. package/dist/actions/delete-discussion-forum.d.mts +1 -1
  236. package/dist/actions/delete-discussion-forum.d.mts.map +1 -1
  237. package/dist/actions/delete-discussion-topic.d.cts +1 -1
  238. package/dist/actions/delete-discussion-topic.d.cts.map +1 -1
  239. package/dist/actions/delete-discussion-topic.d.mts +1 -1
  240. package/dist/actions/delete-discussion-topic.d.mts.map +1 -1
  241. package/dist/actions/delete-discussions-forums-follow.d.cts +1 -1
  242. package/dist/actions/delete-discussions-forums-follow.d.cts.map +1 -1
  243. package/dist/actions/delete-discussions-forums-follow.d.mts +1 -1
  244. package/dist/actions/delete-discussions-forums-follow.d.mts.map +1 -1
  245. package/dist/actions/delete-discussions-topics-follow.d.cts +1 -1
  246. package/dist/actions/delete-discussions-topics-follow.d.cts.map +1 -1
  247. package/dist/actions/delete-discussions-topics-follow.d.mts +1 -1
  248. package/dist/actions/delete-discussions-topics-follow.d.mts.map +1 -1
  249. package/dist/actions/delete-email-mailboxes.cjs +1 -1
  250. package/dist/actions/delete-email-mailboxes.cjs.map +1 -1
  251. package/dist/actions/delete-email-mailboxes.d.cts +2 -6
  252. package/dist/actions/delete-email-mailboxes.d.mts +2 -6
  253. package/dist/actions/delete-email-mailboxes.mjs +1 -1
  254. package/dist/actions/delete-email-mailboxes.mjs.map +1 -1
  255. package/dist/actions/delete-group.d.cts +1 -1
  256. package/dist/actions/delete-group.d.cts.map +1 -1
  257. package/dist/actions/delete-group.d.mts +1 -1
  258. package/dist/actions/delete-group.d.mts.map +1 -1
  259. package/dist/actions/delete-multiple-tickets.d.cts +1 -4
  260. package/dist/actions/delete-multiple-tickets.d.mts +1 -4
  261. package/dist/actions/delete-section.cjs +3 -3
  262. package/dist/actions/delete-section.cjs.map +1 -1
  263. package/dist/actions/delete-section.d.cts +4 -11
  264. package/dist/actions/delete-section.d.mts +4 -11
  265. package/dist/actions/delete-section.mjs +3 -3
  266. package/dist/actions/delete-section.mjs.map +1 -1
  267. package/dist/actions/delete-skill.cjs +2 -2
  268. package/dist/actions/delete-skill.cjs.map +1 -1
  269. package/dist/actions/delete-skill.d.cts +3 -6
  270. package/dist/actions/delete-skill.d.mts +3 -6
  271. package/dist/actions/delete-skill.mjs +2 -2
  272. package/dist/actions/delete-skill.mjs.map +1 -1
  273. package/dist/actions/delete-solution-article.cjs +2 -2
  274. package/dist/actions/delete-solution-article.cjs.map +1 -1
  275. package/dist/actions/delete-solution-article.d.cts +3 -6
  276. package/dist/actions/delete-solution-article.d.mts +3 -6
  277. package/dist/actions/delete-solution-article.mjs +2 -2
  278. package/dist/actions/delete-solution-article.mjs.map +1 -1
  279. package/dist/actions/delete-solution-category.cjs +3 -3
  280. package/dist/actions/delete-solution-category.cjs.map +1 -1
  281. package/dist/actions/delete-solution-category.d.cts +4 -8
  282. package/dist/actions/delete-solution-category.d.mts +4 -8
  283. package/dist/actions/delete-solution-category.mjs +3 -3
  284. package/dist/actions/delete-solution-category.mjs.map +1 -1
  285. package/dist/actions/delete-solution-folder.d.cts +1 -1
  286. package/dist/actions/delete-solution-folder.d.cts.map +1 -1
  287. package/dist/actions/delete-solution-folder.d.mts +1 -1
  288. package/dist/actions/delete-solution-folder.d.mts.map +1 -1
  289. package/dist/actions/delete-ticket-field.cjs +6 -6
  290. package/dist/actions/delete-ticket-field.cjs.map +1 -1
  291. package/dist/actions/delete-ticket-field.d.cts +7 -16
  292. package/dist/actions/delete-ticket-field.d.mts +7 -16
  293. package/dist/actions/delete-ticket-field.mjs +6 -6
  294. package/dist/actions/delete-ticket-field.mjs.map +1 -1
  295. package/dist/actions/delete-ticket-form.cjs +3 -3
  296. package/dist/actions/delete-ticket-form.cjs.map +1 -1
  297. package/dist/actions/delete-ticket-form.d.cts +4 -11
  298. package/dist/actions/delete-ticket-form.d.mts +4 -11
  299. package/dist/actions/delete-ticket-form.mjs +3 -3
  300. package/dist/actions/delete-ticket-form.mjs.map +1 -1
  301. package/dist/actions/delete-ticket-forms.d.cts +1 -1
  302. package/dist/actions/delete-ticket-forms.d.cts.map +1 -1
  303. package/dist/actions/delete-ticket-forms.d.mts +1 -1
  304. package/dist/actions/delete-ticket-forms.d.mts.map +1 -1
  305. package/dist/actions/delete-ticket-summary.d.cts +1 -1
  306. package/dist/actions/delete-ticket-summary.d.cts.map +1 -1
  307. package/dist/actions/delete-ticket-summary.d.mts +1 -1
  308. package/dist/actions/delete-ticket-summary.d.mts.map +1 -1
  309. package/dist/actions/delete-ticket-user-access.d.cts +1 -1
  310. package/dist/actions/delete-ticket-user-access.d.cts.map +1 -1
  311. package/dist/actions/delete-ticket-user-access.d.mts +1 -1
  312. package/dist/actions/delete-ticket-user-access.d.mts.map +1 -1
  313. package/dist/actions/delete-ticket.d.cts +1 -1
  314. package/dist/actions/delete-ticket.d.cts.map +1 -1
  315. package/dist/actions/delete-ticket.d.mts +1 -1
  316. package/dist/actions/delete-ticket.d.mts.map +1 -1
  317. package/dist/actions/delete-time-entry.cjs +2 -2
  318. package/dist/actions/delete-time-entry.cjs.map +1 -1
  319. package/dist/actions/delete-time-entry.d.cts +3 -6
  320. package/dist/actions/delete-time-entry.d.mts +3 -6
  321. package/dist/actions/delete-time-entry.mjs +2 -2
  322. package/dist/actions/delete-time-entry.mjs.map +1 -1
  323. package/dist/actions/export-contacts.d.cts +1 -3
  324. package/dist/actions/export-contacts.d.mts +1 -3
  325. package/dist/actions/get-account.cjs +28 -28
  326. package/dist/actions/get-account.cjs.map +1 -1
  327. package/dist/actions/get-account.d.cts +29 -61
  328. package/dist/actions/get-account.d.cts.map +1 -1
  329. package/dist/actions/get-account.d.mts +29 -61
  330. package/dist/actions/get-account.d.mts.map +1 -1
  331. package/dist/actions/get-account.mjs +28 -28
  332. package/dist/actions/get-account.mjs.map +1 -1
  333. package/dist/actions/get-agent-availability.cjs +12 -12
  334. package/dist/actions/get-agent-availability.cjs.map +1 -1
  335. package/dist/actions/get-agent-availability.d.cts +13 -27
  336. package/dist/actions/get-agent-availability.d.mts +13 -27
  337. package/dist/actions/get-agent-availability.mjs +12 -12
  338. package/dist/actions/get-agent-availability.mjs.map +1 -1
  339. package/dist/actions/get-agent.cjs +36 -36
  340. package/dist/actions/get-agent.cjs.map +1 -1
  341. package/dist/actions/get-agent.d.cts +37 -91
  342. package/dist/actions/get-agent.d.mts +37 -91
  343. package/dist/actions/get-agent.mjs +36 -36
  344. package/dist/actions/get-agent.mjs.map +1 -1
  345. package/dist/actions/get-agents.cjs +9 -9
  346. package/dist/actions/get-agents.cjs.map +1 -1
  347. package/dist/actions/get-agents.d.cts +10 -21
  348. package/dist/actions/get-agents.d.mts +10 -21
  349. package/dist/actions/get-agents.mjs +9 -9
  350. package/dist/actions/get-agents.mjs.map +1 -1
  351. package/dist/actions/get-business-hours.cjs +27 -27
  352. package/dist/actions/get-business-hours.cjs.map +1 -1
  353. package/dist/actions/get-business-hours.d.cts +42 -96
  354. package/dist/actions/get-business-hours.d.cts.map +1 -1
  355. package/dist/actions/get-business-hours.d.mts +42 -96
  356. package/dist/actions/get-business-hours.d.mts.map +1 -1
  357. package/dist/actions/get-business-hours.mjs +27 -27
  358. package/dist/actions/get-business-hours.mjs.map +1 -1
  359. package/dist/actions/get-canned-response-folders.cjs +7 -7
  360. package/dist/actions/get-canned-response-folders.cjs.map +1 -1
  361. package/dist/actions/get-canned-response-folders.d.cts +8 -17
  362. package/dist/actions/get-canned-response-folders.d.cts.map +1 -1
  363. package/dist/actions/get-canned-response-folders.d.mts +8 -17
  364. package/dist/actions/get-canned-response-folders.d.mts.map +1 -1
  365. package/dist/actions/get-canned-response-folders.mjs +7 -7
  366. package/dist/actions/get-canned-response-folders.mjs.map +1 -1
  367. package/dist/actions/get-companies.cjs +10 -10
  368. package/dist/actions/get-companies.cjs.map +1 -1
  369. package/dist/actions/get-companies.d.cts +11 -27
  370. package/dist/actions/get-companies.d.cts.map +1 -1
  371. package/dist/actions/get-companies.d.mts +11 -27
  372. package/dist/actions/get-companies.d.mts.map +1 -1
  373. package/dist/actions/get-companies.mjs +10 -10
  374. package/dist/actions/get-companies.mjs.map +1 -1
  375. package/dist/actions/get-company-fields.cjs +20 -20
  376. package/dist/actions/get-company-fields.cjs.map +1 -1
  377. package/dist/actions/get-company-fields.d.cts +21 -46
  378. package/dist/actions/get-company-fields.d.cts.map +1 -1
  379. package/dist/actions/get-company-fields.d.mts +21 -46
  380. package/dist/actions/get-company-fields.d.mts.map +1 -1
  381. package/dist/actions/get-company-fields.mjs +20 -20
  382. package/dist/actions/get-company-fields.mjs.map +1 -1
  383. package/dist/actions/get-company.cjs +10 -10
  384. package/dist/actions/get-company.cjs.map +1 -1
  385. package/dist/actions/get-company.d.cts +11 -26
  386. package/dist/actions/get-company.d.cts.map +1 -1
  387. package/dist/actions/get-company.d.mts +11 -26
  388. package/dist/actions/get-company.d.mts.map +1 -1
  389. package/dist/actions/get-company.mjs +10 -10
  390. package/dist/actions/get-company.mjs.map +1 -1
  391. package/dist/actions/get-contact-fields.cjs +20 -20
  392. package/dist/actions/get-contact-fields.cjs.map +1 -1
  393. package/dist/actions/get-contact-fields.d.cts +21 -43
  394. package/dist/actions/get-contact-fields.d.cts.map +1 -1
  395. package/dist/actions/get-contact-fields.d.mts +21 -43
  396. package/dist/actions/get-contact-fields.d.mts.map +1 -1
  397. package/dist/actions/get-contact-fields.mjs +20 -20
  398. package/dist/actions/get-contact-fields.mjs.map +1 -1
  399. package/dist/actions/get-contact.cjs +47 -47
  400. package/dist/actions/get-contact.cjs.map +1 -1
  401. package/dist/actions/get-contact.d.cts +48 -98
  402. package/dist/actions/get-contact.d.cts.map +1 -1
  403. package/dist/actions/get-contact.d.mts +48 -98
  404. package/dist/actions/get-contact.d.mts.map +1 -1
  405. package/dist/actions/get-contact.mjs +47 -47
  406. package/dist/actions/get-contact.mjs.map +1 -1
  407. package/dist/actions/get-contacts.cjs +24 -24
  408. package/dist/actions/get-contacts.cjs.map +1 -1
  409. package/dist/actions/get-contacts.d.cts +25 -54
  410. package/dist/actions/get-contacts.d.cts.map +1 -1
  411. package/dist/actions/get-contacts.d.mts +25 -54
  412. package/dist/actions/get-contacts.d.mts.map +1 -1
  413. package/dist/actions/get-contacts.mjs +24 -24
  414. package/dist/actions/get-contacts.mjs.map +1 -1
  415. package/dist/actions/get-discussion-category.cjs +5 -5
  416. package/dist/actions/get-discussion-category.cjs.map +1 -1
  417. package/dist/actions/get-discussion-category.d.cts +6 -12
  418. package/dist/actions/get-discussion-category.d.mts +6 -12
  419. package/dist/actions/get-discussion-category.mjs +5 -5
  420. package/dist/actions/get-discussion-category.mjs.map +1 -1
  421. package/dist/actions/get-discussion-topic.cjs +16 -16
  422. package/dist/actions/get-discussion-topic.cjs.map +1 -1
  423. package/dist/actions/get-discussion-topic.d.cts +17 -34
  424. package/dist/actions/get-discussion-topic.d.mts +17 -34
  425. package/dist/actions/get-discussion-topic.mjs +16 -16
  426. package/dist/actions/get-discussion-topic.mjs.map +1 -1
  427. package/dist/actions/get-email-mailbox.cjs +16 -16
  428. package/dist/actions/get-email-mailbox.cjs.map +1 -1
  429. package/dist/actions/get-email-mailbox.d.cts +17 -36
  430. package/dist/actions/get-email-mailbox.d.mts +17 -36
  431. package/dist/actions/get-email-mailbox.mjs +16 -16
  432. package/dist/actions/get-email-mailbox.mjs.map +1 -1
  433. package/dist/actions/get-folder-responses.cjs +17 -17
  434. package/dist/actions/get-folder-responses.cjs.map +1 -1
  435. package/dist/actions/get-folder-responses.d.cts +18 -38
  436. package/dist/actions/get-folder-responses.d.mts +18 -38
  437. package/dist/actions/get-folder-responses.mjs +17 -17
  438. package/dist/actions/get-folder-responses.mjs.map +1 -1
  439. package/dist/actions/get-imported-contacts.cjs +9 -9
  440. package/dist/actions/get-imported-contacts.cjs.map +1 -1
  441. package/dist/actions/get-imported-contacts.d.cts +10 -22
  442. package/dist/actions/get-imported-contacts.d.mts +10 -22
  443. package/dist/actions/get-imported-contacts.mjs +9 -9
  444. package/dist/actions/get-imported-contacts.mjs.map +1 -1
  445. package/dist/actions/get-job.cjs +5 -5
  446. package/dist/actions/get-job.cjs.map +1 -1
  447. package/dist/actions/get-job.d.cts +6 -13
  448. package/dist/actions/get-job.d.mts +6 -13
  449. package/dist/actions/get-job.mjs +5 -5
  450. package/dist/actions/get-job.mjs.map +1 -1
  451. package/dist/actions/get-scenario-automations-json.cjs +11 -11
  452. package/dist/actions/get-scenario-automations-json.cjs.map +1 -1
  453. package/dist/actions/get-scenario-automations-json.d.cts +11 -24
  454. package/dist/actions/get-scenario-automations-json.d.cts.map +1 -1
  455. package/dist/actions/get-scenario-automations-json.d.mts +11 -24
  456. package/dist/actions/get-scenario-automations-json.d.mts.map +1 -1
  457. package/dist/actions/get-scenario-automations-json.mjs +11 -11
  458. package/dist/actions/get-scenario-automations-json.mjs.map +1 -1
  459. package/dist/actions/get-search.cjs +37 -37
  460. package/dist/actions/get-search.cjs.map +1 -1
  461. package/dist/actions/get-search.d.cts +38 -77
  462. package/dist/actions/get-search.d.cts.map +1 -1
  463. package/dist/actions/get-search.d.mts +38 -77
  464. package/dist/actions/get-search.d.mts.map +1 -1
  465. package/dist/actions/get-search.mjs +37 -37
  466. package/dist/actions/get-search.mjs.map +1 -1
  467. package/dist/actions/get-ticket-time-entries.cjs +14 -14
  468. package/dist/actions/get-ticket-time-entries.cjs.map +1 -1
  469. package/dist/actions/get-ticket-time-entries.d.cts +15 -31
  470. package/dist/actions/get-ticket-time-entries.d.mts +15 -31
  471. package/dist/actions/get-ticket-time-entries.mjs +14 -14
  472. package/dist/actions/get-ticket-time-entries.mjs.map +1 -1
  473. package/dist/actions/get-ticket-user-access.d.cts +1 -3
  474. package/dist/actions/get-ticket-user-access.d.mts +1 -3
  475. package/dist/actions/get-tickets.cjs +41 -41
  476. package/dist/actions/get-tickets.cjs.map +1 -1
  477. package/dist/actions/get-tickets.d.cts +42 -98
  478. package/dist/actions/get-tickets.d.mts +42 -98
  479. package/dist/actions/get-tickets.mjs +41 -41
  480. package/dist/actions/get-tickets.mjs.map +1 -1
  481. package/dist/actions/get-translated-solution-category.cjs +13 -13
  482. package/dist/actions/get-translated-solution-category.cjs.map +1 -1
  483. package/dist/actions/get-translated-solution-category.d.cts +14 -29
  484. package/dist/actions/get-translated-solution-category.d.cts.map +1 -1
  485. package/dist/actions/get-translated-solution-category.d.mts +14 -29
  486. package/dist/actions/get-translated-solution-category.d.mts.map +1 -1
  487. package/dist/actions/get-translated-solution-category.mjs +13 -13
  488. package/dist/actions/get-translated-solution-category.mjs.map +1 -1
  489. package/dist/actions/hard-delete-contact.cjs +2 -2
  490. package/dist/actions/hard-delete-contact.cjs.map +1 -1
  491. package/dist/actions/hard-delete-contact.d.cts +3 -6
  492. package/dist/actions/hard-delete-contact.d.mts +3 -6
  493. package/dist/actions/hard-delete-contact.mjs +2 -2
  494. package/dist/actions/hard-delete-contact.mjs.map +1 -1
  495. package/dist/actions/import-contact.cjs +8 -8
  496. package/dist/actions/import-contact.cjs.map +1 -1
  497. package/dist/actions/import-contact.d.cts +9 -19
  498. package/dist/actions/import-contact.d.mts +9 -19
  499. package/dist/actions/import-contact.mjs +8 -8
  500. package/dist/actions/import-contact.mjs.map +1 -1
  501. package/dist/actions/list-admin-groups.cjs +16 -16
  502. package/dist/actions/list-admin-groups.cjs.map +1 -1
  503. package/dist/actions/list-admin-groups.d.cts +17 -36
  504. package/dist/actions/list-admin-groups.d.mts +17 -36
  505. package/dist/actions/list-admin-groups.mjs +16 -16
  506. package/dist/actions/list-admin-groups.mjs.map +1 -1
  507. package/dist/actions/list-all-agents-in-a-group.cjs +26 -26
  508. package/dist/actions/list-all-agents-in-a-group.cjs.map +1 -1
  509. package/dist/actions/list-all-agents-in-a-group.d.cts +27 -56
  510. package/dist/actions/list-all-agents-in-a-group.d.cts.map +1 -1
  511. package/dist/actions/list-all-agents-in-a-group.d.mts +27 -56
  512. package/dist/actions/list-all-agents-in-a-group.d.mts.map +1 -1
  513. package/dist/actions/list-all-agents-in-a-group.mjs +26 -26
  514. package/dist/actions/list-all-agents-in-a-group.mjs.map +1 -1
  515. package/dist/actions/list-all-sections-for-ticket-field.cjs +6 -6
  516. package/dist/actions/list-all-sections-for-ticket-field.cjs.map +1 -1
  517. package/dist/actions/list-all-sections-for-ticket-field.d.cts +7 -15
  518. package/dist/actions/list-all-sections-for-ticket-field.d.mts +7 -15
  519. package/dist/actions/list-all-sections-for-ticket-field.mjs +6 -6
  520. package/dist/actions/list-all-sections-for-ticket-field.mjs.map +1 -1
  521. package/dist/actions/list-all-skills.cjs +14 -14
  522. package/dist/actions/list-all-skills.cjs.map +1 -1
  523. package/dist/actions/list-all-skills.d.cts +14 -30
  524. package/dist/actions/list-all-skills.d.cts.map +1 -1
  525. package/dist/actions/list-all-skills.d.mts +14 -30
  526. package/dist/actions/list-all-skills.d.mts.map +1 -1
  527. package/dist/actions/list-all-skills.mjs +14 -14
  528. package/dist/actions/list-all-skills.mjs.map +1 -1
  529. package/dist/actions/list-all-ticket-conversations.cjs +35 -35
  530. package/dist/actions/list-all-ticket-conversations.cjs.map +1 -1
  531. package/dist/actions/list-all-ticket-conversations.d.cts +36 -74
  532. package/dist/actions/list-all-ticket-conversations.d.mts +36 -74
  533. package/dist/actions/list-all-ticket-conversations.mjs +35 -35
  534. package/dist/actions/list-all-ticket-conversations.mjs.map +1 -1
  535. package/dist/actions/list-automation-rules.cjs +22 -22
  536. package/dist/actions/list-automation-rules.cjs.map +1 -1
  537. package/dist/actions/list-automation-rules.d.cts +21 -46
  538. package/dist/actions/list-automation-rules.d.cts.map +1 -1
  539. package/dist/actions/list-automation-rules.d.mts +21 -46
  540. package/dist/actions/list-automation-rules.d.mts.map +1 -1
  541. package/dist/actions/list-automation-rules.mjs +22 -22
  542. package/dist/actions/list-automation-rules.mjs.map +1 -1
  543. package/dist/actions/list-discussions-topics.cjs +17 -17
  544. package/dist/actions/list-discussions-topics.cjs.map +1 -1
  545. package/dist/actions/list-discussions-topics.d.cts +18 -37
  546. package/dist/actions/list-discussions-topics.d.mts +18 -37
  547. package/dist/actions/list-discussions-topics.mjs +17 -17
  548. package/dist/actions/list-discussions-topics.mjs.map +1 -1
  549. package/dist/actions/list-discussions.cjs +6 -6
  550. package/dist/actions/list-discussions.cjs.map +1 -1
  551. package/dist/actions/list-discussions.d.cts +7 -15
  552. package/dist/actions/list-discussions.d.mts +7 -15
  553. package/dist/actions/list-discussions.mjs +6 -6
  554. package/dist/actions/list-discussions.mjs.map +1 -1
  555. package/dist/actions/list-email-configs.cjs +13 -13
  556. package/dist/actions/list-email-configs.cjs.map +1 -1
  557. package/dist/actions/list-email-configs.d.cts +14 -29
  558. package/dist/actions/list-email-configs.d.cts.map +1 -1
  559. package/dist/actions/list-email-configs.d.mts +14 -29
  560. package/dist/actions/list-email-configs.d.mts.map +1 -1
  561. package/dist/actions/list-email-configs.mjs +13 -13
  562. package/dist/actions/list-email-configs.mjs.map +1 -1
  563. package/dist/actions/list-email.cjs +13 -13
  564. package/dist/actions/list-email.cjs.map +1 -1
  565. package/dist/actions/list-email.d.cts +14 -29
  566. package/dist/actions/list-email.d.mts +14 -29
  567. package/dist/actions/list-email.mjs +13 -13
  568. package/dist/actions/list-email.mjs.map +1 -1
  569. package/dist/actions/list-forums-in-category.cjs +12 -12
  570. package/dist/actions/list-forums-in-category.cjs.map +1 -1
  571. package/dist/actions/list-forums-in-category.d.cts +13 -27
  572. package/dist/actions/list-forums-in-category.d.mts +13 -27
  573. package/dist/actions/list-forums-in-category.mjs +12 -12
  574. package/dist/actions/list-forums-in-category.mjs.map +1 -1
  575. package/dist/actions/list-monitored-topics.cjs +17 -17
  576. package/dist/actions/list-monitored-topics.cjs.map +1 -1
  577. package/dist/actions/list-monitored-topics.d.cts +18 -37
  578. package/dist/actions/list-monitored-topics.d.mts +18 -37
  579. package/dist/actions/list-monitored-topics.mjs +17 -17
  580. package/dist/actions/list-monitored-topics.mjs.map +1 -1
  581. package/dist/actions/list-participated-topics.cjs +17 -17
  582. package/dist/actions/list-participated-topics.cjs.map +1 -1
  583. package/dist/actions/list-participated-topics.d.cts +18 -37
  584. package/dist/actions/list-participated-topics.d.mts +18 -37
  585. package/dist/actions/list-participated-topics.mjs +17 -17
  586. package/dist/actions/list-participated-topics.mjs.map +1 -1
  587. package/dist/actions/list-products.cjs +8 -8
  588. package/dist/actions/list-products.cjs.map +1 -1
  589. package/dist/actions/list-products.d.cts +9 -19
  590. package/dist/actions/list-products.d.cts.map +1 -1
  591. package/dist/actions/list-products.d.mts +9 -19
  592. package/dist/actions/list-products.d.mts.map +1 -1
  593. package/dist/actions/list-products.mjs +8 -8
  594. package/dist/actions/list-products.mjs.map +1 -1
  595. package/dist/actions/list-roles.cjs +8 -8
  596. package/dist/actions/list-roles.cjs.map +1 -1
  597. package/dist/actions/list-roles.d.cts +9 -19
  598. package/dist/actions/list-roles.d.mts +9 -19
  599. package/dist/actions/list-roles.mjs +8 -8
  600. package/dist/actions/list-roles.mjs.map +1 -1
  601. package/dist/actions/list-satisfaction-ratings.cjs +11 -11
  602. package/dist/actions/list-satisfaction-ratings.cjs.map +1 -1
  603. package/dist/actions/list-satisfaction-ratings.d.cts +12 -25
  604. package/dist/actions/list-satisfaction-ratings.d.cts.map +1 -1
  605. package/dist/actions/list-satisfaction-ratings.d.mts +12 -25
  606. package/dist/actions/list-satisfaction-ratings.d.mts.map +1 -1
  607. package/dist/actions/list-satisfaction-ratings.mjs +11 -11
  608. package/dist/actions/list-satisfaction-ratings.mjs.map +1 -1
  609. package/dist/actions/list-sla-policies.cjs +36 -36
  610. package/dist/actions/list-sla-policies.cjs.map +1 -1
  611. package/dist/actions/list-sla-policies.d.cts +52 -118
  612. package/dist/actions/list-sla-policies.d.cts.map +1 -1
  613. package/dist/actions/list-sla-policies.d.mts +52 -118
  614. package/dist/actions/list-sla-policies.d.mts.map +1 -1
  615. package/dist/actions/list-sla-policies.mjs +36 -36
  616. package/dist/actions/list-sla-policies.mjs.map +1 -1
  617. package/dist/actions/list-solution-articles.cjs +33 -33
  618. package/dist/actions/list-solution-articles.cjs.map +1 -1
  619. package/dist/actions/list-solution-articles.d.cts +34 -72
  620. package/dist/actions/list-solution-articles.d.cts.map +1 -1
  621. package/dist/actions/list-solution-articles.d.mts +34 -72
  622. package/dist/actions/list-solution-articles.d.mts.map +1 -1
  623. package/dist/actions/list-solution-articles.mjs +33 -33
  624. package/dist/actions/list-solution-articles.mjs.map +1 -1
  625. package/dist/actions/list-solution-categories.cjs +9 -9
  626. package/dist/actions/list-solution-categories.cjs.map +1 -1
  627. package/dist/actions/list-solution-categories.d.cts +10 -21
  628. package/dist/actions/list-solution-categories.d.mts +10 -21
  629. package/dist/actions/list-solution-categories.mjs +9 -9
  630. package/dist/actions/list-solution-categories.mjs.map +1 -1
  631. package/dist/actions/list-solution-folders.cjs +22 -22
  632. package/dist/actions/list-solution-folders.cjs.map +1 -1
  633. package/dist/actions/list-solution-folders.d.cts +23 -49
  634. package/dist/actions/list-solution-folders.d.mts +23 -49
  635. package/dist/actions/list-solution-folders.mjs +22 -22
  636. package/dist/actions/list-solution-folders.mjs.map +1 -1
  637. package/dist/actions/list-solution-subfolders.cjs +20 -20
  638. package/dist/actions/list-solution-subfolders.cjs.map +1 -1
  639. package/dist/actions/list-solution-subfolders.d.cts +21 -45
  640. package/dist/actions/list-solution-subfolders.d.mts +21 -45
  641. package/dist/actions/list-solution-subfolders.mjs +20 -20
  642. package/dist/actions/list-solution-subfolders.mjs.map +1 -1
  643. package/dist/actions/list-solutions-category-folders-translated.cjs +18 -18
  644. package/dist/actions/list-solutions-category-folders-translated.cjs.map +1 -1
  645. package/dist/actions/list-solutions-category-folders-translated.d.cts +19 -41
  646. package/dist/actions/list-solutions-category-folders-translated.d.mts +19 -41
  647. package/dist/actions/list-solutions-category-folders-translated.mjs +18 -18
  648. package/dist/actions/list-solutions-category-folders-translated.mjs.map +1 -1
  649. package/dist/actions/list-specific-section-details.cjs +5 -5
  650. package/dist/actions/list-specific-section-details.cjs.map +1 -1
  651. package/dist/actions/list-specific-section-details.d.cts +6 -12
  652. package/dist/actions/list-specific-section-details.d.mts +6 -12
  653. package/dist/actions/list-specific-section-details.mjs +5 -5
  654. package/dist/actions/list-specific-section-details.mjs.map +1 -1
  655. package/dist/actions/list-surveys.cjs +12 -12
  656. package/dist/actions/list-surveys.cjs.map +1 -1
  657. package/dist/actions/list-surveys.d.cts +13 -28
  658. package/dist/actions/list-surveys.d.mts +13 -28
  659. package/dist/actions/list-surveys.mjs +12 -12
  660. package/dist/actions/list-surveys.mjs.map +1 -1
  661. package/dist/actions/list-ticket-fields.cjs +20 -20
  662. package/dist/actions/list-ticket-fields.cjs.map +1 -1
  663. package/dist/actions/list-ticket-fields.d.cts +21 -43
  664. package/dist/actions/list-ticket-fields.d.cts.map +1 -1
  665. package/dist/actions/list-ticket-fields.d.mts +21 -43
  666. package/dist/actions/list-ticket-fields.d.mts.map +1 -1
  667. package/dist/actions/list-ticket-fields.mjs +20 -20
  668. package/dist/actions/list-ticket-fields.mjs.map +1 -1
  669. package/dist/actions/list-ticket-forms.cjs +11 -11
  670. package/dist/actions/list-ticket-forms.cjs.map +1 -1
  671. package/dist/actions/list-ticket-forms.d.cts +12 -25
  672. package/dist/actions/list-ticket-forms.d.cts.map +1 -1
  673. package/dist/actions/list-ticket-forms.d.mts +12 -25
  674. package/dist/actions/list-ticket-forms.d.mts.map +1 -1
  675. package/dist/actions/list-ticket-forms.mjs +11 -11
  676. package/dist/actions/list-ticket-forms.mjs.map +1 -1
  677. package/dist/actions/list-ticket-satisfaction-ratings.cjs +13 -13
  678. package/dist/actions/list-ticket-satisfaction-ratings.cjs.map +1 -1
  679. package/dist/actions/list-ticket-satisfaction-ratings.d.cts +14 -29
  680. package/dist/actions/list-ticket-satisfaction-ratings.d.mts +14 -29
  681. package/dist/actions/list-ticket-satisfaction-ratings.mjs +13 -13
  682. package/dist/actions/list-ticket-satisfaction-ratings.mjs.map +1 -1
  683. package/dist/actions/list-tickets-watchers.cjs +2 -2
  684. package/dist/actions/list-tickets-watchers.cjs.map +1 -1
  685. package/dist/actions/list-tickets-watchers.d.cts +3 -9
  686. package/dist/actions/list-tickets-watchers.d.mts +3 -9
  687. package/dist/actions/list-tickets-watchers.mjs +2 -2
  688. package/dist/actions/list-tickets-watchers.mjs.map +1 -1
  689. package/dist/actions/list-time-entries.cjs +14 -14
  690. package/dist/actions/list-time-entries.cjs.map +1 -1
  691. package/dist/actions/list-time-entries.d.cts +15 -31
  692. package/dist/actions/list-time-entries.d.mts +15 -31
  693. package/dist/actions/list-time-entries.mjs +14 -14
  694. package/dist/actions/list-time-entries.mjs.map +1 -1
  695. package/dist/actions/list-topic-comments2.cjs +13 -13
  696. package/dist/actions/list-topic-comments2.cjs.map +1 -1
  697. package/dist/actions/list-topic-comments2.d.cts +14 -29
  698. package/dist/actions/list-topic-comments2.d.mts +14 -29
  699. package/dist/actions/list-topic-comments2.mjs +13 -13
  700. package/dist/actions/list-topic-comments2.mjs.map +1 -1
  701. package/dist/actions/list-translated-solution-articles.cjs +31 -31
  702. package/dist/actions/list-translated-solution-articles.cjs.map +1 -1
  703. package/dist/actions/list-translated-solution-articles.d.cts +32 -68
  704. package/dist/actions/list-translated-solution-articles.d.cts.map +1 -1
  705. package/dist/actions/list-translated-solution-articles.d.mts +32 -68
  706. package/dist/actions/list-translated-solution-articles.d.mts.map +1 -1
  707. package/dist/actions/list-translated-solution-articles.mjs +31 -31
  708. package/dist/actions/list-translated-solution-articles.mjs.map +1 -1
  709. package/dist/actions/list-translated-subfolders.cjs +17 -17
  710. package/dist/actions/list-translated-subfolders.cjs.map +1 -1
  711. package/dist/actions/list-translated-subfolders.d.cts +18 -39
  712. package/dist/actions/list-translated-subfolders.d.mts +18 -39
  713. package/dist/actions/list-translated-subfolders.mjs +17 -17
  714. package/dist/actions/list-translated-subfolders.mjs.map +1 -1
  715. package/dist/actions/patch-admin-groups-agents.cjs +1 -1
  716. package/dist/actions/patch-admin-groups-agents.cjs.map +1 -1
  717. package/dist/actions/patch-admin-groups-agents.d.cts +2 -4
  718. package/dist/actions/patch-admin-groups-agents.d.mts +2 -4
  719. package/dist/actions/patch-admin-groups-agents.mjs +1 -1
  720. package/dist/actions/patch-admin-groups-agents.mjs.map +1 -1
  721. package/dist/actions/remove-watcher.cjs +2 -2
  722. package/dist/actions/remove-watcher.cjs.map +1 -1
  723. package/dist/actions/remove-watcher.d.cts +3 -6
  724. package/dist/actions/remove-watcher.d.mts +3 -6
  725. package/dist/actions/remove-watcher.mjs +2 -2
  726. package/dist/actions/remove-watcher.mjs.map +1 -1
  727. package/dist/actions/reply-to-forward-ticket.cjs +13 -13
  728. package/dist/actions/reply-to-forward-ticket.cjs.map +1 -1
  729. package/dist/actions/reply-to-forward-ticket.d.cts +14 -28
  730. package/dist/actions/reply-to-forward-ticket.d.mts +14 -28
  731. package/dist/actions/reply-to-forward-ticket.mjs +13 -13
  732. package/dist/actions/reply-to-forward-ticket.mjs.map +1 -1
  733. package/dist/actions/reply-to-ticket.cjs +20 -20
  734. package/dist/actions/reply-to-ticket.cjs.map +1 -1
  735. package/dist/actions/reply-to-ticket.d.cts +21 -43
  736. package/dist/actions/reply-to-ticket.d.cts.map +1 -1
  737. package/dist/actions/reply-to-ticket.d.mts +21 -43
  738. package/dist/actions/reply-to-ticket.d.mts.map +1 -1
  739. package/dist/actions/reply-to-ticket.mjs +20 -20
  740. package/dist/actions/reply-to-ticket.mjs.map +1 -1
  741. package/dist/actions/search-agents.cjs +19 -19
  742. package/dist/actions/search-agents.cjs.map +1 -1
  743. package/dist/actions/search-agents.d.cts +20 -56
  744. package/dist/actions/search-agents.d.mts +20 -56
  745. package/dist/actions/search-agents.mjs +19 -19
  746. package/dist/actions/search-agents.mjs.map +1 -1
  747. package/dist/actions/search-companies.cjs +20 -20
  748. package/dist/actions/search-companies.cjs.map +1 -1
  749. package/dist/actions/search-companies.d.cts +21 -44
  750. package/dist/actions/search-companies.d.cts.map +1 -1
  751. package/dist/actions/search-companies.d.mts +21 -44
  752. package/dist/actions/search-companies.d.mts.map +1 -1
  753. package/dist/actions/search-companies.mjs +20 -20
  754. package/dist/actions/search-companies.mjs.map +1 -1
  755. package/dist/actions/search-company.cjs +3 -3
  756. package/dist/actions/search-company.cjs.map +1 -1
  757. package/dist/actions/search-company.d.cts +4 -9
  758. package/dist/actions/search-company.d.mts +4 -9
  759. package/dist/actions/search-company.mjs +3 -3
  760. package/dist/actions/search-company.mjs.map +1 -1
  761. package/dist/actions/search-contacts-autocomplete.cjs +9 -9
  762. package/dist/actions/search-contacts-autocomplete.cjs.map +1 -1
  763. package/dist/actions/search-contacts-autocomplete.d.cts +10 -21
  764. package/dist/actions/search-contacts-autocomplete.d.mts +10 -21
  765. package/dist/actions/search-contacts-autocomplete.mjs +9 -9
  766. package/dist/actions/search-contacts-autocomplete.mjs.map +1 -1
  767. package/dist/actions/search-contacts.cjs +37 -37
  768. package/dist/actions/search-contacts.cjs.map +1 -1
  769. package/dist/actions/search-contacts.d.cts +38 -77
  770. package/dist/actions/search-contacts.d.cts.map +1 -1
  771. package/dist/actions/search-contacts.d.mts +38 -77
  772. package/dist/actions/search-contacts.d.mts.map +1 -1
  773. package/dist/actions/search-contacts.mjs +37 -37
  774. package/dist/actions/search-contacts.mjs.map +1 -1
  775. package/dist/actions/search-solution-articles.cjs +36 -36
  776. package/dist/actions/search-solution-articles.cjs.map +1 -1
  777. package/dist/actions/search-solution-articles.d.cts +37 -78
  778. package/dist/actions/search-solution-articles.d.mts +37 -78
  779. package/dist/actions/search-solution-articles.mjs +36 -36
  780. package/dist/actions/search-solution-articles.mjs.map +1 -1
  781. package/dist/actions/toggle-timer.cjs +10 -10
  782. package/dist/actions/toggle-timer.cjs.map +1 -1
  783. package/dist/actions/toggle-timer.d.cts +11 -24
  784. package/dist/actions/toggle-timer.d.mts +11 -24
  785. package/dist/actions/toggle-timer.mjs +10 -10
  786. package/dist/actions/toggle-timer.mjs.map +1 -1
  787. package/dist/actions/update-admin-group.cjs +14 -14
  788. package/dist/actions/update-admin-group.cjs.map +1 -1
  789. package/dist/actions/update-admin-group.d.cts +15 -31
  790. package/dist/actions/update-admin-group.d.mts +15 -31
  791. package/dist/actions/update-admin-group.mjs +14 -14
  792. package/dist/actions/update-admin-group.mjs.map +1 -1
  793. package/dist/actions/update-admin-ticket-field-section.cjs +8 -8
  794. package/dist/actions/update-admin-ticket-field-section.cjs.map +1 -1
  795. package/dist/actions/update-admin-ticket-field-section.d.cts +9 -18
  796. package/dist/actions/update-admin-ticket-field-section.d.mts +9 -18
  797. package/dist/actions/update-admin-ticket-field-section.mjs +8 -8
  798. package/dist/actions/update-admin-ticket-field-section.mjs.map +1 -1
  799. package/dist/actions/update-admin-ticket-field.cjs +24 -24
  800. package/dist/actions/update-admin-ticket-field.cjs.map +1 -1
  801. package/dist/actions/update-admin-ticket-field.d.cts +24 -50
  802. package/dist/actions/update-admin-ticket-field.d.cts.map +1 -1
  803. package/dist/actions/update-admin-ticket-field.d.mts +24 -50
  804. package/dist/actions/update-admin-ticket-field.d.mts.map +1 -1
  805. package/dist/actions/update-admin-ticket-field.mjs +24 -24
  806. package/dist/actions/update-admin-ticket-field.mjs.map +1 -1
  807. package/dist/actions/update-agent-availability.cjs +12 -12
  808. package/dist/actions/update-agent-availability.cjs.map +1 -1
  809. package/dist/actions/update-agent-availability.d.cts +13 -27
  810. package/dist/actions/update-agent-availability.d.mts +13 -27
  811. package/dist/actions/update-agent-availability.mjs +12 -12
  812. package/dist/actions/update-agent-availability.mjs.map +1 -1
  813. package/dist/actions/update-agent.cjs +29 -29
  814. package/dist/actions/update-agent.cjs.map +1 -1
  815. package/dist/actions/update-agent.d.cts +30 -61
  816. package/dist/actions/update-agent.d.mts +30 -61
  817. package/dist/actions/update-agent.mjs +29 -29
  818. package/dist/actions/update-agent.mjs.map +1 -1
  819. package/dist/actions/update-automations.cjs +37 -37
  820. package/dist/actions/update-automations.cjs.map +1 -1
  821. package/dist/actions/update-automations.d.cts +38 -82
  822. package/dist/actions/update-automations.d.cts.map +1 -1
  823. package/dist/actions/update-automations.d.mts +38 -82
  824. package/dist/actions/update-automations.d.mts.map +1 -1
  825. package/dist/actions/update-automations.mjs +37 -37
  826. package/dist/actions/update-automations.mjs.map +1 -1
  827. package/dist/actions/update-canned-response-folder.d.cts +1 -4
  828. package/dist/actions/update-canned-response-folder.d.mts +1 -4
  829. package/dist/actions/update-canned-response.cjs +16 -16
  830. package/dist/actions/update-canned-response.cjs.map +1 -1
  831. package/dist/actions/update-canned-response.d.cts +17 -35
  832. package/dist/actions/update-canned-response.d.mts +17 -35
  833. package/dist/actions/update-canned-response.mjs +16 -16
  834. package/dist/actions/update-canned-response.mjs.map +1 -1
  835. package/dist/actions/update-companies.cjs +14 -14
  836. package/dist/actions/update-companies.cjs.map +1 -1
  837. package/dist/actions/update-companies.d.cts +15 -30
  838. package/dist/actions/update-companies.d.cts.map +1 -1
  839. package/dist/actions/update-companies.d.mts +15 -30
  840. package/dist/actions/update-companies.d.mts.map +1 -1
  841. package/dist/actions/update-companies.mjs +14 -14
  842. package/dist/actions/update-companies.mjs.map +1 -1
  843. package/dist/actions/update-contact-field.cjs +19 -19
  844. package/dist/actions/update-contact-field.cjs.map +1 -1
  845. package/dist/actions/update-contact-field.d.cts +20 -41
  846. package/dist/actions/update-contact-field.d.cts.map +1 -1
  847. package/dist/actions/update-contact-field.d.mts +20 -41
  848. package/dist/actions/update-contact-field.d.mts.map +1 -1
  849. package/dist/actions/update-contact-field.mjs +19 -19
  850. package/dist/actions/update-contact-field.mjs.map +1 -1
  851. package/dist/actions/update-contact-make-agent.cjs +25 -25
  852. package/dist/actions/update-contact-make-agent.cjs.map +1 -1
  853. package/dist/actions/update-contact-make-agent.d.cts +26 -53
  854. package/dist/actions/update-contact-make-agent.d.mts +26 -53
  855. package/dist/actions/update-contact-make-agent.mjs +25 -25
  856. package/dist/actions/update-contact-make-agent.mjs.map +1 -1
  857. package/dist/actions/update-contact.cjs +45 -45
  858. package/dist/actions/update-contact.cjs.map +1 -1
  859. package/dist/actions/update-contact.d.cts +46 -94
  860. package/dist/actions/update-contact.d.cts.map +1 -1
  861. package/dist/actions/update-contact.d.mts +46 -94
  862. package/dist/actions/update-contact.d.mts.map +1 -1
  863. package/dist/actions/update-contact.mjs +45 -45
  864. package/dist/actions/update-contact.mjs.map +1 -1
  865. package/dist/actions/update-conversations.cjs +22 -22
  866. package/dist/actions/update-conversations.cjs.map +1 -1
  867. package/dist/actions/update-conversations.d.cts +23 -47
  868. package/dist/actions/update-conversations.d.mts +23 -47
  869. package/dist/actions/update-conversations.mjs +22 -22
  870. package/dist/actions/update-conversations.mjs.map +1 -1
  871. package/dist/actions/update-discussion-category.cjs +5 -5
  872. package/dist/actions/update-discussion-category.cjs.map +1 -1
  873. package/dist/actions/update-discussion-category.d.cts +6 -12
  874. package/dist/actions/update-discussion-category.d.mts +6 -12
  875. package/dist/actions/update-discussion-category.mjs +5 -5
  876. package/dist/actions/update-discussion-category.mjs.map +1 -1
  877. package/dist/actions/update-discussion-comment.cjs +12 -12
  878. package/dist/actions/update-discussion-comment.cjs.map +1 -1
  879. package/dist/actions/update-discussion-comment.d.cts +13 -26
  880. package/dist/actions/update-discussion-comment.d.mts +13 -26
  881. package/dist/actions/update-discussion-comment.mjs +12 -12
  882. package/dist/actions/update-discussion-comment.mjs.map +1 -1
  883. package/dist/actions/update-discussion-forum.cjs +12 -12
  884. package/dist/actions/update-discussion-forum.cjs.map +1 -1
  885. package/dist/actions/update-discussion-forum.d.cts +13 -26
  886. package/dist/actions/update-discussion-forum.d.mts +13 -26
  887. package/dist/actions/update-discussion-forum.mjs +12 -12
  888. package/dist/actions/update-discussion-forum.mjs.map +1 -1
  889. package/dist/actions/update-discussion-topic.cjs +17 -17
  890. package/dist/actions/update-discussion-topic.cjs.map +1 -1
  891. package/dist/actions/update-discussion-topic.d.cts +18 -36
  892. package/dist/actions/update-discussion-topic.d.mts +18 -36
  893. package/dist/actions/update-discussion-topic.mjs +17 -17
  894. package/dist/actions/update-discussion-topic.mjs.map +1 -1
  895. package/dist/actions/update-email-settings.cjs +12 -12
  896. package/dist/actions/update-email-settings.cjs.map +1 -1
  897. package/dist/actions/update-email-settings.d.cts +13 -26
  898. package/dist/actions/update-email-settings.d.mts +13 -26
  899. package/dist/actions/update-email-settings.mjs +12 -12
  900. package/dist/actions/update-email-settings.mjs.map +1 -1
  901. package/dist/actions/update-notification-email-bcc.cjs +1 -1
  902. package/dist/actions/update-notification-email-bcc.cjs.map +1 -1
  903. package/dist/actions/update-notification-email-bcc.d.cts +2 -4
  904. package/dist/actions/update-notification-email-bcc.d.mts +2 -4
  905. package/dist/actions/update-notification-email-bcc.mjs +1 -1
  906. package/dist/actions/update-notification-email-bcc.mjs.map +1 -1
  907. package/dist/actions/update-sla-policies.cjs +35 -35
  908. package/dist/actions/update-sla-policies.cjs.map +1 -1
  909. package/dist/actions/update-sla-policies.d.cts +51 -115
  910. package/dist/actions/update-sla-policies.d.mts +51 -115
  911. package/dist/actions/update-sla-policies.mjs +35 -35
  912. package/dist/actions/update-sla-policies.mjs.map +1 -1
  913. package/dist/actions/update-solution-category.cjs +8 -8
  914. package/dist/actions/update-solution-category.cjs.map +1 -1
  915. package/dist/actions/update-solution-category.d.cts +9 -18
  916. package/dist/actions/update-solution-category.d.mts +9 -18
  917. package/dist/actions/update-solution-category.mjs +8 -8
  918. package/dist/actions/update-solution-category.mjs.map +1 -1
  919. package/dist/actions/update-solution-folder.cjs +22 -22
  920. package/dist/actions/update-solution-folder.cjs.map +1 -1
  921. package/dist/actions/update-solution-folder.d.cts +23 -48
  922. package/dist/actions/update-solution-folder.d.mts +23 -48
  923. package/dist/actions/update-solution-folder.mjs +22 -22
  924. package/dist/actions/update-solution-folder.mjs.map +1 -1
  925. package/dist/actions/update-solutions.cjs +30 -30
  926. package/dist/actions/update-solutions.cjs.map +1 -1
  927. package/dist/actions/update-solutions.d.cts +31 -65
  928. package/dist/actions/update-solutions.d.cts.map +1 -1
  929. package/dist/actions/update-solutions.d.mts +31 -65
  930. package/dist/actions/update-solutions.d.mts.map +1 -1
  931. package/dist/actions/update-solutions.mjs +30 -30
  932. package/dist/actions/update-solutions.mjs.map +1 -1
  933. package/dist/actions/update-ticket-bulk-watch.cjs +6 -6
  934. package/dist/actions/update-ticket-bulk-watch.cjs.map +1 -1
  935. package/dist/actions/update-ticket-bulk-watch.d.cts +7 -20
  936. package/dist/actions/update-ticket-bulk-watch.d.mts +7 -20
  937. package/dist/actions/update-ticket-bulk-watch.mjs +6 -6
  938. package/dist/actions/update-ticket-bulk-watch.mjs.map +1 -1
  939. package/dist/actions/update-ticket-forms.cjs +5 -5
  940. package/dist/actions/update-ticket-forms.cjs.map +1 -1
  941. package/dist/actions/update-ticket-forms.d.cts +6 -37
  942. package/dist/actions/update-ticket-forms.d.cts.map +1 -1
  943. package/dist/actions/update-ticket-forms.d.mts +6 -37
  944. package/dist/actions/update-ticket-forms.d.mts.map +1 -1
  945. package/dist/actions/update-ticket-forms.mjs +5 -5
  946. package/dist/actions/update-ticket-forms.mjs.map +1 -1
  947. package/dist/actions/update-ticket-summary.cjs +11 -11
  948. package/dist/actions/update-ticket-summary.cjs.map +1 -1
  949. package/dist/actions/update-ticket-summary.d.cts +12 -24
  950. package/dist/actions/update-ticket-summary.d.mts +12 -24
  951. package/dist/actions/update-ticket-summary.mjs +11 -11
  952. package/dist/actions/update-ticket-summary.mjs.map +1 -1
  953. package/dist/actions/update-ticket-user-access.d.cts +1 -3
  954. package/dist/actions/update-ticket-user-access.d.mts +1 -3
  955. package/dist/actions/update-ticket.cjs +41 -41
  956. package/dist/actions/update-ticket.cjs.map +1 -1
  957. package/dist/actions/update-ticket.d.cts +42 -85
  958. package/dist/actions/update-ticket.d.cts.map +1 -1
  959. package/dist/actions/update-ticket.d.mts +42 -85
  960. package/dist/actions/update-ticket.d.mts.map +1 -1
  961. package/dist/actions/update-ticket.mjs +41 -41
  962. package/dist/actions/update-ticket.mjs.map +1 -1
  963. package/dist/actions/update-time-entry.cjs +13 -13
  964. package/dist/actions/update-time-entry.cjs.map +1 -1
  965. package/dist/actions/update-time-entry.d.cts +14 -28
  966. package/dist/actions/update-time-entry.d.mts +14 -28
  967. package/dist/actions/update-time-entry.mjs +13 -13
  968. package/dist/actions/update-time-entry.mjs.map +1 -1
  969. package/dist/actions/view-a-canned-response.cjs +20 -20
  970. package/dist/actions/view-a-canned-response.cjs.map +1 -1
  971. package/dist/actions/view-a-canned-response.d.cts +21 -43
  972. package/dist/actions/view-a-canned-response.d.mts +21 -43
  973. package/dist/actions/view-a-canned-response.mjs +20 -20
  974. package/dist/actions/view-a-canned-response.mjs.map +1 -1
  975. package/dist/actions/view-automations.cjs +39 -39
  976. package/dist/actions/view-automations.cjs.map +1 -1
  977. package/dist/actions/view-automations.d.cts +39 -85
  978. package/dist/actions/view-automations.d.cts.map +1 -1
  979. package/dist/actions/view-automations.d.mts +39 -85
  980. package/dist/actions/view-automations.d.mts.map +1 -1
  981. package/dist/actions/view-automations.mjs +39 -39
  982. package/dist/actions/view-automations.mjs.map +1 -1
  983. package/dist/actions/view-business-hour.cjs +22 -22
  984. package/dist/actions/view-business-hour.cjs.map +1 -1
  985. package/dist/actions/view-business-hour.d.cts +35 -79
  986. package/dist/actions/view-business-hour.d.mts +35 -79
  987. package/dist/actions/view-business-hour.mjs +22 -22
  988. package/dist/actions/view-business-hour.mjs.map +1 -1
  989. package/dist/actions/view-company-field.cjs +17 -17
  990. package/dist/actions/view-company-field.cjs.map +1 -1
  991. package/dist/actions/view-company-field.d.cts +18 -39
  992. package/dist/actions/view-company-field.d.mts +18 -39
  993. package/dist/actions/view-company-field.mjs +17 -17
  994. package/dist/actions/view-company-field.mjs.map +1 -1
  995. package/dist/actions/view-contact-field.cjs +7 -7
  996. package/dist/actions/view-contact-field.cjs.map +1 -1
  997. package/dist/actions/view-contact-field.d.cts +8 -33
  998. package/dist/actions/view-contact-field.d.mts +8 -33
  999. package/dist/actions/view-contact-field.mjs +7 -7
  1000. package/dist/actions/view-contact-field.mjs.map +1 -1
  1001. package/dist/actions/view-email-configs.cjs +10 -10
  1002. package/dist/actions/view-email-configs.cjs.map +1 -1
  1003. package/dist/actions/view-email-configs.d.cts +11 -22
  1004. package/dist/actions/view-email-configs.d.mts +11 -22
  1005. package/dist/actions/view-email-configs.mjs +10 -10
  1006. package/dist/actions/view-email-configs.mjs.map +1 -1
  1007. package/dist/actions/view-email.cjs +14 -14
  1008. package/dist/actions/view-email.cjs.map +1 -1
  1009. package/dist/actions/view-email.d.cts +15 -30
  1010. package/dist/actions/view-email.d.cts.map +1 -1
  1011. package/dist/actions/view-email.d.mts +15 -30
  1012. package/dist/actions/view-email.d.mts.map +1 -1
  1013. package/dist/actions/view-email.mjs +14 -14
  1014. package/dist/actions/view-email.mjs.map +1 -1
  1015. package/dist/actions/view-group.cjs +13 -13
  1016. package/dist/actions/view-group.cjs.map +1 -1
  1017. package/dist/actions/view-group.d.cts +14 -28
  1018. package/dist/actions/view-group.d.mts +14 -28
  1019. package/dist/actions/view-group.mjs +13 -13
  1020. package/dist/actions/view-group.mjs.map +1 -1
  1021. package/dist/actions/view-notifications.cjs +3 -3
  1022. package/dist/actions/view-notifications.cjs.map +1 -1
  1023. package/dist/actions/view-notifications.d.cts +4 -8
  1024. package/dist/actions/view-notifications.d.cts.map +1 -1
  1025. package/dist/actions/view-notifications.d.mts +4 -8
  1026. package/dist/actions/view-notifications.d.mts.map +1 -1
  1027. package/dist/actions/view-notifications.mjs +3 -3
  1028. package/dist/actions/view-notifications.mjs.map +1 -1
  1029. package/dist/actions/view-products.cjs +7 -7
  1030. package/dist/actions/view-products.cjs.map +1 -1
  1031. package/dist/actions/view-products.d.cts +8 -16
  1032. package/dist/actions/view-products.d.mts +8 -16
  1033. package/dist/actions/view-products.mjs +7 -7
  1034. package/dist/actions/view-products.mjs.map +1 -1
  1035. package/dist/actions/view-roles.cjs +9 -9
  1036. package/dist/actions/view-roles.cjs.map +1 -1
  1037. package/dist/actions/view-roles.d.cts +10 -20
  1038. package/dist/actions/view-roles.d.mts +10 -20
  1039. package/dist/actions/view-roles.mjs +9 -9
  1040. package/dist/actions/view-roles.mjs.map +1 -1
  1041. package/dist/actions/view-settings.cjs +4 -4
  1042. package/dist/actions/view-settings.cjs.map +1 -1
  1043. package/dist/actions/view-settings.d.cts +5 -10
  1044. package/dist/actions/view-settings.d.cts.map +1 -1
  1045. package/dist/actions/view-settings.d.mts +5 -10
  1046. package/dist/actions/view-settings.d.mts.map +1 -1
  1047. package/dist/actions/view-settings.mjs +4 -4
  1048. package/dist/actions/view-settings.mjs.map +1 -1
  1049. package/dist/actions/view-skill.cjs +2 -2
  1050. package/dist/actions/view-skill.cjs.map +1 -1
  1051. package/dist/actions/view-skill.d.cts +3 -17
  1052. package/dist/actions/view-skill.d.cts.map +1 -1
  1053. package/dist/actions/view-skill.d.mts +3 -17
  1054. package/dist/actions/view-skill.d.mts.map +1 -1
  1055. package/dist/actions/view-skill.mjs +2 -2
  1056. package/dist/actions/view-skill.mjs.map +1 -1
  1057. package/dist/actions/view-solution-category.cjs +9 -9
  1058. package/dist/actions/view-solution-category.cjs.map +1 -1
  1059. package/dist/actions/view-solution-category.d.cts +10 -20
  1060. package/dist/actions/view-solution-category.d.cts.map +1 -1
  1061. package/dist/actions/view-solution-category.d.mts +10 -20
  1062. package/dist/actions/view-solution-category.d.mts.map +1 -1
  1063. package/dist/actions/view-solution-category.mjs +9 -9
  1064. package/dist/actions/view-solution-category.mjs.map +1 -1
  1065. package/dist/actions/view-solution-folder.cjs +21 -21
  1066. package/dist/actions/view-solution-folder.cjs.map +1 -1
  1067. package/dist/actions/view-solution-folder.d.cts +22 -46
  1068. package/dist/actions/view-solution-folder.d.mts +22 -46
  1069. package/dist/actions/view-solution-folder.mjs +21 -21
  1070. package/dist/actions/view-solution-folder.mjs.map +1 -1
  1071. package/dist/actions/view-solutions.cjs +45 -45
  1072. package/dist/actions/view-solutions.cjs.map +1 -1
  1073. package/dist/actions/view-solutions.d.cts +46 -98
  1074. package/dist/actions/view-solutions.d.mts +46 -98
  1075. package/dist/actions/view-solutions.mjs +45 -45
  1076. package/dist/actions/view-solutions.mjs.map +1 -1
  1077. package/dist/actions/view-ticket-field.cjs +36 -36
  1078. package/dist/actions/view-ticket-field.cjs.map +1 -1
  1079. package/dist/actions/view-ticket-field.d.cts +37 -76
  1080. package/dist/actions/view-ticket-field.d.cts.map +1 -1
  1081. package/dist/actions/view-ticket-field.d.mts +37 -76
  1082. package/dist/actions/view-ticket-field.d.mts.map +1 -1
  1083. package/dist/actions/view-ticket-field.mjs +36 -36
  1084. package/dist/actions/view-ticket-field.mjs.map +1 -1
  1085. package/dist/actions/view-ticket-form-field.cjs +18 -18
  1086. package/dist/actions/view-ticket-form-field.cjs.map +1 -1
  1087. package/dist/actions/view-ticket-form-field.d.cts +19 -38
  1088. package/dist/actions/view-ticket-form-field.d.mts +19 -38
  1089. package/dist/actions/view-ticket-form-field.mjs +18 -18
  1090. package/dist/actions/view-ticket-form-field.mjs.map +1 -1
  1091. package/dist/actions/view-ticket.cjs +90 -90
  1092. package/dist/actions/view-ticket.cjs.map +1 -1
  1093. package/dist/actions/view-ticket.d.cts +91 -187
  1094. package/dist/actions/view-ticket.d.mts +91 -187
  1095. package/dist/actions/view-ticket.mjs +90 -90
  1096. package/dist/actions/view-ticket.mjs.map +1 -1
  1097. package/package.json +1 -1
@@ -82,45 +82,45 @@ const freshdeskCreateTicket = action("FRESHDESK_CREATE_TICKET", {
82
82
  input: FreshdeskCreateTicketInput,
83
83
  output: z.object({
84
84
  id: z.number().int().describe("Unique identifier of the ticket.").nullable(),
85
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the requester (may not be included by default in v2 API responses).").optional()),
85
+ name: z.string().describe("Name of the requester (may not be included by default in v2 API responses).").nullable().optional(),
86
86
  spam: z.boolean().describe("Indicates whether the ticket has been marked as spam.").nullable(),
87
- tags: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Array of tags associated with the ticket.").optional()),
88
- type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Type of the ticket (e.g., Question, Incident, Problem, Feature Request, Refund).").optional()),
89
- email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Email address of the requester.").optional()),
90
- phone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Phone number of the requester.").optional()),
91
- due_by: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp by which the ticket is due to be resolved in UTC format (YYYY-MM-DDTHH:MM:SSZ).").optional()),
92
- source: z.preprocess((value) => value === null ? void 0 : value, FreshdeskCreateTicket_TicketSourceSchema.optional()),
93
- status: z.preprocess((value) => value === null ? void 0 : value, FreshdeskCreateTicket_TicketStatusSchema.optional()),
94
- deleted: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the ticket has been deleted.").optional()),
87
+ tags: z.array(z.string()).describe("Array of tags associated with the ticket.").nullable().optional(),
88
+ type: z.string().describe("Type of the ticket (e.g., Question, Incident, Problem, Feature Request, Refund).").nullable().optional(),
89
+ email: z.string().describe("Email address of the requester.").nullable().optional(),
90
+ phone: z.string().describe("Phone number of the requester.").nullable().optional(),
91
+ due_by: z.string().describe("Timestamp by which the ticket is due to be resolved in UTC format (YYYY-MM-DDTHH:MM:SSZ).").nullable().optional(),
92
+ source: FreshdeskCreateTicket_TicketSourceSchema.nullable().optional(),
93
+ status: FreshdeskCreateTicket_TicketStatusSchema.nullable().optional(),
94
+ deleted: z.boolean().describe("Indicates whether the ticket has been deleted.").nullable().optional(),
95
95
  subject: z.string().describe("Subject of the ticket.").nullable(),
96
- group_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the group to which the ticket is assigned.").optional()),
97
- priority: z.preprocess((value) => value === null ? void 0 : value, FreshdeskCreateTicket_TicketPrioritySchema.optional()),
98
- cc_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Array of email addresses that are CC'd on the ticket.").optional()),
99
- fr_due_by: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp by which the first response is due in UTC format (YYYY-MM-DDTHH:MM:SSZ).").optional()),
100
- nr_due_by: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp by which the next response is due in UTC format (YYYY-MM-DDTHH:MM:SSZ).").optional()),
101
- to_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Array of email addresses to which the ticket notification was sent.").optional()),
102
- company_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the company associated with the ticket.").optional()),
96
+ group_id: z.number().int().describe("ID of the group to which the ticket is assigned.").nullable().optional(),
97
+ priority: FreshdeskCreateTicket_TicketPrioritySchema.nullable().optional(),
98
+ cc_emails: z.array(z.string()).describe("Array of email addresses that are CC'd on the ticket.").nullable().optional(),
99
+ fr_due_by: z.string().describe("Timestamp by which the first response is due in UTC format (YYYY-MM-DDTHH:MM:SSZ).").nullable().optional(),
100
+ nr_due_by: z.string().describe("Timestamp by which the next response is due in UTC format (YYYY-MM-DDTHH:MM:SSZ).").nullable().optional(),
101
+ to_emails: z.array(z.string()).describe("Array of email addresses to which the ticket notification was sent.").nullable().optional(),
102
+ company_id: z.number().int().describe("ID of the company associated with the ticket.").nullable().optional(),
103
103
  created_at: z.string().describe("Timestamp when the ticket was created in UTC format (YYYY-MM-DDTHH:MM:SSZ).").nullable(),
104
- fwd_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Array of email addresses to which the ticket was forwarded.").optional()),
105
- product_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the product associated with the ticket.").optional()),
106
- twitter_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Twitter ID of the requester if ticket was created via Twitter.").optional()),
104
+ fwd_emails: z.array(z.string()).describe("Array of email addresses to which the ticket was forwarded.").nullable().optional(),
105
+ product_id: z.number().int().describe("ID of the product associated with the ticket.").nullable().optional(),
106
+ twitter_id: z.string().describe("Twitter ID of the requester if ticket was created via Twitter.").nullable().optional(),
107
107
  updated_at: z.string().describe("Timestamp when the ticket was last updated in UTC format (YYYY-MM-DDTHH:MM:SSZ).").nullable(),
108
- attachments: z.preprocess((value) => value === null ? void 0 : value, z.array(FreshdeskCreateTicket_AttachmentSchema).describe("Array of attachment objects associated with the ticket.").optional()),
108
+ attachments: z.array(FreshdeskCreateTicket_AttachmentSchema).describe("Array of attachment objects associated with the ticket.").nullable().optional(),
109
109
  description: z.string().describe("Plain text description of the ticket.").nullable(),
110
- facebook_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Facebook ID of the requester if ticket was created via Facebook.").optional()),
110
+ facebook_id: z.string().describe("Facebook ID of the requester if ticket was created via Facebook.").nullable().optional(),
111
111
  fr_escalated: z.boolean().describe("Indicates whether the first response SLA has been violated.").nullable(),
112
112
  is_escalated: z.boolean().describe("Indicates whether the ticket has been escalated.").nullable(),
113
- nr_escalated: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the next response SLA has been violated.").optional()),
113
+ nr_escalated: z.boolean().describe("Indicates whether the next response SLA has been violated.").nullable().optional(),
114
114
  requester_id: z.number().int().describe("User ID of the requester who created the ticket.").nullable(),
115
- responder_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("User ID of the agent assigned to the ticket.").optional()),
116
- custom_fields: z.preprocess((value) => value === null ? void 0 : value, z.record(z.string(), z.unknown()).describe("Object containing custom field key-value pairs. Custom field names are derived from their labels.").optional()),
117
- support_email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Support email address associated with the ticket.").optional()),
118
- email_config_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the email configuration used for the ticket.").optional()),
119
- reply_cc_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Array of email addresses that will be CC'd on replies to the ticket.").optional()),
120
- association_type: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Type of association for linked tickets (0=Parent, 1=Child, 2=Tracker, 3=Related).").optional()),
121
- description_html: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("HTML formatted description of the ticket.").optional()),
122
- description_text: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Plain text version of the description with HTML tags stripped.").optional()),
123
- ticket_cc_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Array of email addresses that are CC'd on the ticket.").optional())
115
+ responder_id: z.number().int().describe("User ID of the agent assigned to the ticket.").nullable().optional(),
116
+ custom_fields: z.record(z.string(), z.unknown()).describe("Object containing custom field key-value pairs. Custom field names are derived from their labels.").nullable().optional(),
117
+ support_email: z.string().describe("Support email address associated with the ticket.").nullable().optional(),
118
+ email_config_id: z.number().int().describe("ID of the email configuration used for the ticket.").nullable().optional(),
119
+ reply_cc_emails: z.array(z.string()).describe("Array of email addresses that will be CC'd on replies to the ticket.").nullable().optional(),
120
+ association_type: z.number().int().describe("Type of association for linked tickets (0=Parent, 1=Child, 2=Tracker, 3=Related).").nullable().optional(),
121
+ description_html: z.string().describe("HTML formatted description of the ticket.").nullable().optional(),
122
+ description_text: z.string().describe("Plain text version of the description with HTML tags stripped.").nullable().optional(),
123
+ ticket_cc_emails: z.array(z.string()).describe("Array of email addresses that are CC'd on the ticket.").nullable().optional()
124
124
  }).describe("Response from creating a ticket in Freshdesk.")
125
125
  });
126
126
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-ticket.mjs","names":[],"sources":["../../src/actions/create-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateTicketInput = z.object({\n name: z.string().describe(\"Name of the requester\").optional(),\n tags: z.array(z.string()).describe(\"Tags that have been associated with the ticket\").optional(),\n email: z.string().describe(\"Email address of the requester\").optional(),\n phone: z.string().describe(\"Phone number of the requester\").optional(),\n due_by: z.string().describe(\"Timestamp when the ticket is due to be resolved. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n source: z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"feedback_widget\", \"outbound_email\"]).default(\"portal\").describe(\"Channel through which the ticket was created.\").optional(),\n status: z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]).default(\"open\").describe(\"Status of the ticket.\").optional(),\n subject: z.string().describe(\"Subject of the ticket. Must be a non-empty string.\"),\n group_id: z.number().int().describe(\"ID of the group to which the ticket has been assigned\").optional(),\n priority: z.enum([\"low\", \"medium\", \"high\", \"urgent\"]).default(\"low\").describe(\"Priority of the ticket.\").optional(),\n cc_emails: z.array(z.string()).describe(\"Email addresses added in the 'cc' field of the incoming ticket email\").optional(),\n fr_due_by: z.string().describe(\"Timestamp when the first response is due. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n company_id: z.number().int().describe(\"Company ID of the requester\").optional(),\n product_id: z.number().int().describe(\"ID of the product linked to the ticket\").optional(),\n twitter_id: z.string().describe(\"Twitter handle of the requester\").optional(),\n attachments: z.array(z.string()).describe(\"Ticket attachments. Note: File attachments require multipart/form-data format and are not supported via JSON API calls.\").optional(),\n description: z.string().describe(\"HTML content of the ticket. Supports HTML formatting such as <p>, <strong>, <em>, etc.\"),\n facebook_id: z.string().describe(\"Facebook ID of the requester\").optional(),\n requester_id: z.number().int().describe(\"User ID of the requester\").optional(),\n responder_id: z.number().int().describe(\"ID of the agent to whom the ticket has been assigned\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Key–value pairs containing the names and values of custom fields. Example: {\\\"cf_<field-name>\\\": \\\"test-value\\\"}. Note: custom fields are to be predefined in Freshdesk.\").optional(),\n email_config_id: z.number().int().describe(\"ID of email config which is used for this ticket\").optional(),\n lookup_parameter: z.string().describe(\"Lookup field for custom objects\").optional(),\n internal_agent_id: z.number().int().describe(\"ID of the internal agent which the ticket should be assigned with\").optional(),\n internal_group_id: z.number().int().describe(\"ID of the internal group to which the ticket should be assigned with\").optional(),\n unique_external_id: z.string().describe(\"External ID of the requester\").optional(),\n});\nconst FreshdeskCreateTicket_TicketSourceSchema = z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"feedback_widget\", \"outbound_email\"]);\nconst FreshdeskCreateTicket_TicketStatusSchema = z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]);\nconst FreshdeskCreateTicket_TicketPrioritySchema = z.enum([\"low\", \"medium\", \"high\", \"urgent\"]);\nconst FreshdeskCreateTicket_AttachmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the attachment.\").nullable(),\n name: z.string().describe(\"Name of the attached file.\").nullable(),\n size: z.number().int().describe(\"Size of the attachment in bytes.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the attachment was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the attachment was last updated.\").nullable(),\n content_type: z.string().describe(\"MIME type of the attachment.\").nullable(),\n attachment_url: z.string().describe(\"URL to download the attachment.\").nullable(),\n}).describe(\"Attachment object associated with the ticket.\");\nexport const FreshdeskCreateTicketOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the ticket.\").nullable(),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the requester (may not be included by default in v2 API responses).\").optional()),\n spam: z.boolean().describe(\"Indicates whether the ticket has been marked as spam.\").nullable(),\n tags: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of tags associated with the ticket.\").optional()),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Type of the ticket (e.g., Question, Incident, Problem, Feature Request, Refund).\").optional()),\n email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Email address of the requester.\").optional()),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number of the requester.\").optional()),\n due_by: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp by which the ticket is due to be resolved in UTC format (YYYY-MM-DDTHH:MM:SSZ).\").optional()),\n source: z.preprocess((value) => (value === null ? undefined : value), FreshdeskCreateTicket_TicketSourceSchema.optional()),\n status: z.preprocess((value) => (value === null ? undefined : value), FreshdeskCreateTicket_TicketStatusSchema.optional()),\n deleted: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the ticket has been deleted.\").optional()),\n subject: z.string().describe(\"Subject of the ticket.\").nullable(),\n group_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the group to which the ticket is assigned.\").optional()),\n priority: z.preprocess((value) => (value === null ? undefined : value), FreshdeskCreateTicket_TicketPrioritySchema.optional()),\n cc_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of email addresses that are CC'd on the ticket.\").optional()),\n fr_due_by: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp by which the first response is due in UTC format (YYYY-MM-DDTHH:MM:SSZ).\").optional()),\n nr_due_by: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp by which the next response is due in UTC format (YYYY-MM-DDTHH:MM:SSZ).\").optional()),\n to_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of email addresses to which the ticket notification was sent.\").optional()),\n company_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the company associated with the ticket.\").optional()),\n created_at: z.string().describe(\"Timestamp when the ticket was created in UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n fwd_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of email addresses to which the ticket was forwarded.\").optional()),\n product_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the product associated with the ticket.\").optional()),\n twitter_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Twitter ID of the requester if ticket was created via Twitter.\").optional()),\n updated_at: z.string().describe(\"Timestamp when the ticket was last updated in UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n attachments: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskCreateTicket_AttachmentSchema).describe(\"Array of attachment objects associated with the ticket.\").optional()),\n description: z.string().describe(\"Plain text description of the ticket.\").nullable(),\n facebook_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Facebook ID of the requester if ticket was created via Facebook.\").optional()),\n fr_escalated: z.boolean().describe(\"Indicates whether the first response SLA has been violated.\").nullable(),\n is_escalated: z.boolean().describe(\"Indicates whether the ticket has been escalated.\").nullable(),\n nr_escalated: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the next response SLA has been violated.\").optional()),\n requester_id: z.number().int().describe(\"User ID of the requester who created the ticket.\").nullable(),\n responder_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"User ID of the agent assigned to the ticket.\").optional()),\n custom_fields: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Object containing custom field key-value pairs. Custom field names are derived from their labels.\").optional()),\n support_email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Support email address associated with the ticket.\").optional()),\n email_config_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the email configuration used for the ticket.\").optional()),\n reply_cc_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of email addresses that will be CC'd on replies to the ticket.\").optional()),\n association_type: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Type of association for linked tickets (0=Parent, 1=Child, 2=Tracker, 3=Related).\").optional()),\n description_html: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"HTML formatted description of the ticket.\").optional()),\n description_text: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Plain text version of the description with HTML tags stripped.\").optional()),\n ticket_cc_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of email addresses that are CC'd on the ticket.\").optional()),\n}).describe(\"Response from creating a ticket in Freshdesk.\");\n\nexport const freshdeskCreateTicket = action(\"FRESHDESK_CREATE_TICKET\", {\n slug: \"freshdesk-create-ticket\",\n name: \"Create Ticket\",\n description: \"Creates a new ticket in Freshdesk. REQUIRED FIELDS: - subject and description are always required - At least ONE requester identifier is REQUIRED: requester_id, email, phone, facebook_id, twitter_id, or unique_external_id CONDITIONAL REQUIREMENTS: - If phone is provided without email, name becomes MANDATORY NOTE ON ATTACHMENTS: - attachments field expects multipart/form-data format, not file paths\",\n input: FreshdeskCreateTicketInput,\n output: FreshdeskCreateTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,MAAM,EAAE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AC,SAAS,CAAC;EAChL,kBAAkB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC;CAClL,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-ticket.mjs","names":[],"sources":["../../src/actions/create-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateTicketInput = z.object({\n name: z.string().describe(\"Name of the requester\").optional(),\n tags: z.array(z.string()).describe(\"Tags that have been associated with the ticket\").optional(),\n email: z.string().describe(\"Email address of the requester\").optional(),\n phone: z.string().describe(\"Phone number of the requester\").optional(),\n due_by: z.string().describe(\"Timestamp when the ticket is due to be resolved. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n source: z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"feedback_widget\", \"outbound_email\"]).default(\"portal\").describe(\"Channel through which the ticket was created.\").optional(),\n status: z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]).default(\"open\").describe(\"Status of the ticket.\").optional(),\n subject: z.string().describe(\"Subject of the ticket. Must be a non-empty string.\"),\n group_id: z.number().int().describe(\"ID of the group to which the ticket has been assigned\").optional(),\n priority: z.enum([\"low\", \"medium\", \"high\", \"urgent\"]).default(\"low\").describe(\"Priority of the ticket.\").optional(),\n cc_emails: z.array(z.string()).describe(\"Email addresses added in the 'cc' field of the incoming ticket email\").optional(),\n fr_due_by: z.string().describe(\"Timestamp when the first response is due. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n company_id: z.number().int().describe(\"Company ID of the requester\").optional(),\n product_id: z.number().int().describe(\"ID of the product linked to the ticket\").optional(),\n twitter_id: z.string().describe(\"Twitter handle of the requester\").optional(),\n attachments: z.array(z.string()).describe(\"Ticket attachments. Note: File attachments require multipart/form-data format and are not supported via JSON API calls.\").optional(),\n description: z.string().describe(\"HTML content of the ticket. Supports HTML formatting such as <p>, <strong>, <em>, etc.\"),\n facebook_id: z.string().describe(\"Facebook ID of the requester\").optional(),\n requester_id: z.number().int().describe(\"User ID of the requester\").optional(),\n responder_id: z.number().int().describe(\"ID of the agent to whom the ticket has been assigned\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Key–value pairs containing the names and values of custom fields. Example: {\\\"cf_<field-name>\\\": \\\"test-value\\\"}. Note: custom fields are to be predefined in Freshdesk.\").optional(),\n email_config_id: z.number().int().describe(\"ID of email config which is used for this ticket\").optional(),\n lookup_parameter: z.string().describe(\"Lookup field for custom objects\").optional(),\n internal_agent_id: z.number().int().describe(\"ID of the internal agent which the ticket should be assigned with\").optional(),\n internal_group_id: z.number().int().describe(\"ID of the internal group to which the ticket should be assigned with\").optional(),\n unique_external_id: z.string().describe(\"External ID of the requester\").optional(),\n});\nconst FreshdeskCreateTicket_TicketSourceSchema = z.enum([\"email\", \"portal\", \"phone\", \"chat\", \"feedback_widget\", \"outbound_email\"]);\nconst FreshdeskCreateTicket_TicketStatusSchema = z.enum([\"open\", \"pending\", \"resolved\", \"closed\"]);\nconst FreshdeskCreateTicket_TicketPrioritySchema = z.enum([\"low\", \"medium\", \"high\", \"urgent\"]);\nconst FreshdeskCreateTicket_AttachmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the attachment.\").nullable(),\n name: z.string().describe(\"Name of the attached file.\").nullable(),\n size: z.number().int().describe(\"Size of the attachment in bytes.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the attachment was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the attachment was last updated.\").nullable(),\n content_type: z.string().describe(\"MIME type of the attachment.\").nullable(),\n attachment_url: z.string().describe(\"URL to download the attachment.\").nullable(),\n}).describe(\"Attachment object associated with the ticket.\");\nexport const FreshdeskCreateTicketOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the ticket.\").nullable(),\n name: z.string().describe(\"Name of the requester (may not be included by default in v2 API responses).\").nullable().optional(),\n spam: z.boolean().describe(\"Indicates whether the ticket has been marked as spam.\").nullable(),\n tags: z.array(z.string()).describe(\"Array of tags associated with the ticket.\").nullable().optional(),\n type: z.string().describe(\"Type of the ticket (e.g., Question, Incident, Problem, Feature Request, Refund).\").nullable().optional(),\n email: z.string().describe(\"Email address of the requester.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the requester.\").nullable().optional(),\n due_by: z.string().describe(\"Timestamp by which the ticket is due to be resolved in UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable().optional(),\n source: FreshdeskCreateTicket_TicketSourceSchema.nullable().optional(),\n status: FreshdeskCreateTicket_TicketStatusSchema.nullable().optional(),\n deleted: z.boolean().describe(\"Indicates whether the ticket has been deleted.\").nullable().optional(),\n subject: z.string().describe(\"Subject of the ticket.\").nullable(),\n group_id: z.number().int().describe(\"ID of the group to which the ticket is assigned.\").nullable().optional(),\n priority: FreshdeskCreateTicket_TicketPrioritySchema.nullable().optional(),\n cc_emails: z.array(z.string()).describe(\"Array of email addresses that are CC'd on the ticket.\").nullable().optional(),\n fr_due_by: z.string().describe(\"Timestamp by which the first response is due in UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable().optional(),\n nr_due_by: z.string().describe(\"Timestamp by which the next response is due in UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable().optional(),\n to_emails: z.array(z.string()).describe(\"Array of email addresses to which the ticket notification was sent.\").nullable().optional(),\n company_id: z.number().int().describe(\"ID of the company associated with the ticket.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ticket was created in UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n fwd_emails: z.array(z.string()).describe(\"Array of email addresses to which the ticket was forwarded.\").nullable().optional(),\n product_id: z.number().int().describe(\"ID of the product associated with the ticket.\").nullable().optional(),\n twitter_id: z.string().describe(\"Twitter ID of the requester if ticket was created via Twitter.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the ticket was last updated in UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n attachments: z.array(FreshdeskCreateTicket_AttachmentSchema).describe(\"Array of attachment objects associated with the ticket.\").nullable().optional(),\n description: z.string().describe(\"Plain text description of the ticket.\").nullable(),\n facebook_id: z.string().describe(\"Facebook ID of the requester if ticket was created via Facebook.\").nullable().optional(),\n fr_escalated: z.boolean().describe(\"Indicates whether the first response SLA has been violated.\").nullable(),\n is_escalated: z.boolean().describe(\"Indicates whether the ticket has been escalated.\").nullable(),\n nr_escalated: z.boolean().describe(\"Indicates whether the next response SLA has been violated.\").nullable().optional(),\n requester_id: z.number().int().describe(\"User ID of the requester who created the ticket.\").nullable(),\n responder_id: z.number().int().describe(\"User ID of the agent assigned to the ticket.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Object containing custom field key-value pairs. Custom field names are derived from their labels.\").nullable().optional(),\n support_email: z.string().describe(\"Support email address associated with the ticket.\").nullable().optional(),\n email_config_id: z.number().int().describe(\"ID of the email configuration used for the ticket.\").nullable().optional(),\n reply_cc_emails: z.array(z.string()).describe(\"Array of email addresses that will be CC'd on replies to the ticket.\").nullable().optional(),\n association_type: z.number().int().describe(\"Type of association for linked tickets (0=Parent, 1=Child, 2=Tracker, 3=Related).\").nullable().optional(),\n description_html: z.string().describe(\"HTML formatted description of the ticket.\").nullable().optional(),\n description_text: z.string().describe(\"Plain text version of the description with HTML tags stripped.\").nullable().optional(),\n ticket_cc_emails: z.array(z.string()).describe(\"Array of email addresses that are CC'd on the ticket.\").nullable().optional(),\n}).describe(\"Response from creating a ticket in Freshdesk.\");\n\nexport const freshdeskCreateTicket = action(\"FRESHDESK_CREATE_TICKET\", {\n slug: \"freshdesk-create-ticket\",\n name: \"Create Ticket\",\n description: \"Creates a new ticket in Freshdesk. REQUIRED FIELDS: - subject and description are always required - At least ONE requester identifier is REQUIRED: requester_id, email, phone, facebook_id, twitter_id, or unique_external_id CONDITIONAL REQUIREMENTS: - If phone is provided without email, name becomes MANDATORY NOTE ON ATTACHMENTS: - attachments field expects multipart/form-data format, not file paths\",\n input: FreshdeskCreateTicketInput,\n output: FreshdeskCreateTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAClI,QAAQ,EAAE,KAAK;EAAC;EAAS;EAAU;EAAS;EAAQ;EAAmB;CAAgB,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/K,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAY;CAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,KAAK;EAAC;EAAO;EAAU;EAAQ;CAAQ,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClH,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAA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AAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -8,12 +8,12 @@ const FreshdeskCreateTranslatedSolutionCategoryInput = zod.z.object({
8
8
  language_code: zod.z.string().describe("The language code for the translation (e.g., 'fr' for French, 'es' for Spanish, 'de' for German)")
9
9
  });
10
10
  const FreshdeskCreateTranslatedSolutionCategoryOutput = zod.z.object({
11
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the solution category").optional()),
12
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Translated name of the solution category").optional()),
13
- created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the category was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
14
- updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the category was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
15
- description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Translated description of the solution category").optional()),
16
- visible_in_portals: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.union([zod.z.array(zod.z.number().int()), zod.z.boolean()]).optional())
11
+ id: zod.z.number().int().describe("Unique identifier of the solution category").nullable().optional(),
12
+ name: zod.z.string().describe("Translated name of the solution category").nullable().optional(),
13
+ created_at: zod.z.string().describe("Timestamp when the category was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
14
+ updated_at: zod.z.string().describe("Timestamp when the category was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
15
+ description: zod.z.string().describe("Translated description of the solution category").nullable().optional(),
16
+ visible_in_portals: zod.z.union([zod.z.array(zod.z.number().int()), zod.z.boolean()]).nullable().optional()
17
17
  });
18
18
  const freshdeskCreateTranslatedSolutionCategory = require_action.action("FRESHDESK_CREATE_TRANSLATED_SOLUTION_CATEGORY", {
19
19
  slug: "freshdesk-create-translated-solution-category",
@@ -1 +1 @@
1
- {"version":3,"file":"create-translated-solution-category.cjs","names":["z","action"],"sources":["../../src/actions/create-translated-solution-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateTranslatedSolutionCategoryInput = z.object({\n id: z.number().int().describe(\"The ID of the solution category (must be an existing category created in the primary language)\"),\n name: z.string().describe(\"The translated name of the solution category\"),\n description: z.string().describe(\"The translated description of the solution category\").optional(),\n language_code: z.string().describe(\"The language code for the translation (e.g., 'fr' for French, 'es' for Spanish, 'de' for German)\"),\n});\nexport const FreshdeskCreateTranslatedSolutionCategoryOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the solution category\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Translated name of the solution category\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the category was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the category was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Translated description of the solution category\").optional()),\n visible_in_portals: z.preprocess((value) => (value === null ? undefined : value), z.union([z.array(z.number().int()), z.boolean()]).optional()),\n});\n\nexport const freshdeskCreateTranslatedSolutionCategory = action(\"FRESHDESK_CREATE_TRANSLATED_SOLUTION_CATEGORY\", {\n slug: \"freshdesk-create-translated-solution-category\",\n name: \"Create Translated Solution Category\",\n description: \"Tool to create a translated version of an existing solution category. Use when you need to add multilingual support to your knowledge base by creating category translations in different languages.\",\n input: FreshdeskCreateTranslatedSolutionCategoryInput,\n output: FreshdeskCreateTranslatedSolutionCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACvI,CAAC;AACD,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;CACpJ,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;CAC9I,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC;CAC7L,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC;CAClM,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;CAC5J,oBAAoBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAChJ,CAAC;AAED,MAAa,4CAA4CC,eAAAA,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-translated-solution-category.cjs","names":["z","action"],"sources":["../../src/actions/create-translated-solution-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateTranslatedSolutionCategoryInput = z.object({\n id: z.number().int().describe(\"The ID of the solution category (must be an existing category created in the primary language)\"),\n name: z.string().describe(\"The translated name of the solution category\"),\n description: z.string().describe(\"The translated description of the solution category\").optional(),\n language_code: z.string().describe(\"The language code for the translation (e.g., 'fr' for French, 'es' for Spanish, 'de' for German)\"),\n});\nexport const FreshdeskCreateTranslatedSolutionCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the solution category\").nullable().optional(),\n name: z.string().describe(\"Translated name of the solution category\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the category was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the category was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n description: z.string().describe(\"Translated description of the solution category\").nullable().optional(),\n visible_in_portals: z.union([z.array(z.number().int()), z.boolean()]).nullable().optional(),\n});\n\nexport const freshdeskCreateTranslatedSolutionCategory = action(\"FRESHDESK_CREATE_TRANSLATED_SOLUTION_CATEGORY\", {\n slug: \"freshdesk-create-translated-solution-category\",\n name: \"Create Translated Solution Category\",\n description: \"Tool to create a translated version of an existing solution category. Use when you need to add multilingual support to your knowledge base by creating category translations in different languages.\",\n input: FreshdeskCreateTranslatedSolutionCategoryInput,\n output: FreshdeskCreateTranslatedSolutionCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACvI,CAAC;AACD,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AAED,MAAa,4CAA4CC,eAAAA,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,26 +8,19 @@ declare const FreshdeskCreateTranslatedSolutionCategoryInput: z.ZodObject<{
8
8
  language_code: z.ZodString;
9
9
  }, z.core.$strip>;
10
10
  declare const FreshdeskCreateTranslatedSolutionCategoryOutput: z.ZodObject<{
11
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- visible_in_portals: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodBoolean]>>>;
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ visible_in_portals: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodBoolean]>>>;
17
17
  }, z.core.$strip>;
18
18
  declare const freshdeskCreateTranslatedSolutionCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  id: number;
20
20
  name: string;
21
21
  language_code: string;
22
22
  description?: string | undefined;
23
- }, {
24
- id?: number | undefined;
25
- name?: string | undefined;
26
- created_at?: string | undefined;
27
- updated_at?: string | undefined;
28
- description?: string | undefined;
29
- visible_in_portals?: boolean | number[] | undefined;
30
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
24
  //#endregion
32
25
  export { freshdeskCreateTranslatedSolutionCategory };
33
26
  //# sourceMappingURL=create-translated-solution-category.d.cts.map
@@ -8,26 +8,19 @@ declare const FreshdeskCreateTranslatedSolutionCategoryInput: z.ZodObject<{
8
8
  language_code: z.ZodString;
9
9
  }, z.core.$strip>;
10
10
  declare const FreshdeskCreateTranslatedSolutionCategoryOutput: z.ZodObject<{
11
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- visible_in_portals: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodBoolean]>>>;
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ visible_in_portals: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodBoolean]>>>;
17
17
  }, z.core.$strip>;
18
18
  declare const freshdeskCreateTranslatedSolutionCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  id: number;
20
20
  name: string;
21
21
  language_code: string;
22
22
  description?: string | undefined;
23
- }, {
24
- id?: number | undefined;
25
- name?: string | undefined;
26
- created_at?: string | undefined;
27
- updated_at?: string | undefined;
28
- description?: string | undefined;
29
- visible_in_portals?: boolean | number[] | undefined;
30
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
24
  //#endregion
32
25
  export { freshdeskCreateTranslatedSolutionCategory };
33
26
  //# sourceMappingURL=create-translated-solution-category.d.mts.map
@@ -11,12 +11,12 @@ const freshdeskCreateTranslatedSolutionCategory = action("FRESHDESK_CREATE_TRANS
11
11
  language_code: z.string().describe("The language code for the translation (e.g., 'fr' for French, 'es' for Spanish, 'de' for German)")
12
12
  }),
13
13
  output: z.object({
14
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the solution category").optional()),
15
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Translated name of the solution category").optional()),
16
- created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the category was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
17
- updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the category was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
18
- description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Translated description of the solution category").optional()),
19
- visible_in_portals: z.preprocess((value) => value === null ? void 0 : value, z.union([z.array(z.number().int()), z.boolean()]).optional())
14
+ id: z.number().int().describe("Unique identifier of the solution category").nullable().optional(),
15
+ name: z.string().describe("Translated name of the solution category").nullable().optional(),
16
+ created_at: z.string().describe("Timestamp when the category was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
17
+ updated_at: z.string().describe("Timestamp when the category was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
18
+ description: z.string().describe("Translated description of the solution category").nullable().optional(),
19
+ visible_in_portals: z.union([z.array(z.number().int()), z.boolean()]).nullable().optional()
20
20
  })
21
21
  });
22
22
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-translated-solution-category.mjs","names":[],"sources":["../../src/actions/create-translated-solution-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateTranslatedSolutionCategoryInput = z.object({\n id: z.number().int().describe(\"The ID of the solution category (must be an existing category created in the primary language)\"),\n name: z.string().describe(\"The translated name of the solution category\"),\n description: z.string().describe(\"The translated description of the solution category\").optional(),\n language_code: z.string().describe(\"The language code for the translation (e.g., 'fr' for French, 'es' for Spanish, 'de' for German)\"),\n});\nexport const FreshdeskCreateTranslatedSolutionCategoryOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the solution category\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Translated name of the solution category\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the category was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the category was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Translated description of the solution category\").optional()),\n visible_in_portals: z.preprocess((value) => (value === null ? undefined : value), z.union([z.array(z.number().int()), z.boolean()]).optional()),\n});\n\nexport const freshdeskCreateTranslatedSolutionCategory = action(\"FRESHDESK_CREATE_TRANSLATED_SOLUTION_CATEGORY\", {\n slug: \"freshdesk-create-translated-solution-category\",\n name: \"Create Translated Solution Category\",\n description: \"Tool to create a translated version of an existing solution category. Use when you need to add multilingual support to your knowledge base by creating category translations in different languages.\",\n input: FreshdeskCreateTranslatedSolutionCategoryInput,\n output: FreshdeskCreateTranslatedSolutionCategoryOutput,\n});\n"],"mappings":";;AAmBA,MAAa,4CAA4C,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CACvI,CAcS;CACP,QAd6D,EAAE,OAAO;EACtE,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;EACpJ,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;EAC9I,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC;EAC7L,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC;EAClM,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;EAC5J,oBAAoB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;CAChJ,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-translated-solution-category.mjs","names":[],"sources":["../../src/actions/create-translated-solution-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateTranslatedSolutionCategoryInput = z.object({\n id: z.number().int().describe(\"The ID of the solution category (must be an existing category created in the primary language)\"),\n name: z.string().describe(\"The translated name of the solution category\"),\n description: z.string().describe(\"The translated description of the solution category\").optional(),\n language_code: z.string().describe(\"The language code for the translation (e.g., 'fr' for French, 'es' for Spanish, 'de' for German)\"),\n});\nexport const FreshdeskCreateTranslatedSolutionCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the solution category\").nullable().optional(),\n name: z.string().describe(\"Translated name of the solution category\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the category was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the category was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n description: z.string().describe(\"Translated description of the solution category\").nullable().optional(),\n visible_in_portals: z.union([z.array(z.number().int()), z.boolean()]).nullable().optional(),\n});\n\nexport const freshdeskCreateTranslatedSolutionCategory = action(\"FRESHDESK_CREATE_TRANSLATED_SOLUTION_CATEGORY\", {\n slug: \"freshdesk-create-translated-solution-category\",\n name: \"Create Translated Solution Category\",\n description: \"Tool to create a translated version of an existing solution category. Use when you need to add multilingual support to your knowledge base by creating category translations in different languages.\",\n input: FreshdeskCreateTranslatedSolutionCategoryInput,\n output: FreshdeskCreateTranslatedSolutionCategoryOutput,\n});\n"],"mappings":";;AAmBA,MAAa,4CAA4C,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CACvI,CAcS;CACP,QAd6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAOU;AACV,CAAC"}
@@ -3,50 +3,50 @@ let zod = require("zod");
3
3
  //#region src/actions/currently-authenticated-agent.ts
4
4
  const FreshdeskCurrentlyAuthenticatedAgentInput = zod.z.object({});
5
5
  const FreshdeskCurrentlyAuthenticatedAgent_AgentContactSchema = zod.z.object({
6
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Identifier of the contact object, auto-generated when a contact record is created. May not be present in /agents/me endpoint.").optional()),
6
+ id: zod.z.number().int().describe("Identifier of the contact object, auto-generated when a contact record is created. May not be present in /agents/me endpoint.").nullable().optional(),
7
7
  name: zod.z.string().describe("Name of the agent.").nullable(),
8
- tags: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Tags associated with the contact.").optional()),
8
+ tags: zod.z.array(zod.z.string()).describe("Tags associated with the contact.").nullable().optional(),
9
9
  email: zod.z.string().describe("Email address of the agent.").nullable(),
10
- phone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Phone number of the agent.").optional()),
10
+ phone: zod.z.string().describe("Phone number of the agent.").nullable().optional(),
11
11
  active: zod.z.boolean().describe("Indicates whether the contact is active.").nullable(),
12
- avatar: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.z.unknown()).describe("Avatar image information for the agent.").optional()),
13
- mobile: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Mobile phone number of the agent.").optional()),
14
- address: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Address of the contact.").optional()),
15
- language: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Language preference of the agent.").optional()),
16
- job_title: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Job title of the agent.").optional()),
17
- time_zone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Time zone setting of the agent.").optional()),
18
- company_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Identifier of the company to which the contact is associated.").optional()),
12
+ avatar: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Avatar image information for the agent.").nullable().optional(),
13
+ mobile: zod.z.string().describe("Mobile phone number of the agent.").nullable().optional(),
14
+ address: zod.z.string().describe("Address of the contact.").nullable().optional(),
15
+ language: zod.z.string().describe("Language preference of the agent.").nullable().optional(),
16
+ job_title: zod.z.string().describe("Job title of the agent.").nullable().optional(),
17
+ time_zone: zod.z.string().describe("Time zone setting of the agent.").nullable().optional(),
18
+ company_id: zod.z.number().int().describe("Identifier of the company to which the contact is associated.").nullable().optional(),
19
19
  created_at: zod.z.string().describe("Timestamp of when the contact was created, specified in the UTC format.").nullable(),
20
- guest_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Guest name if applicable.").optional()),
21
- twitter_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Twitter ID of the contact.").optional()),
20
+ guest_name: zod.z.string().describe("Guest name if applicable.").nullable().optional(),
21
+ twitter_id: zod.z.string().describe("Twitter ID of the contact.").nullable().optional(),
22
22
  updated_at: zod.z.string().describe("Timestamp of when the contact details were last updated, specified in the UTC format.").nullable(),
23
- description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Description or notes about the contact.").optional()),
24
- facebook_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Facebook ID of the contact.").optional()),
25
- other_emails: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Additional email addresses for the contact.").optional()),
26
- custom_fields: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields defined for contacts.").optional()),
27
- last_login_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp of the last login by the agent in UTC format.").optional()),
28
- social_handler: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Social media handles associated with the contact.").optional()),
29
- other_companies: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Other companies associated with the contact.").optional()),
30
- view_all_tickets: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Permission to view all tickets.").optional()),
31
- guest_profile_pic: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL of the guest profile picture.").optional()),
32
- other_phone_numbers: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Additional phone numbers for the contact.").optional())
23
+ description: zod.z.string().describe("Description or notes about the contact.").nullable().optional(),
24
+ facebook_id: zod.z.string().describe("Facebook ID of the contact.").nullable().optional(),
25
+ other_emails: zod.z.array(zod.z.string()).describe("Additional email addresses for the contact.").nullable().optional(),
26
+ custom_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields defined for contacts.").nullable().optional(),
27
+ last_login_at: zod.z.string().describe("Timestamp of the last login by the agent in UTC format.").nullable().optional(),
28
+ social_handler: zod.z.array(zod.z.string()).describe("Social media handles associated with the contact.").nullable().optional(),
29
+ other_companies: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Other companies associated with the contact.").nullable().optional(),
30
+ view_all_tickets: zod.z.boolean().describe("Permission to view all tickets.").nullable().optional(),
31
+ guest_profile_pic: zod.z.string().describe("URL of the guest profile picture.").nullable().optional(),
32
+ other_phone_numbers: zod.z.array(zod.z.string()).describe("Additional phone numbers for the contact.").nullable().optional()
33
33
  }).describe("Contact information for an agent in Freshdesk.");
34
34
  const FreshdeskCurrentlyAuthenticatedAgentOutput = zod.z.object({
35
35
  id: zod.z.number().int().describe("Identifier of the agent, auto-generated when the agent's information is configured in the system.").nullable(),
36
- type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Type of the agent.").optional()),
36
+ type: zod.z.string().describe("Type of the agent.").nullable().optional(),
37
37
  contact: FreshdeskCurrentlyAuthenticatedAgent_AgentContactSchema.nullable(),
38
- role_ids: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.number().int()).describe("Identifiers of the roles associated with the agent, which determine the access privileges.").optional()),
39
- abilities: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("List of the access privileges granted to the agent, specified as an array.").optional()),
38
+ role_ids: zod.z.array(zod.z.number().int()).describe("Identifiers of the roles associated with the agent, which determine the access privileges.").nullable().optional(),
39
+ abilities: zod.z.array(zod.z.string()).describe("List of the access privileges granted to the agent, specified as an array.").nullable().optional(),
40
40
  available: zod.z.boolean().describe("Specifies whether the agent is available for ticket assignment.").nullable(),
41
- group_ids: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.number().int()).describe("Identifiers of the groups to which the agent is associated, specified as an array.").optional()),
42
- signature: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("HTML format of the personalized message block appended to the emails/replies that the agent sends.").optional()),
43
- skill_ids: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.number().int()).describe("Identifiers of skills assigned to the agent.").optional()),
41
+ group_ids: zod.z.array(zod.z.number().int()).describe("Identifiers of the groups to which the agent is associated, specified as an array.").nullable().optional(),
42
+ signature: zod.z.string().describe("HTML format of the personalized message block appended to the emails/replies that the agent sends.").nullable().optional(),
43
+ skill_ids: zod.z.array(zod.z.number().int()).describe("Identifiers of skills assigned to the agent.").nullable().optional(),
44
44
  created_at: zod.z.string().describe("Timestamp of when the agent's record was created in the Freshdesk system, specified in the UTC format (YYYY-MM-DDTHH:MM:SSZ).").nullable(),
45
- focus_mode: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Indicates whether focus mode is enabled for the agent.").optional()),
46
- occasional: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Specifies whether the agent is an occasional agent (true) or a full-time agent (false).").optional()),
45
+ focus_mode: zod.z.boolean().describe("Indicates whether focus mode is enabled for the agent.").nullable().optional(),
46
+ occasional: zod.z.boolean().describe("Specifies whether the agent is an occasional agent (true) or a full-time agent (false).").nullable().optional(),
47
47
  updated_at: zod.z.string().describe("Timestamp of when the agent's record is last updated in the Freshdesk system, specified in the UTC format (YYYY-MM-DDTHH:MM:SSZ).").nullable(),
48
- ticket_scope: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Permission level granted to the agent to access tickets. Values: 1 (all tickets), 2 (assigned or group tickets), 3 (assigned only).").optional()),
49
- available_since: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp of since when the agent has been available for ticket assignment.").optional())
48
+ ticket_scope: zod.z.number().int().describe("Permission level granted to the agent to access tickets. Values: 1 (all tickets), 2 (assigned or group tickets), 3 (assigned only).").nullable().optional(),
49
+ available_since: zod.z.string().describe("Timestamp of since when the agent has been available for ticket assignment.").nullable().optional()
50
50
  });
51
51
  const freshdeskCurrentlyAuthenticatedAgent = require_action.action("FRESHDESK_CURRENTLY_AUTHENTICATED_AGENT", {
52
52
  slug: "freshdesk-currently-authenticated-agent",
@@ -1 +1 @@
1
- {"version":3,"file":"currently-authenticated-agent.cjs","names":["z","action"],"sources":["../../src/actions/currently-authenticated-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCurrentlyAuthenticatedAgentInput = z.object({});\nconst FreshdeskCurrentlyAuthenticatedAgent_AgentContactSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Identifier of the contact object, auto-generated when a contact record is created. May not be present in /agents/me endpoint.\").optional()),\n name: z.string().describe(\"Name of the agent.\").nullable(),\n tags: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Tags associated with the contact.\").optional()),\n email: z.string().describe(\"Email address of the agent.\").nullable(),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number of the agent.\").optional()),\n active: z.boolean().describe(\"Indicates whether the contact is active.\").nullable(),\n avatar: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Avatar image information for the agent.\").optional()),\n mobile: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile phone number of the agent.\").optional()),\n address: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Address of the contact.\").optional()),\n language: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Language preference of the agent.\").optional()),\n job_title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Job title of the agent.\").optional()),\n time_zone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Time zone setting of the agent.\").optional()),\n company_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Identifier of the company to which the contact is associated.\").optional()),\n created_at: z.string().describe(\"Timestamp of when the contact was created, specified in the UTC format.\").nullable(),\n guest_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Guest name if applicable.\").optional()),\n twitter_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Twitter ID of the contact.\").optional()),\n updated_at: z.string().describe(\"Timestamp of when the contact details were last updated, specified in the UTC format.\").nullable(),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Description or notes about the contact.\").optional()),\n facebook_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Facebook ID of the contact.\").optional()),\n other_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Additional email addresses for the contact.\").optional()),\n custom_fields: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Custom fields defined for contacts.\").optional()),\n last_login_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of the last login by the agent in UTC format.\").optional()),\n social_handler: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Social media handles associated with the contact.\").optional()),\n other_companies: z.preprocess((value) => (value === null ? undefined : value), z.array(z.record(z.string(), z.unknown())).describe(\"Other companies associated with the contact.\").optional()),\n view_all_tickets: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Permission to view all tickets.\").optional()),\n guest_profile_pic: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL of the guest profile picture.\").optional()),\n other_phone_numbers: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Additional phone numbers for the contact.\").optional()),\n}).describe(\"Contact information for an agent in Freshdesk.\");\nexport const FreshdeskCurrentlyAuthenticatedAgentOutput = z.object({\n id: z.number().int().describe(\"Identifier of the agent, auto-generated when the agent's information is configured in the system.\").nullable(),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Type of the agent.\").optional()),\n contact: FreshdeskCurrentlyAuthenticatedAgent_AgentContactSchema.nullable(),\n role_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Identifiers of the roles associated with the agent, which determine the access privileges.\").optional()),\n abilities: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of the access privileges granted to the agent, specified as an array.\").optional()),\n available: z.boolean().describe(\"Specifies whether the agent is available for ticket assignment.\").nullable(),\n group_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Identifiers of the groups to which the agent is associated, specified as an array.\").optional()),\n signature: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"HTML format of the personalized message block appended to the emails/replies that the agent sends.\").optional()),\n skill_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Identifiers of skills assigned to the agent.\").optional()),\n created_at: z.string().describe(\"Timestamp of when the agent's record was created in the Freshdesk system, specified in the UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n focus_mode: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether focus mode is enabled for the agent.\").optional()),\n occasional: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Specifies whether the agent is an occasional agent (true) or a full-time agent (false).\").optional()),\n updated_at: z.string().describe(\"Timestamp of when the agent's record is last updated in the Freshdesk system, specified in the UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n ticket_scope: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Permission level granted to the agent to access tickets. Values: 1 (all tickets), 2 (assigned or group tickets), 3 (assigned only).\").optional()),\n available_since: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of since when the agent has been available for ticket assignment.\").optional()),\n});\n\nexport const freshdeskCurrentlyAuthenticatedAgent = action(\"FRESHDESK_CURRENTLY_AUTHENTICATED_AGENT\", {\n slug: \"freshdesk-currently-authenticated-agent\",\n name: \"Currently Authenticated Agent\",\n description: \"Tool to retrieve profile information for the currently authenticated agent. Use when you need to get details about the agent whose API credentials are being used for authentication.\",\n input: FreshdeskCurrentlyAuthenticatedAgentInput,\n output: FreshdeskCurrentlyAuthenticatedAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACpE,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC;CACvO,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CAChJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;CACjI,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,Q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b,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"currently-authenticated-agent.cjs","names":["z","action"],"sources":["../../src/actions/currently-authenticated-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCurrentlyAuthenticatedAgentInput = z.object({});\nconst FreshdeskCurrentlyAuthenticatedAgent_AgentContactSchema = z.object({\n id: z.number().int().describe(\"Identifier of the contact object, auto-generated when a contact record is created. May not be present in /agents/me endpoint.\").nullable().optional(),\n name: z.string().describe(\"Name of the agent.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the agent.\").nullable(),\n phone: z.string().describe(\"Phone number of the agent.\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the contact is active.\").nullable(),\n avatar: z.record(z.string(), z.unknown()).describe(\"Avatar image information for the agent.\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number of the agent.\").nullable().optional(),\n address: z.string().describe(\"Address of the contact.\").nullable().optional(),\n language: z.string().describe(\"Language preference of the agent.\").nullable().optional(),\n job_title: z.string().describe(\"Job title of the agent.\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone setting of the agent.\").nullable().optional(),\n company_id: z.number().int().describe(\"Identifier of the company to which the contact is associated.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the contact was created, specified in the UTC format.\").nullable(),\n guest_name: z.string().describe(\"Guest name if applicable.\").nullable().optional(),\n twitter_id: z.string().describe(\"Twitter ID of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of when the contact details were last updated, specified in the UTC format.\").nullable(),\n description: z.string().describe(\"Description or notes about the contact.\").nullable().optional(),\n facebook_id: z.string().describe(\"Facebook ID of the contact.\").nullable().optional(),\n other_emails: z.array(z.string()).describe(\"Additional email addresses for the contact.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields defined for contacts.\").nullable().optional(),\n last_login_at: z.string().describe(\"Timestamp of the last login by the agent in UTC format.\").nullable().optional(),\n social_handler: z.array(z.string()).describe(\"Social media handles associated with the contact.\").nullable().optional(),\n other_companies: z.array(z.record(z.string(), z.unknown())).describe(\"Other companies associated with the contact.\").nullable().optional(),\n view_all_tickets: z.boolean().describe(\"Permission to view all tickets.\").nullable().optional(),\n guest_profile_pic: z.string().describe(\"URL of the guest profile picture.\").nullable().optional(),\n other_phone_numbers: z.array(z.string()).describe(\"Additional phone numbers for the contact.\").nullable().optional(),\n}).describe(\"Contact information for an agent in Freshdesk.\");\nexport const FreshdeskCurrentlyAuthenticatedAgentOutput = z.object({\n id: z.number().int().describe(\"Identifier of the agent, auto-generated when the agent's information is configured in the system.\").nullable(),\n type: z.string().describe(\"Type of the agent.\").nullable().optional(),\n contact: FreshdeskCurrentlyAuthenticatedAgent_AgentContactSchema.nullable(),\n role_ids: z.array(z.number().int()).describe(\"Identifiers of the roles associated with the agent, which determine the access privileges.\").nullable().optional(),\n abilities: z.array(z.string()).describe(\"List of the access privileges granted to the agent, specified as an array.\").nullable().optional(),\n available: z.boolean().describe(\"Specifies whether the agent is available for ticket assignment.\").nullable(),\n group_ids: z.array(z.number().int()).describe(\"Identifiers of the groups to which the agent is associated, specified as an array.\").nullable().optional(),\n signature: z.string().describe(\"HTML format of the personalized message block appended to the emails/replies that the agent sends.\").nullable().optional(),\n skill_ids: z.array(z.number().int()).describe(\"Identifiers of skills assigned to the agent.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the agent's record was created in the Freshdesk system, specified in the UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n focus_mode: z.boolean().describe(\"Indicates whether focus mode is enabled for the agent.\").nullable().optional(),\n occasional: z.boolean().describe(\"Specifies whether the agent is an occasional agent (true) or a full-time agent (false).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of when the agent's record is last updated in the Freshdesk system, specified in the UTC format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n ticket_scope: z.number().int().describe(\"Permission level granted to the agent to access tickets. Values: 1 (all tickets), 2 (assigned or group tickets), 3 (assigned only).\").nullable().optional(),\n available_since: z.string().describe(\"Timestamp of since when the agent has been available for ticket assignment.\").nullable().optional(),\n});\n\nexport const freshdeskCurrentlyAuthenticatedAgent = action(\"FRESHDESK_CURRENTLY_AUTHENTICATED_AGENT\", {\n slug: \"freshdesk-currently-authenticated-agent\",\n name: \"Currently Authenticated Agent\",\n description: \"Tool to retrieve profile information for the currently authenticated agent. Use when you need to get details about the agent whose API credentials are being used for authentication.\",\n input: FreshdeskCurrentlyAuthenticatedAgentInput,\n output: FreshdeskCurrentlyAuthenticatedAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACpE,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC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