@keystrokehq/freshdesk 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1201) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-note-to-ticket.cjs +22 -22
  4. package/dist/actions/add-note-to-ticket.cjs.map +1 -1
  5. package/dist/actions/add-note-to-ticket.d.cts +23 -45
  6. package/dist/actions/add-note-to-ticket.d.mts +23 -45
  7. package/dist/actions/add-note-to-ticket.mjs +22 -22
  8. package/dist/actions/add-note-to-ticket.mjs.map +1 -1
  9. package/dist/actions/add-ticket-user-access.cjs +4 -4
  10. package/dist/actions/add-ticket-user-access.cjs.map +1 -1
  11. package/dist/actions/add-ticket-user-access.d.cts +5 -9
  12. package/dist/actions/add-ticket-user-access.d.mts +5 -9
  13. package/dist/actions/add-ticket-user-access.mjs +4 -4
  14. package/dist/actions/add-ticket-user-access.mjs.map +1 -1
  15. package/dist/actions/add-watcher.cjs +3 -3
  16. package/dist/actions/add-watcher.cjs.map +1 -1
  17. package/dist/actions/add-watcher.d.cts +4 -7
  18. package/dist/actions/add-watcher.d.mts +4 -7
  19. package/dist/actions/add-watcher.mjs +3 -3
  20. package/dist/actions/add-watcher.mjs.map +1 -1
  21. package/dist/actions/bulk-unwatch-tickets.cjs +9 -9
  22. package/dist/actions/bulk-unwatch-tickets.cjs.map +1 -1
  23. package/dist/actions/bulk-unwatch-tickets.d.cts +10 -23
  24. package/dist/actions/bulk-unwatch-tickets.d.mts +10 -23
  25. package/dist/actions/bulk-unwatch-tickets.mjs +9 -9
  26. package/dist/actions/bulk-unwatch-tickets.mjs.map +1 -1
  27. package/dist/actions/bulk-update-tickets.cjs +1 -1
  28. package/dist/actions/bulk-update-tickets.cjs.map +1 -1
  29. package/dist/actions/bulk-update-tickets.d.cts +2 -5
  30. package/dist/actions/bulk-update-tickets.d.mts +2 -5
  31. package/dist/actions/bulk-update-tickets.mjs +1 -1
  32. package/dist/actions/bulk-update-tickets.mjs.map +1 -1
  33. package/dist/actions/cancel-contact-import.cjs +10 -10
  34. package/dist/actions/cancel-contact-import.cjs.map +1 -1
  35. package/dist/actions/cancel-contact-import.d.cts +11 -21
  36. package/dist/actions/cancel-contact-import.d.mts +11 -21
  37. package/dist/actions/cancel-contact-import.mjs +10 -10
  38. package/dist/actions/cancel-contact-import.mjs.map +1 -1
  39. package/dist/actions/create-admin-group.cjs +15 -15
  40. package/dist/actions/create-admin-group.cjs.map +1 -1
  41. package/dist/actions/create-admin-group.d.cts +17 -33
  42. package/dist/actions/create-admin-group.d.mts +17 -33
  43. package/dist/actions/create-admin-group.mjs +15 -15
  44. package/dist/actions/create-admin-group.mjs.map +1 -1
  45. package/dist/actions/create-admin-ticket-field-section.cjs +9 -9
  46. package/dist/actions/create-admin-ticket-field-section.cjs.map +1 -1
  47. package/dist/actions/create-admin-ticket-field-section.d.cts +10 -19
  48. package/dist/actions/create-admin-ticket-field-section.d.mts +10 -19
  49. package/dist/actions/create-admin-ticket-field-section.mjs +9 -9
  50. package/dist/actions/create-admin-ticket-field-section.mjs.map +1 -1
  51. package/dist/actions/create-admin-ticket-field.cjs +18 -18
  52. package/dist/actions/create-admin-ticket-field.cjs.map +1 -1
  53. package/dist/actions/create-admin-ticket-field.d.cts +20 -37
  54. package/dist/actions/create-admin-ticket-field.d.mts +20 -37
  55. package/dist/actions/create-admin-ticket-field.mjs +18 -18
  56. package/dist/actions/create-admin-ticket-field.mjs.map +1 -1
  57. package/dist/actions/create-admin.cjs +14 -14
  58. package/dist/actions/create-admin.cjs.map +1 -1
  59. package/dist/actions/create-admin.d.cts +15 -29
  60. package/dist/actions/create-admin.d.mts +15 -29
  61. package/dist/actions/create-admin.mjs +14 -14
  62. package/dist/actions/create-admin.mjs.map +1 -1
  63. package/dist/actions/create-agents.cjs +4 -4
  64. package/dist/actions/create-agents.cjs.map +1 -1
  65. package/dist/actions/create-agents.d.cts +6 -8
  66. package/dist/actions/create-agents.d.mts +6 -8
  67. package/dist/actions/create-agents.mjs +4 -4
  68. package/dist/actions/create-agents.mjs.map +1 -1
  69. package/dist/actions/create-canned-response-bulk.cjs +2 -2
  70. package/dist/actions/create-canned-response-bulk.cjs.map +1 -1
  71. package/dist/actions/create-canned-response-bulk.d.cts +4 -6
  72. package/dist/actions/create-canned-response-bulk.d.mts +4 -6
  73. package/dist/actions/create-canned-response-bulk.mjs +2 -2
  74. package/dist/actions/create-canned-response-bulk.mjs.map +1 -1
  75. package/dist/actions/create-canned-response-folder.cjs +1 -1
  76. package/dist/actions/create-canned-response-folder.cjs.map +1 -1
  77. package/dist/actions/create-canned-response-folder.d.cts +2 -5
  78. package/dist/actions/create-canned-response-folder.d.mts +2 -5
  79. package/dist/actions/create-canned-response-folder.mjs +1 -1
  80. package/dist/actions/create-canned-response-folder.mjs.map +1 -1
  81. package/dist/actions/create-canned-response.cjs +20 -20
  82. package/dist/actions/create-canned-response.cjs.map +1 -1
  83. package/dist/actions/create-canned-response.d.cts +21 -41
  84. package/dist/actions/create-canned-response.d.mts +21 -41
  85. package/dist/actions/create-canned-response.mjs +20 -20
  86. package/dist/actions/create-canned-response.mjs.map +1 -1
  87. package/dist/actions/create-companies.cjs +15 -15
  88. package/dist/actions/create-companies.cjs.map +1 -1
  89. package/dist/actions/create-companies.d.cts +16 -31
  90. package/dist/actions/create-companies.d.cts.map +1 -1
  91. package/dist/actions/create-companies.d.mts +16 -31
  92. package/dist/actions/create-companies.d.mts.map +1 -1
  93. package/dist/actions/create-companies.mjs +15 -15
  94. package/dist/actions/create-companies.mjs.map +1 -1
  95. package/dist/actions/create-contact-fields.cjs +21 -21
  96. package/dist/actions/create-contact-fields.cjs.map +1 -1
  97. package/dist/actions/create-contact-fields.d.cts +23 -45
  98. package/dist/actions/create-contact-fields.d.cts.map +1 -1
  99. package/dist/actions/create-contact-fields.d.mts +23 -45
  100. package/dist/actions/create-contact-fields.d.mts.map +1 -1
  101. package/dist/actions/create-contact-fields.mjs +21 -21
  102. package/dist/actions/create-contact-fields.mjs.map +1 -1
  103. package/dist/actions/create-contact.cjs +45 -45
  104. package/dist/actions/create-contact.cjs.map +1 -1
  105. package/dist/actions/create-contact.d.cts +47 -91
  106. package/dist/actions/create-contact.d.cts.map +1 -1
  107. package/dist/actions/create-contact.d.mts +47 -91
  108. package/dist/actions/create-contact.d.mts.map +1 -1
  109. package/dist/actions/create-contact.mjs +45 -45
  110. package/dist/actions/create-contact.mjs.map +1 -1
  111. package/dist/actions/create-discussion-category.cjs +3 -3
  112. package/dist/actions/create-discussion-category.cjs.map +1 -1
  113. package/dist/actions/create-discussion-category.d.cts +4 -12
  114. package/dist/actions/create-discussion-category.d.mts +4 -12
  115. package/dist/actions/create-discussion-category.mjs +3 -3
  116. package/dist/actions/create-discussion-category.mjs.map +1 -1
  117. package/dist/actions/create-discussion-forum-topic.cjs +17 -17
  118. package/dist/actions/create-discussion-forum-topic.cjs.map +1 -1
  119. package/dist/actions/create-discussion-forum-topic.d.cts +18 -35
  120. package/dist/actions/create-discussion-forum-topic.d.mts +18 -35
  121. package/dist/actions/create-discussion-forum-topic.mjs +17 -17
  122. package/dist/actions/create-discussion-forum-topic.mjs.map +1 -1
  123. package/dist/actions/create-discussion-topic-comment.cjs +13 -13
  124. package/dist/actions/create-discussion-topic-comment.cjs.map +1 -1
  125. package/dist/actions/create-discussion-topic-comment.d.cts +14 -27
  126. package/dist/actions/create-discussion-topic-comment.d.mts +14 -27
  127. package/dist/actions/create-discussion-topic-comment.mjs +13 -13
  128. package/dist/actions/create-discussion-topic-comment.mjs.map +1 -1
  129. package/dist/actions/create-email.cjs +15 -15
  130. package/dist/actions/create-email.cjs.map +1 -1
  131. package/dist/actions/create-email.d.cts +17 -33
  132. package/dist/actions/create-email.d.mts +17 -33
  133. package/dist/actions/create-email.mjs +15 -15
  134. package/dist/actions/create-email.mjs.map +1 -1
  135. package/dist/actions/create-forum.cjs +5 -5
  136. package/dist/actions/create-forum.cjs.map +1 -1
  137. package/dist/actions/create-forum.d.cts +6 -16
  138. package/dist/actions/create-forum.d.mts +6 -16
  139. package/dist/actions/create-forum.mjs +5 -5
  140. package/dist/actions/create-forum.mjs.map +1 -1
  141. package/dist/actions/create-sla-policies.cjs +9 -9
  142. package/dist/actions/create-sla-policies.cjs.map +1 -1
  143. package/dist/actions/create-sla-policies.d.cts +10 -23
  144. package/dist/actions/create-sla-policies.d.mts +10 -23
  145. package/dist/actions/create-sla-policies.mjs +9 -9
  146. package/dist/actions/create-sla-policies.mjs.map +1 -1
  147. package/dist/actions/create-solution-article.cjs +34 -34
  148. package/dist/actions/create-solution-article.cjs.map +1 -1
  149. package/dist/actions/create-solution-article.d.cts +38 -72
  150. package/dist/actions/create-solution-article.d.cts.map +1 -1
  151. package/dist/actions/create-solution-article.d.mts +38 -72
  152. package/dist/actions/create-solution-article.d.mts.map +1 -1
  153. package/dist/actions/create-solution-article.mjs +34 -34
  154. package/dist/actions/create-solution-article.mjs.map +1 -1
  155. package/dist/actions/create-solution-category.cjs +16 -16
  156. package/dist/actions/create-solution-category.cjs.map +1 -1
  157. package/dist/actions/create-solution-category.d.cts +17 -33
  158. package/dist/actions/create-solution-category.d.cts.map +1 -1
  159. package/dist/actions/create-solution-category.d.mts +17 -33
  160. package/dist/actions/create-solution-category.d.mts.map +1 -1
  161. package/dist/actions/create-solution-category.mjs +16 -16
  162. package/dist/actions/create-solution-category.mjs.map +1 -1
  163. package/dist/actions/create-ticket-forms.cjs +6 -6
  164. package/dist/actions/create-ticket-forms.cjs.map +1 -1
  165. package/dist/actions/create-ticket-forms.d.cts +8 -36
  166. package/dist/actions/create-ticket-forms.d.mts +8 -36
  167. package/dist/actions/create-ticket-forms.mjs +6 -6
  168. package/dist/actions/create-ticket-forms.mjs.map +1 -1
  169. package/dist/actions/create-ticket-outbound-email.cjs +32 -32
  170. package/dist/actions/create-ticket-outbound-email.cjs.map +1 -1
  171. package/dist/actions/create-ticket-outbound-email.d.cts +33 -65
  172. package/dist/actions/create-ticket-outbound-email.d.cts.map +1 -1
  173. package/dist/actions/create-ticket-outbound-email.d.mts +33 -65
  174. package/dist/actions/create-ticket-outbound-email.d.mts.map +1 -1
  175. package/dist/actions/create-ticket-outbound-email.mjs +32 -32
  176. package/dist/actions/create-ticket-outbound-email.mjs.map +1 -1
  177. package/dist/actions/create-ticket-time-entry.cjs +14 -14
  178. package/dist/actions/create-ticket-time-entry.cjs.map +1 -1
  179. package/dist/actions/create-ticket-time-entry.d.cts +15 -29
  180. package/dist/actions/create-ticket-time-entry.d.mts +15 -29
  181. package/dist/actions/create-ticket-time-entry.mjs +14 -14
  182. package/dist/actions/create-ticket-time-entry.mjs.map +1 -1
  183. package/dist/actions/create-ticket.cjs +33 -33
  184. package/dist/actions/create-ticket.cjs.map +1 -1
  185. package/dist/actions/create-ticket.d.cts +34 -83
  186. package/dist/actions/create-ticket.d.cts.map +1 -1
  187. package/dist/actions/create-ticket.d.mts +34 -83
  188. package/dist/actions/create-ticket.d.mts.map +1 -1
  189. package/dist/actions/create-ticket.mjs +33 -33
  190. package/dist/actions/create-ticket.mjs.map +1 -1
  191. package/dist/actions/create-translated-solution-category.cjs +7 -7
  192. package/dist/actions/create-translated-solution-category.cjs.map +1 -1
  193. package/dist/actions/create-translated-solution-category.d.cts +8 -15
  194. package/dist/actions/create-translated-solution-category.d.mts +8 -15
  195. package/dist/actions/create-translated-solution-category.mjs +7 -7
  196. package/dist/actions/create-translated-solution-category.mjs.map +1 -1
  197. package/dist/actions/currently-authenticated-agent.cjs +34 -34
  198. package/dist/actions/currently-authenticated-agent.cjs.map +1 -1
  199. package/dist/actions/currently-authenticated-agent.d.cts +35 -79
  200. package/dist/actions/currently-authenticated-agent.d.cts.map +1 -1
  201. package/dist/actions/currently-authenticated-agent.d.mts +35 -79
  202. package/dist/actions/currently-authenticated-agent.d.mts.map +1 -1
  203. package/dist/actions/currently-authenticated-agent.mjs +34 -34
  204. package/dist/actions/currently-authenticated-agent.mjs.map +1 -1
  205. package/dist/actions/delete-admin-group.cjs +1 -1
  206. package/dist/actions/delete-admin-group.cjs.map +1 -1
  207. package/dist/actions/delete-admin-group.d.cts +2 -2
  208. package/dist/actions/delete-admin-group.d.cts.map +1 -1
  209. package/dist/actions/delete-admin-group.d.mts +2 -2
  210. package/dist/actions/delete-admin-group.d.mts.map +1 -1
  211. package/dist/actions/delete-admin-group.mjs +1 -1
  212. package/dist/actions/delete-admin-group.mjs.map +1 -1
  213. package/dist/actions/delete-agent.cjs +1 -1
  214. package/dist/actions/delete-agent.cjs.map +1 -1
  215. package/dist/actions/delete-agent.d.cts +2 -5
  216. package/dist/actions/delete-agent.d.mts +2 -5
  217. package/dist/actions/delete-agent.mjs +1 -1
  218. package/dist/actions/delete-agent.mjs.map +1 -1
  219. package/dist/actions/delete-automation-rule.cjs +3 -3
  220. package/dist/actions/delete-automation-rule.cjs.map +1 -1
  221. package/dist/actions/delete-automation-rule.d.cts +4 -7
  222. package/dist/actions/delete-automation-rule.d.mts +4 -7
  223. package/dist/actions/delete-automation-rule.mjs +3 -3
  224. package/dist/actions/delete-automation-rule.mjs.map +1 -1
  225. package/dist/actions/delete-company-field.cjs +1 -1
  226. package/dist/actions/delete-company-field.cjs.map +1 -1
  227. package/dist/actions/delete-company-field.d.cts +2 -2
  228. package/dist/actions/delete-company-field.d.cts.map +1 -1
  229. package/dist/actions/delete-company-field.d.mts +2 -2
  230. package/dist/actions/delete-company-field.d.mts.map +1 -1
  231. package/dist/actions/delete-company-field.mjs +1 -1
  232. package/dist/actions/delete-company-field.mjs.map +1 -1
  233. package/dist/actions/delete-company.cjs +1 -1
  234. package/dist/actions/delete-company.cjs.map +1 -1
  235. package/dist/actions/delete-company.d.cts +2 -2
  236. package/dist/actions/delete-company.d.cts.map +1 -1
  237. package/dist/actions/delete-company.d.mts +2 -2
  238. package/dist/actions/delete-company.d.mts.map +1 -1
  239. package/dist/actions/delete-company.mjs +1 -1
  240. package/dist/actions/delete-company.mjs.map +1 -1
  241. package/dist/actions/delete-contact-field.cjs +1 -1
  242. package/dist/actions/delete-contact-field.cjs.map +1 -1
  243. package/dist/actions/delete-contact-field.d.cts +2 -6
  244. package/dist/actions/delete-contact-field.d.mts +2 -6
  245. package/dist/actions/delete-contact-field.mjs +1 -1
  246. package/dist/actions/delete-contact-field.mjs.map +1 -1
  247. package/dist/actions/delete-contact.cjs +1 -1
  248. package/dist/actions/delete-contact.cjs.map +1 -1
  249. package/dist/actions/delete-contact.d.cts +2 -2
  250. package/dist/actions/delete-contact.d.cts.map +1 -1
  251. package/dist/actions/delete-contact.d.mts +2 -2
  252. package/dist/actions/delete-contact.d.mts.map +1 -1
  253. package/dist/actions/delete-contact.mjs +1 -1
  254. package/dist/actions/delete-contact.mjs.map +1 -1
  255. package/dist/actions/delete-conversation.cjs +1 -1
  256. package/dist/actions/delete-conversation.cjs.map +1 -1
  257. package/dist/actions/delete-conversation.d.cts +2 -2
  258. package/dist/actions/delete-conversation.d.cts.map +1 -1
  259. package/dist/actions/delete-conversation.d.mts +2 -2
  260. package/dist/actions/delete-conversation.d.mts.map +1 -1
  261. package/dist/actions/delete-conversation.mjs +1 -1
  262. package/dist/actions/delete-conversation.mjs.map +1 -1
  263. package/dist/actions/delete-discussion-category.cjs +7 -7
  264. package/dist/actions/delete-discussion-category.cjs.map +1 -1
  265. package/dist/actions/delete-discussion-category.d.cts +8 -16
  266. package/dist/actions/delete-discussion-category.d.mts +8 -16
  267. package/dist/actions/delete-discussion-category.mjs +7 -7
  268. package/dist/actions/delete-discussion-category.mjs.map +1 -1
  269. package/dist/actions/delete-discussion-comment.cjs +1 -1
  270. package/dist/actions/delete-discussion-comment.cjs.map +1 -1
  271. package/dist/actions/delete-discussion-comment.d.cts +2 -2
  272. package/dist/actions/delete-discussion-comment.d.cts.map +1 -1
  273. package/dist/actions/delete-discussion-comment.d.mts +2 -2
  274. package/dist/actions/delete-discussion-comment.d.mts.map +1 -1
  275. package/dist/actions/delete-discussion-comment.mjs +1 -1
  276. package/dist/actions/delete-discussion-comment.mjs.map +1 -1
  277. package/dist/actions/delete-discussion-forum.cjs +1 -1
  278. package/dist/actions/delete-discussion-forum.cjs.map +1 -1
  279. package/dist/actions/delete-discussion-forum.d.cts +2 -2
  280. package/dist/actions/delete-discussion-forum.d.cts.map +1 -1
  281. package/dist/actions/delete-discussion-forum.d.mts +2 -2
  282. package/dist/actions/delete-discussion-forum.d.mts.map +1 -1
  283. package/dist/actions/delete-discussion-forum.mjs +1 -1
  284. package/dist/actions/delete-discussion-forum.mjs.map +1 -1
  285. package/dist/actions/delete-discussion-topic.cjs +1 -1
  286. package/dist/actions/delete-discussion-topic.cjs.map +1 -1
  287. package/dist/actions/delete-discussion-topic.d.cts +2 -2
  288. package/dist/actions/delete-discussion-topic.d.cts.map +1 -1
  289. package/dist/actions/delete-discussion-topic.d.mts +2 -2
  290. package/dist/actions/delete-discussion-topic.d.mts.map +1 -1
  291. package/dist/actions/delete-discussion-topic.mjs +1 -1
  292. package/dist/actions/delete-discussion-topic.mjs.map +1 -1
  293. package/dist/actions/delete-discussions-forums-follow.cjs +1 -1
  294. package/dist/actions/delete-discussions-forums-follow.cjs.map +1 -1
  295. package/dist/actions/delete-discussions-forums-follow.d.cts +2 -2
  296. package/dist/actions/delete-discussions-forums-follow.d.cts.map +1 -1
  297. package/dist/actions/delete-discussions-forums-follow.d.mts +2 -2
  298. package/dist/actions/delete-discussions-forums-follow.d.mts.map +1 -1
  299. package/dist/actions/delete-discussions-forums-follow.mjs +1 -1
  300. package/dist/actions/delete-discussions-forums-follow.mjs.map +1 -1
  301. package/dist/actions/delete-discussions-topics-follow.cjs +1 -1
  302. package/dist/actions/delete-discussions-topics-follow.cjs.map +1 -1
  303. package/dist/actions/delete-discussions-topics-follow.d.cts +2 -2
  304. package/dist/actions/delete-discussions-topics-follow.d.cts.map +1 -1
  305. package/dist/actions/delete-discussions-topics-follow.d.mts +2 -2
  306. package/dist/actions/delete-discussions-topics-follow.d.mts.map +1 -1
  307. package/dist/actions/delete-discussions-topics-follow.mjs +1 -1
  308. package/dist/actions/delete-discussions-topics-follow.mjs.map +1 -1
  309. package/dist/actions/delete-email-mailboxes.cjs +2 -2
  310. package/dist/actions/delete-email-mailboxes.cjs.map +1 -1
  311. package/dist/actions/delete-email-mailboxes.d.cts +3 -7
  312. package/dist/actions/delete-email-mailboxes.d.mts +3 -7
  313. package/dist/actions/delete-email-mailboxes.mjs +2 -2
  314. package/dist/actions/delete-email-mailboxes.mjs.map +1 -1
  315. package/dist/actions/delete-group.cjs +1 -1
  316. package/dist/actions/delete-group.cjs.map +1 -1
  317. package/dist/actions/delete-group.d.cts +2 -2
  318. package/dist/actions/delete-group.d.cts.map +1 -1
  319. package/dist/actions/delete-group.d.mts +2 -2
  320. package/dist/actions/delete-group.d.mts.map +1 -1
  321. package/dist/actions/delete-group.mjs +1 -1
  322. package/dist/actions/delete-group.mjs.map +1 -1
  323. package/dist/actions/delete-multiple-tickets.cjs +1 -1
  324. package/dist/actions/delete-multiple-tickets.cjs.map +1 -1
  325. package/dist/actions/delete-multiple-tickets.d.cts +2 -5
  326. package/dist/actions/delete-multiple-tickets.d.mts +2 -5
  327. package/dist/actions/delete-multiple-tickets.mjs +1 -1
  328. package/dist/actions/delete-multiple-tickets.mjs.map +1 -1
  329. package/dist/actions/delete-section.cjs +5 -5
  330. package/dist/actions/delete-section.cjs.map +1 -1
  331. package/dist/actions/delete-section.d.cts +6 -13
  332. package/dist/actions/delete-section.d.mts +6 -13
  333. package/dist/actions/delete-section.mjs +5 -5
  334. package/dist/actions/delete-section.mjs.map +1 -1
  335. package/dist/actions/delete-skill.cjs +3 -3
  336. package/dist/actions/delete-skill.cjs.map +1 -1
  337. package/dist/actions/delete-skill.d.cts +4 -7
  338. package/dist/actions/delete-skill.d.mts +4 -7
  339. package/dist/actions/delete-skill.mjs +3 -3
  340. package/dist/actions/delete-skill.mjs.map +1 -1
  341. package/dist/actions/delete-solution-article.cjs +3 -3
  342. package/dist/actions/delete-solution-article.cjs.map +1 -1
  343. package/dist/actions/delete-solution-article.d.cts +4 -7
  344. package/dist/actions/delete-solution-article.d.mts +4 -7
  345. package/dist/actions/delete-solution-article.mjs +3 -3
  346. package/dist/actions/delete-solution-article.mjs.map +1 -1
  347. package/dist/actions/delete-solution-category.cjs +4 -4
  348. package/dist/actions/delete-solution-category.cjs.map +1 -1
  349. package/dist/actions/delete-solution-category.d.cts +5 -9
  350. package/dist/actions/delete-solution-category.d.mts +5 -9
  351. package/dist/actions/delete-solution-category.mjs +4 -4
  352. package/dist/actions/delete-solution-category.mjs.map +1 -1
  353. package/dist/actions/delete-solution-folder.cjs +1 -1
  354. package/dist/actions/delete-solution-folder.cjs.map +1 -1
  355. package/dist/actions/delete-solution-folder.d.cts +2 -2
  356. package/dist/actions/delete-solution-folder.d.cts.map +1 -1
  357. package/dist/actions/delete-solution-folder.d.mts +2 -2
  358. package/dist/actions/delete-solution-folder.d.mts.map +1 -1
  359. package/dist/actions/delete-solution-folder.mjs +1 -1
  360. package/dist/actions/delete-solution-folder.mjs.map +1 -1
  361. package/dist/actions/delete-ticket-field.cjs +8 -8
  362. package/dist/actions/delete-ticket-field.cjs.map +1 -1
  363. package/dist/actions/delete-ticket-field.d.cts +9 -18
  364. package/dist/actions/delete-ticket-field.d.mts +9 -18
  365. package/dist/actions/delete-ticket-field.mjs +8 -8
  366. package/dist/actions/delete-ticket-field.mjs.map +1 -1
  367. package/dist/actions/delete-ticket-form.cjs +5 -5
  368. package/dist/actions/delete-ticket-form.cjs.map +1 -1
  369. package/dist/actions/delete-ticket-form.d.cts +6 -13
  370. package/dist/actions/delete-ticket-form.d.mts +6 -13
  371. package/dist/actions/delete-ticket-form.mjs +5 -5
  372. package/dist/actions/delete-ticket-form.mjs.map +1 -1
  373. package/dist/actions/delete-ticket-forms.cjs +1 -1
  374. package/dist/actions/delete-ticket-forms.cjs.map +1 -1
  375. package/dist/actions/delete-ticket-forms.d.cts +2 -2
  376. package/dist/actions/delete-ticket-forms.d.cts.map +1 -1
  377. package/dist/actions/delete-ticket-forms.d.mts +2 -2
  378. package/dist/actions/delete-ticket-forms.d.mts.map +1 -1
  379. package/dist/actions/delete-ticket-forms.mjs +1 -1
  380. package/dist/actions/delete-ticket-forms.mjs.map +1 -1
  381. package/dist/actions/delete-ticket-summary.cjs +1 -1
  382. package/dist/actions/delete-ticket-summary.cjs.map +1 -1
  383. package/dist/actions/delete-ticket-summary.d.cts +2 -2
  384. package/dist/actions/delete-ticket-summary.d.cts.map +1 -1
  385. package/dist/actions/delete-ticket-summary.d.mts +2 -2
  386. package/dist/actions/delete-ticket-summary.d.mts.map +1 -1
  387. package/dist/actions/delete-ticket-summary.mjs +1 -1
  388. package/dist/actions/delete-ticket-summary.mjs.map +1 -1
  389. package/dist/actions/delete-ticket-user-access.cjs +1 -1
  390. package/dist/actions/delete-ticket-user-access.cjs.map +1 -1
  391. package/dist/actions/delete-ticket-user-access.d.cts +2 -2
  392. package/dist/actions/delete-ticket-user-access.d.cts.map +1 -1
  393. package/dist/actions/delete-ticket-user-access.d.mts +2 -2
  394. package/dist/actions/delete-ticket-user-access.d.mts.map +1 -1
  395. package/dist/actions/delete-ticket-user-access.mjs +1 -1
  396. package/dist/actions/delete-ticket-user-access.mjs.map +1 -1
  397. package/dist/actions/delete-ticket.cjs +1 -1
  398. package/dist/actions/delete-ticket.cjs.map +1 -1
  399. package/dist/actions/delete-ticket.d.cts +2 -2
  400. package/dist/actions/delete-ticket.d.cts.map +1 -1
  401. package/dist/actions/delete-ticket.d.mts +2 -2
  402. package/dist/actions/delete-ticket.d.mts.map +1 -1
  403. package/dist/actions/delete-ticket.mjs +1 -1
  404. package/dist/actions/delete-ticket.mjs.map +1 -1
  405. package/dist/actions/delete-time-entry.cjs +3 -3
  406. package/dist/actions/delete-time-entry.cjs.map +1 -1
  407. package/dist/actions/delete-time-entry.d.cts +4 -7
  408. package/dist/actions/delete-time-entry.d.mts +4 -7
  409. package/dist/actions/delete-time-entry.mjs +3 -3
  410. package/dist/actions/delete-time-entry.mjs.map +1 -1
  411. package/dist/actions/export-contacts.cjs +1 -1
  412. package/dist/actions/export-contacts.cjs.map +1 -1
  413. package/dist/actions/export-contacts.d.cts +2 -4
  414. package/dist/actions/export-contacts.d.mts +2 -4
  415. package/dist/actions/export-contacts.mjs +1 -1
  416. package/dist/actions/export-contacts.mjs.map +1 -1
  417. package/dist/actions/get-account.cjs +32 -32
  418. package/dist/actions/get-account.cjs.map +1 -1
  419. package/dist/actions/get-account.d.cts +33 -65
  420. package/dist/actions/get-account.d.cts.map +1 -1
  421. package/dist/actions/get-account.d.mts +33 -65
  422. package/dist/actions/get-account.d.mts.map +1 -1
  423. package/dist/actions/get-account.mjs +32 -32
  424. package/dist/actions/get-account.mjs.map +1 -1
  425. package/dist/actions/get-agent-availability.cjs +14 -14
  426. package/dist/actions/get-agent-availability.cjs.map +1 -1
  427. package/dist/actions/get-agent-availability.d.cts +15 -29
  428. package/dist/actions/get-agent-availability.d.mts +15 -29
  429. package/dist/actions/get-agent-availability.mjs +14 -14
  430. package/dist/actions/get-agent-availability.mjs.map +1 -1
  431. package/dist/actions/get-agent.cjs +40 -40
  432. package/dist/actions/get-agent.cjs.map +1 -1
  433. package/dist/actions/get-agent.d.cts +41 -95
  434. package/dist/actions/get-agent.d.mts +41 -95
  435. package/dist/actions/get-agent.mjs +40 -40
  436. package/dist/actions/get-agent.mjs.map +1 -1
  437. package/dist/actions/get-agents.cjs +10 -10
  438. package/dist/actions/get-agents.cjs.map +1 -1
  439. package/dist/actions/get-agents.d.cts +12 -23
  440. package/dist/actions/get-agents.d.mts +12 -23
  441. package/dist/actions/get-agents.mjs +10 -10
  442. package/dist/actions/get-agents.mjs.map +1 -1
  443. package/dist/actions/get-business-hours.cjs +33 -33
  444. package/dist/actions/get-business-hours.cjs.map +1 -1
  445. package/dist/actions/get-business-hours.d.cts +55 -109
  446. package/dist/actions/get-business-hours.d.cts.map +1 -1
  447. package/dist/actions/get-business-hours.d.mts +55 -109
  448. package/dist/actions/get-business-hours.d.mts.map +1 -1
  449. package/dist/actions/get-business-hours.mjs +33 -33
  450. package/dist/actions/get-business-hours.mjs.map +1 -1
  451. package/dist/actions/get-canned-response-folders.cjs +8 -8
  452. package/dist/actions/get-canned-response-folders.cjs.map +1 -1
  453. package/dist/actions/get-canned-response-folders.d.cts +10 -19
  454. package/dist/actions/get-canned-response-folders.d.cts.map +1 -1
  455. package/dist/actions/get-canned-response-folders.d.mts +10 -19
  456. package/dist/actions/get-canned-response-folders.d.mts.map +1 -1
  457. package/dist/actions/get-canned-response-folders.mjs +8 -8
  458. package/dist/actions/get-canned-response-folders.mjs.map +1 -1
  459. package/dist/actions/get-companies.cjs +11 -11
  460. package/dist/actions/get-companies.cjs.map +1 -1
  461. package/dist/actions/get-companies.d.cts +13 -29
  462. package/dist/actions/get-companies.d.cts.map +1 -1
  463. package/dist/actions/get-companies.d.mts +13 -29
  464. package/dist/actions/get-companies.d.mts.map +1 -1
  465. package/dist/actions/get-companies.mjs +11 -11
  466. package/dist/actions/get-companies.mjs.map +1 -1
  467. package/dist/actions/get-company-fields.cjs +20 -20
  468. package/dist/actions/get-company-fields.cjs.map +1 -1
  469. package/dist/actions/get-company-fields.d.cts +22 -47
  470. package/dist/actions/get-company-fields.d.cts.map +1 -1
  471. package/dist/actions/get-company-fields.d.mts +22 -47
  472. package/dist/actions/get-company-fields.d.mts.map +1 -1
  473. package/dist/actions/get-company-fields.mjs +20 -20
  474. package/dist/actions/get-company-fields.mjs.map +1 -1
  475. package/dist/actions/get-company.cjs +11 -11
  476. package/dist/actions/get-company.cjs.map +1 -1
  477. package/dist/actions/get-company.d.cts +12 -27
  478. package/dist/actions/get-company.d.cts.map +1 -1
  479. package/dist/actions/get-company.d.mts +12 -27
  480. package/dist/actions/get-company.d.mts.map +1 -1
  481. package/dist/actions/get-company.mjs +11 -11
  482. package/dist/actions/get-company.mjs.map +1 -1
  483. package/dist/actions/get-contact-fields.cjs +21 -21
  484. package/dist/actions/get-contact-fields.cjs.map +1 -1
  485. package/dist/actions/get-contact-fields.d.cts +23 -45
  486. package/dist/actions/get-contact-fields.d.cts.map +1 -1
  487. package/dist/actions/get-contact-fields.d.mts +23 -45
  488. package/dist/actions/get-contact-fields.d.mts.map +1 -1
  489. package/dist/actions/get-contact-fields.mjs +21 -21
  490. package/dist/actions/get-contact-fields.mjs.map +1 -1
  491. package/dist/actions/get-contact.cjs +50 -50
  492. package/dist/actions/get-contact.cjs.map +1 -1
  493. package/dist/actions/get-contact.d.cts +51 -101
  494. package/dist/actions/get-contact.d.cts.map +1 -1
  495. package/dist/actions/get-contact.d.mts +51 -101
  496. package/dist/actions/get-contact.d.mts.map +1 -1
  497. package/dist/actions/get-contact.mjs +50 -50
  498. package/dist/actions/get-contact.mjs.map +1 -1
  499. package/dist/actions/get-contacts.cjs +25 -25
  500. package/dist/actions/get-contacts.cjs.map +1 -1
  501. package/dist/actions/get-contacts.d.cts +27 -56
  502. package/dist/actions/get-contacts.d.cts.map +1 -1
  503. package/dist/actions/get-contacts.d.mts +27 -56
  504. package/dist/actions/get-contacts.d.mts.map +1 -1
  505. package/dist/actions/get-contacts.mjs +25 -25
  506. package/dist/actions/get-contacts.mjs.map +1 -1
  507. package/dist/actions/get-discussion-category.cjs +6 -6
  508. package/dist/actions/get-discussion-category.cjs.map +1 -1
  509. package/dist/actions/get-discussion-category.d.cts +7 -13
  510. package/dist/actions/get-discussion-category.d.mts +7 -13
  511. package/dist/actions/get-discussion-category.mjs +6 -6
  512. package/dist/actions/get-discussion-category.mjs.map +1 -1
  513. package/dist/actions/get-discussion-topic.cjs +17 -17
  514. package/dist/actions/get-discussion-topic.cjs.map +1 -1
  515. package/dist/actions/get-discussion-topic.d.cts +18 -35
  516. package/dist/actions/get-discussion-topic.d.mts +18 -35
  517. package/dist/actions/get-discussion-topic.mjs +17 -17
  518. package/dist/actions/get-discussion-topic.mjs.map +1 -1
  519. package/dist/actions/get-email-mailbox.cjs +17 -17
  520. package/dist/actions/get-email-mailbox.cjs.map +1 -1
  521. package/dist/actions/get-email-mailbox.d.cts +20 -39
  522. package/dist/actions/get-email-mailbox.d.mts +20 -39
  523. package/dist/actions/get-email-mailbox.mjs +17 -17
  524. package/dist/actions/get-email-mailbox.mjs.map +1 -1
  525. package/dist/actions/get-folder-responses.cjs +19 -19
  526. package/dist/actions/get-folder-responses.cjs.map +1 -1
  527. package/dist/actions/get-folder-responses.d.cts +21 -41
  528. package/dist/actions/get-folder-responses.d.mts +21 -41
  529. package/dist/actions/get-folder-responses.mjs +19 -19
  530. package/dist/actions/get-folder-responses.mjs.map +1 -1
  531. package/dist/actions/get-imported-contacts.cjs +11 -11
  532. package/dist/actions/get-imported-contacts.cjs.map +1 -1
  533. package/dist/actions/get-imported-contacts.d.cts +13 -25
  534. package/dist/actions/get-imported-contacts.d.mts +13 -25
  535. package/dist/actions/get-imported-contacts.mjs +11 -11
  536. package/dist/actions/get-imported-contacts.mjs.map +1 -1
  537. package/dist/actions/get-job.cjs +7 -7
  538. package/dist/actions/get-job.cjs.map +1 -1
  539. package/dist/actions/get-job.d.cts +8 -15
  540. package/dist/actions/get-job.d.mts +8 -15
  541. package/dist/actions/get-job.mjs +7 -7
  542. package/dist/actions/get-job.mjs.map +1 -1
  543. package/dist/actions/get-scenario-automations-json.cjs +14 -14
  544. package/dist/actions/get-scenario-automations-json.cjs.map +1 -1
  545. package/dist/actions/get-scenario-automations-json.d.cts +14 -27
  546. package/dist/actions/get-scenario-automations-json.d.cts.map +1 -1
  547. package/dist/actions/get-scenario-automations-json.d.mts +14 -27
  548. package/dist/actions/get-scenario-automations-json.d.mts.map +1 -1
  549. package/dist/actions/get-scenario-automations-json.mjs +14 -14
  550. package/dist/actions/get-scenario-automations-json.mjs.map +1 -1
  551. package/dist/actions/get-search.cjs +39 -39
  552. package/dist/actions/get-search.cjs.map +1 -1
  553. package/dist/actions/get-search.d.cts +40 -79
  554. package/dist/actions/get-search.d.cts.map +1 -1
  555. package/dist/actions/get-search.d.mts +40 -79
  556. package/dist/actions/get-search.d.mts.map +1 -1
  557. package/dist/actions/get-search.mjs +39 -39
  558. package/dist/actions/get-search.mjs.map +1 -1
  559. package/dist/actions/get-ticket-time-entries.cjs +15 -15
  560. package/dist/actions/get-ticket-time-entries.cjs.map +1 -1
  561. package/dist/actions/get-ticket-time-entries.d.cts +17 -33
  562. package/dist/actions/get-ticket-time-entries.d.mts +17 -33
  563. package/dist/actions/get-ticket-time-entries.mjs +15 -15
  564. package/dist/actions/get-ticket-time-entries.mjs.map +1 -1
  565. package/dist/actions/get-ticket-user-access.cjs +1 -1
  566. package/dist/actions/get-ticket-user-access.cjs.map +1 -1
  567. package/dist/actions/get-ticket-user-access.d.cts +2 -4
  568. package/dist/actions/get-ticket-user-access.d.mts +2 -4
  569. package/dist/actions/get-ticket-user-access.mjs +1 -1
  570. package/dist/actions/get-ticket-user-access.mjs.map +1 -1
  571. package/dist/actions/get-tickets.cjs +44 -44
  572. package/dist/actions/get-tickets.cjs.map +1 -1
  573. package/dist/actions/get-tickets.d.cts +45 -101
  574. package/dist/actions/get-tickets.d.mts +45 -101
  575. package/dist/actions/get-tickets.mjs +44 -44
  576. package/dist/actions/get-tickets.mjs.map +1 -1
  577. package/dist/actions/get-translated-solution-category.cjs +15 -15
  578. package/dist/actions/get-translated-solution-category.cjs.map +1 -1
  579. package/dist/actions/get-translated-solution-category.d.cts +16 -31
  580. package/dist/actions/get-translated-solution-category.d.cts.map +1 -1
  581. package/dist/actions/get-translated-solution-category.d.mts +16 -31
  582. package/dist/actions/get-translated-solution-category.d.mts.map +1 -1
  583. package/dist/actions/get-translated-solution-category.mjs +15 -15
  584. package/dist/actions/get-translated-solution-category.mjs.map +1 -1
  585. package/dist/actions/hard-delete-contact.cjs +3 -3
  586. package/dist/actions/hard-delete-contact.cjs.map +1 -1
  587. package/dist/actions/hard-delete-contact.d.cts +4 -7
  588. package/dist/actions/hard-delete-contact.d.mts +4 -7
  589. package/dist/actions/hard-delete-contact.mjs +3 -3
  590. package/dist/actions/hard-delete-contact.mjs.map +1 -1
  591. package/dist/actions/import-contact.cjs +10 -10
  592. package/dist/actions/import-contact.cjs.map +1 -1
  593. package/dist/actions/import-contact.d.cts +11 -21
  594. package/dist/actions/import-contact.d.mts +11 -21
  595. package/dist/actions/import-contact.mjs +10 -10
  596. package/dist/actions/import-contact.mjs.map +1 -1
  597. package/dist/actions/list-admin-groups.cjs +18 -18
  598. package/dist/actions/list-admin-groups.cjs.map +1 -1
  599. package/dist/actions/list-admin-groups.d.cts +20 -39
  600. package/dist/actions/list-admin-groups.d.mts +20 -39
  601. package/dist/actions/list-admin-groups.mjs +18 -18
  602. package/dist/actions/list-admin-groups.mjs.map +1 -1
  603. package/dist/actions/list-all-agents-in-a-group.cjs +29 -29
  604. package/dist/actions/list-all-agents-in-a-group.cjs.map +1 -1
  605. package/dist/actions/list-all-agents-in-a-group.d.cts +30 -59
  606. package/dist/actions/list-all-agents-in-a-group.d.cts.map +1 -1
  607. package/dist/actions/list-all-agents-in-a-group.d.mts +30 -59
  608. package/dist/actions/list-all-agents-in-a-group.d.mts.map +1 -1
  609. package/dist/actions/list-all-agents-in-a-group.mjs +29 -29
  610. package/dist/actions/list-all-agents-in-a-group.mjs.map +1 -1
  611. package/dist/actions/list-all-sections-for-ticket-field.cjs +7 -7
  612. package/dist/actions/list-all-sections-for-ticket-field.cjs.map +1 -1
  613. package/dist/actions/list-all-sections-for-ticket-field.d.cts +9 -17
  614. package/dist/actions/list-all-sections-for-ticket-field.d.mts +9 -17
  615. package/dist/actions/list-all-sections-for-ticket-field.mjs +7 -7
  616. package/dist/actions/list-all-sections-for-ticket-field.mjs.map +1 -1
  617. package/dist/actions/list-all-skills.cjs +16 -16
  618. package/dist/actions/list-all-skills.cjs.map +1 -1
  619. package/dist/actions/list-all-skills.d.cts +17 -33
  620. package/dist/actions/list-all-skills.d.cts.map +1 -1
  621. package/dist/actions/list-all-skills.d.mts +17 -33
  622. package/dist/actions/list-all-skills.d.mts.map +1 -1
  623. package/dist/actions/list-all-skills.mjs +16 -16
  624. package/dist/actions/list-all-skills.mjs.map +1 -1
  625. package/dist/actions/list-all-ticket-conversations.cjs +37 -37
  626. package/dist/actions/list-all-ticket-conversations.cjs.map +1 -1
  627. package/dist/actions/list-all-ticket-conversations.d.cts +39 -77
  628. package/dist/actions/list-all-ticket-conversations.d.mts +39 -77
  629. package/dist/actions/list-all-ticket-conversations.mjs +37 -37
  630. package/dist/actions/list-all-ticket-conversations.mjs.map +1 -1
  631. package/dist/actions/list-automation-rules.cjs +26 -26
  632. package/dist/actions/list-automation-rules.cjs.map +1 -1
  633. package/dist/actions/list-automation-rules.d.cts +26 -51
  634. package/dist/actions/list-automation-rules.d.cts.map +1 -1
  635. package/dist/actions/list-automation-rules.d.mts +26 -51
  636. package/dist/actions/list-automation-rules.d.mts.map +1 -1
  637. package/dist/actions/list-automation-rules.mjs +26 -26
  638. package/dist/actions/list-automation-rules.mjs.map +1 -1
  639. package/dist/actions/list-discussions-topics.cjs +18 -18
  640. package/dist/actions/list-discussions-topics.cjs.map +1 -1
  641. package/dist/actions/list-discussions-topics.d.cts +20 -39
  642. package/dist/actions/list-discussions-topics.d.mts +20 -39
  643. package/dist/actions/list-discussions-topics.mjs +18 -18
  644. package/dist/actions/list-discussions-topics.mjs.map +1 -1
  645. package/dist/actions/list-discussions.cjs +7 -7
  646. package/dist/actions/list-discussions.cjs.map +1 -1
  647. package/dist/actions/list-discussions.d.cts +9 -17
  648. package/dist/actions/list-discussions.d.mts +9 -17
  649. package/dist/actions/list-discussions.mjs +7 -7
  650. package/dist/actions/list-discussions.mjs.map +1 -1
  651. package/dist/actions/list-email-configs.cjs +15 -15
  652. package/dist/actions/list-email-configs.cjs.map +1 -1
  653. package/dist/actions/list-email-configs.d.cts +16 -31
  654. package/dist/actions/list-email-configs.d.cts.map +1 -1
  655. package/dist/actions/list-email-configs.d.mts +16 -31
  656. package/dist/actions/list-email-configs.d.mts.map +1 -1
  657. package/dist/actions/list-email-configs.mjs +15 -15
  658. package/dist/actions/list-email-configs.mjs.map +1 -1
  659. package/dist/actions/list-email.cjs +15 -15
  660. package/dist/actions/list-email.cjs.map +1 -1
  661. package/dist/actions/list-email.d.cts +16 -31
  662. package/dist/actions/list-email.d.mts +16 -31
  663. package/dist/actions/list-email.mjs +15 -15
  664. package/dist/actions/list-email.mjs.map +1 -1
  665. package/dist/actions/list-forums-in-category.cjs +13 -13
  666. package/dist/actions/list-forums-in-category.cjs.map +1 -1
  667. package/dist/actions/list-forums-in-category.d.cts +15 -29
  668. package/dist/actions/list-forums-in-category.d.mts +15 -29
  669. package/dist/actions/list-forums-in-category.mjs +13 -13
  670. package/dist/actions/list-forums-in-category.mjs.map +1 -1
  671. package/dist/actions/list-monitored-topics.cjs +18 -18
  672. package/dist/actions/list-monitored-topics.cjs.map +1 -1
  673. package/dist/actions/list-monitored-topics.d.cts +20 -39
  674. package/dist/actions/list-monitored-topics.d.mts +20 -39
  675. package/dist/actions/list-monitored-topics.mjs +18 -18
  676. package/dist/actions/list-monitored-topics.mjs.map +1 -1
  677. package/dist/actions/list-participated-topics.cjs +18 -18
  678. package/dist/actions/list-participated-topics.cjs.map +1 -1
  679. package/dist/actions/list-participated-topics.d.cts +20 -39
  680. package/dist/actions/list-participated-topics.d.mts +20 -39
  681. package/dist/actions/list-participated-topics.mjs +18 -18
  682. package/dist/actions/list-participated-topics.mjs.map +1 -1
  683. package/dist/actions/list-products.cjs +9 -9
  684. package/dist/actions/list-products.cjs.map +1 -1
  685. package/dist/actions/list-products.d.cts +11 -21
  686. package/dist/actions/list-products.d.cts.map +1 -1
  687. package/dist/actions/list-products.d.mts +11 -21
  688. package/dist/actions/list-products.d.mts.map +1 -1
  689. package/dist/actions/list-products.mjs +9 -9
  690. package/dist/actions/list-products.mjs.map +1 -1
  691. package/dist/actions/list-roles.cjs +9 -9
  692. package/dist/actions/list-roles.cjs.map +1 -1
  693. package/dist/actions/list-roles.d.cts +11 -21
  694. package/dist/actions/list-roles.d.mts +11 -21
  695. package/dist/actions/list-roles.mjs +9 -9
  696. package/dist/actions/list-roles.mjs.map +1 -1
  697. package/dist/actions/list-satisfaction-ratings.cjs +12 -12
  698. package/dist/actions/list-satisfaction-ratings.cjs.map +1 -1
  699. package/dist/actions/list-satisfaction-ratings.d.cts +14 -27
  700. package/dist/actions/list-satisfaction-ratings.d.cts.map +1 -1
  701. package/dist/actions/list-satisfaction-ratings.d.mts +14 -27
  702. package/dist/actions/list-satisfaction-ratings.d.mts.map +1 -1
  703. package/dist/actions/list-satisfaction-ratings.mjs +12 -12
  704. package/dist/actions/list-satisfaction-ratings.mjs.map +1 -1
  705. package/dist/actions/list-sla-policies.cjs +44 -44
  706. package/dist/actions/list-sla-policies.cjs.map +1 -1
  707. package/dist/actions/list-sla-policies.d.cts +64 -130
  708. package/dist/actions/list-sla-policies.d.cts.map +1 -1
  709. package/dist/actions/list-sla-policies.d.mts +64 -130
  710. package/dist/actions/list-sla-policies.d.mts.map +1 -1
  711. package/dist/actions/list-sla-policies.mjs +44 -44
  712. package/dist/actions/list-sla-policies.mjs.map +1 -1
  713. package/dist/actions/list-solution-articles.cjs +38 -38
  714. package/dist/actions/list-solution-articles.cjs.map +1 -1
  715. package/dist/actions/list-solution-articles.d.cts +39 -77
  716. package/dist/actions/list-solution-articles.d.cts.map +1 -1
  717. package/dist/actions/list-solution-articles.d.mts +39 -77
  718. package/dist/actions/list-solution-articles.d.mts.map +1 -1
  719. package/dist/actions/list-solution-articles.mjs +38 -38
  720. package/dist/actions/list-solution-articles.mjs.map +1 -1
  721. package/dist/actions/list-solution-categories.cjs +11 -11
  722. package/dist/actions/list-solution-categories.cjs.map +1 -1
  723. package/dist/actions/list-solution-categories.d.cts +12 -23
  724. package/dist/actions/list-solution-categories.d.mts +12 -23
  725. package/dist/actions/list-solution-categories.mjs +11 -11
  726. package/dist/actions/list-solution-categories.mjs.map +1 -1
  727. package/dist/actions/list-solution-folders.cjs +26 -26
  728. package/dist/actions/list-solution-folders.cjs.map +1 -1
  729. package/dist/actions/list-solution-folders.d.cts +27 -53
  730. package/dist/actions/list-solution-folders.d.mts +27 -53
  731. package/dist/actions/list-solution-folders.mjs +26 -26
  732. package/dist/actions/list-solution-folders.mjs.map +1 -1
  733. package/dist/actions/list-solution-subfolders.cjs +23 -23
  734. package/dist/actions/list-solution-subfolders.cjs.map +1 -1
  735. package/dist/actions/list-solution-subfolders.d.cts +25 -49
  736. package/dist/actions/list-solution-subfolders.d.mts +25 -49
  737. package/dist/actions/list-solution-subfolders.mjs +23 -23
  738. package/dist/actions/list-solution-subfolders.mjs.map +1 -1
  739. package/dist/actions/list-solutions-category-folders-translated.cjs +21 -21
  740. package/dist/actions/list-solutions-category-folders-translated.cjs.map +1 -1
  741. package/dist/actions/list-solutions-category-folders-translated.d.cts +23 -45
  742. package/dist/actions/list-solutions-category-folders-translated.d.mts +23 -45
  743. package/dist/actions/list-solutions-category-folders-translated.mjs +21 -21
  744. package/dist/actions/list-solutions-category-folders-translated.mjs.map +1 -1
  745. package/dist/actions/list-specific-section-details.cjs +6 -6
  746. package/dist/actions/list-specific-section-details.cjs.map +1 -1
  747. package/dist/actions/list-specific-section-details.d.cts +7 -13
  748. package/dist/actions/list-specific-section-details.d.mts +7 -13
  749. package/dist/actions/list-specific-section-details.mjs +6 -6
  750. package/dist/actions/list-specific-section-details.mjs.map +1 -1
  751. package/dist/actions/list-surveys.cjs +14 -14
  752. package/dist/actions/list-surveys.cjs.map +1 -1
  753. package/dist/actions/list-surveys.d.cts +18 -33
  754. package/dist/actions/list-surveys.d.mts +18 -33
  755. package/dist/actions/list-surveys.mjs +14 -14
  756. package/dist/actions/list-surveys.mjs.map +1 -1
  757. package/dist/actions/list-ticket-fields.cjs +21 -21
  758. package/dist/actions/list-ticket-fields.cjs.map +1 -1
  759. package/dist/actions/list-ticket-fields.d.cts +23 -45
  760. package/dist/actions/list-ticket-fields.d.cts.map +1 -1
  761. package/dist/actions/list-ticket-fields.d.mts +23 -45
  762. package/dist/actions/list-ticket-fields.d.mts.map +1 -1
  763. package/dist/actions/list-ticket-fields.mjs +21 -21
  764. package/dist/actions/list-ticket-fields.mjs.map +1 -1
  765. package/dist/actions/list-ticket-forms.cjs +12 -12
  766. package/dist/actions/list-ticket-forms.cjs.map +1 -1
  767. package/dist/actions/list-ticket-forms.d.cts +14 -27
  768. package/dist/actions/list-ticket-forms.d.cts.map +1 -1
  769. package/dist/actions/list-ticket-forms.d.mts +14 -27
  770. package/dist/actions/list-ticket-forms.d.mts.map +1 -1
  771. package/dist/actions/list-ticket-forms.mjs +12 -12
  772. package/dist/actions/list-ticket-forms.mjs.map +1 -1
  773. package/dist/actions/list-ticket-satisfaction-ratings.cjs +14 -14
  774. package/dist/actions/list-ticket-satisfaction-ratings.cjs.map +1 -1
  775. package/dist/actions/list-ticket-satisfaction-ratings.d.cts +16 -31
  776. package/dist/actions/list-ticket-satisfaction-ratings.d.mts +16 -31
  777. package/dist/actions/list-ticket-satisfaction-ratings.mjs +14 -14
  778. package/dist/actions/list-ticket-satisfaction-ratings.mjs.map +1 -1
  779. package/dist/actions/list-tickets-watchers.cjs +4 -4
  780. package/dist/actions/list-tickets-watchers.cjs.map +1 -1
  781. package/dist/actions/list-tickets-watchers.d.cts +5 -11
  782. package/dist/actions/list-tickets-watchers.d.mts +5 -11
  783. package/dist/actions/list-tickets-watchers.mjs +4 -4
  784. package/dist/actions/list-tickets-watchers.mjs.map +1 -1
  785. package/dist/actions/list-time-entries.cjs +15 -15
  786. package/dist/actions/list-time-entries.cjs.map +1 -1
  787. package/dist/actions/list-time-entries.d.cts +17 -33
  788. package/dist/actions/list-time-entries.d.mts +17 -33
  789. package/dist/actions/list-time-entries.mjs +15 -15
  790. package/dist/actions/list-time-entries.mjs.map +1 -1
  791. package/dist/actions/list-topic-comments2.cjs +14 -14
  792. package/dist/actions/list-topic-comments2.cjs.map +1 -1
  793. package/dist/actions/list-topic-comments2.d.cts +16 -31
  794. package/dist/actions/list-topic-comments2.d.mts +16 -31
  795. package/dist/actions/list-topic-comments2.mjs +14 -14
  796. package/dist/actions/list-topic-comments2.mjs.map +1 -1
  797. package/dist/actions/list-translated-solution-articles.cjs +35 -35
  798. package/dist/actions/list-translated-solution-articles.cjs.map +1 -1
  799. package/dist/actions/list-translated-solution-articles.d.cts +37 -73
  800. package/dist/actions/list-translated-solution-articles.d.cts.map +1 -1
  801. package/dist/actions/list-translated-solution-articles.d.mts +37 -73
  802. package/dist/actions/list-translated-solution-articles.d.mts.map +1 -1
  803. package/dist/actions/list-translated-solution-articles.mjs +35 -35
  804. package/dist/actions/list-translated-solution-articles.mjs.map +1 -1
  805. package/dist/actions/list-translated-subfolders.cjs +20 -20
  806. package/dist/actions/list-translated-subfolders.cjs.map +1 -1
  807. package/dist/actions/list-translated-subfolders.d.cts +22 -43
  808. package/dist/actions/list-translated-subfolders.d.mts +22 -43
  809. package/dist/actions/list-translated-subfolders.mjs +20 -20
  810. package/dist/actions/list-translated-subfolders.mjs.map +1 -1
  811. package/dist/actions/patch-admin-groups-agents.cjs +1 -1
  812. package/dist/actions/patch-admin-groups-agents.cjs.map +1 -1
  813. package/dist/actions/patch-admin-groups-agents.d.cts +3 -5
  814. package/dist/actions/patch-admin-groups-agents.d.mts +3 -5
  815. package/dist/actions/patch-admin-groups-agents.mjs +1 -1
  816. package/dist/actions/patch-admin-groups-agents.mjs.map +1 -1
  817. package/dist/actions/remove-watcher.cjs +3 -3
  818. package/dist/actions/remove-watcher.cjs.map +1 -1
  819. package/dist/actions/remove-watcher.d.cts +4 -7
  820. package/dist/actions/remove-watcher.d.mts +4 -7
  821. package/dist/actions/remove-watcher.mjs +3 -3
  822. package/dist/actions/remove-watcher.mjs.map +1 -1
  823. package/dist/actions/reply-to-forward-ticket.cjs +14 -14
  824. package/dist/actions/reply-to-forward-ticket.cjs.map +1 -1
  825. package/dist/actions/reply-to-forward-ticket.d.cts +15 -29
  826. package/dist/actions/reply-to-forward-ticket.d.mts +15 -29
  827. package/dist/actions/reply-to-forward-ticket.mjs +14 -14
  828. package/dist/actions/reply-to-forward-ticket.mjs.map +1 -1
  829. package/dist/actions/reply-to-ticket.cjs +22 -22
  830. package/dist/actions/reply-to-ticket.cjs.map +1 -1
  831. package/dist/actions/reply-to-ticket.d.cts +23 -45
  832. package/dist/actions/reply-to-ticket.d.cts.map +1 -1
  833. package/dist/actions/reply-to-ticket.d.mts +23 -45
  834. package/dist/actions/reply-to-ticket.d.mts.map +1 -1
  835. package/dist/actions/reply-to-ticket.mjs +22 -22
  836. package/dist/actions/reply-to-ticket.mjs.map +1 -1
  837. package/dist/actions/search-agents.cjs +21 -21
  838. package/dist/actions/search-agents.cjs.map +1 -1
  839. package/dist/actions/search-agents.d.cts +23 -59
  840. package/dist/actions/search-agents.d.mts +23 -59
  841. package/dist/actions/search-agents.mjs +21 -21
  842. package/dist/actions/search-agents.mjs.map +1 -1
  843. package/dist/actions/search-companies.cjs +23 -23
  844. package/dist/actions/search-companies.cjs.map +1 -1
  845. package/dist/actions/search-companies.d.cts +24 -47
  846. package/dist/actions/search-companies.d.cts.map +1 -1
  847. package/dist/actions/search-companies.d.mts +24 -47
  848. package/dist/actions/search-companies.d.mts.map +1 -1
  849. package/dist/actions/search-companies.mjs +23 -23
  850. package/dist/actions/search-companies.mjs.map +1 -1
  851. package/dist/actions/search-company.cjs +4 -4
  852. package/dist/actions/search-company.cjs.map +1 -1
  853. package/dist/actions/search-company.d.cts +6 -11
  854. package/dist/actions/search-company.d.mts +6 -11
  855. package/dist/actions/search-company.mjs +4 -4
  856. package/dist/actions/search-company.mjs.map +1 -1
  857. package/dist/actions/search-contacts-autocomplete.cjs +10 -10
  858. package/dist/actions/search-contacts-autocomplete.cjs.map +1 -1
  859. package/dist/actions/search-contacts-autocomplete.d.cts +12 -23
  860. package/dist/actions/search-contacts-autocomplete.d.mts +12 -23
  861. package/dist/actions/search-contacts-autocomplete.mjs +10 -10
  862. package/dist/actions/search-contacts-autocomplete.mjs.map +1 -1
  863. package/dist/actions/search-contacts.cjs +39 -39
  864. package/dist/actions/search-contacts.cjs.map +1 -1
  865. package/dist/actions/search-contacts.d.cts +40 -79
  866. package/dist/actions/search-contacts.d.cts.map +1 -1
  867. package/dist/actions/search-contacts.d.mts +40 -79
  868. package/dist/actions/search-contacts.d.mts.map +1 -1
  869. package/dist/actions/search-contacts.mjs +39 -39
  870. package/dist/actions/search-contacts.mjs.map +1 -1
  871. package/dist/actions/search-solution-articles.cjs +40 -40
  872. package/dist/actions/search-solution-articles.cjs.map +1 -1
  873. package/dist/actions/search-solution-articles.d.cts +42 -83
  874. package/dist/actions/search-solution-articles.d.mts +42 -83
  875. package/dist/actions/search-solution-articles.mjs +40 -40
  876. package/dist/actions/search-solution-articles.mjs.map +1 -1
  877. package/dist/actions/toggle-timer.cjs +11 -11
  878. package/dist/actions/toggle-timer.cjs.map +1 -1
  879. package/dist/actions/toggle-timer.d.cts +12 -25
  880. package/dist/actions/toggle-timer.d.mts +12 -25
  881. package/dist/actions/toggle-timer.mjs +11 -11
  882. package/dist/actions/toggle-timer.mjs.map +1 -1
  883. package/dist/actions/update-admin-group.cjs +15 -15
  884. package/dist/actions/update-admin-group.cjs.map +1 -1
  885. package/dist/actions/update-admin-group.d.cts +17 -33
  886. package/dist/actions/update-admin-group.d.mts +17 -33
  887. package/dist/actions/update-admin-group.mjs +15 -15
  888. package/dist/actions/update-admin-group.mjs.map +1 -1
  889. package/dist/actions/update-admin-ticket-field-section.cjs +9 -9
  890. package/dist/actions/update-admin-ticket-field-section.cjs.map +1 -1
  891. package/dist/actions/update-admin-ticket-field-section.d.cts +10 -19
  892. package/dist/actions/update-admin-ticket-field-section.d.mts +10 -19
  893. package/dist/actions/update-admin-ticket-field-section.mjs +9 -9
  894. package/dist/actions/update-admin-ticket-field-section.mjs.map +1 -1
  895. package/dist/actions/update-admin-ticket-field.cjs +26 -26
  896. package/dist/actions/update-admin-ticket-field.cjs.map +1 -1
  897. package/dist/actions/update-admin-ticket-field.d.cts +26 -52
  898. package/dist/actions/update-admin-ticket-field.d.cts.map +1 -1
  899. package/dist/actions/update-admin-ticket-field.d.mts +26 -52
  900. package/dist/actions/update-admin-ticket-field.d.mts.map +1 -1
  901. package/dist/actions/update-admin-ticket-field.mjs +26 -26
  902. package/dist/actions/update-admin-ticket-field.mjs.map +1 -1
  903. package/dist/actions/update-agent-availability.cjs +15 -15
  904. package/dist/actions/update-agent-availability.cjs.map +1 -1
  905. package/dist/actions/update-agent-availability.d.cts +17 -30
  906. package/dist/actions/update-agent-availability.d.mts +17 -30
  907. package/dist/actions/update-agent-availability.mjs +15 -15
  908. package/dist/actions/update-agent-availability.mjs.map +1 -1
  909. package/dist/actions/update-agent.cjs +31 -31
  910. package/dist/actions/update-agent.cjs.map +1 -1
  911. package/dist/actions/update-agent.d.cts +32 -63
  912. package/dist/actions/update-agent.d.mts +32 -63
  913. package/dist/actions/update-agent.mjs +31 -31
  914. package/dist/actions/update-agent.mjs.map +1 -1
  915. package/dist/actions/update-automations.cjs +44 -44
  916. package/dist/actions/update-automations.cjs.map +1 -1
  917. package/dist/actions/update-automations.d.cts +45 -89
  918. package/dist/actions/update-automations.d.cts.map +1 -1
  919. package/dist/actions/update-automations.d.mts +45 -89
  920. package/dist/actions/update-automations.d.mts.map +1 -1
  921. package/dist/actions/update-automations.mjs +44 -44
  922. package/dist/actions/update-automations.mjs.map +1 -1
  923. package/dist/actions/update-canned-response-folder.cjs +1 -1
  924. package/dist/actions/update-canned-response-folder.cjs.map +1 -1
  925. package/dist/actions/update-canned-response-folder.d.cts +2 -5
  926. package/dist/actions/update-canned-response-folder.d.mts +2 -5
  927. package/dist/actions/update-canned-response-folder.mjs +1 -1
  928. package/dist/actions/update-canned-response-folder.mjs.map +1 -1
  929. package/dist/actions/update-canned-response.cjs +18 -18
  930. package/dist/actions/update-canned-response.cjs.map +1 -1
  931. package/dist/actions/update-canned-response.d.cts +19 -37
  932. package/dist/actions/update-canned-response.d.mts +19 -37
  933. package/dist/actions/update-canned-response.mjs +18 -18
  934. package/dist/actions/update-canned-response.mjs.map +1 -1
  935. package/dist/actions/update-companies.cjs +15 -15
  936. package/dist/actions/update-companies.cjs.map +1 -1
  937. package/dist/actions/update-companies.d.cts +16 -31
  938. package/dist/actions/update-companies.d.cts.map +1 -1
  939. package/dist/actions/update-companies.d.mts +16 -31
  940. package/dist/actions/update-companies.d.mts.map +1 -1
  941. package/dist/actions/update-companies.mjs +15 -15
  942. package/dist/actions/update-companies.mjs.map +1 -1
  943. package/dist/actions/update-contact-field.cjs +21 -21
  944. package/dist/actions/update-contact-field.cjs.map +1 -1
  945. package/dist/actions/update-contact-field.d.cts +22 -43
  946. package/dist/actions/update-contact-field.d.cts.map +1 -1
  947. package/dist/actions/update-contact-field.d.mts +22 -43
  948. package/dist/actions/update-contact-field.d.mts.map +1 -1
  949. package/dist/actions/update-contact-field.mjs +21 -21
  950. package/dist/actions/update-contact-field.mjs.map +1 -1
  951. package/dist/actions/update-contact-make-agent.cjs +27 -27
  952. package/dist/actions/update-contact-make-agent.cjs.map +1 -1
  953. package/dist/actions/update-contact-make-agent.d.cts +28 -55
  954. package/dist/actions/update-contact-make-agent.d.mts +28 -55
  955. package/dist/actions/update-contact-make-agent.mjs +27 -27
  956. package/dist/actions/update-contact-make-agent.mjs.map +1 -1
  957. package/dist/actions/update-contact.cjs +48 -48
  958. package/dist/actions/update-contact.cjs.map +1 -1
  959. package/dist/actions/update-contact.d.cts +49 -97
  960. package/dist/actions/update-contact.d.cts.map +1 -1
  961. package/dist/actions/update-contact.d.mts +49 -97
  962. package/dist/actions/update-contact.d.mts.map +1 -1
  963. package/dist/actions/update-contact.mjs +48 -48
  964. package/dist/actions/update-contact.mjs.map +1 -1
  965. package/dist/actions/update-conversations.cjs +24 -24
  966. package/dist/actions/update-conversations.cjs.map +1 -1
  967. package/dist/actions/update-conversations.d.cts +25 -49
  968. package/dist/actions/update-conversations.d.mts +25 -49
  969. package/dist/actions/update-conversations.mjs +24 -24
  970. package/dist/actions/update-conversations.mjs.map +1 -1
  971. package/dist/actions/update-discussion-category.cjs +6 -6
  972. package/dist/actions/update-discussion-category.cjs.map +1 -1
  973. package/dist/actions/update-discussion-category.d.cts +7 -13
  974. package/dist/actions/update-discussion-category.d.mts +7 -13
  975. package/dist/actions/update-discussion-category.mjs +6 -6
  976. package/dist/actions/update-discussion-category.mjs.map +1 -1
  977. package/dist/actions/update-discussion-comment.cjs +13 -13
  978. package/dist/actions/update-discussion-comment.cjs.map +1 -1
  979. package/dist/actions/update-discussion-comment.d.cts +14 -27
  980. package/dist/actions/update-discussion-comment.d.mts +14 -27
  981. package/dist/actions/update-discussion-comment.mjs +13 -13
  982. package/dist/actions/update-discussion-comment.mjs.map +1 -1
  983. package/dist/actions/update-discussion-forum.cjs +13 -13
  984. package/dist/actions/update-discussion-forum.cjs.map +1 -1
  985. package/dist/actions/update-discussion-forum.d.cts +14 -27
  986. package/dist/actions/update-discussion-forum.d.mts +14 -27
  987. package/dist/actions/update-discussion-forum.mjs +13 -13
  988. package/dist/actions/update-discussion-forum.mjs.map +1 -1
  989. package/dist/actions/update-discussion-topic.cjs +18 -18
  990. package/dist/actions/update-discussion-topic.cjs.map +1 -1
  991. package/dist/actions/update-discussion-topic.d.cts +19 -37
  992. package/dist/actions/update-discussion-topic.d.mts +19 -37
  993. package/dist/actions/update-discussion-topic.mjs +18 -18
  994. package/dist/actions/update-discussion-topic.mjs.map +1 -1
  995. package/dist/actions/update-email-settings.cjs +13 -13
  996. package/dist/actions/update-email-settings.cjs.map +1 -1
  997. package/dist/actions/update-email-settings.d.cts +14 -27
  998. package/dist/actions/update-email-settings.d.mts +14 -27
  999. package/dist/actions/update-email-settings.mjs +13 -13
  1000. package/dist/actions/update-email-settings.mjs.map +1 -1
  1001. package/dist/actions/update-notification-email-bcc.cjs +1 -1
  1002. package/dist/actions/update-notification-email-bcc.cjs.map +1 -1
  1003. package/dist/actions/update-notification-email-bcc.d.cts +3 -5
  1004. package/dist/actions/update-notification-email-bcc.d.mts +3 -5
  1005. package/dist/actions/update-notification-email-bcc.mjs +1 -1
  1006. package/dist/actions/update-notification-email-bcc.mjs.map +1 -1
  1007. package/dist/actions/update-sla-policies.cjs +43 -43
  1008. package/dist/actions/update-sla-policies.cjs.map +1 -1
  1009. package/dist/actions/update-sla-policies.d.cts +62 -126
  1010. package/dist/actions/update-sla-policies.d.mts +62 -126
  1011. package/dist/actions/update-sla-policies.mjs +43 -43
  1012. package/dist/actions/update-sla-policies.mjs.map +1 -1
  1013. package/dist/actions/update-solution-category.cjs +9 -9
  1014. package/dist/actions/update-solution-category.cjs.map +1 -1
  1015. package/dist/actions/update-solution-category.d.cts +10 -19
  1016. package/dist/actions/update-solution-category.d.mts +10 -19
  1017. package/dist/actions/update-solution-category.mjs +9 -9
  1018. package/dist/actions/update-solution-category.mjs.map +1 -1
  1019. package/dist/actions/update-solution-folder.cjs +25 -25
  1020. package/dist/actions/update-solution-folder.cjs.map +1 -1
  1021. package/dist/actions/update-solution-folder.d.cts +26 -51
  1022. package/dist/actions/update-solution-folder.d.mts +26 -51
  1023. package/dist/actions/update-solution-folder.mjs +25 -25
  1024. package/dist/actions/update-solution-folder.mjs.map +1 -1
  1025. package/dist/actions/update-solutions.cjs +35 -35
  1026. package/dist/actions/update-solutions.cjs.map +1 -1
  1027. package/dist/actions/update-solutions.d.cts +37 -71
  1028. package/dist/actions/update-solutions.d.cts.map +1 -1
  1029. package/dist/actions/update-solutions.d.mts +37 -71
  1030. package/dist/actions/update-solutions.d.mts.map +1 -1
  1031. package/dist/actions/update-solutions.mjs +35 -35
  1032. package/dist/actions/update-solutions.mjs.map +1 -1
  1033. package/dist/actions/update-ticket-bulk-watch.cjs +9 -9
  1034. package/dist/actions/update-ticket-bulk-watch.cjs.map +1 -1
  1035. package/dist/actions/update-ticket-bulk-watch.d.cts +10 -23
  1036. package/dist/actions/update-ticket-bulk-watch.d.mts +10 -23
  1037. package/dist/actions/update-ticket-bulk-watch.mjs +9 -9
  1038. package/dist/actions/update-ticket-bulk-watch.mjs.map +1 -1
  1039. package/dist/actions/update-ticket-forms.cjs +8 -8
  1040. package/dist/actions/update-ticket-forms.cjs.map +1 -1
  1041. package/dist/actions/update-ticket-forms.d.cts +10 -40
  1042. package/dist/actions/update-ticket-forms.d.cts.map +1 -1
  1043. package/dist/actions/update-ticket-forms.d.mts +10 -40
  1044. package/dist/actions/update-ticket-forms.d.mts.map +1 -1
  1045. package/dist/actions/update-ticket-forms.mjs +8 -8
  1046. package/dist/actions/update-ticket-forms.mjs.map +1 -1
  1047. package/dist/actions/update-ticket-summary.cjs +12 -12
  1048. package/dist/actions/update-ticket-summary.cjs.map +1 -1
  1049. package/dist/actions/update-ticket-summary.d.cts +13 -25
  1050. package/dist/actions/update-ticket-summary.d.mts +13 -25
  1051. package/dist/actions/update-ticket-summary.mjs +12 -12
  1052. package/dist/actions/update-ticket-summary.mjs.map +1 -1
  1053. package/dist/actions/update-ticket-user-access.cjs +2 -2
  1054. package/dist/actions/update-ticket-user-access.cjs.map +1 -1
  1055. package/dist/actions/update-ticket-user-access.d.cts +4 -5
  1056. package/dist/actions/update-ticket-user-access.d.mts +4 -5
  1057. package/dist/actions/update-ticket-user-access.mjs +2 -2
  1058. package/dist/actions/update-ticket-user-access.mjs.map +1 -1
  1059. package/dist/actions/update-ticket.cjs +42 -42
  1060. package/dist/actions/update-ticket.cjs.map +1 -1
  1061. package/dist/actions/update-ticket.d.cts +43 -86
  1062. package/dist/actions/update-ticket.d.cts.map +1 -1
  1063. package/dist/actions/update-ticket.d.mts +43 -86
  1064. package/dist/actions/update-ticket.d.mts.map +1 -1
  1065. package/dist/actions/update-ticket.mjs +42 -42
  1066. package/dist/actions/update-ticket.mjs.map +1 -1
  1067. package/dist/actions/update-time-entry.cjs +14 -14
  1068. package/dist/actions/update-time-entry.cjs.map +1 -1
  1069. package/dist/actions/update-time-entry.d.cts +15 -29
  1070. package/dist/actions/update-time-entry.d.mts +15 -29
  1071. package/dist/actions/update-time-entry.mjs +14 -14
  1072. package/dist/actions/update-time-entry.mjs.map +1 -1
  1073. package/dist/actions/view-a-canned-response.cjs +22 -22
  1074. package/dist/actions/view-a-canned-response.cjs.map +1 -1
  1075. package/dist/actions/view-a-canned-response.d.cts +23 -45
  1076. package/dist/actions/view-a-canned-response.d.mts +23 -45
  1077. package/dist/actions/view-a-canned-response.mjs +22 -22
  1078. package/dist/actions/view-a-canned-response.mjs.map +1 -1
  1079. package/dist/actions/view-automations.cjs +45 -45
  1080. package/dist/actions/view-automations.cjs.map +1 -1
  1081. package/dist/actions/view-automations.d.cts +47 -93
  1082. package/dist/actions/view-automations.d.cts.map +1 -1
  1083. package/dist/actions/view-automations.d.mts +47 -93
  1084. package/dist/actions/view-automations.d.mts.map +1 -1
  1085. package/dist/actions/view-automations.mjs +45 -45
  1086. package/dist/actions/view-automations.mjs.map +1 -1
  1087. package/dist/actions/view-business-hour.cjs +26 -26
  1088. package/dist/actions/view-business-hour.cjs.map +1 -1
  1089. package/dist/actions/view-business-hour.d.cts +45 -89
  1090. package/dist/actions/view-business-hour.d.mts +45 -89
  1091. package/dist/actions/view-business-hour.mjs +26 -26
  1092. package/dist/actions/view-business-hour.mjs.map +1 -1
  1093. package/dist/actions/view-company-field.cjs +17 -17
  1094. package/dist/actions/view-company-field.cjs.map +1 -1
  1095. package/dist/actions/view-company-field.d.cts +18 -39
  1096. package/dist/actions/view-company-field.d.mts +18 -39
  1097. package/dist/actions/view-company-field.mjs +17 -17
  1098. package/dist/actions/view-company-field.mjs.map +1 -1
  1099. package/dist/actions/view-contact-field.cjs +9 -9
  1100. package/dist/actions/view-contact-field.cjs.map +1 -1
  1101. package/dist/actions/view-contact-field.d.cts +10 -35
  1102. package/dist/actions/view-contact-field.d.mts +10 -35
  1103. package/dist/actions/view-contact-field.mjs +9 -9
  1104. package/dist/actions/view-contact-field.mjs.map +1 -1
  1105. package/dist/actions/view-email-configs.cjs +11 -11
  1106. package/dist/actions/view-email-configs.cjs.map +1 -1
  1107. package/dist/actions/view-email-configs.d.cts +12 -23
  1108. package/dist/actions/view-email-configs.d.mts +12 -23
  1109. package/dist/actions/view-email-configs.mjs +11 -11
  1110. package/dist/actions/view-email-configs.mjs.map +1 -1
  1111. package/dist/actions/view-email.cjs +15 -15
  1112. package/dist/actions/view-email.cjs.map +1 -1
  1113. package/dist/actions/view-email.d.cts +16 -31
  1114. package/dist/actions/view-email.d.cts.map +1 -1
  1115. package/dist/actions/view-email.d.mts +16 -31
  1116. package/dist/actions/view-email.d.mts.map +1 -1
  1117. package/dist/actions/view-email.mjs +15 -15
  1118. package/dist/actions/view-email.mjs.map +1 -1
  1119. package/dist/actions/view-group.cjs +14 -14
  1120. package/dist/actions/view-group.cjs.map +1 -1
  1121. package/dist/actions/view-group.d.cts +15 -29
  1122. package/dist/actions/view-group.d.mts +15 -29
  1123. package/dist/actions/view-group.mjs +14 -14
  1124. package/dist/actions/view-group.mjs.map +1 -1
  1125. package/dist/actions/view-notifications.cjs +4 -4
  1126. package/dist/actions/view-notifications.cjs.map +1 -1
  1127. package/dist/actions/view-notifications.d.cts +5 -9
  1128. package/dist/actions/view-notifications.d.cts.map +1 -1
  1129. package/dist/actions/view-notifications.d.mts +5 -9
  1130. package/dist/actions/view-notifications.d.mts.map +1 -1
  1131. package/dist/actions/view-notifications.mjs +4 -4
  1132. package/dist/actions/view-notifications.mjs.map +1 -1
  1133. package/dist/actions/view-products.cjs +8 -8
  1134. package/dist/actions/view-products.cjs.map +1 -1
  1135. package/dist/actions/view-products.d.cts +9 -17
  1136. package/dist/actions/view-products.d.mts +9 -17
  1137. package/dist/actions/view-products.mjs +8 -8
  1138. package/dist/actions/view-products.mjs.map +1 -1
  1139. package/dist/actions/view-roles.cjs +10 -10
  1140. package/dist/actions/view-roles.cjs.map +1 -1
  1141. package/dist/actions/view-roles.d.cts +11 -21
  1142. package/dist/actions/view-roles.d.mts +11 -21
  1143. package/dist/actions/view-roles.mjs +10 -10
  1144. package/dist/actions/view-roles.mjs.map +1 -1
  1145. package/dist/actions/view-settings.cjs +5 -5
  1146. package/dist/actions/view-settings.cjs.map +1 -1
  1147. package/dist/actions/view-settings.d.cts +6 -11
  1148. package/dist/actions/view-settings.d.cts.map +1 -1
  1149. package/dist/actions/view-settings.d.mts +6 -11
  1150. package/dist/actions/view-settings.d.mts.map +1 -1
  1151. package/dist/actions/view-settings.mjs +5 -5
  1152. package/dist/actions/view-settings.mjs.map +1 -1
  1153. package/dist/actions/view-skill.cjs +4 -4
  1154. package/dist/actions/view-skill.cjs.map +1 -1
  1155. package/dist/actions/view-skill.d.cts +5 -19
  1156. package/dist/actions/view-skill.d.cts.map +1 -1
  1157. package/dist/actions/view-skill.d.mts +5 -19
  1158. package/dist/actions/view-skill.d.mts.map +1 -1
  1159. package/dist/actions/view-skill.mjs +4 -4
  1160. package/dist/actions/view-skill.mjs.map +1 -1
  1161. package/dist/actions/view-solution-category.cjs +10 -10
  1162. package/dist/actions/view-solution-category.cjs.map +1 -1
  1163. package/dist/actions/view-solution-category.d.cts +11 -21
  1164. package/dist/actions/view-solution-category.d.cts.map +1 -1
  1165. package/dist/actions/view-solution-category.d.mts +11 -21
  1166. package/dist/actions/view-solution-category.d.mts.map +1 -1
  1167. package/dist/actions/view-solution-category.mjs +10 -10
  1168. package/dist/actions/view-solution-category.mjs.map +1 -1
  1169. package/dist/actions/view-solution-folder.cjs +24 -24
  1170. package/dist/actions/view-solution-folder.cjs.map +1 -1
  1171. package/dist/actions/view-solution-folder.d.cts +25 -49
  1172. package/dist/actions/view-solution-folder.d.mts +25 -49
  1173. package/dist/actions/view-solution-folder.mjs +24 -24
  1174. package/dist/actions/view-solution-folder.mjs.map +1 -1
  1175. package/dist/actions/view-solutions.cjs +51 -51
  1176. package/dist/actions/view-solutions.cjs.map +1 -1
  1177. package/dist/actions/view-solutions.d.cts +53 -105
  1178. package/dist/actions/view-solutions.d.mts +53 -105
  1179. package/dist/actions/view-solutions.mjs +51 -51
  1180. package/dist/actions/view-solutions.mjs.map +1 -1
  1181. package/dist/actions/view-ticket-field.cjs +39 -39
  1182. package/dist/actions/view-ticket-field.cjs.map +1 -1
  1183. package/dist/actions/view-ticket-field.d.cts +40 -79
  1184. package/dist/actions/view-ticket-field.d.cts.map +1 -1
  1185. package/dist/actions/view-ticket-field.d.mts +40 -79
  1186. package/dist/actions/view-ticket-field.d.mts.map +1 -1
  1187. package/dist/actions/view-ticket-field.mjs +39 -39
  1188. package/dist/actions/view-ticket-field.mjs.map +1 -1
  1189. package/dist/actions/view-ticket-form-field.cjs +19 -19
  1190. package/dist/actions/view-ticket-form-field.cjs.map +1 -1
  1191. package/dist/actions/view-ticket-form-field.d.cts +20 -39
  1192. package/dist/actions/view-ticket-form-field.d.mts +20 -39
  1193. package/dist/actions/view-ticket-form-field.mjs +19 -19
  1194. package/dist/actions/view-ticket-form-field.mjs.map +1 -1
  1195. package/dist/actions/view-ticket.cjs +95 -95
  1196. package/dist/actions/view-ticket.cjs.map +1 -1
  1197. package/dist/actions/view-ticket.d.cts +96 -192
  1198. package/dist/actions/view-ticket.d.mts +96 -192
  1199. package/dist/actions/view-ticket.mjs +95 -95
  1200. package/dist/actions/view-ticket.mjs.map +1 -1
  1201. package/package.json +1 -1
@@ -6,44 +6,31 @@ declare const FreshdeskUpdateAgentAvailabilityInput: z.ZodObject<{
6
6
  channel_availability: z.ZodArray<z.ZodObject<{
7
7
  channel: z.ZodString;
8
8
  assignment_limit: z.ZodNumber;
9
- }, z.core.$strip>>;
9
+ }, z.core.$loose>>;
10
10
  }, z.core.$strip>;
11
11
  declare const FreshdeskUpdateAgentAvailabilityOutput: z.ZodObject<{
12
- agent_ref: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- status_updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- availability_control: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- channel_availability: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
16
- channel: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
- available: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
18
- logged_in: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
19
- status_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
- assignment_limit: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
21
- round_robin_enabled: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
22
- availability_updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- current_assignment_load: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
24
- }, z.core.$strip>>>>;
25
- }, z.core.$strip>;
12
+ agent_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ status_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ availability_control: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ channel_availability: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
16
+ channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ logged_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ status_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ assignment_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ round_robin_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ availability_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ current_assignment_load: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>>>>;
25
+ }, z.core.$loose>;
26
26
  declare const freshdeskUpdateAgentAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  agent_id: number;
28
28
  channel_availability: {
29
+ [x: string]: unknown;
29
30
  channel: string;
30
31
  assignment_limit: number;
31
32
  }[];
32
- }, {
33
- agent_ref?: string | undefined;
34
- status_updated_at?: string | undefined;
35
- availability_control?: string | undefined;
36
- channel_availability?: {
37
- channel?: string | undefined;
38
- available?: boolean | undefined;
39
- logged_in?: boolean | undefined;
40
- status_id?: number | undefined;
41
- assignment_limit?: number | undefined;
42
- round_robin_enabled?: boolean | undefined;
43
- availability_updated_at?: string | undefined;
44
- current_assignment_load?: number | undefined;
45
- }[] | undefined;
46
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
34
  //#endregion
48
35
  export { freshdeskUpdateAgentAvailability };
49
36
  //# sourceMappingURL=update-agent-availability.d.mts.map
@@ -6,29 +6,29 @@ const FreshdeskUpdateAgentAvailabilityInput = z.object({
6
6
  channel_availability: z.array(z.object({
7
7
  channel: z.string().describe("Name of the channel for which to update availability (e.g., 'freshdesk', 'email', 'chat', 'phone')"),
8
8
  assignment_limit: z.number().int().describe("Maximum number of tickets that can be assigned to the agent for this channel")
9
- })).describe("Array of channel availability settings to update for the agent. Each object specifies the channel name and its assignment limit.")
9
+ }).passthrough()).describe("Array of channel availability settings to update for the agent. Each object specifies the channel name and its assignment limit.")
10
10
  });
11
11
  const FreshdeskUpdateAgentAvailability_ChannelAvailabilitySchema = z.object({
12
- channel: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the channel (e.g., 'freshdesk', 'email', 'chat', 'phone')").optional()),
13
- available: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the agent is available for new assignments in this channel").optional()),
14
- logged_in: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the agent is currently logged in to this channel").optional()),
15
- status_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Identifier of the agent's current status in this channel").optional()),
16
- assignment_limit: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Maximum number of assignments allowed for the agent in this channel").optional()),
17
- round_robin_enabled: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether round-robin ticket assignment is enabled for this channel").optional()),
18
- availability_updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of when the availability was last updated for this channel, in ISO 8601 format").optional()),
19
- current_assignment_load: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Current number of assignments the agent has in this channel").optional())
20
- });
12
+ channel: z.string().describe("Name of the channel (e.g., 'freshdesk', 'email', 'chat', 'phone')").nullable().optional(),
13
+ available: z.boolean().describe("Indicates whether the agent is available for new assignments in this channel").nullable().optional(),
14
+ logged_in: z.boolean().describe("Indicates whether the agent is currently logged in to this channel").nullable().optional(),
15
+ status_id: z.number().int().describe("Identifier of the agent's current status in this channel").nullable().optional(),
16
+ assignment_limit: z.number().int().describe("Maximum number of assignments allowed for the agent in this channel").nullable().optional(),
17
+ round_robin_enabled: z.boolean().describe("Indicates whether round-robin ticket assignment is enabled for this channel").nullable().optional(),
18
+ availability_updated_at: z.string().describe("Timestamp of when the availability was last updated for this channel, in ISO 8601 format").nullable().optional(),
19
+ current_assignment_load: z.number().int().describe("Current number of assignments the agent has in this channel").nullable().optional()
20
+ }).passthrough();
21
21
  const freshdeskUpdateAgentAvailability = action("FRESHDESK_UPDATE_AGENT_AVAILABILITY", {
22
22
  slug: "freshdesk-update-agent-availability",
23
23
  name: "Update Agent Availability",
24
24
  description: "Tool to update agent availability settings in Freshdesk. Use when you need to modify an agent's load settings by changing assignment limits for different channels.",
25
25
  input: FreshdeskUpdateAgentAvailabilityInput,
26
26
  output: z.object({
27
- agent_ref: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL reference to the agent's resource").optional()),
28
- status_updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of when the agent's status was last updated, in ISO 8601 format").optional()),
29
- availability_control: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Type of availability control for the agent (e.g., 'manual', 'automatic')").optional()),
30
- channel_availability: z.preprocess((value) => value === null ? void 0 : value, z.array(FreshdeskUpdateAgentAvailability_ChannelAvailabilitySchema).describe("List of updated availability information for each channel the agent is configured to handle").optional())
31
- })
27
+ agent_ref: z.string().describe("URL reference to the agent's resource").nullable().optional(),
28
+ status_updated_at: z.string().describe("Timestamp of when the agent's status was last updated, in ISO 8601 format").nullable().optional(),
29
+ availability_control: z.string().describe("Type of availability control for the agent (e.g., 'manual', 'automatic')").nullable().optional(),
30
+ channel_availability: z.array(FreshdeskUpdateAgentAvailability_ChannelAvailabilitySchema).describe("List of updated availability information for each channel the agent is configured to handle").nullable().optional()
31
+ }).passthrough()
32
32
  });
33
33
  //#endregion
34
34
  export { freshdeskUpdateAgentAvailability };
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-availability.mjs","names":[],"sources":["../../src/actions/update-agent-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateAgentAvailabilityInput = z.object({\n agent_id: z.number().int().describe(\"The unique identifier of the agent whose availability settings are to be updated\"),\n channel_availability: z.array(z.object({\n channel: z.string().describe(\"Name of the channel for which to update availability (e.g., 'freshdesk', 'email', 'chat', 'phone')\"),\n assignment_limit: z.number().int().describe(\"Maximum number of tickets that can be assigned to the agent for this channel\"),\n})).describe(\"Array of channel availability settings to update for the agent. Each object specifies the channel name and its assignment limit.\"),\n});\nconst FreshdeskUpdateAgentAvailability_ChannelAvailabilitySchema = z.object({\n channel: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the channel (e.g., 'freshdesk', 'email', 'chat', 'phone')\").optional()),\n available: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent is available for new assignments in this channel\").optional()),\n logged_in: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent is currently logged in to this channel\").optional()),\n status_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Identifier of the agent's current status in this channel\").optional()),\n assignment_limit: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Maximum number of assignments allowed for the agent in this channel\").optional()),\n round_robin_enabled: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether round-robin ticket assignment is enabled for this channel\").optional()),\n availability_updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of when the availability was last updated for this channel, in ISO 8601 format\").optional()),\n current_assignment_load: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Current number of assignments the agent has in this channel\").optional()),\n});\nexport const FreshdeskUpdateAgentAvailabilityOutput = z.object({\n agent_ref: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL reference to the agent's resource\").optional()),\n status_updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of when the agent's status was last updated, in ISO 8601 format\").optional()),\n availability_control: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Type of availability control for the agent (e.g., 'manual', 'automatic')\").optional()),\n channel_availability: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskUpdateAgentAvailability_ChannelAvailabilitySchema).describe(\"List of updated availability information for each channel the agent is configured to handle\").optional()),\n});\n\nexport const freshdeskUpdateAgentAvailability = action(\"FRESHDESK_UPDATE_AGENT_AVAILABILITY\", {\n slug: \"freshdesk-update-agent-availability\",\n name: \"Update Agent Availability\",\n description: \"Tool to update agent availability settings in Freshdesk. Use when you need to modify an agent's load settings by changing assignment limits for different channels.\",\n input: FreshdeskUpdateAgentAvailabilityInput,\n output: FreshdeskUpdateAgentAvailabilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF;CACtH,sBAAsB,EAAE,MAAM,EAAE,OAAO;EACvC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;EACjI,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E;CAC5H,CAAC,CAAC,CAAC,CAAC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AAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;EAChJ,mBAAmB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC;EAC5L,sBAAsB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC;EAC9L,sBAAsB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC;CAC5Q,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"update-agent-availability.mjs","names":[],"sources":["../../src/actions/update-agent-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateAgentAvailabilityInput = z.object({\n agent_id: z.number().int().describe(\"The unique identifier of the agent whose availability settings are to be updated\"),\n channel_availability: z.array(z.object({\n channel: z.string().describe(\"Name of the channel for which to update availability (e.g., 'freshdesk', 'email', 'chat', 'phone')\"),\n assignment_limit: z.number().int().describe(\"Maximum number of tickets that can be assigned to the agent for this channel\"),\n}).passthrough()).describe(\"Array of channel availability settings to update for the agent. Each object specifies the channel name and its assignment limit.\"),\n});\nconst FreshdeskUpdateAgentAvailability_ChannelAvailabilitySchema = z.object({\n channel: z.string().describe(\"Name of the channel (e.g., 'freshdesk', 'email', 'chat', 'phone')\").nullable().optional(),\n available: z.boolean().describe(\"Indicates whether the agent is available for new assignments in this channel\").nullable().optional(),\n logged_in: z.boolean().describe(\"Indicates whether the agent is currently logged in to this channel\").nullable().optional(),\n status_id: z.number().int().describe(\"Identifier of the agent's current status in this channel\").nullable().optional(),\n assignment_limit: z.number().int().describe(\"Maximum number of assignments allowed for the agent in this channel\").nullable().optional(),\n round_robin_enabled: z.boolean().describe(\"Indicates whether round-robin ticket assignment is enabled for this channel\").nullable().optional(),\n availability_updated_at: z.string().describe(\"Timestamp of when the availability was last updated for this channel, in ISO 8601 format\").nullable().optional(),\n current_assignment_load: z.number().int().describe(\"Current number of assignments the agent has in this channel\").nullable().optional(),\n}).passthrough();\nexport const FreshdeskUpdateAgentAvailabilityOutput = z.object({\n agent_ref: z.string().describe(\"URL reference to the agent's resource\").nullable().optional(),\n status_updated_at: z.string().describe(\"Timestamp of when the agent's status was last updated, in ISO 8601 format\").nullable().optional(),\n availability_control: z.string().describe(\"Type of availability control for the agent (e.g., 'manual', 'automatic')\").nullable().optional(),\n channel_availability: z.array(FreshdeskUpdateAgentAvailability_ChannelAvailabilitySchema).describe(\"List of updated availability information for each channel the agent is configured to handle\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateAgentAvailability = action(\"FRESHDESK_UPDATE_AGENT_AVAILABILITY\", {\n slug: \"freshdesk-update-agent-availability\",\n name: \"Update Agent Availability\",\n description: \"Tool to update agent availability settings in Freshdesk. Use when you need to modify an agent's load settings by changing assignment limits for different channels.\",\n input: FreshdeskUpdateAgentAvailabilityInput,\n output: FreshdeskUpdateAgentAvailabilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF;CACtH,sBAAsB,EAAE,MAAM,EAAE,OAAO;EACvC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;EACjI,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC7J,CAAC;AACD,MAAM,6DAA6D,EAAE,OAAO;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SA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43 +24,43 @@ const FreshdeskUpdateAgentInput = zod.z.object({
24
24
  ]).describe("Ticket permission scope.").optional()
25
25
  });
26
26
  const FreshdeskUpdateAgent_UpdateAgentContactSchema = zod.z.object({
27
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the agent").optional()),
28
- email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Email address of the agent").optional()),
29
- phone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Phone number of the agent").optional()),
30
- active: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Indicates whether the contact is active").optional()),
31
- mobile: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Mobile phone number of the agent").optional()),
32
- language: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Language preference of the agent (e.g., 'en' for English)").optional()),
33
- job_title: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Job title of the agent").optional()),
34
- time_zone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Time zone of the agent (e.g., 'Chennai', 'Pacific Time (US & Canada)')").optional()),
35
- created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp of when the contact was created, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
36
- updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp of when the contact was last updated, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
37
- last_login_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp of when the agent last logged in, in the format YYYY-MM-DDTHH:MM:SS+TZ").optional())
38
- });
27
+ name: zod.z.string().describe("Name of the agent").nullable().optional(),
28
+ email: zod.z.string().describe("Email address of the agent").nullable().optional(),
29
+ phone: zod.z.string().describe("Phone number of the agent").nullable().optional(),
30
+ active: zod.z.boolean().describe("Indicates whether the contact is active").nullable().optional(),
31
+ mobile: zod.z.string().describe("Mobile phone number of the agent").nullable().optional(),
32
+ language: zod.z.string().describe("Language preference of the agent (e.g., 'en' for English)").nullable().optional(),
33
+ job_title: zod.z.string().describe("Job title of the agent").nullable().optional(),
34
+ time_zone: zod.z.string().describe("Time zone of the agent (e.g., 'Chennai', 'Pacific Time (US & Canada)')").nullable().optional(),
35
+ created_at: zod.z.string().describe("Timestamp of when the contact was created, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
36
+ updated_at: zod.z.string().describe("Timestamp of when the contact was last updated, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
37
+ last_login_at: zod.z.string().describe("Timestamp of when the agent last logged in, in the format YYYY-MM-DDTHH:MM:SS+TZ").nullable().optional()
38
+ }).passthrough();
39
39
  const FreshdeskUpdateAgent_TicketScopeSchema = zod.z.enum([
40
40
  "global_access",
41
41
  "group_access",
42
42
  "restricted_access"
43
43
  ]);
44
44
  const FreshdeskUpdateAgentOutput = zod.z.object({
45
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the agent, auto-generated when the agent's information is configured in the system").optional()),
46
- type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Type of agent (e.g., support_agent, field_agent)").optional()),
47
- contact: zod.z.preprocess((value) => value === null ? void 0 : value, FreshdeskUpdateAgent_UpdateAgentContactSchema.optional()),
48
- role_ids: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.number().int()).describe("Identifiers of the roles assigned to the agent, specified as an array of integers").optional()),
49
- available: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Specifies whether the agent is available for ticket assignment").optional()),
50
- 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 of integers").optional()),
51
- signature: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Signature of the agent that will be appended to their responses").optional()),
52
- skill_ids: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.number().int()).describe("Identifiers of the skills assigned to the agent, specified as an array of integers").optional()),
53
- created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp of when the agent's record was created in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
54
- focus_mode: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Indicates whether the agent has focus mode enabled to concentrate on specific tasks").optional()),
55
- occasional: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Indicates whether the agent is an occasional agent (true) or a full-time agent (false)").optional()),
56
- updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp of when the agent's record was last updated in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
57
- deactivated: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the agent account is deactivated").optional()),
58
- ticket_scope: zod.z.preprocess((value) => value === null ? void 0 : value, FreshdeskUpdateAgent_TicketScopeSchema.optional()),
59
- last_active_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp of agent's last activity in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
60
- 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, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
61
- freshchat_agent: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Indicates whether the agent is a Freshchat agent. Only visible if the Freshdesk account is an Omnichannel account").optional()),
62
- freshcaller_agent: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Indicates whether the agent is a Freshcaller agent. Only visible if the Freshdesk account is an Omnichannel account").optional())
63
- });
45
+ id: zod.z.number().int().describe("Unique identifier of the agent, auto-generated when the agent's information is configured in the system").nullable().optional(),
46
+ type: zod.z.string().describe("Type of agent (e.g., support_agent, field_agent)").nullable().optional(),
47
+ contact: FreshdeskUpdateAgent_UpdateAgentContactSchema.nullable().optional(),
48
+ role_ids: zod.z.array(zod.z.number().int()).describe("Identifiers of the roles assigned to the agent, specified as an array of integers").nullable().optional(),
49
+ available: zod.z.boolean().describe("Specifies whether the agent is available for ticket assignment").nullable().optional(),
50
+ group_ids: zod.z.array(zod.z.number().int()).describe("Identifiers of the groups to which the agent is associated, specified as an array of integers").nullable().optional(),
51
+ signature: zod.z.string().describe("Signature of the agent that will be appended to their responses").nullable().optional(),
52
+ skill_ids: zod.z.array(zod.z.number().int()).describe("Identifiers of the skills assigned to the agent, specified as an array of integers").nullable().optional(),
53
+ created_at: zod.z.string().describe("Timestamp of when the agent's record was created in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
54
+ focus_mode: zod.z.boolean().describe("Indicates whether the agent has focus mode enabled to concentrate on specific tasks").nullable().optional(),
55
+ occasional: zod.z.boolean().describe("Indicates whether the agent is an occasional agent (true) or a full-time agent (false)").nullable().optional(),
56
+ updated_at: zod.z.string().describe("Timestamp of when the agent's record was last updated in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
57
+ deactivated: zod.z.boolean().describe("Whether the agent account is deactivated").nullable().optional(),
58
+ ticket_scope: FreshdeskUpdateAgent_TicketScopeSchema.nullable().optional(),
59
+ last_active_at: zod.z.string().describe("Timestamp of agent's last activity in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
60
+ available_since: zod.z.string().describe("Timestamp of since when the agent has been available for ticket assignment, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
61
+ freshchat_agent: zod.z.boolean().describe("Indicates whether the agent is a Freshchat agent. Only visible if the Freshdesk account is an Omnichannel account").nullable().optional(),
62
+ freshcaller_agent: zod.z.boolean().describe("Indicates whether the agent is a Freshcaller agent. Only visible if the Freshdesk account is an Omnichannel account").nullable().optional()
63
+ }).passthrough();
64
64
  const freshdeskUpdateAgent = require_action.action("FRESHDESK_UPDATE_AGENT", {
65
65
  slug: "freshdesk-update-agent",
66
66
  name: "Update Agent",
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent.cjs","names":["z","action"],"sources":["../../src/actions/update-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateAgentInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the agent to update\"),\n email: z.string().describe(\"Email address of the Agent\").optional(),\n language: z.string().describe(\"Agent language preference, defaults to en\").optional(),\n role_ids: z.array(z.number().int()).describe(\"Array of role identifiers\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group identifiers\").optional(),\n signature: z.string().describe(\"Signature of the agent in HTML format\").optional(),\n skill_ids: z.array(z.number().int()).describe(\"Array of skill identifiers\").optional(),\n time_zone: z.string().describe(\"Agent timezone setting\").optional(),\n agent_type: z.enum([\"support\", \"field\", \"collaborator\"]).describe(\"Agent classification.\").optional(),\n focus_mode: z.boolean().describe(\"Focus mode toggle, defaults to true\").optional(),\n occasional: z.boolean().describe(\"Agent employment type indicator - true for occasional, false for full-time\").optional(),\n ticket_scope: z.enum([\"global_access\", \"group_access\", \"restricted_access\"]).describe(\"Ticket permission scope.\").optional(),\n});\nconst FreshdeskUpdateAgent_UpdateAgentContactSchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the agent\").optional()),\n email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Email address of the agent\").optional()),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number of the agent\").optional()),\n active: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the contact is active\").optional()),\n mobile: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile phone number of the agent\").optional()),\n language: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Language preference of the agent (e.g., 'en' for English)\").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 of the agent (e.g., 'Chennai', 'Pacific Time (US & Canada)')\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of when the contact was created, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of when the contact was last updated, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n last_login_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of when the agent last logged in, in the format YYYY-MM-DDTHH:MM:SS+TZ\").optional()),\n});\nconst FreshdeskUpdateAgent_TicketScopeSchema = z.enum([\"global_access\", \"group_access\", \"restricted_access\"]);\nexport const FreshdeskUpdateAgentOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the agent, auto-generated when the agent's information is configured in the system\").optional()),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Type of agent (e.g., support_agent, field_agent)\").optional()),\n contact: z.preprocess((value) => (value === null ? undefined : value), FreshdeskUpdateAgent_UpdateAgentContactSchema.optional()),\n role_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Identifiers of the roles assigned to the agent, specified as an array of integers\").optional()),\n available: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Specifies whether the agent is available for ticket assignment\").optional()),\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 of integers\").optional()),\n signature: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Signature of the agent that will be appended to their responses\").optional()),\n skill_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Identifiers of the skills assigned to the agent, specified as an array of integers\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of when the agent's record was created in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n focus_mode: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent has focus mode enabled to concentrate on specific tasks\").optional()),\n occasional: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent is an occasional agent (true) or a full-time agent (false)\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of when the agent's record was last updated in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n deactivated: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the agent account is deactivated\").optional()),\n ticket_scope: z.preprocess((value) => (value === null ? undefined : value), FreshdeskUpdateAgent_TicketScopeSchema.optional()),\n last_active_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of agent's last activity in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").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, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n freshchat_agent: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent is a Freshchat agent. Only visible if the Freshdesk account is an Omnichannel account\").optional()),\n freshcaller_agent: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent is a Freshcaller agent. Only visible if the Freshdesk account is an Omnichannel account\").optional()),\n});\n\nexport const freshdeskUpdateAgent = action(\"FRESHDESK_UPDATE_AGENT\", {\n slug: \"freshdesk-update-agent\",\n name: \"Update Agent\",\n description: \"Tool to update an existing agent's information in Freshdesk. Use when you need to modify agent details such as email, permissions, signature, skills, groups, roles, or focus mode.\",\n input: FreshdeskUpdateAgentInput,\n output: FreshdeskUpdateAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4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,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC;CACjO,iBAAiBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC;CACnO,mBAAmBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC;AACzO,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-agent.cjs","names":["z","action"],"sources":["../../src/actions/update-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateAgentInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the agent to update\"),\n email: z.string().describe(\"Email address of the Agent\").optional(),\n language: z.string().describe(\"Agent language preference, defaults to en\").optional(),\n role_ids: z.array(z.number().int()).describe(\"Array of role identifiers\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group identifiers\").optional(),\n signature: z.string().describe(\"Signature of the agent in HTML format\").optional(),\n skill_ids: z.array(z.number().int()).describe(\"Array of skill identifiers\").optional(),\n time_zone: z.string().describe(\"Agent timezone setting\").optional(),\n agent_type: z.enum([\"support\", \"field\", \"collaborator\"]).describe(\"Agent classification.\").optional(),\n focus_mode: z.boolean().describe(\"Focus mode toggle, defaults to true\").optional(),\n occasional: z.boolean().describe(\"Agent employment type indicator - true for occasional, false for full-time\").optional(),\n ticket_scope: z.enum([\"global_access\", \"group_access\", \"restricted_access\"]).describe(\"Ticket permission scope.\").optional(),\n});\nconst FreshdeskUpdateAgent_UpdateAgentContactSchema = z.object({\n name: z.string().describe(\"Name of the agent\").nullable().optional(),\n email: z.string().describe(\"Email address of the agent\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the agent\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the contact is active\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number of the agent\").nullable().optional(),\n language: z.string().describe(\"Language preference of the agent (e.g., 'en' for English)\").nullable().optional(),\n job_title: z.string().describe(\"Job title of the agent\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone of the agent (e.g., 'Chennai', 'Pacific Time (US & Canada)')\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the contact was created, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of when the contact was last updated, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n last_login_at: z.string().describe(\"Timestamp of when the agent last logged in, in the format YYYY-MM-DDTHH:MM:SS+TZ\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAgent_TicketScopeSchema = z.enum([\"global_access\", \"group_access\", \"restricted_access\"]);\nexport const FreshdeskUpdateAgentOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the agent, auto-generated when the agent's information is configured in the system\").nullable().optional(),\n type: z.string().describe(\"Type of agent (e.g., support_agent, field_agent)\").nullable().optional(),\n contact: FreshdeskUpdateAgent_UpdateAgentContactSchema.nullable().optional(),\n role_ids: z.array(z.number().int()).describe(\"Identifiers of the roles assigned to the agent, specified as an array of integers\").nullable().optional(),\n available: z.boolean().describe(\"Specifies whether the agent is available for ticket assignment\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Identifiers of the groups to which the agent is associated, specified as an array of integers\").nullable().optional(),\n signature: z.string().describe(\"Signature of the agent that will be appended to their responses\").nullable().optional(),\n skill_ids: z.array(z.number().int()).describe(\"Identifiers of the skills assigned to the agent, specified as an array of integers\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the agent's record was created in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n focus_mode: z.boolean().describe(\"Indicates whether the agent has focus mode enabled to concentrate on specific tasks\").nullable().optional(),\n occasional: z.boolean().describe(\"Indicates 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 was last updated in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n deactivated: z.boolean().describe(\"Whether the agent account is deactivated\").nullable().optional(),\n ticket_scope: FreshdeskUpdateAgent_TicketScopeSchema.nullable().optional(),\n last_active_at: z.string().describe(\"Timestamp of agent's last activity in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n available_since: z.string().describe(\"Timestamp of since when the agent has been available for ticket assignment, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n freshchat_agent: z.boolean().describe(\"Indicates whether the agent is a Freshchat agent. Only visible if the Freshdesk account is an Omnichannel account\").nullable().optional(),\n freshcaller_agent: z.boolean().describe(\"Indicates whether the agent is a Freshcaller agent. Only visible if the Freshdesk account is an Omnichannel account\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateAgent = action(\"FRESHDESK_UPDATE_AGENT\", {\n slug: \"freshdesk-update-agent\",\n name: \"Update Agent\",\n description: \"Tool to update an existing agent's information in Freshdesk. Use when you need to modify agent details such as email, permissions, signature, skills, groups, roles, or focus mode.\",\n input: FreshdeskUpdateAgentInput,\n output: FreshdeskUpdateAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,C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C,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7K,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -24,41 +24,41 @@ declare const FreshdeskUpdateAgentInput: z.ZodObject<{
24
24
  }>>;
25
25
  }, z.core.$strip>;
26
26
  declare const FreshdeskUpdateAgentOutput: z.ZodObject<{
27
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
28
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- contact: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
30
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
33
- active: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
34
- mobile: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
35
- language: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
- job_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
- time_zone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
38
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
39
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
40
- last_login_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
41
- }, z.core.$strip>>>;
42
- role_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
43
- available: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
44
- group_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
45
- signature: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
46
- skill_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
47
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
48
- focus_mode: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
49
- occasional: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
50
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
51
- deactivated: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
52
- ticket_scope: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
34
+ mobile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ job_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ last_login_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$loose>>>;
42
+ role_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
43
+ available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
44
+ group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
45
+ signature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ skill_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
47
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ focus_mode: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ occasional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
50
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ deactivated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
52
+ ticket_scope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
53
53
  global_access: "global_access";
54
54
  group_access: "group_access";
55
55
  restricted_access: "restricted_access";
56
56
  }>>>;
57
- last_active_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
58
- available_since: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
59
- freshchat_agent: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
60
- freshcaller_agent: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
61
- }, z.core.$strip>;
57
+ last_active_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ available_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ freshchat_agent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
60
+ freshcaller_agent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
61
+ }, z.core.$loose>;
62
62
  declare const freshdeskUpdateAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
63
63
  id: number;
64
64
  email?: string | undefined;
@@ -72,38 +72,7 @@ declare const freshdeskUpdateAgent: import("@keystrokehq/action").WorkflowAction
72
72
  focus_mode?: boolean | undefined;
73
73
  occasional?: boolean | undefined;
74
74
  ticket_scope?: "global_access" | "group_access" | "restricted_access" | undefined;
75
- }, {
76
- id?: number | undefined;
77
- type?: string | undefined;
78
- contact?: {
79
- name?: string | undefined;
80
- email?: string | undefined;
81
- phone?: string | undefined;
82
- active?: boolean | undefined;
83
- mobile?: string | undefined;
84
- language?: string | undefined;
85
- job_title?: string | undefined;
86
- time_zone?: string | undefined;
87
- created_at?: string | undefined;
88
- updated_at?: string | undefined;
89
- last_login_at?: string | undefined;
90
- } | undefined;
91
- role_ids?: number[] | undefined;
92
- available?: boolean | undefined;
93
- group_ids?: number[] | undefined;
94
- signature?: string | undefined;
95
- skill_ids?: number[] | undefined;
96
- created_at?: string | undefined;
97
- focus_mode?: boolean | undefined;
98
- occasional?: boolean | undefined;
99
- updated_at?: string | undefined;
100
- deactivated?: boolean | undefined;
101
- ticket_scope?: "global_access" | "group_access" | "restricted_access" | undefined;
102
- last_active_at?: string | undefined;
103
- available_since?: string | undefined;
104
- freshchat_agent?: boolean | undefined;
105
- freshcaller_agent?: boolean | undefined;
106
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
75
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
107
76
  //#endregion
108
77
  export { freshdeskUpdateAgent };
109
78
  //# sourceMappingURL=update-agent.d.cts.map
@@ -24,41 +24,41 @@ declare const FreshdeskUpdateAgentInput: z.ZodObject<{
24
24
  }>>;
25
25
  }, z.core.$strip>;
26
26
  declare const FreshdeskUpdateAgentOutput: z.ZodObject<{
27
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
28
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- contact: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
30
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
33
- active: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
34
- mobile: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
35
- language: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
- job_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
- time_zone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
38
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
39
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
40
- last_login_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
41
- }, z.core.$strip>>>;
42
- role_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
43
- available: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
44
- group_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
45
- signature: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
46
- skill_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
47
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
48
- focus_mode: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
49
- occasional: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
50
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
51
- deactivated: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
52
- ticket_scope: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
34
+ mobile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ job_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ last_login_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$loose>>>;
42
+ role_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
43
+ available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
44
+ group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
45
+ signature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ skill_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
47
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ focus_mode: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ occasional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
50
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ deactivated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
52
+ ticket_scope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
53
53
  global_access: "global_access";
54
54
  group_access: "group_access";
55
55
  restricted_access: "restricted_access";
56
56
  }>>>;
57
- last_active_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
58
- available_since: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
59
- freshchat_agent: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
60
- freshcaller_agent: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
61
- }, z.core.$strip>;
57
+ last_active_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ available_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ freshchat_agent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
60
+ freshcaller_agent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
61
+ }, z.core.$loose>;
62
62
  declare const freshdeskUpdateAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
63
63
  id: number;
64
64
  email?: string | undefined;
@@ -72,38 +72,7 @@ declare const freshdeskUpdateAgent: import("@keystrokehq/action").WorkflowAction
72
72
  focus_mode?: boolean | undefined;
73
73
  occasional?: boolean | undefined;
74
74
  ticket_scope?: "global_access" | "group_access" | "restricted_access" | undefined;
75
- }, {
76
- id?: number | undefined;
77
- type?: string | undefined;
78
- contact?: {
79
- name?: string | undefined;
80
- email?: string | undefined;
81
- phone?: string | undefined;
82
- active?: boolean | undefined;
83
- mobile?: string | undefined;
84
- language?: string | undefined;
85
- job_title?: string | undefined;
86
- time_zone?: string | undefined;
87
- created_at?: string | undefined;
88
- updated_at?: string | undefined;
89
- last_login_at?: string | undefined;
90
- } | undefined;
91
- role_ids?: number[] | undefined;
92
- available?: boolean | undefined;
93
- group_ids?: number[] | undefined;
94
- signature?: string | undefined;
95
- skill_ids?: number[] | undefined;
96
- created_at?: string | undefined;
97
- focus_mode?: boolean | undefined;
98
- occasional?: boolean | undefined;
99
- updated_at?: string | undefined;
100
- deactivated?: boolean | undefined;
101
- ticket_scope?: "global_access" | "group_access" | "restricted_access" | undefined;
102
- last_active_at?: string | undefined;
103
- available_since?: string | undefined;
104
- freshchat_agent?: boolean | undefined;
105
- freshcaller_agent?: boolean | undefined;
106
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
75
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
107
76
  //#endregion
108
77
  export { freshdeskUpdateAgent };
109
78
  //# sourceMappingURL=update-agent.d.mts.map
@@ -24,18 +24,18 @@ const FreshdeskUpdateAgentInput = z.object({
24
24
  ]).describe("Ticket permission scope.").optional()
25
25
  });
26
26
  const FreshdeskUpdateAgent_UpdateAgentContactSchema = z.object({
27
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the agent").optional()),
28
- email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Email address of the agent").optional()),
29
- phone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Phone number of the agent").optional()),
30
- active: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the contact is active").optional()),
31
- mobile: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile phone number of the agent").optional()),
32
- language: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Language preference of the agent (e.g., 'en' for English)").optional()),
33
- job_title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Job title of the agent").optional()),
34
- time_zone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Time zone of the agent (e.g., 'Chennai', 'Pacific Time (US & Canada)')").optional()),
35
- created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of when the contact was created, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
36
- updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of when the contact was last updated, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
37
- last_login_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of when the agent last logged in, in the format YYYY-MM-DDTHH:MM:SS+TZ").optional())
38
- });
27
+ name: z.string().describe("Name of the agent").nullable().optional(),
28
+ email: z.string().describe("Email address of the agent").nullable().optional(),
29
+ phone: z.string().describe("Phone number of the agent").nullable().optional(),
30
+ active: z.boolean().describe("Indicates whether the contact is active").nullable().optional(),
31
+ mobile: z.string().describe("Mobile phone number of the agent").nullable().optional(),
32
+ language: z.string().describe("Language preference of the agent (e.g., 'en' for English)").nullable().optional(),
33
+ job_title: z.string().describe("Job title of the agent").nullable().optional(),
34
+ time_zone: z.string().describe("Time zone of the agent (e.g., 'Chennai', 'Pacific Time (US & Canada)')").nullable().optional(),
35
+ created_at: z.string().describe("Timestamp of when the contact was created, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
36
+ updated_at: z.string().describe("Timestamp of when the contact was last updated, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
37
+ last_login_at: z.string().describe("Timestamp of when the agent last logged in, in the format YYYY-MM-DDTHH:MM:SS+TZ").nullable().optional()
38
+ }).passthrough();
39
39
  const FreshdeskUpdateAgent_TicketScopeSchema = z.enum([
40
40
  "global_access",
41
41
  "group_access",
@@ -47,25 +47,25 @@ const freshdeskUpdateAgent = action("FRESHDESK_UPDATE_AGENT", {
47
47
  description: "Tool to update an existing agent's information in Freshdesk. Use when you need to modify agent details such as email, permissions, signature, skills, groups, roles, or focus mode.",
48
48
  input: FreshdeskUpdateAgentInput,
49
49
  output: z.object({
50
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the agent, auto-generated when the agent's information is configured in the system").optional()),
51
- type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Type of agent (e.g., support_agent, field_agent)").optional()),
52
- contact: z.preprocess((value) => value === null ? void 0 : value, FreshdeskUpdateAgent_UpdateAgentContactSchema.optional()),
53
- role_ids: z.preprocess((value) => value === null ? void 0 : value, z.array(z.number().int()).describe("Identifiers of the roles assigned to the agent, specified as an array of integers").optional()),
54
- available: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Specifies whether the agent is available for ticket assignment").optional()),
55
- group_ids: z.preprocess((value) => value === null ? void 0 : value, z.array(z.number().int()).describe("Identifiers of the groups to which the agent is associated, specified as an array of integers").optional()),
56
- signature: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Signature of the agent that will be appended to their responses").optional()),
57
- skill_ids: z.preprocess((value) => value === null ? void 0 : value, z.array(z.number().int()).describe("Identifiers of the skills assigned to the agent, specified as an array of integers").optional()),
58
- created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of when the agent's record was created in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
59
- focus_mode: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the agent has focus mode enabled to concentrate on specific tasks").optional()),
60
- occasional: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the agent is an occasional agent (true) or a full-time agent (false)").optional()),
61
- updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of when the agent's record was last updated in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
62
- deactivated: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the agent account is deactivated").optional()),
63
- ticket_scope: z.preprocess((value) => value === null ? void 0 : value, FreshdeskUpdateAgent_TicketScopeSchema.optional()),
64
- last_active_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of agent's last activity in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
65
- available_since: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of since when the agent has been available for ticket assignment, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
66
- freshchat_agent: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the agent is a Freshchat agent. Only visible if the Freshdesk account is an Omnichannel account").optional()),
67
- freshcaller_agent: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the agent is a Freshcaller agent. Only visible if the Freshdesk account is an Omnichannel account").optional())
68
- })
50
+ id: z.number().int().describe("Unique identifier of the agent, auto-generated when the agent's information is configured in the system").nullable().optional(),
51
+ type: z.string().describe("Type of agent (e.g., support_agent, field_agent)").nullable().optional(),
52
+ contact: FreshdeskUpdateAgent_UpdateAgentContactSchema.nullable().optional(),
53
+ role_ids: z.array(z.number().int()).describe("Identifiers of the roles assigned to the agent, specified as an array of integers").nullable().optional(),
54
+ available: z.boolean().describe("Specifies whether the agent is available for ticket assignment").nullable().optional(),
55
+ group_ids: z.array(z.number().int()).describe("Identifiers of the groups to which the agent is associated, specified as an array of integers").nullable().optional(),
56
+ signature: z.string().describe("Signature of the agent that will be appended to their responses").nullable().optional(),
57
+ skill_ids: z.array(z.number().int()).describe("Identifiers of the skills assigned to the agent, specified as an array of integers").nullable().optional(),
58
+ created_at: z.string().describe("Timestamp of when the agent's record was created in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
59
+ focus_mode: z.boolean().describe("Indicates whether the agent has focus mode enabled to concentrate on specific tasks").nullable().optional(),
60
+ occasional: z.boolean().describe("Indicates whether the agent is an occasional agent (true) or a full-time agent (false)").nullable().optional(),
61
+ updated_at: z.string().describe("Timestamp of when the agent's record was last updated in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
62
+ deactivated: z.boolean().describe("Whether the agent account is deactivated").nullable().optional(),
63
+ ticket_scope: FreshdeskUpdateAgent_TicketScopeSchema.nullable().optional(),
64
+ last_active_at: z.string().describe("Timestamp of agent's last activity in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
65
+ available_since: z.string().describe("Timestamp of since when the agent has been available for ticket assignment, in UTC format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
66
+ freshchat_agent: z.boolean().describe("Indicates whether the agent is a Freshchat agent. Only visible if the Freshdesk account is an Omnichannel account").nullable().optional(),
67
+ freshcaller_agent: z.boolean().describe("Indicates whether the agent is a Freshcaller agent. Only visible if the Freshdesk account is an Omnichannel account").nullable().optional()
68
+ }).passthrough()
69
69
  });
70
70
  //#endregion
71
71
  export { freshdeskUpdateAgent };