@keystrokehq/freshdesk 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1097) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-note-to-ticket.cjs +21 -21
  4. package/dist/actions/add-note-to-ticket.cjs.map +1 -1
  5. package/dist/actions/add-note-to-ticket.d.cts +22 -44
  6. package/dist/actions/add-note-to-ticket.d.mts +22 -44
  7. package/dist/actions/add-note-to-ticket.mjs +21 -21
  8. package/dist/actions/add-note-to-ticket.mjs.map +1 -1
  9. package/dist/actions/add-ticket-user-access.cjs +3 -3
  10. package/dist/actions/add-ticket-user-access.cjs.map +1 -1
  11. package/dist/actions/add-ticket-user-access.d.cts +4 -8
  12. package/dist/actions/add-ticket-user-access.d.mts +4 -8
  13. package/dist/actions/add-ticket-user-access.mjs +3 -3
  14. package/dist/actions/add-ticket-user-access.mjs.map +1 -1
  15. package/dist/actions/add-watcher.cjs +2 -2
  16. package/dist/actions/add-watcher.cjs.map +1 -1
  17. package/dist/actions/add-watcher.d.cts +3 -6
  18. package/dist/actions/add-watcher.d.mts +3 -6
  19. package/dist/actions/add-watcher.mjs +2 -2
  20. package/dist/actions/add-watcher.mjs.map +1 -1
  21. package/dist/actions/bulk-unwatch-tickets.cjs +6 -6
  22. package/dist/actions/bulk-unwatch-tickets.cjs.map +1 -1
  23. package/dist/actions/bulk-unwatch-tickets.d.cts +7 -20
  24. package/dist/actions/bulk-unwatch-tickets.d.mts +7 -20
  25. package/dist/actions/bulk-unwatch-tickets.mjs +6 -6
  26. package/dist/actions/bulk-unwatch-tickets.mjs.map +1 -1
  27. package/dist/actions/bulk-update-tickets.d.cts +1 -4
  28. package/dist/actions/bulk-update-tickets.d.mts +1 -4
  29. package/dist/actions/cancel-contact-import.cjs +8 -8
  30. package/dist/actions/cancel-contact-import.cjs.map +1 -1
  31. package/dist/actions/cancel-contact-import.d.cts +9 -19
  32. package/dist/actions/cancel-contact-import.d.mts +9 -19
  33. package/dist/actions/cancel-contact-import.mjs +8 -8
  34. package/dist/actions/cancel-contact-import.mjs.map +1 -1
  35. package/dist/actions/create-admin-group.cjs +14 -14
  36. package/dist/actions/create-admin-group.cjs.map +1 -1
  37. package/dist/actions/create-admin-group.d.cts +15 -31
  38. package/dist/actions/create-admin-group.d.mts +15 -31
  39. package/dist/actions/create-admin-group.mjs +14 -14
  40. package/dist/actions/create-admin-group.mjs.map +1 -1
  41. package/dist/actions/create-admin-ticket-field-section.cjs +8 -8
  42. package/dist/actions/create-admin-ticket-field-section.cjs.map +1 -1
  43. package/dist/actions/create-admin-ticket-field-section.d.cts +9 -18
  44. package/dist/actions/create-admin-ticket-field-section.d.mts +9 -18
  45. package/dist/actions/create-admin-ticket-field-section.mjs +8 -8
  46. package/dist/actions/create-admin-ticket-field-section.mjs.map +1 -1
  47. package/dist/actions/create-admin-ticket-field.cjs +16 -16
  48. package/dist/actions/create-admin-ticket-field.cjs.map +1 -1
  49. package/dist/actions/create-admin-ticket-field.d.cts +17 -34
  50. package/dist/actions/create-admin-ticket-field.d.mts +17 -34
  51. package/dist/actions/create-admin-ticket-field.mjs +16 -16
  52. package/dist/actions/create-admin-ticket-field.mjs.map +1 -1
  53. package/dist/actions/create-admin.cjs +13 -13
  54. package/dist/actions/create-admin.cjs.map +1 -1
  55. package/dist/actions/create-admin.d.cts +14 -28
  56. package/dist/actions/create-admin.d.mts +14 -28
  57. package/dist/actions/create-admin.mjs +13 -13
  58. package/dist/actions/create-admin.mjs.map +1 -1
  59. package/dist/actions/create-agents.cjs +2 -2
  60. package/dist/actions/create-agents.cjs.map +1 -1
  61. package/dist/actions/create-agents.d.cts +3 -6
  62. package/dist/actions/create-agents.d.mts +3 -6
  63. package/dist/actions/create-agents.mjs +2 -2
  64. package/dist/actions/create-agents.mjs.map +1 -1
  65. package/dist/actions/create-canned-response-bulk.d.cts +1 -4
  66. package/dist/actions/create-canned-response-bulk.d.mts +1 -4
  67. package/dist/actions/create-canned-response-folder.d.cts +1 -4
  68. package/dist/actions/create-canned-response-folder.d.mts +1 -4
  69. package/dist/actions/create-canned-response.cjs +18 -18
  70. package/dist/actions/create-canned-response.cjs.map +1 -1
  71. package/dist/actions/create-canned-response.d.cts +19 -39
  72. package/dist/actions/create-canned-response.d.mts +19 -39
  73. package/dist/actions/create-canned-response.mjs +18 -18
  74. package/dist/actions/create-canned-response.mjs.map +1 -1
  75. package/dist/actions/create-companies.cjs +14 -14
  76. package/dist/actions/create-companies.cjs.map +1 -1
  77. package/dist/actions/create-companies.d.cts +15 -30
  78. package/dist/actions/create-companies.d.cts.map +1 -1
  79. package/dist/actions/create-companies.d.mts +15 -30
  80. package/dist/actions/create-companies.d.mts.map +1 -1
  81. package/dist/actions/create-companies.mjs +14 -14
  82. package/dist/actions/create-companies.mjs.map +1 -1
  83. package/dist/actions/create-contact-fields.cjs +18 -18
  84. package/dist/actions/create-contact-fields.cjs.map +1 -1
  85. package/dist/actions/create-contact-fields.d.cts +19 -42
  86. package/dist/actions/create-contact-fields.d.cts.map +1 -1
  87. package/dist/actions/create-contact-fields.d.mts +19 -42
  88. package/dist/actions/create-contact-fields.d.mts.map +1 -1
  89. package/dist/actions/create-contact-fields.mjs +18 -18
  90. package/dist/actions/create-contact-fields.mjs.map +1 -1
  91. package/dist/actions/create-contact.cjs +41 -41
  92. package/dist/actions/create-contact.cjs.map +1 -1
  93. package/dist/actions/create-contact.d.cts +42 -86
  94. package/dist/actions/create-contact.d.cts.map +1 -1
  95. package/dist/actions/create-contact.d.mts +42 -86
  96. package/dist/actions/create-contact.d.mts.map +1 -1
  97. package/dist/actions/create-contact.mjs +41 -41
  98. package/dist/actions/create-contact.mjs.map +1 -1
  99. package/dist/actions/create-discussion-category.cjs +2 -2
  100. package/dist/actions/create-discussion-category.cjs.map +1 -1
  101. package/dist/actions/create-discussion-category.d.cts +3 -11
  102. package/dist/actions/create-discussion-category.d.mts +3 -11
  103. package/dist/actions/create-discussion-category.mjs +2 -2
  104. package/dist/actions/create-discussion-category.mjs.map +1 -1
  105. package/dist/actions/create-discussion-forum-topic.cjs +16 -16
  106. package/dist/actions/create-discussion-forum-topic.cjs.map +1 -1
  107. package/dist/actions/create-discussion-forum-topic.d.cts +17 -34
  108. package/dist/actions/create-discussion-forum-topic.d.mts +17 -34
  109. package/dist/actions/create-discussion-forum-topic.mjs +16 -16
  110. package/dist/actions/create-discussion-forum-topic.mjs.map +1 -1
  111. package/dist/actions/create-discussion-topic-comment.cjs +12 -12
  112. package/dist/actions/create-discussion-topic-comment.cjs.map +1 -1
  113. package/dist/actions/create-discussion-topic-comment.d.cts +13 -26
  114. package/dist/actions/create-discussion-topic-comment.d.mts +13 -26
  115. package/dist/actions/create-discussion-topic-comment.mjs +12 -12
  116. package/dist/actions/create-discussion-topic-comment.mjs.map +1 -1
  117. package/dist/actions/create-email.cjs +14 -14
  118. package/dist/actions/create-email.cjs.map +1 -1
  119. package/dist/actions/create-email.d.cts +15 -31
  120. package/dist/actions/create-email.d.mts +15 -31
  121. package/dist/actions/create-email.mjs +14 -14
  122. package/dist/actions/create-email.mjs.map +1 -1
  123. package/dist/actions/create-forum.cjs +4 -4
  124. package/dist/actions/create-forum.cjs.map +1 -1
  125. package/dist/actions/create-forum.d.cts +5 -15
  126. package/dist/actions/create-forum.d.mts +5 -15
  127. package/dist/actions/create-forum.mjs +4 -4
  128. package/dist/actions/create-forum.mjs.map +1 -1
  129. package/dist/actions/create-sla-policies.cjs +8 -8
  130. package/dist/actions/create-sla-policies.cjs.map +1 -1
  131. package/dist/actions/create-sla-policies.d.cts +9 -22
  132. package/dist/actions/create-sla-policies.d.mts +9 -22
  133. package/dist/actions/create-sla-policies.mjs +8 -8
  134. package/dist/actions/create-sla-policies.mjs.map +1 -1
  135. package/dist/actions/create-solution-article.cjs +30 -30
  136. package/dist/actions/create-solution-article.cjs.map +1 -1
  137. package/dist/actions/create-solution-article.d.cts +31 -65
  138. package/dist/actions/create-solution-article.d.cts.map +1 -1
  139. package/dist/actions/create-solution-article.d.mts +31 -65
  140. package/dist/actions/create-solution-article.d.mts.map +1 -1
  141. package/dist/actions/create-solution-article.mjs +30 -30
  142. package/dist/actions/create-solution-article.mjs.map +1 -1
  143. package/dist/actions/create-solution-category.cjs +14 -14
  144. package/dist/actions/create-solution-category.cjs.map +1 -1
  145. package/dist/actions/create-solution-category.d.cts +15 -31
  146. package/dist/actions/create-solution-category.d.cts.map +1 -1
  147. package/dist/actions/create-solution-category.d.mts +15 -31
  148. package/dist/actions/create-solution-category.d.mts.map +1 -1
  149. package/dist/actions/create-solution-category.mjs +14 -14
  150. package/dist/actions/create-solution-category.mjs.map +1 -1
  151. package/dist/actions/create-ticket-forms.cjs +3 -3
  152. package/dist/actions/create-ticket-forms.cjs.map +1 -1
  153. package/dist/actions/create-ticket-forms.d.cts +4 -33
  154. package/dist/actions/create-ticket-forms.d.mts +4 -33
  155. package/dist/actions/create-ticket-forms.mjs +3 -3
  156. package/dist/actions/create-ticket-forms.mjs.map +1 -1
  157. package/dist/actions/create-ticket-outbound-email.cjs +31 -31
  158. package/dist/actions/create-ticket-outbound-email.cjs.map +1 -1
  159. package/dist/actions/create-ticket-outbound-email.d.cts +32 -64
  160. package/dist/actions/create-ticket-outbound-email.d.cts.map +1 -1
  161. package/dist/actions/create-ticket-outbound-email.d.mts +32 -64
  162. package/dist/actions/create-ticket-outbound-email.d.mts.map +1 -1
  163. package/dist/actions/create-ticket-outbound-email.mjs +31 -31
  164. package/dist/actions/create-ticket-outbound-email.mjs.map +1 -1
  165. package/dist/actions/create-ticket-time-entry.cjs +13 -13
  166. package/dist/actions/create-ticket-time-entry.cjs.map +1 -1
  167. package/dist/actions/create-ticket-time-entry.d.cts +14 -28
  168. package/dist/actions/create-ticket-time-entry.d.mts +14 -28
  169. package/dist/actions/create-ticket-time-entry.mjs +13 -13
  170. package/dist/actions/create-ticket-time-entry.mjs.map +1 -1
  171. package/dist/actions/create-ticket.cjs +31 -31
  172. package/dist/actions/create-ticket.cjs.map +1 -1
  173. package/dist/actions/create-ticket.d.cts +32 -81
  174. package/dist/actions/create-ticket.d.cts.map +1 -1
  175. package/dist/actions/create-ticket.d.mts +32 -81
  176. package/dist/actions/create-ticket.d.mts.map +1 -1
  177. package/dist/actions/create-ticket.mjs +31 -31
  178. package/dist/actions/create-ticket.mjs.map +1 -1
  179. package/dist/actions/create-translated-solution-category.cjs +6 -6
  180. package/dist/actions/create-translated-solution-category.cjs.map +1 -1
  181. package/dist/actions/create-translated-solution-category.d.cts +7 -14
  182. package/dist/actions/create-translated-solution-category.d.mts +7 -14
  183. package/dist/actions/create-translated-solution-category.mjs +6 -6
  184. package/dist/actions/create-translated-solution-category.mjs.map +1 -1
  185. package/dist/actions/currently-authenticated-agent.cjs +32 -32
  186. package/dist/actions/currently-authenticated-agent.cjs.map +1 -1
  187. package/dist/actions/currently-authenticated-agent.d.cts +33 -77
  188. package/dist/actions/currently-authenticated-agent.d.cts.map +1 -1
  189. package/dist/actions/currently-authenticated-agent.d.mts +33 -77
  190. package/dist/actions/currently-authenticated-agent.d.mts.map +1 -1
  191. package/dist/actions/currently-authenticated-agent.mjs +32 -32
  192. package/dist/actions/currently-authenticated-agent.mjs.map +1 -1
  193. package/dist/actions/delete-admin-group.d.cts +1 -1
  194. package/dist/actions/delete-admin-group.d.cts.map +1 -1
  195. package/dist/actions/delete-admin-group.d.mts +1 -1
  196. package/dist/actions/delete-admin-group.d.mts.map +1 -1
  197. package/dist/actions/delete-agent.d.cts +1 -4
  198. package/dist/actions/delete-agent.d.mts +1 -4
  199. package/dist/actions/delete-automation-rule.cjs +2 -2
  200. package/dist/actions/delete-automation-rule.cjs.map +1 -1
  201. package/dist/actions/delete-automation-rule.d.cts +3 -6
  202. package/dist/actions/delete-automation-rule.d.mts +3 -6
  203. package/dist/actions/delete-automation-rule.mjs +2 -2
  204. package/dist/actions/delete-automation-rule.mjs.map +1 -1
  205. package/dist/actions/delete-company-field.d.cts +1 -1
  206. package/dist/actions/delete-company-field.d.cts.map +1 -1
  207. package/dist/actions/delete-company-field.d.mts +1 -1
  208. package/dist/actions/delete-company-field.d.mts.map +1 -1
  209. package/dist/actions/delete-company.d.cts +1 -1
  210. package/dist/actions/delete-company.d.cts.map +1 -1
  211. package/dist/actions/delete-company.d.mts +1 -1
  212. package/dist/actions/delete-company.d.mts.map +1 -1
  213. package/dist/actions/delete-contact-field.d.cts +1 -5
  214. package/dist/actions/delete-contact-field.d.mts +1 -5
  215. package/dist/actions/delete-contact.d.cts +1 -1
  216. package/dist/actions/delete-contact.d.cts.map +1 -1
  217. package/dist/actions/delete-contact.d.mts +1 -1
  218. package/dist/actions/delete-contact.d.mts.map +1 -1
  219. package/dist/actions/delete-conversation.d.cts +1 -1
  220. package/dist/actions/delete-conversation.d.cts.map +1 -1
  221. package/dist/actions/delete-conversation.d.mts +1 -1
  222. package/dist/actions/delete-conversation.d.mts.map +1 -1
  223. package/dist/actions/delete-discussion-category.cjs +5 -5
  224. package/dist/actions/delete-discussion-category.cjs.map +1 -1
  225. package/dist/actions/delete-discussion-category.d.cts +6 -14
  226. package/dist/actions/delete-discussion-category.d.mts +6 -14
  227. package/dist/actions/delete-discussion-category.mjs +5 -5
  228. package/dist/actions/delete-discussion-category.mjs.map +1 -1
  229. package/dist/actions/delete-discussion-comment.d.cts +1 -1
  230. package/dist/actions/delete-discussion-comment.d.cts.map +1 -1
  231. package/dist/actions/delete-discussion-comment.d.mts +1 -1
  232. package/dist/actions/delete-discussion-comment.d.mts.map +1 -1
  233. package/dist/actions/delete-discussion-forum.d.cts +1 -1
  234. package/dist/actions/delete-discussion-forum.d.cts.map +1 -1
  235. package/dist/actions/delete-discussion-forum.d.mts +1 -1
  236. package/dist/actions/delete-discussion-forum.d.mts.map +1 -1
  237. package/dist/actions/delete-discussion-topic.d.cts +1 -1
  238. package/dist/actions/delete-discussion-topic.d.cts.map +1 -1
  239. package/dist/actions/delete-discussion-topic.d.mts +1 -1
  240. package/dist/actions/delete-discussion-topic.d.mts.map +1 -1
  241. package/dist/actions/delete-discussions-forums-follow.d.cts +1 -1
  242. package/dist/actions/delete-discussions-forums-follow.d.cts.map +1 -1
  243. package/dist/actions/delete-discussions-forums-follow.d.mts +1 -1
  244. package/dist/actions/delete-discussions-forums-follow.d.mts.map +1 -1
  245. package/dist/actions/delete-discussions-topics-follow.d.cts +1 -1
  246. package/dist/actions/delete-discussions-topics-follow.d.cts.map +1 -1
  247. package/dist/actions/delete-discussions-topics-follow.d.mts +1 -1
  248. package/dist/actions/delete-discussions-topics-follow.d.mts.map +1 -1
  249. package/dist/actions/delete-email-mailboxes.cjs +1 -1
  250. package/dist/actions/delete-email-mailboxes.cjs.map +1 -1
  251. package/dist/actions/delete-email-mailboxes.d.cts +2 -6
  252. package/dist/actions/delete-email-mailboxes.d.mts +2 -6
  253. package/dist/actions/delete-email-mailboxes.mjs +1 -1
  254. package/dist/actions/delete-email-mailboxes.mjs.map +1 -1
  255. package/dist/actions/delete-group.d.cts +1 -1
  256. package/dist/actions/delete-group.d.cts.map +1 -1
  257. package/dist/actions/delete-group.d.mts +1 -1
  258. package/dist/actions/delete-group.d.mts.map +1 -1
  259. package/dist/actions/delete-multiple-tickets.d.cts +1 -4
  260. package/dist/actions/delete-multiple-tickets.d.mts +1 -4
  261. package/dist/actions/delete-section.cjs +3 -3
  262. package/dist/actions/delete-section.cjs.map +1 -1
  263. package/dist/actions/delete-section.d.cts +4 -11
  264. package/dist/actions/delete-section.d.mts +4 -11
  265. package/dist/actions/delete-section.mjs +3 -3
  266. package/dist/actions/delete-section.mjs.map +1 -1
  267. package/dist/actions/delete-skill.cjs +2 -2
  268. package/dist/actions/delete-skill.cjs.map +1 -1
  269. package/dist/actions/delete-skill.d.cts +3 -6
  270. package/dist/actions/delete-skill.d.mts +3 -6
  271. package/dist/actions/delete-skill.mjs +2 -2
  272. package/dist/actions/delete-skill.mjs.map +1 -1
  273. package/dist/actions/delete-solution-article.cjs +2 -2
  274. package/dist/actions/delete-solution-article.cjs.map +1 -1
  275. package/dist/actions/delete-solution-article.d.cts +3 -6
  276. package/dist/actions/delete-solution-article.d.mts +3 -6
  277. package/dist/actions/delete-solution-article.mjs +2 -2
  278. package/dist/actions/delete-solution-article.mjs.map +1 -1
  279. package/dist/actions/delete-solution-category.cjs +3 -3
  280. package/dist/actions/delete-solution-category.cjs.map +1 -1
  281. package/dist/actions/delete-solution-category.d.cts +4 -8
  282. package/dist/actions/delete-solution-category.d.mts +4 -8
  283. package/dist/actions/delete-solution-category.mjs +3 -3
  284. package/dist/actions/delete-solution-category.mjs.map +1 -1
  285. package/dist/actions/delete-solution-folder.d.cts +1 -1
  286. package/dist/actions/delete-solution-folder.d.cts.map +1 -1
  287. package/dist/actions/delete-solution-folder.d.mts +1 -1
  288. package/dist/actions/delete-solution-folder.d.mts.map +1 -1
  289. package/dist/actions/delete-ticket-field.cjs +6 -6
  290. package/dist/actions/delete-ticket-field.cjs.map +1 -1
  291. package/dist/actions/delete-ticket-field.d.cts +7 -16
  292. package/dist/actions/delete-ticket-field.d.mts +7 -16
  293. package/dist/actions/delete-ticket-field.mjs +6 -6
  294. package/dist/actions/delete-ticket-field.mjs.map +1 -1
  295. package/dist/actions/delete-ticket-form.cjs +3 -3
  296. package/dist/actions/delete-ticket-form.cjs.map +1 -1
  297. package/dist/actions/delete-ticket-form.d.cts +4 -11
  298. package/dist/actions/delete-ticket-form.d.mts +4 -11
  299. package/dist/actions/delete-ticket-form.mjs +3 -3
  300. package/dist/actions/delete-ticket-form.mjs.map +1 -1
  301. package/dist/actions/delete-ticket-forms.d.cts +1 -1
  302. package/dist/actions/delete-ticket-forms.d.cts.map +1 -1
  303. package/dist/actions/delete-ticket-forms.d.mts +1 -1
  304. package/dist/actions/delete-ticket-forms.d.mts.map +1 -1
  305. package/dist/actions/delete-ticket-summary.d.cts +1 -1
  306. package/dist/actions/delete-ticket-summary.d.cts.map +1 -1
  307. package/dist/actions/delete-ticket-summary.d.mts +1 -1
  308. package/dist/actions/delete-ticket-summary.d.mts.map +1 -1
  309. package/dist/actions/delete-ticket-user-access.d.cts +1 -1
  310. package/dist/actions/delete-ticket-user-access.d.cts.map +1 -1
  311. package/dist/actions/delete-ticket-user-access.d.mts +1 -1
  312. package/dist/actions/delete-ticket-user-access.d.mts.map +1 -1
  313. package/dist/actions/delete-ticket.d.cts +1 -1
  314. package/dist/actions/delete-ticket.d.cts.map +1 -1
  315. package/dist/actions/delete-ticket.d.mts +1 -1
  316. package/dist/actions/delete-ticket.d.mts.map +1 -1
  317. package/dist/actions/delete-time-entry.cjs +2 -2
  318. package/dist/actions/delete-time-entry.cjs.map +1 -1
  319. package/dist/actions/delete-time-entry.d.cts +3 -6
  320. package/dist/actions/delete-time-entry.d.mts +3 -6
  321. package/dist/actions/delete-time-entry.mjs +2 -2
  322. package/dist/actions/delete-time-entry.mjs.map +1 -1
  323. package/dist/actions/export-contacts.d.cts +1 -3
  324. package/dist/actions/export-contacts.d.mts +1 -3
  325. package/dist/actions/get-account.cjs +28 -28
  326. package/dist/actions/get-account.cjs.map +1 -1
  327. package/dist/actions/get-account.d.cts +29 -61
  328. package/dist/actions/get-account.d.cts.map +1 -1
  329. package/dist/actions/get-account.d.mts +29 -61
  330. package/dist/actions/get-account.d.mts.map +1 -1
  331. package/dist/actions/get-account.mjs +28 -28
  332. package/dist/actions/get-account.mjs.map +1 -1
  333. package/dist/actions/get-agent-availability.cjs +12 -12
  334. package/dist/actions/get-agent-availability.cjs.map +1 -1
  335. package/dist/actions/get-agent-availability.d.cts +13 -27
  336. package/dist/actions/get-agent-availability.d.mts +13 -27
  337. package/dist/actions/get-agent-availability.mjs +12 -12
  338. package/dist/actions/get-agent-availability.mjs.map +1 -1
  339. package/dist/actions/get-agent.cjs +36 -36
  340. package/dist/actions/get-agent.cjs.map +1 -1
  341. package/dist/actions/get-agent.d.cts +37 -91
  342. package/dist/actions/get-agent.d.mts +37 -91
  343. package/dist/actions/get-agent.mjs +36 -36
  344. package/dist/actions/get-agent.mjs.map +1 -1
  345. package/dist/actions/get-agents.cjs +9 -9
  346. package/dist/actions/get-agents.cjs.map +1 -1
  347. package/dist/actions/get-agents.d.cts +10 -21
  348. package/dist/actions/get-agents.d.mts +10 -21
  349. package/dist/actions/get-agents.mjs +9 -9
  350. package/dist/actions/get-agents.mjs.map +1 -1
  351. package/dist/actions/get-business-hours.cjs +27 -27
  352. package/dist/actions/get-business-hours.cjs.map +1 -1
  353. package/dist/actions/get-business-hours.d.cts +42 -96
  354. package/dist/actions/get-business-hours.d.cts.map +1 -1
  355. package/dist/actions/get-business-hours.d.mts +42 -96
  356. package/dist/actions/get-business-hours.d.mts.map +1 -1
  357. package/dist/actions/get-business-hours.mjs +27 -27
  358. package/dist/actions/get-business-hours.mjs.map +1 -1
  359. package/dist/actions/get-canned-response-folders.cjs +7 -7
  360. package/dist/actions/get-canned-response-folders.cjs.map +1 -1
  361. package/dist/actions/get-canned-response-folders.d.cts +8 -17
  362. package/dist/actions/get-canned-response-folders.d.cts.map +1 -1
  363. package/dist/actions/get-canned-response-folders.d.mts +8 -17
  364. package/dist/actions/get-canned-response-folders.d.mts.map +1 -1
  365. package/dist/actions/get-canned-response-folders.mjs +7 -7
  366. package/dist/actions/get-canned-response-folders.mjs.map +1 -1
  367. package/dist/actions/get-companies.cjs +10 -10
  368. package/dist/actions/get-companies.cjs.map +1 -1
  369. package/dist/actions/get-companies.d.cts +11 -27
  370. package/dist/actions/get-companies.d.cts.map +1 -1
  371. package/dist/actions/get-companies.d.mts +11 -27
  372. package/dist/actions/get-companies.d.mts.map +1 -1
  373. package/dist/actions/get-companies.mjs +10 -10
  374. package/dist/actions/get-companies.mjs.map +1 -1
  375. package/dist/actions/get-company-fields.cjs +20 -20
  376. package/dist/actions/get-company-fields.cjs.map +1 -1
  377. package/dist/actions/get-company-fields.d.cts +21 -46
  378. package/dist/actions/get-company-fields.d.cts.map +1 -1
  379. package/dist/actions/get-company-fields.d.mts +21 -46
  380. package/dist/actions/get-company-fields.d.mts.map +1 -1
  381. package/dist/actions/get-company-fields.mjs +20 -20
  382. package/dist/actions/get-company-fields.mjs.map +1 -1
  383. package/dist/actions/get-company.cjs +10 -10
  384. package/dist/actions/get-company.cjs.map +1 -1
  385. package/dist/actions/get-company.d.cts +11 -26
  386. package/dist/actions/get-company.d.cts.map +1 -1
  387. package/dist/actions/get-company.d.mts +11 -26
  388. package/dist/actions/get-company.d.mts.map +1 -1
  389. package/dist/actions/get-company.mjs +10 -10
  390. package/dist/actions/get-company.mjs.map +1 -1
  391. package/dist/actions/get-contact-fields.cjs +20 -20
  392. package/dist/actions/get-contact-fields.cjs.map +1 -1
  393. package/dist/actions/get-contact-fields.d.cts +21 -43
  394. package/dist/actions/get-contact-fields.d.cts.map +1 -1
  395. package/dist/actions/get-contact-fields.d.mts +21 -43
  396. package/dist/actions/get-contact-fields.d.mts.map +1 -1
  397. package/dist/actions/get-contact-fields.mjs +20 -20
  398. package/dist/actions/get-contact-fields.mjs.map +1 -1
  399. package/dist/actions/get-contact.cjs +47 -47
  400. package/dist/actions/get-contact.cjs.map +1 -1
  401. package/dist/actions/get-contact.d.cts +48 -98
  402. package/dist/actions/get-contact.d.cts.map +1 -1
  403. package/dist/actions/get-contact.d.mts +48 -98
  404. package/dist/actions/get-contact.d.mts.map +1 -1
  405. package/dist/actions/get-contact.mjs +47 -47
  406. package/dist/actions/get-contact.mjs.map +1 -1
  407. package/dist/actions/get-contacts.cjs +24 -24
  408. package/dist/actions/get-contacts.cjs.map +1 -1
  409. package/dist/actions/get-contacts.d.cts +25 -54
  410. package/dist/actions/get-contacts.d.cts.map +1 -1
  411. package/dist/actions/get-contacts.d.mts +25 -54
  412. package/dist/actions/get-contacts.d.mts.map +1 -1
  413. package/dist/actions/get-contacts.mjs +24 -24
  414. package/dist/actions/get-contacts.mjs.map +1 -1
  415. package/dist/actions/get-discussion-category.cjs +5 -5
  416. package/dist/actions/get-discussion-category.cjs.map +1 -1
  417. package/dist/actions/get-discussion-category.d.cts +6 -12
  418. package/dist/actions/get-discussion-category.d.mts +6 -12
  419. package/dist/actions/get-discussion-category.mjs +5 -5
  420. package/dist/actions/get-discussion-category.mjs.map +1 -1
  421. package/dist/actions/get-discussion-topic.cjs +16 -16
  422. package/dist/actions/get-discussion-topic.cjs.map +1 -1
  423. package/dist/actions/get-discussion-topic.d.cts +17 -34
  424. package/dist/actions/get-discussion-topic.d.mts +17 -34
  425. package/dist/actions/get-discussion-topic.mjs +16 -16
  426. package/dist/actions/get-discussion-topic.mjs.map +1 -1
  427. package/dist/actions/get-email-mailbox.cjs +16 -16
  428. package/dist/actions/get-email-mailbox.cjs.map +1 -1
  429. package/dist/actions/get-email-mailbox.d.cts +17 -36
  430. package/dist/actions/get-email-mailbox.d.mts +17 -36
  431. package/dist/actions/get-email-mailbox.mjs +16 -16
  432. package/dist/actions/get-email-mailbox.mjs.map +1 -1
  433. package/dist/actions/get-folder-responses.cjs +17 -17
  434. package/dist/actions/get-folder-responses.cjs.map +1 -1
  435. package/dist/actions/get-folder-responses.d.cts +18 -38
  436. package/dist/actions/get-folder-responses.d.mts +18 -38
  437. package/dist/actions/get-folder-responses.mjs +17 -17
  438. package/dist/actions/get-folder-responses.mjs.map +1 -1
  439. package/dist/actions/get-imported-contacts.cjs +9 -9
  440. package/dist/actions/get-imported-contacts.cjs.map +1 -1
  441. package/dist/actions/get-imported-contacts.d.cts +10 -22
  442. package/dist/actions/get-imported-contacts.d.mts +10 -22
  443. package/dist/actions/get-imported-contacts.mjs +9 -9
  444. package/dist/actions/get-imported-contacts.mjs.map +1 -1
  445. package/dist/actions/get-job.cjs +5 -5
  446. package/dist/actions/get-job.cjs.map +1 -1
  447. package/dist/actions/get-job.d.cts +6 -13
  448. package/dist/actions/get-job.d.mts +6 -13
  449. package/dist/actions/get-job.mjs +5 -5
  450. package/dist/actions/get-job.mjs.map +1 -1
  451. package/dist/actions/get-scenario-automations-json.cjs +11 -11
  452. package/dist/actions/get-scenario-automations-json.cjs.map +1 -1
  453. package/dist/actions/get-scenario-automations-json.d.cts +11 -24
  454. package/dist/actions/get-scenario-automations-json.d.cts.map +1 -1
  455. package/dist/actions/get-scenario-automations-json.d.mts +11 -24
  456. package/dist/actions/get-scenario-automations-json.d.mts.map +1 -1
  457. package/dist/actions/get-scenario-automations-json.mjs +11 -11
  458. package/dist/actions/get-scenario-automations-json.mjs.map +1 -1
  459. package/dist/actions/get-search.cjs +37 -37
  460. package/dist/actions/get-search.cjs.map +1 -1
  461. package/dist/actions/get-search.d.cts +38 -77
  462. package/dist/actions/get-search.d.cts.map +1 -1
  463. package/dist/actions/get-search.d.mts +38 -77
  464. package/dist/actions/get-search.d.mts.map +1 -1
  465. package/dist/actions/get-search.mjs +37 -37
  466. package/dist/actions/get-search.mjs.map +1 -1
  467. package/dist/actions/get-ticket-time-entries.cjs +14 -14
  468. package/dist/actions/get-ticket-time-entries.cjs.map +1 -1
  469. package/dist/actions/get-ticket-time-entries.d.cts +15 -31
  470. package/dist/actions/get-ticket-time-entries.d.mts +15 -31
  471. package/dist/actions/get-ticket-time-entries.mjs +14 -14
  472. package/dist/actions/get-ticket-time-entries.mjs.map +1 -1
  473. package/dist/actions/get-ticket-user-access.d.cts +1 -3
  474. package/dist/actions/get-ticket-user-access.d.mts +1 -3
  475. package/dist/actions/get-tickets.cjs +41 -41
  476. package/dist/actions/get-tickets.cjs.map +1 -1
  477. package/dist/actions/get-tickets.d.cts +42 -98
  478. package/dist/actions/get-tickets.d.mts +42 -98
  479. package/dist/actions/get-tickets.mjs +41 -41
  480. package/dist/actions/get-tickets.mjs.map +1 -1
  481. package/dist/actions/get-translated-solution-category.cjs +13 -13
  482. package/dist/actions/get-translated-solution-category.cjs.map +1 -1
  483. package/dist/actions/get-translated-solution-category.d.cts +14 -29
  484. package/dist/actions/get-translated-solution-category.d.cts.map +1 -1
  485. package/dist/actions/get-translated-solution-category.d.mts +14 -29
  486. package/dist/actions/get-translated-solution-category.d.mts.map +1 -1
  487. package/dist/actions/get-translated-solution-category.mjs +13 -13
  488. package/dist/actions/get-translated-solution-category.mjs.map +1 -1
  489. package/dist/actions/hard-delete-contact.cjs +2 -2
  490. package/dist/actions/hard-delete-contact.cjs.map +1 -1
  491. package/dist/actions/hard-delete-contact.d.cts +3 -6
  492. package/dist/actions/hard-delete-contact.d.mts +3 -6
  493. package/dist/actions/hard-delete-contact.mjs +2 -2
  494. package/dist/actions/hard-delete-contact.mjs.map +1 -1
  495. package/dist/actions/import-contact.cjs +8 -8
  496. package/dist/actions/import-contact.cjs.map +1 -1
  497. package/dist/actions/import-contact.d.cts +9 -19
  498. package/dist/actions/import-contact.d.mts +9 -19
  499. package/dist/actions/import-contact.mjs +8 -8
  500. package/dist/actions/import-contact.mjs.map +1 -1
  501. package/dist/actions/list-admin-groups.cjs +16 -16
  502. package/dist/actions/list-admin-groups.cjs.map +1 -1
  503. package/dist/actions/list-admin-groups.d.cts +17 -36
  504. package/dist/actions/list-admin-groups.d.mts +17 -36
  505. package/dist/actions/list-admin-groups.mjs +16 -16
  506. package/dist/actions/list-admin-groups.mjs.map +1 -1
  507. package/dist/actions/list-all-agents-in-a-group.cjs +26 -26
  508. package/dist/actions/list-all-agents-in-a-group.cjs.map +1 -1
  509. package/dist/actions/list-all-agents-in-a-group.d.cts +27 -56
  510. package/dist/actions/list-all-agents-in-a-group.d.cts.map +1 -1
  511. package/dist/actions/list-all-agents-in-a-group.d.mts +27 -56
  512. package/dist/actions/list-all-agents-in-a-group.d.mts.map +1 -1
  513. package/dist/actions/list-all-agents-in-a-group.mjs +26 -26
  514. package/dist/actions/list-all-agents-in-a-group.mjs.map +1 -1
  515. package/dist/actions/list-all-sections-for-ticket-field.cjs +6 -6
  516. package/dist/actions/list-all-sections-for-ticket-field.cjs.map +1 -1
  517. package/dist/actions/list-all-sections-for-ticket-field.d.cts +7 -15
  518. package/dist/actions/list-all-sections-for-ticket-field.d.mts +7 -15
  519. package/dist/actions/list-all-sections-for-ticket-field.mjs +6 -6
  520. package/dist/actions/list-all-sections-for-ticket-field.mjs.map +1 -1
  521. package/dist/actions/list-all-skills.cjs +14 -14
  522. package/dist/actions/list-all-skills.cjs.map +1 -1
  523. package/dist/actions/list-all-skills.d.cts +14 -30
  524. package/dist/actions/list-all-skills.d.cts.map +1 -1
  525. package/dist/actions/list-all-skills.d.mts +14 -30
  526. package/dist/actions/list-all-skills.d.mts.map +1 -1
  527. package/dist/actions/list-all-skills.mjs +14 -14
  528. package/dist/actions/list-all-skills.mjs.map +1 -1
  529. package/dist/actions/list-all-ticket-conversations.cjs +35 -35
  530. package/dist/actions/list-all-ticket-conversations.cjs.map +1 -1
  531. package/dist/actions/list-all-ticket-conversations.d.cts +36 -74
  532. package/dist/actions/list-all-ticket-conversations.d.mts +36 -74
  533. package/dist/actions/list-all-ticket-conversations.mjs +35 -35
  534. package/dist/actions/list-all-ticket-conversations.mjs.map +1 -1
  535. package/dist/actions/list-automation-rules.cjs +22 -22
  536. package/dist/actions/list-automation-rules.cjs.map +1 -1
  537. package/dist/actions/list-automation-rules.d.cts +21 -46
  538. package/dist/actions/list-automation-rules.d.cts.map +1 -1
  539. package/dist/actions/list-automation-rules.d.mts +21 -46
  540. package/dist/actions/list-automation-rules.d.mts.map +1 -1
  541. package/dist/actions/list-automation-rules.mjs +22 -22
  542. package/dist/actions/list-automation-rules.mjs.map +1 -1
  543. package/dist/actions/list-discussions-topics.cjs +17 -17
  544. package/dist/actions/list-discussions-topics.cjs.map +1 -1
  545. package/dist/actions/list-discussions-topics.d.cts +18 -37
  546. package/dist/actions/list-discussions-topics.d.mts +18 -37
  547. package/dist/actions/list-discussions-topics.mjs +17 -17
  548. package/dist/actions/list-discussions-topics.mjs.map +1 -1
  549. package/dist/actions/list-discussions.cjs +6 -6
  550. package/dist/actions/list-discussions.cjs.map +1 -1
  551. package/dist/actions/list-discussions.d.cts +7 -15
  552. package/dist/actions/list-discussions.d.mts +7 -15
  553. package/dist/actions/list-discussions.mjs +6 -6
  554. package/dist/actions/list-discussions.mjs.map +1 -1
  555. package/dist/actions/list-email-configs.cjs +13 -13
  556. package/dist/actions/list-email-configs.cjs.map +1 -1
  557. package/dist/actions/list-email-configs.d.cts +14 -29
  558. package/dist/actions/list-email-configs.d.cts.map +1 -1
  559. package/dist/actions/list-email-configs.d.mts +14 -29
  560. package/dist/actions/list-email-configs.d.mts.map +1 -1
  561. package/dist/actions/list-email-configs.mjs +13 -13
  562. package/dist/actions/list-email-configs.mjs.map +1 -1
  563. package/dist/actions/list-email.cjs +13 -13
  564. package/dist/actions/list-email.cjs.map +1 -1
  565. package/dist/actions/list-email.d.cts +14 -29
  566. package/dist/actions/list-email.d.mts +14 -29
  567. package/dist/actions/list-email.mjs +13 -13
  568. package/dist/actions/list-email.mjs.map +1 -1
  569. package/dist/actions/list-forums-in-category.cjs +12 -12
  570. package/dist/actions/list-forums-in-category.cjs.map +1 -1
  571. package/dist/actions/list-forums-in-category.d.cts +13 -27
  572. package/dist/actions/list-forums-in-category.d.mts +13 -27
  573. package/dist/actions/list-forums-in-category.mjs +12 -12
  574. package/dist/actions/list-forums-in-category.mjs.map +1 -1
  575. package/dist/actions/list-monitored-topics.cjs +17 -17
  576. package/dist/actions/list-monitored-topics.cjs.map +1 -1
  577. package/dist/actions/list-monitored-topics.d.cts +18 -37
  578. package/dist/actions/list-monitored-topics.d.mts +18 -37
  579. package/dist/actions/list-monitored-topics.mjs +17 -17
  580. package/dist/actions/list-monitored-topics.mjs.map +1 -1
  581. package/dist/actions/list-participated-topics.cjs +17 -17
  582. package/dist/actions/list-participated-topics.cjs.map +1 -1
  583. package/dist/actions/list-participated-topics.d.cts +18 -37
  584. package/dist/actions/list-participated-topics.d.mts +18 -37
  585. package/dist/actions/list-participated-topics.mjs +17 -17
  586. package/dist/actions/list-participated-topics.mjs.map +1 -1
  587. package/dist/actions/list-products.cjs +8 -8
  588. package/dist/actions/list-products.cjs.map +1 -1
  589. package/dist/actions/list-products.d.cts +9 -19
  590. package/dist/actions/list-products.d.cts.map +1 -1
  591. package/dist/actions/list-products.d.mts +9 -19
  592. package/dist/actions/list-products.d.mts.map +1 -1
  593. package/dist/actions/list-products.mjs +8 -8
  594. package/dist/actions/list-products.mjs.map +1 -1
  595. package/dist/actions/list-roles.cjs +8 -8
  596. package/dist/actions/list-roles.cjs.map +1 -1
  597. package/dist/actions/list-roles.d.cts +9 -19
  598. package/dist/actions/list-roles.d.mts +9 -19
  599. package/dist/actions/list-roles.mjs +8 -8
  600. package/dist/actions/list-roles.mjs.map +1 -1
  601. package/dist/actions/list-satisfaction-ratings.cjs +11 -11
  602. package/dist/actions/list-satisfaction-ratings.cjs.map +1 -1
  603. package/dist/actions/list-satisfaction-ratings.d.cts +12 -25
  604. package/dist/actions/list-satisfaction-ratings.d.cts.map +1 -1
  605. package/dist/actions/list-satisfaction-ratings.d.mts +12 -25
  606. package/dist/actions/list-satisfaction-ratings.d.mts.map +1 -1
  607. package/dist/actions/list-satisfaction-ratings.mjs +11 -11
  608. package/dist/actions/list-satisfaction-ratings.mjs.map +1 -1
  609. package/dist/actions/list-sla-policies.cjs +36 -36
  610. package/dist/actions/list-sla-policies.cjs.map +1 -1
  611. package/dist/actions/list-sla-policies.d.cts +52 -118
  612. package/dist/actions/list-sla-policies.d.cts.map +1 -1
  613. package/dist/actions/list-sla-policies.d.mts +52 -118
  614. package/dist/actions/list-sla-policies.d.mts.map +1 -1
  615. package/dist/actions/list-sla-policies.mjs +36 -36
  616. package/dist/actions/list-sla-policies.mjs.map +1 -1
  617. package/dist/actions/list-solution-articles.cjs +33 -33
  618. package/dist/actions/list-solution-articles.cjs.map +1 -1
  619. package/dist/actions/list-solution-articles.d.cts +34 -72
  620. package/dist/actions/list-solution-articles.d.cts.map +1 -1
  621. package/dist/actions/list-solution-articles.d.mts +34 -72
  622. package/dist/actions/list-solution-articles.d.mts.map +1 -1
  623. package/dist/actions/list-solution-articles.mjs +33 -33
  624. package/dist/actions/list-solution-articles.mjs.map +1 -1
  625. package/dist/actions/list-solution-categories.cjs +9 -9
  626. package/dist/actions/list-solution-categories.cjs.map +1 -1
  627. package/dist/actions/list-solution-categories.d.cts +10 -21
  628. package/dist/actions/list-solution-categories.d.mts +10 -21
  629. package/dist/actions/list-solution-categories.mjs +9 -9
  630. package/dist/actions/list-solution-categories.mjs.map +1 -1
  631. package/dist/actions/list-solution-folders.cjs +22 -22
  632. package/dist/actions/list-solution-folders.cjs.map +1 -1
  633. package/dist/actions/list-solution-folders.d.cts +23 -49
  634. package/dist/actions/list-solution-folders.d.mts +23 -49
  635. package/dist/actions/list-solution-folders.mjs +22 -22
  636. package/dist/actions/list-solution-folders.mjs.map +1 -1
  637. package/dist/actions/list-solution-subfolders.cjs +20 -20
  638. package/dist/actions/list-solution-subfolders.cjs.map +1 -1
  639. package/dist/actions/list-solution-subfolders.d.cts +21 -45
  640. package/dist/actions/list-solution-subfolders.d.mts +21 -45
  641. package/dist/actions/list-solution-subfolders.mjs +20 -20
  642. package/dist/actions/list-solution-subfolders.mjs.map +1 -1
  643. package/dist/actions/list-solutions-category-folders-translated.cjs +18 -18
  644. package/dist/actions/list-solutions-category-folders-translated.cjs.map +1 -1
  645. package/dist/actions/list-solutions-category-folders-translated.d.cts +19 -41
  646. package/dist/actions/list-solutions-category-folders-translated.d.mts +19 -41
  647. package/dist/actions/list-solutions-category-folders-translated.mjs +18 -18
  648. package/dist/actions/list-solutions-category-folders-translated.mjs.map +1 -1
  649. package/dist/actions/list-specific-section-details.cjs +5 -5
  650. package/dist/actions/list-specific-section-details.cjs.map +1 -1
  651. package/dist/actions/list-specific-section-details.d.cts +6 -12
  652. package/dist/actions/list-specific-section-details.d.mts +6 -12
  653. package/dist/actions/list-specific-section-details.mjs +5 -5
  654. package/dist/actions/list-specific-section-details.mjs.map +1 -1
  655. package/dist/actions/list-surveys.cjs +12 -12
  656. package/dist/actions/list-surveys.cjs.map +1 -1
  657. package/dist/actions/list-surveys.d.cts +13 -28
  658. package/dist/actions/list-surveys.d.mts +13 -28
  659. package/dist/actions/list-surveys.mjs +12 -12
  660. package/dist/actions/list-surveys.mjs.map +1 -1
  661. package/dist/actions/list-ticket-fields.cjs +20 -20
  662. package/dist/actions/list-ticket-fields.cjs.map +1 -1
  663. package/dist/actions/list-ticket-fields.d.cts +21 -43
  664. package/dist/actions/list-ticket-fields.d.cts.map +1 -1
  665. package/dist/actions/list-ticket-fields.d.mts +21 -43
  666. package/dist/actions/list-ticket-fields.d.mts.map +1 -1
  667. package/dist/actions/list-ticket-fields.mjs +20 -20
  668. package/dist/actions/list-ticket-fields.mjs.map +1 -1
  669. package/dist/actions/list-ticket-forms.cjs +11 -11
  670. package/dist/actions/list-ticket-forms.cjs.map +1 -1
  671. package/dist/actions/list-ticket-forms.d.cts +12 -25
  672. package/dist/actions/list-ticket-forms.d.cts.map +1 -1
  673. package/dist/actions/list-ticket-forms.d.mts +12 -25
  674. package/dist/actions/list-ticket-forms.d.mts.map +1 -1
  675. package/dist/actions/list-ticket-forms.mjs +11 -11
  676. package/dist/actions/list-ticket-forms.mjs.map +1 -1
  677. package/dist/actions/list-ticket-satisfaction-ratings.cjs +13 -13
  678. package/dist/actions/list-ticket-satisfaction-ratings.cjs.map +1 -1
  679. package/dist/actions/list-ticket-satisfaction-ratings.d.cts +14 -29
  680. package/dist/actions/list-ticket-satisfaction-ratings.d.mts +14 -29
  681. package/dist/actions/list-ticket-satisfaction-ratings.mjs +13 -13
  682. package/dist/actions/list-ticket-satisfaction-ratings.mjs.map +1 -1
  683. package/dist/actions/list-tickets-watchers.cjs +2 -2
  684. package/dist/actions/list-tickets-watchers.cjs.map +1 -1
  685. package/dist/actions/list-tickets-watchers.d.cts +3 -9
  686. package/dist/actions/list-tickets-watchers.d.mts +3 -9
  687. package/dist/actions/list-tickets-watchers.mjs +2 -2
  688. package/dist/actions/list-tickets-watchers.mjs.map +1 -1
  689. package/dist/actions/list-time-entries.cjs +14 -14
  690. package/dist/actions/list-time-entries.cjs.map +1 -1
  691. package/dist/actions/list-time-entries.d.cts +15 -31
  692. package/dist/actions/list-time-entries.d.mts +15 -31
  693. package/dist/actions/list-time-entries.mjs +14 -14
  694. package/dist/actions/list-time-entries.mjs.map +1 -1
  695. package/dist/actions/list-topic-comments2.cjs +13 -13
  696. package/dist/actions/list-topic-comments2.cjs.map +1 -1
  697. package/dist/actions/list-topic-comments2.d.cts +14 -29
  698. package/dist/actions/list-topic-comments2.d.mts +14 -29
  699. package/dist/actions/list-topic-comments2.mjs +13 -13
  700. package/dist/actions/list-topic-comments2.mjs.map +1 -1
  701. package/dist/actions/list-translated-solution-articles.cjs +31 -31
  702. package/dist/actions/list-translated-solution-articles.cjs.map +1 -1
  703. package/dist/actions/list-translated-solution-articles.d.cts +32 -68
  704. package/dist/actions/list-translated-solution-articles.d.cts.map +1 -1
  705. package/dist/actions/list-translated-solution-articles.d.mts +32 -68
  706. package/dist/actions/list-translated-solution-articles.d.mts.map +1 -1
  707. package/dist/actions/list-translated-solution-articles.mjs +31 -31
  708. package/dist/actions/list-translated-solution-articles.mjs.map +1 -1
  709. package/dist/actions/list-translated-subfolders.cjs +17 -17
  710. package/dist/actions/list-translated-subfolders.cjs.map +1 -1
  711. package/dist/actions/list-translated-subfolders.d.cts +18 -39
  712. package/dist/actions/list-translated-subfolders.d.mts +18 -39
  713. package/dist/actions/list-translated-subfolders.mjs +17 -17
  714. package/dist/actions/list-translated-subfolders.mjs.map +1 -1
  715. package/dist/actions/patch-admin-groups-agents.cjs +1 -1
  716. package/dist/actions/patch-admin-groups-agents.cjs.map +1 -1
  717. package/dist/actions/patch-admin-groups-agents.d.cts +2 -4
  718. package/dist/actions/patch-admin-groups-agents.d.mts +2 -4
  719. package/dist/actions/patch-admin-groups-agents.mjs +1 -1
  720. package/dist/actions/patch-admin-groups-agents.mjs.map +1 -1
  721. package/dist/actions/remove-watcher.cjs +2 -2
  722. package/dist/actions/remove-watcher.cjs.map +1 -1
  723. package/dist/actions/remove-watcher.d.cts +3 -6
  724. package/dist/actions/remove-watcher.d.mts +3 -6
  725. package/dist/actions/remove-watcher.mjs +2 -2
  726. package/dist/actions/remove-watcher.mjs.map +1 -1
  727. package/dist/actions/reply-to-forward-ticket.cjs +13 -13
  728. package/dist/actions/reply-to-forward-ticket.cjs.map +1 -1
  729. package/dist/actions/reply-to-forward-ticket.d.cts +14 -28
  730. package/dist/actions/reply-to-forward-ticket.d.mts +14 -28
  731. package/dist/actions/reply-to-forward-ticket.mjs +13 -13
  732. package/dist/actions/reply-to-forward-ticket.mjs.map +1 -1
  733. package/dist/actions/reply-to-ticket.cjs +20 -20
  734. package/dist/actions/reply-to-ticket.cjs.map +1 -1
  735. package/dist/actions/reply-to-ticket.d.cts +21 -43
  736. package/dist/actions/reply-to-ticket.d.cts.map +1 -1
  737. package/dist/actions/reply-to-ticket.d.mts +21 -43
  738. package/dist/actions/reply-to-ticket.d.mts.map +1 -1
  739. package/dist/actions/reply-to-ticket.mjs +20 -20
  740. package/dist/actions/reply-to-ticket.mjs.map +1 -1
  741. package/dist/actions/search-agents.cjs +19 -19
  742. package/dist/actions/search-agents.cjs.map +1 -1
  743. package/dist/actions/search-agents.d.cts +20 -56
  744. package/dist/actions/search-agents.d.mts +20 -56
  745. package/dist/actions/search-agents.mjs +19 -19
  746. package/dist/actions/search-agents.mjs.map +1 -1
  747. package/dist/actions/search-companies.cjs +20 -20
  748. package/dist/actions/search-companies.cjs.map +1 -1
  749. package/dist/actions/search-companies.d.cts +21 -44
  750. package/dist/actions/search-companies.d.cts.map +1 -1
  751. package/dist/actions/search-companies.d.mts +21 -44
  752. package/dist/actions/search-companies.d.mts.map +1 -1
  753. package/dist/actions/search-companies.mjs +20 -20
  754. package/dist/actions/search-companies.mjs.map +1 -1
  755. package/dist/actions/search-company.cjs +3 -3
  756. package/dist/actions/search-company.cjs.map +1 -1
  757. package/dist/actions/search-company.d.cts +4 -9
  758. package/dist/actions/search-company.d.mts +4 -9
  759. package/dist/actions/search-company.mjs +3 -3
  760. package/dist/actions/search-company.mjs.map +1 -1
  761. package/dist/actions/search-contacts-autocomplete.cjs +9 -9
  762. package/dist/actions/search-contacts-autocomplete.cjs.map +1 -1
  763. package/dist/actions/search-contacts-autocomplete.d.cts +10 -21
  764. package/dist/actions/search-contacts-autocomplete.d.mts +10 -21
  765. package/dist/actions/search-contacts-autocomplete.mjs +9 -9
  766. package/dist/actions/search-contacts-autocomplete.mjs.map +1 -1
  767. package/dist/actions/search-contacts.cjs +37 -37
  768. package/dist/actions/search-contacts.cjs.map +1 -1
  769. package/dist/actions/search-contacts.d.cts +38 -77
  770. package/dist/actions/search-contacts.d.cts.map +1 -1
  771. package/dist/actions/search-contacts.d.mts +38 -77
  772. package/dist/actions/search-contacts.d.mts.map +1 -1
  773. package/dist/actions/search-contacts.mjs +37 -37
  774. package/dist/actions/search-contacts.mjs.map +1 -1
  775. package/dist/actions/search-solution-articles.cjs +36 -36
  776. package/dist/actions/search-solution-articles.cjs.map +1 -1
  777. package/dist/actions/search-solution-articles.d.cts +37 -78
  778. package/dist/actions/search-solution-articles.d.mts +37 -78
  779. package/dist/actions/search-solution-articles.mjs +36 -36
  780. package/dist/actions/search-solution-articles.mjs.map +1 -1
  781. package/dist/actions/toggle-timer.cjs +10 -10
  782. package/dist/actions/toggle-timer.cjs.map +1 -1
  783. package/dist/actions/toggle-timer.d.cts +11 -24
  784. package/dist/actions/toggle-timer.d.mts +11 -24
  785. package/dist/actions/toggle-timer.mjs +10 -10
  786. package/dist/actions/toggle-timer.mjs.map +1 -1
  787. package/dist/actions/update-admin-group.cjs +14 -14
  788. package/dist/actions/update-admin-group.cjs.map +1 -1
  789. package/dist/actions/update-admin-group.d.cts +15 -31
  790. package/dist/actions/update-admin-group.d.mts +15 -31
  791. package/dist/actions/update-admin-group.mjs +14 -14
  792. package/dist/actions/update-admin-group.mjs.map +1 -1
  793. package/dist/actions/update-admin-ticket-field-section.cjs +8 -8
  794. package/dist/actions/update-admin-ticket-field-section.cjs.map +1 -1
  795. package/dist/actions/update-admin-ticket-field-section.d.cts +9 -18
  796. package/dist/actions/update-admin-ticket-field-section.d.mts +9 -18
  797. package/dist/actions/update-admin-ticket-field-section.mjs +8 -8
  798. package/dist/actions/update-admin-ticket-field-section.mjs.map +1 -1
  799. package/dist/actions/update-admin-ticket-field.cjs +24 -24
  800. package/dist/actions/update-admin-ticket-field.cjs.map +1 -1
  801. package/dist/actions/update-admin-ticket-field.d.cts +24 -50
  802. package/dist/actions/update-admin-ticket-field.d.cts.map +1 -1
  803. package/dist/actions/update-admin-ticket-field.d.mts +24 -50
  804. package/dist/actions/update-admin-ticket-field.d.mts.map +1 -1
  805. package/dist/actions/update-admin-ticket-field.mjs +24 -24
  806. package/dist/actions/update-admin-ticket-field.mjs.map +1 -1
  807. package/dist/actions/update-agent-availability.cjs +12 -12
  808. package/dist/actions/update-agent-availability.cjs.map +1 -1
  809. package/dist/actions/update-agent-availability.d.cts +13 -27
  810. package/dist/actions/update-agent-availability.d.mts +13 -27
  811. package/dist/actions/update-agent-availability.mjs +12 -12
  812. package/dist/actions/update-agent-availability.mjs.map +1 -1
  813. package/dist/actions/update-agent.cjs +29 -29
  814. package/dist/actions/update-agent.cjs.map +1 -1
  815. package/dist/actions/update-agent.d.cts +30 -61
  816. package/dist/actions/update-agent.d.mts +30 -61
  817. package/dist/actions/update-agent.mjs +29 -29
  818. package/dist/actions/update-agent.mjs.map +1 -1
  819. package/dist/actions/update-automations.cjs +37 -37
  820. package/dist/actions/update-automations.cjs.map +1 -1
  821. package/dist/actions/update-automations.d.cts +38 -82
  822. package/dist/actions/update-automations.d.cts.map +1 -1
  823. package/dist/actions/update-automations.d.mts +38 -82
  824. package/dist/actions/update-automations.d.mts.map +1 -1
  825. package/dist/actions/update-automations.mjs +37 -37
  826. package/dist/actions/update-automations.mjs.map +1 -1
  827. package/dist/actions/update-canned-response-folder.d.cts +1 -4
  828. package/dist/actions/update-canned-response-folder.d.mts +1 -4
  829. package/dist/actions/update-canned-response.cjs +16 -16
  830. package/dist/actions/update-canned-response.cjs.map +1 -1
  831. package/dist/actions/update-canned-response.d.cts +17 -35
  832. package/dist/actions/update-canned-response.d.mts +17 -35
  833. package/dist/actions/update-canned-response.mjs +16 -16
  834. package/dist/actions/update-canned-response.mjs.map +1 -1
  835. package/dist/actions/update-companies.cjs +14 -14
  836. package/dist/actions/update-companies.cjs.map +1 -1
  837. package/dist/actions/update-companies.d.cts +15 -30
  838. package/dist/actions/update-companies.d.cts.map +1 -1
  839. package/dist/actions/update-companies.d.mts +15 -30
  840. package/dist/actions/update-companies.d.mts.map +1 -1
  841. package/dist/actions/update-companies.mjs +14 -14
  842. package/dist/actions/update-companies.mjs.map +1 -1
  843. package/dist/actions/update-contact-field.cjs +19 -19
  844. package/dist/actions/update-contact-field.cjs.map +1 -1
  845. package/dist/actions/update-contact-field.d.cts +20 -41
  846. package/dist/actions/update-contact-field.d.cts.map +1 -1
  847. package/dist/actions/update-contact-field.d.mts +20 -41
  848. package/dist/actions/update-contact-field.d.mts.map +1 -1
  849. package/dist/actions/update-contact-field.mjs +19 -19
  850. package/dist/actions/update-contact-field.mjs.map +1 -1
  851. package/dist/actions/update-contact-make-agent.cjs +25 -25
  852. package/dist/actions/update-contact-make-agent.cjs.map +1 -1
  853. package/dist/actions/update-contact-make-agent.d.cts +26 -53
  854. package/dist/actions/update-contact-make-agent.d.mts +26 -53
  855. package/dist/actions/update-contact-make-agent.mjs +25 -25
  856. package/dist/actions/update-contact-make-agent.mjs.map +1 -1
  857. package/dist/actions/update-contact.cjs +45 -45
  858. package/dist/actions/update-contact.cjs.map +1 -1
  859. package/dist/actions/update-contact.d.cts +46 -94
  860. package/dist/actions/update-contact.d.cts.map +1 -1
  861. package/dist/actions/update-contact.d.mts +46 -94
  862. package/dist/actions/update-contact.d.mts.map +1 -1
  863. package/dist/actions/update-contact.mjs +45 -45
  864. package/dist/actions/update-contact.mjs.map +1 -1
  865. package/dist/actions/update-conversations.cjs +22 -22
  866. package/dist/actions/update-conversations.cjs.map +1 -1
  867. package/dist/actions/update-conversations.d.cts +23 -47
  868. package/dist/actions/update-conversations.d.mts +23 -47
  869. package/dist/actions/update-conversations.mjs +22 -22
  870. package/dist/actions/update-conversations.mjs.map +1 -1
  871. package/dist/actions/update-discussion-category.cjs +5 -5
  872. package/dist/actions/update-discussion-category.cjs.map +1 -1
  873. package/dist/actions/update-discussion-category.d.cts +6 -12
  874. package/dist/actions/update-discussion-category.d.mts +6 -12
  875. package/dist/actions/update-discussion-category.mjs +5 -5
  876. package/dist/actions/update-discussion-category.mjs.map +1 -1
  877. package/dist/actions/update-discussion-comment.cjs +12 -12
  878. package/dist/actions/update-discussion-comment.cjs.map +1 -1
  879. package/dist/actions/update-discussion-comment.d.cts +13 -26
  880. package/dist/actions/update-discussion-comment.d.mts +13 -26
  881. package/dist/actions/update-discussion-comment.mjs +12 -12
  882. package/dist/actions/update-discussion-comment.mjs.map +1 -1
  883. package/dist/actions/update-discussion-forum.cjs +12 -12
  884. package/dist/actions/update-discussion-forum.cjs.map +1 -1
  885. package/dist/actions/update-discussion-forum.d.cts +13 -26
  886. package/dist/actions/update-discussion-forum.d.mts +13 -26
  887. package/dist/actions/update-discussion-forum.mjs +12 -12
  888. package/dist/actions/update-discussion-forum.mjs.map +1 -1
  889. package/dist/actions/update-discussion-topic.cjs +17 -17
  890. package/dist/actions/update-discussion-topic.cjs.map +1 -1
  891. package/dist/actions/update-discussion-topic.d.cts +18 -36
  892. package/dist/actions/update-discussion-topic.d.mts +18 -36
  893. package/dist/actions/update-discussion-topic.mjs +17 -17
  894. package/dist/actions/update-discussion-topic.mjs.map +1 -1
  895. package/dist/actions/update-email-settings.cjs +12 -12
  896. package/dist/actions/update-email-settings.cjs.map +1 -1
  897. package/dist/actions/update-email-settings.d.cts +13 -26
  898. package/dist/actions/update-email-settings.d.mts +13 -26
  899. package/dist/actions/update-email-settings.mjs +12 -12
  900. package/dist/actions/update-email-settings.mjs.map +1 -1
  901. package/dist/actions/update-notification-email-bcc.cjs +1 -1
  902. package/dist/actions/update-notification-email-bcc.cjs.map +1 -1
  903. package/dist/actions/update-notification-email-bcc.d.cts +2 -4
  904. package/dist/actions/update-notification-email-bcc.d.mts +2 -4
  905. package/dist/actions/update-notification-email-bcc.mjs +1 -1
  906. package/dist/actions/update-notification-email-bcc.mjs.map +1 -1
  907. package/dist/actions/update-sla-policies.cjs +35 -35
  908. package/dist/actions/update-sla-policies.cjs.map +1 -1
  909. package/dist/actions/update-sla-policies.d.cts +51 -115
  910. package/dist/actions/update-sla-policies.d.mts +51 -115
  911. package/dist/actions/update-sla-policies.mjs +35 -35
  912. package/dist/actions/update-sla-policies.mjs.map +1 -1
  913. package/dist/actions/update-solution-category.cjs +8 -8
  914. package/dist/actions/update-solution-category.cjs.map +1 -1
  915. package/dist/actions/update-solution-category.d.cts +9 -18
  916. package/dist/actions/update-solution-category.d.mts +9 -18
  917. package/dist/actions/update-solution-category.mjs +8 -8
  918. package/dist/actions/update-solution-category.mjs.map +1 -1
  919. package/dist/actions/update-solution-folder.cjs +22 -22
  920. package/dist/actions/update-solution-folder.cjs.map +1 -1
  921. package/dist/actions/update-solution-folder.d.cts +23 -48
  922. package/dist/actions/update-solution-folder.d.mts +23 -48
  923. package/dist/actions/update-solution-folder.mjs +22 -22
  924. package/dist/actions/update-solution-folder.mjs.map +1 -1
  925. package/dist/actions/update-solutions.cjs +30 -30
  926. package/dist/actions/update-solutions.cjs.map +1 -1
  927. package/dist/actions/update-solutions.d.cts +31 -65
  928. package/dist/actions/update-solutions.d.cts.map +1 -1
  929. package/dist/actions/update-solutions.d.mts +31 -65
  930. package/dist/actions/update-solutions.d.mts.map +1 -1
  931. package/dist/actions/update-solutions.mjs +30 -30
  932. package/dist/actions/update-solutions.mjs.map +1 -1
  933. package/dist/actions/update-ticket-bulk-watch.cjs +6 -6
  934. package/dist/actions/update-ticket-bulk-watch.cjs.map +1 -1
  935. package/dist/actions/update-ticket-bulk-watch.d.cts +7 -20
  936. package/dist/actions/update-ticket-bulk-watch.d.mts +7 -20
  937. package/dist/actions/update-ticket-bulk-watch.mjs +6 -6
  938. package/dist/actions/update-ticket-bulk-watch.mjs.map +1 -1
  939. package/dist/actions/update-ticket-forms.cjs +5 -5
  940. package/dist/actions/update-ticket-forms.cjs.map +1 -1
  941. package/dist/actions/update-ticket-forms.d.cts +6 -37
  942. package/dist/actions/update-ticket-forms.d.cts.map +1 -1
  943. package/dist/actions/update-ticket-forms.d.mts +6 -37
  944. package/dist/actions/update-ticket-forms.d.mts.map +1 -1
  945. package/dist/actions/update-ticket-forms.mjs +5 -5
  946. package/dist/actions/update-ticket-forms.mjs.map +1 -1
  947. package/dist/actions/update-ticket-summary.cjs +11 -11
  948. package/dist/actions/update-ticket-summary.cjs.map +1 -1
  949. package/dist/actions/update-ticket-summary.d.cts +12 -24
  950. package/dist/actions/update-ticket-summary.d.mts +12 -24
  951. package/dist/actions/update-ticket-summary.mjs +11 -11
  952. package/dist/actions/update-ticket-summary.mjs.map +1 -1
  953. package/dist/actions/update-ticket-user-access.d.cts +1 -3
  954. package/dist/actions/update-ticket-user-access.d.mts +1 -3
  955. package/dist/actions/update-ticket.cjs +41 -41
  956. package/dist/actions/update-ticket.cjs.map +1 -1
  957. package/dist/actions/update-ticket.d.cts +42 -85
  958. package/dist/actions/update-ticket.d.cts.map +1 -1
  959. package/dist/actions/update-ticket.d.mts +42 -85
  960. package/dist/actions/update-ticket.d.mts.map +1 -1
  961. package/dist/actions/update-ticket.mjs +41 -41
  962. package/dist/actions/update-ticket.mjs.map +1 -1
  963. package/dist/actions/update-time-entry.cjs +13 -13
  964. package/dist/actions/update-time-entry.cjs.map +1 -1
  965. package/dist/actions/update-time-entry.d.cts +14 -28
  966. package/dist/actions/update-time-entry.d.mts +14 -28
  967. package/dist/actions/update-time-entry.mjs +13 -13
  968. package/dist/actions/update-time-entry.mjs.map +1 -1
  969. package/dist/actions/view-a-canned-response.cjs +20 -20
  970. package/dist/actions/view-a-canned-response.cjs.map +1 -1
  971. package/dist/actions/view-a-canned-response.d.cts +21 -43
  972. package/dist/actions/view-a-canned-response.d.mts +21 -43
  973. package/dist/actions/view-a-canned-response.mjs +20 -20
  974. package/dist/actions/view-a-canned-response.mjs.map +1 -1
  975. package/dist/actions/view-automations.cjs +39 -39
  976. package/dist/actions/view-automations.cjs.map +1 -1
  977. package/dist/actions/view-automations.d.cts +39 -85
  978. package/dist/actions/view-automations.d.cts.map +1 -1
  979. package/dist/actions/view-automations.d.mts +39 -85
  980. package/dist/actions/view-automations.d.mts.map +1 -1
  981. package/dist/actions/view-automations.mjs +39 -39
  982. package/dist/actions/view-automations.mjs.map +1 -1
  983. package/dist/actions/view-business-hour.cjs +22 -22
  984. package/dist/actions/view-business-hour.cjs.map +1 -1
  985. package/dist/actions/view-business-hour.d.cts +35 -79
  986. package/dist/actions/view-business-hour.d.mts +35 -79
  987. package/dist/actions/view-business-hour.mjs +22 -22
  988. package/dist/actions/view-business-hour.mjs.map +1 -1
  989. package/dist/actions/view-company-field.cjs +17 -17
  990. package/dist/actions/view-company-field.cjs.map +1 -1
  991. package/dist/actions/view-company-field.d.cts +18 -39
  992. package/dist/actions/view-company-field.d.mts +18 -39
  993. package/dist/actions/view-company-field.mjs +17 -17
  994. package/dist/actions/view-company-field.mjs.map +1 -1
  995. package/dist/actions/view-contact-field.cjs +7 -7
  996. package/dist/actions/view-contact-field.cjs.map +1 -1
  997. package/dist/actions/view-contact-field.d.cts +8 -33
  998. package/dist/actions/view-contact-field.d.mts +8 -33
  999. package/dist/actions/view-contact-field.mjs +7 -7
  1000. package/dist/actions/view-contact-field.mjs.map +1 -1
  1001. package/dist/actions/view-email-configs.cjs +10 -10
  1002. package/dist/actions/view-email-configs.cjs.map +1 -1
  1003. package/dist/actions/view-email-configs.d.cts +11 -22
  1004. package/dist/actions/view-email-configs.d.mts +11 -22
  1005. package/dist/actions/view-email-configs.mjs +10 -10
  1006. package/dist/actions/view-email-configs.mjs.map +1 -1
  1007. package/dist/actions/view-email.cjs +14 -14
  1008. package/dist/actions/view-email.cjs.map +1 -1
  1009. package/dist/actions/view-email.d.cts +15 -30
  1010. package/dist/actions/view-email.d.cts.map +1 -1
  1011. package/dist/actions/view-email.d.mts +15 -30
  1012. package/dist/actions/view-email.d.mts.map +1 -1
  1013. package/dist/actions/view-email.mjs +14 -14
  1014. package/dist/actions/view-email.mjs.map +1 -1
  1015. package/dist/actions/view-group.cjs +13 -13
  1016. package/dist/actions/view-group.cjs.map +1 -1
  1017. package/dist/actions/view-group.d.cts +14 -28
  1018. package/dist/actions/view-group.d.mts +14 -28
  1019. package/dist/actions/view-group.mjs +13 -13
  1020. package/dist/actions/view-group.mjs.map +1 -1
  1021. package/dist/actions/view-notifications.cjs +3 -3
  1022. package/dist/actions/view-notifications.cjs.map +1 -1
  1023. package/dist/actions/view-notifications.d.cts +4 -8
  1024. package/dist/actions/view-notifications.d.cts.map +1 -1
  1025. package/dist/actions/view-notifications.d.mts +4 -8
  1026. package/dist/actions/view-notifications.d.mts.map +1 -1
  1027. package/dist/actions/view-notifications.mjs +3 -3
  1028. package/dist/actions/view-notifications.mjs.map +1 -1
  1029. package/dist/actions/view-products.cjs +7 -7
  1030. package/dist/actions/view-products.cjs.map +1 -1
  1031. package/dist/actions/view-products.d.cts +8 -16
  1032. package/dist/actions/view-products.d.mts +8 -16
  1033. package/dist/actions/view-products.mjs +7 -7
  1034. package/dist/actions/view-products.mjs.map +1 -1
  1035. package/dist/actions/view-roles.cjs +9 -9
  1036. package/dist/actions/view-roles.cjs.map +1 -1
  1037. package/dist/actions/view-roles.d.cts +10 -20
  1038. package/dist/actions/view-roles.d.mts +10 -20
  1039. package/dist/actions/view-roles.mjs +9 -9
  1040. package/dist/actions/view-roles.mjs.map +1 -1
  1041. package/dist/actions/view-settings.cjs +4 -4
  1042. package/dist/actions/view-settings.cjs.map +1 -1
  1043. package/dist/actions/view-settings.d.cts +5 -10
  1044. package/dist/actions/view-settings.d.cts.map +1 -1
  1045. package/dist/actions/view-settings.d.mts +5 -10
  1046. package/dist/actions/view-settings.d.mts.map +1 -1
  1047. package/dist/actions/view-settings.mjs +4 -4
  1048. package/dist/actions/view-settings.mjs.map +1 -1
  1049. package/dist/actions/view-skill.cjs +2 -2
  1050. package/dist/actions/view-skill.cjs.map +1 -1
  1051. package/dist/actions/view-skill.d.cts +3 -17
  1052. package/dist/actions/view-skill.d.cts.map +1 -1
  1053. package/dist/actions/view-skill.d.mts +3 -17
  1054. package/dist/actions/view-skill.d.mts.map +1 -1
  1055. package/dist/actions/view-skill.mjs +2 -2
  1056. package/dist/actions/view-skill.mjs.map +1 -1
  1057. package/dist/actions/view-solution-category.cjs +9 -9
  1058. package/dist/actions/view-solution-category.cjs.map +1 -1
  1059. package/dist/actions/view-solution-category.d.cts +10 -20
  1060. package/dist/actions/view-solution-category.d.cts.map +1 -1
  1061. package/dist/actions/view-solution-category.d.mts +10 -20
  1062. package/dist/actions/view-solution-category.d.mts.map +1 -1
  1063. package/dist/actions/view-solution-category.mjs +9 -9
  1064. package/dist/actions/view-solution-category.mjs.map +1 -1
  1065. package/dist/actions/view-solution-folder.cjs +21 -21
  1066. package/dist/actions/view-solution-folder.cjs.map +1 -1
  1067. package/dist/actions/view-solution-folder.d.cts +22 -46
  1068. package/dist/actions/view-solution-folder.d.mts +22 -46
  1069. package/dist/actions/view-solution-folder.mjs +21 -21
  1070. package/dist/actions/view-solution-folder.mjs.map +1 -1
  1071. package/dist/actions/view-solutions.cjs +45 -45
  1072. package/dist/actions/view-solutions.cjs.map +1 -1
  1073. package/dist/actions/view-solutions.d.cts +46 -98
  1074. package/dist/actions/view-solutions.d.mts +46 -98
  1075. package/dist/actions/view-solutions.mjs +45 -45
  1076. package/dist/actions/view-solutions.mjs.map +1 -1
  1077. package/dist/actions/view-ticket-field.cjs +36 -36
  1078. package/dist/actions/view-ticket-field.cjs.map +1 -1
  1079. package/dist/actions/view-ticket-field.d.cts +37 -76
  1080. package/dist/actions/view-ticket-field.d.cts.map +1 -1
  1081. package/dist/actions/view-ticket-field.d.mts +37 -76
  1082. package/dist/actions/view-ticket-field.d.mts.map +1 -1
  1083. package/dist/actions/view-ticket-field.mjs +36 -36
  1084. package/dist/actions/view-ticket-field.mjs.map +1 -1
  1085. package/dist/actions/view-ticket-form-field.cjs +18 -18
  1086. package/dist/actions/view-ticket-form-field.cjs.map +1 -1
  1087. package/dist/actions/view-ticket-form-field.d.cts +19 -38
  1088. package/dist/actions/view-ticket-form-field.d.mts +19 -38
  1089. package/dist/actions/view-ticket-form-field.mjs +18 -18
  1090. package/dist/actions/view-ticket-form-field.mjs.map +1 -1
  1091. package/dist/actions/view-ticket.cjs +90 -90
  1092. package/dist/actions/view-ticket.cjs.map +1 -1
  1093. package/dist/actions/view-ticket.d.cts +91 -187
  1094. package/dist/actions/view-ticket.d.mts +91 -187
  1095. package/dist/actions/view-ticket.mjs +90 -90
  1096. package/dist/actions/view-ticket.mjs.map +1 -1
  1097. package/package.json +1 -1
@@ -22,49 +22,49 @@ declare const FreshdeskCreateContactInput: z.ZodObject<{
22
22
  unique_external_id: z.ZodOptional<z.ZodString>;
23
23
  }, z.core.$strip>;
24
24
  declare const FreshdeskCreateContactOutput: z.ZodObject<{
25
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
26
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- tags: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
28
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
30
- active: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
31
- avatar: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
32
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
33
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
- size: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
35
- avatar_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
38
- content_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
28
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  }, z.core.$strip>>>;
40
- mobile: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
41
- address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
42
- deleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
43
- language: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
44
- job_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
45
- last_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
46
- time_zone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
47
- company_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
48
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
49
- first_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
50
- twitter_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
51
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
52
- visitor_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
53
- csat_rating: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
54
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
55
- facebook_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
56
- other_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
57
- custom_fields: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
- org_contact_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
59
- other_companies: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
60
- company_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
61
- view_all_tickets: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
40
+ mobile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
43
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ job_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ company_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ twitter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ visitor_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ csat_rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ facebook_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ other_emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
57
+ custom_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
+ org_contact_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
59
+ other_companies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
60
+ company_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
+ view_all_tickets: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
62
62
  }, z.core.$strip>>>>;
63
- preferred_source: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
64
- view_all_tickets: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
65
- org_contact_id_str: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
66
- unique_external_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
67
- other_phone_numbers: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
63
+ preferred_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ view_all_tickets: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
65
+ org_contact_id_str: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ unique_external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ other_phone_numbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
68
68
  }, z.core.$strip>;
69
69
  declare const freshdeskCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
70
70
  name: string;
@@ -85,51 +85,7 @@ declare const freshdeskCreateContact: import("@keystrokehq/action").WorkflowActi
85
85
  other_companies?: Record<string, never>[] | undefined;
86
86
  view_all_tickets?: boolean | undefined;
87
87
  unique_external_id?: string | undefined;
88
- }, {
89
- id?: number | undefined;
90
- name?: string | undefined;
91
- tags?: string[] | undefined;
92
- email?: string | undefined;
93
- phone?: string | undefined;
94
- active?: boolean | undefined;
95
- avatar?: {
96
- id?: number | undefined;
97
- name?: string | undefined;
98
- size?: number | undefined;
99
- avatar_url?: string | undefined;
100
- created_at?: string | undefined;
101
- updated_at?: string | undefined;
102
- content_type?: string | undefined;
103
- } | undefined;
104
- mobile?: string | undefined;
105
- address?: string | undefined;
106
- deleted?: boolean | undefined;
107
- language?: string | undefined;
108
- job_title?: string | undefined;
109
- last_name?: string | undefined;
110
- time_zone?: string | undefined;
111
- company_id?: number | undefined;
112
- created_at?: string | undefined;
113
- first_name?: string | undefined;
114
- twitter_id?: string | undefined;
115
- updated_at?: string | undefined;
116
- visitor_id?: string | undefined;
117
- csat_rating?: number | undefined;
118
- description?: string | undefined;
119
- facebook_id?: string | undefined;
120
- other_emails?: string[] | undefined;
121
- custom_fields?: Record<string, unknown> | undefined;
122
- org_contact_id?: number | undefined;
123
- other_companies?: {
124
- company_id?: number | undefined;
125
- view_all_tickets?: boolean | undefined;
126
- }[] | undefined;
127
- preferred_source?: string | undefined;
128
- view_all_tickets?: boolean | undefined;
129
- org_contact_id_str?: string | undefined;
130
- unique_external_id?: string | undefined;
131
- other_phone_numbers?: string[] | undefined;
132
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
88
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
133
89
  //#endregion
134
90
  export { freshdeskCreateContact };
135
91
  //# sourceMappingURL=create-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmC5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmC5B,sBAAA,gCAAsB,wBAAA;;iBAMjC,MAAA;;;;;;;;;;;;;;oBAAA,MAAA"}
@@ -22,17 +22,17 @@ const FreshdeskCreateContactInput = z.object({
22
22
  unique_external_id: z.string().describe("External ID of the contact for integration purposes").optional()
23
23
  });
24
24
  const FreshdeskCreateContact_ContactAvatarSchema = z.object({
25
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the avatar attachment").optional()),
26
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Filename of the avatar image").optional()),
27
- size: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("File size in bytes").optional()),
28
- avatar_url: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Signed URL to download the avatar image").optional()),
29
- created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("When the avatar was uploaded (ISO 8601)").optional()),
30
- updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("When the avatar was last updated (ISO 8601)").optional()),
31
- content_type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("MIME type of the image (e.g., 'image/jpeg')").optional())
25
+ id: z.number().int().describe("Unique identifier of the avatar attachment").nullable().optional(),
26
+ name: z.string().describe("Filename of the avatar image").nullable().optional(),
27
+ size: z.number().int().describe("File size in bytes").nullable().optional(),
28
+ avatar_url: z.string().describe("Signed URL to download the avatar image").nullable().optional(),
29
+ created_at: z.string().describe("When the avatar was uploaded (ISO 8601)").nullable().optional(),
30
+ updated_at: z.string().describe("When the avatar was last updated (ISO 8601)").nullable().optional(),
31
+ content_type: z.string().describe("MIME type of the image (e.g., 'image/jpeg')").nullable().optional()
32
32
  }).describe("Profile picture/avatar details for a contact.");
33
33
  const FreshdeskCreateContact_OtherCompanySchema = z.object({
34
- company_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the associated company").optional()),
35
- view_all_tickets: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether contact can view all tickets for this company").optional())
34
+ company_id: z.number().int().describe("ID of the associated company").nullable().optional(),
35
+ view_all_tickets: z.boolean().describe("Whether contact can view all tickets for this company").nullable().optional()
36
36
  }).describe("Details of another company associated with a contact.");
37
37
  const freshdeskCreateContact = action("FRESHDESK_CREATE_CONTACT", {
38
38
  slug: "freshdesk-create-contact",
@@ -40,38 +40,38 @@ const freshdeskCreateContact = action("FRESHDESK_CREATE_CONTACT", {
40
40
  description: "Tool to create a new contact in Freshdesk. Use when you need to add a customer or user to your Freshdesk account. IMPORTANT: The 'employee_id' custom field is mandatory for this Freshdesk instance.",
41
41
  input: FreshdeskCreateContactInput,
42
42
  output: z.object({
43
- id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the created contact").optional()),
44
- name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Full name of the contact").optional()),
45
- tags: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Tags associated with the contact").optional()),
46
- email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Primary email address of the contact").optional()),
47
- phone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Phone number of the contact").optional()),
48
- active: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the contact is active (typically true for new contacts)").optional()),
49
- avatar: z.preprocess((value) => value === null ? void 0 : value, FreshdeskCreateContact_ContactAvatarSchema.optional()),
50
- mobile: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile number of the contact").optional()),
51
- address: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Physical address of the contact").optional()),
52
- deleted: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the contact has been deleted (typically false for new contacts)").optional()),
53
- language: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Preferred language code (e.g., 'en')").optional()),
54
- job_title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Job title of the contact").optional()),
55
- last_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Last name of the contact").optional()),
56
- time_zone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')").optional()),
57
- company_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the primary company associated with the contact").optional()),
58
- created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
59
- first_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("First name of the contact").optional()),
60
- twitter_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Twitter handle").optional()),
61
- updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
62
- visitor_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Visitor ID for tracking (UUID format)").optional()),
63
- csat_rating: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("CSAT rating of the contact (1-5 scale)").optional()),
64
- description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Description of the contact").optional()),
65
- facebook_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Facebook ID").optional()),
66
- other_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Additional email addresses of the contact").optional()),
67
- custom_fields: z.preprocess((value) => value === null ? void 0 : value, z.record(z.string(), z.unknown()).describe("Custom fields configured for the contact as key-value pairs").optional()),
68
- org_contact_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Organization-wide contact identifier").optional()),
69
- other_companies: z.preprocess((value) => value === null ? void 0 : value, z.array(FreshdeskCreateContact_OtherCompanySchema).describe("Other companies associated with the contact").optional()),
70
- preferred_source: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Preferred source of communication (e.g., 'email', 'phone', 'portal')").optional()),
71
- view_all_tickets: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the contact can view all tickets from their company").optional()),
72
- org_contact_id_str: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Organization-wide contact identifier as string (for large IDs)").optional()),
73
- unique_external_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("External system identifier for integrations").optional()),
74
- other_phone_numbers: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Additional phone numbers of the contact").optional())
43
+ id: z.number().int().describe("Unique identifier of the created contact").nullable().optional(),
44
+ name: z.string().describe("Full name of the contact").nullable().optional(),
45
+ tags: z.array(z.string()).describe("Tags associated with the contact").nullable().optional(),
46
+ email: z.string().describe("Primary email address of the contact").nullable().optional(),
47
+ phone: z.string().describe("Phone number of the contact").nullable().optional(),
48
+ active: z.boolean().describe("Whether the contact is active (typically true for new contacts)").nullable().optional(),
49
+ avatar: FreshdeskCreateContact_ContactAvatarSchema.nullable().optional(),
50
+ mobile: z.string().describe("Mobile number of the contact").nullable().optional(),
51
+ address: z.string().describe("Physical address of the contact").nullable().optional(),
52
+ deleted: z.boolean().describe("Whether the contact has been deleted (typically false for new contacts)").nullable().optional(),
53
+ language: z.string().describe("Preferred language code (e.g., 'en')").nullable().optional(),
54
+ job_title: z.string().describe("Job title of the contact").nullable().optional(),
55
+ last_name: z.string().describe("Last name of the contact").nullable().optional(),
56
+ time_zone: z.string().describe("Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')").nullable().optional(),
57
+ company_id: z.number().int().describe("ID of the primary company associated with the contact").nullable().optional(),
58
+ created_at: z.string().describe("Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
59
+ first_name: z.string().describe("First name of the contact").nullable().optional(),
60
+ twitter_id: z.string().describe("Twitter handle").nullable().optional(),
61
+ updated_at: z.string().describe("Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
62
+ visitor_id: z.string().describe("Visitor ID for tracking (UUID format)").nullable().optional(),
63
+ csat_rating: z.number().int().describe("CSAT rating of the contact (1-5 scale)").nullable().optional(),
64
+ description: z.string().describe("Description of the contact").nullable().optional(),
65
+ facebook_id: z.string().describe("Facebook ID").nullable().optional(),
66
+ other_emails: z.array(z.string()).describe("Additional email addresses of the contact").nullable().optional(),
67
+ custom_fields: z.record(z.string(), z.unknown()).describe("Custom fields configured for the contact as key-value pairs").nullable().optional(),
68
+ org_contact_id: z.number().int().describe("Organization-wide contact identifier").nullable().optional(),
69
+ other_companies: z.array(FreshdeskCreateContact_OtherCompanySchema).describe("Other companies associated with the contact").nullable().optional(),
70
+ preferred_source: z.string().describe("Preferred source of communication (e.g., 'email', 'phone', 'portal')").nullable().optional(),
71
+ view_all_tickets: z.boolean().describe("Whether the contact can view all tickets from their company").nullable().optional(),
72
+ org_contact_id_str: z.string().describe("Organization-wide contact identifier as string (for large IDs)").nullable().optional(),
73
+ unique_external_id: z.string().describe("External system identifier for integrations").nullable().optional(),
74
+ other_phone_numbers: z.array(z.string()).describe("Additional phone numbers of the contact").nullable().optional()
75
75
  }).describe("Response from creating a contact in Freshdesk.")
76
76
  });
77
77
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateContactInput = z.object({\n name: z.string().describe(\"Name of the contact [REQUIRED]\"),\n tags: z.array(z.string()).describe(\"Tags associated with the contact\").optional(),\n email: z.string().describe(\"Primary email address of the contact. Either email or phone must be provided.\").optional(),\n phone: z.string().describe(\"Phone number of the contact. Either email or phone must be provided.\").optional(),\n avatar: z.string().describe(\"URL of the contact's avatar image\").optional(),\n mobile: z.string().describe(\"Mobile number of the contact\").optional(),\n address: z.string().describe(\"Physical address of the contact\").optional(),\n language: z.string().describe(\"Language code for the contact's preferred language\").optional(),\n job_title: z.string().describe(\"Job title of the contact\").optional(),\n time_zone: z.string().describe(\"Time zone of the contact\").optional(),\n company_id: z.number().int().describe(\"ID of the primary company associated with this contact\").optional(),\n twitter_id: z.string().describe(\"Twitter handle of the contact\").optional(),\n description: z.string().describe(\"Description or notes about the contact\").optional(),\n other_emails: z.array(z.string()).describe(\"Additional email addresses of the contact\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields object. IMPORTANT: The 'employee_id' field is required for this Freshdesk instance and cannot be blank. Custom field keys should be the field name directly (not prefixed with 'cf_').\"),\n other_companies: z.array(z.object({})).describe(\"Array of other company IDs associated with the contact. Each item should have 'company_id' and optionally 'view_all_tickets'\").optional(),\n view_all_tickets: z.boolean().describe(\"Set to true if the contact can view all tickets from their company\").optional(),\n unique_external_id: z.string().describe(\"External ID of the contact for integration purposes\").optional(),\n});\nconst FreshdeskCreateContact_ContactAvatarSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the avatar attachment\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Filename of the avatar image\").optional()),\n size: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"File size in bytes\").optional()),\n avatar_url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Signed URL to download the avatar image\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"When the avatar was uploaded (ISO 8601)\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"When the avatar was last updated (ISO 8601)\").optional()),\n content_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"MIME type of the image (e.g., 'image/jpeg')\").optional()),\n}).describe(\"Profile picture/avatar details for a contact.\");\nconst FreshdeskCreateContact_OtherCompanySchema = z.object({\n company_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the associated company\").optional()),\n view_all_tickets: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether contact can view all tickets for this company\").optional()),\n}).describe(\"Details of another company associated with a contact.\");\nexport const FreshdeskCreateContactOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the created contact\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Full name of the contact\").optional()),\n tags: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Tags associated with the contact\").optional()),\n email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Primary email address of the contact\").optional()),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number of the contact\").optional()),\n active: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the contact is active (typically true for new contacts)\").optional()),\n avatar: z.preprocess((value) => (value === null ? undefined : value), FreshdeskCreateContact_ContactAvatarSchema.optional()),\n mobile: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile number of the contact\").optional()),\n address: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Physical address of the contact\").optional()),\n deleted: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the contact has been deleted (typically false for new contacts)\").optional()),\n language: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Preferred language code (e.g., 'en')\").optional()),\n job_title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Job title of the contact\").optional()),\n last_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last name of the contact\").optional()),\n time_zone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')\").optional()),\n company_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the primary company associated with the contact\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n first_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"First name of the contact\").optional()),\n twitter_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Twitter handle\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n visitor_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Visitor ID for tracking (UUID format)\").optional()),\n csat_rating: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"CSAT rating of the contact (1-5 scale)\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Description of the contact\").optional()),\n facebook_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Facebook ID\").optional()),\n other_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Additional email addresses of the contact\").optional()),\n custom_fields: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Custom fields configured for the contact as key-value pairs\").optional()),\n org_contact_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Organization-wide contact identifier\").optional()),\n other_companies: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskCreateContact_OtherCompanySchema).describe(\"Other companies associated with the contact\").optional()),\n preferred_source: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Preferred source of communication (e.g., 'email', 'phone', 'portal')\").optional()),\n view_all_tickets: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the contact can view all tickets from their company\").optional()),\n org_contact_id_str: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization-wide contact identifier as string (for large IDs)\").optional()),\n unique_external_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"External system identifier for integrations\").optional()),\n other_phone_numbers: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Additional phone numbers of the contact\").optional()),\n}).describe(\"Response from creating a contact in Freshdesk.\");\n\nexport const freshdeskCreateContact = action(\"FRESHDESK_CREATE_CONTACT\", {\n slug: \"freshdesk-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in Freshdesk. Use when you need to add a customer or user to your Freshdesk account. IMPORTANT: The 'employee_id' custom field is mandatory for this Freshdesk instance.\",\n input: FreshdeskCreateContactInput,\n output: FreshdeskCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,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Y,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;EAC1J,iBAAiB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;EACpM,kBAAkB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC;EACtL,kBAAkB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC;EAC9K,oBAAoB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC;EAClL,oBAAoB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;EAC/J,qBAAqB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CACvK,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateContactInput = z.object({\n name: z.string().describe(\"Name of the contact [REQUIRED]\"),\n tags: z.array(z.string()).describe(\"Tags associated with the contact\").optional(),\n email: z.string().describe(\"Primary email address of the contact. Either email or phone must be provided.\").optional(),\n phone: z.string().describe(\"Phone number of the contact. Either email or phone must be provided.\").optional(),\n avatar: z.string().describe(\"URL of the contact's avatar image\").optional(),\n mobile: z.string().describe(\"Mobile number of the contact\").optional(),\n address: z.string().describe(\"Physical address of the contact\").optional(),\n language: z.string().describe(\"Language code for the contact's preferred language\").optional(),\n job_title: z.string().describe(\"Job title of the contact\").optional(),\n time_zone: z.string().describe(\"Time zone of the contact\").optional(),\n company_id: z.number().int().describe(\"ID of the primary company associated with this contact\").optional(),\n twitter_id: z.string().describe(\"Twitter handle of the contact\").optional(),\n description: z.string().describe(\"Description or notes about the contact\").optional(),\n other_emails: z.array(z.string()).describe(\"Additional email addresses of the contact\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields object. IMPORTANT: The 'employee_id' field is required for this Freshdesk instance and cannot be blank. Custom field keys should be the field name directly (not prefixed with 'cf_').\"),\n other_companies: z.array(z.object({})).describe(\"Array of other company IDs associated with the contact. Each item should have 'company_id' and optionally 'view_all_tickets'\").optional(),\n view_all_tickets: z.boolean().describe(\"Set to true if the contact can view all tickets from their company\").optional(),\n unique_external_id: z.string().describe(\"External ID of the contact for integration purposes\").optional(),\n});\nconst FreshdeskCreateContact_ContactAvatarSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the avatar attachment\").nullable().optional(),\n name: z.string().describe(\"Filename of the avatar image\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n avatar_url: z.string().describe(\"Signed URL to download the avatar image\").nullable().optional(),\n created_at: z.string().describe(\"When the avatar was uploaded (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"When the avatar was last updated (ISO 8601)\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the image (e.g., 'image/jpeg')\").nullable().optional(),\n}).describe(\"Profile picture/avatar details for a contact.\");\nconst FreshdeskCreateContact_OtherCompanySchema = z.object({\n company_id: z.number().int().describe(\"ID of the associated company\").nullable().optional(),\n view_all_tickets: z.boolean().describe(\"Whether contact can view all tickets for this company\").nullable().optional(),\n}).describe(\"Details of another company associated with a contact.\");\nexport const FreshdeskCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created contact\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the contact\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active (typically true for new contacts)\").nullable().optional(),\n avatar: FreshdeskCreateContact_ContactAvatarSchema.nullable().optional(),\n mobile: z.string().describe(\"Mobile number of the contact\").nullable().optional(),\n address: z.string().describe(\"Physical address of the contact\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether the contact has been deleted (typically false for new contacts)\").nullable().optional(),\n language: z.string().describe(\"Preferred language code (e.g., 'en')\").nullable().optional(),\n job_title: z.string().describe(\"Job title of the contact\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')\").nullable().optional(),\n company_id: z.number().int().describe(\"ID of the primary company associated with the contact\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n twitter_id: z.string().describe(\"Twitter handle\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n visitor_id: z.string().describe(\"Visitor ID for tracking (UUID format)\").nullable().optional(),\n csat_rating: z.number().int().describe(\"CSAT rating of the contact (1-5 scale)\").nullable().optional(),\n description: z.string().describe(\"Description of the contact\").nullable().optional(),\n facebook_id: z.string().describe(\"Facebook ID\").nullable().optional(),\n other_emails: z.array(z.string()).describe(\"Additional email addresses of the contact\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields configured for the contact as key-value pairs\").nullable().optional(),\n org_contact_id: z.number().int().describe(\"Organization-wide contact identifier\").nullable().optional(),\n other_companies: z.array(FreshdeskCreateContact_OtherCompanySchema).describe(\"Other companies associated with the contact\").nullable().optional(),\n preferred_source: z.string().describe(\"Preferred source of communication (e.g., 'email', 'phone', 'portal')\").nullable().optional(),\n view_all_tickets: z.boolean().describe(\"Whether the contact can view all tickets from their company\").nullable().optional(),\n org_contact_id_str: z.string().describe(\"Organization-wide contact identifier as string (for large IDs)\").nullable().optional(),\n unique_external_id: z.string().describe(\"External system identifier for integrations\").nullable().optional(),\n other_phone_numbers: z.array(z.string()).describe(\"Additional phone numbers of the contact\").nullable().optional(),\n}).describe(\"Response from creating a contact in Freshdesk.\");\n\nexport const freshdeskCreateContact = action(\"FRESHDESK_CREATE_CONTACT\", {\n slug: \"freshdesk-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in Freshdesk. Use when you need to add a customer or user to your Freshdesk account. IMPORTANT: The 'employee_id' custom field is mandatory for this Freshdesk instance.\",\n input: FreshdeskCreateContactInput,\n output: FreshdeskCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,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,11 @@ const FreshdeskCreateDiscussionCategoryInput = zod.z.object({
8
8
  const FreshdeskCreateDiscussionCategoryOutput = zod.z.object({
9
9
  id: zod.z.number().int().describe("Unique identifier of the discussion category.").nullable(),
10
10
  name: zod.z.string().describe("The name of the discussion category.").nullable(),
11
- position: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The display order position of the category.").optional()),
11
+ position: zod.z.number().int().describe("The display order position of the category.").nullable().optional(),
12
12
  created_at: zod.z.string().describe("Timestamp when the category was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).").nullable(),
13
13
  updated_at: zod.z.string().describe("Timestamp when the category was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).").nullable(),
14
14
  description: zod.z.string().describe("The description of the discussion category.").nullable(),
15
- visible_in_portals: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.number().int()).describe("Array of portal IDs where the category is visible.").optional())
15
+ visible_in_portals: zod.z.array(zod.z.number().int()).describe("Array of portal IDs where the category is visible.").nullable().optional()
16
16
  });
17
17
  const freshdeskCreateDiscussionCategory = require_action.action("FRESHDESK_CREATE_DISCUSSION_CATEGORY", {
18
18
  slug: "freshdesk-create-discussion-category",
@@ -1 +1 @@
1
- {"version":3,"file":"create-discussion-category.cjs","names":["z","action"],"sources":["../../src/actions/create-discussion-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateDiscussionCategoryInput = z.object({\n name: z.string().describe(\"The name of the discussion category. Must be unique among existing categories.\"),\n description: z.string().describe(\"A brief description explaining the purpose of this discussion category.\"),\n});\nexport const FreshdeskCreateDiscussionCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the discussion category.\").nullable(),\n name: z.string().describe(\"The name of the discussion category.\").nullable(),\n position: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The display order position of the category.\").optional()),\n created_at: z.string().describe(\"Timestamp when the category was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the category was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n description: z.string().describe(\"The description of the discussion category.\").nullable(),\n visible_in_portals: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Array of portal IDs where the category is visible.\").optional()),\n});\n\nexport const freshdeskCreateDiscussionCategory = action(\"FRESHDESK_CREATE_DISCUSSION_CATEGORY\", {\n slug: \"freshdesk-create-discussion-category\",\n name: \"Create Discussion Category\",\n description: \"Tool to create a new discussion category in Freshdesk forums.\",\n input: FreshdeskCreateDiscussionCategoryInput,\n output: FreshdeskCreateDiscussionCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AAC5G,CAAC;AACD,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;CAC3J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC;AACvL,CAAC;AAED,MAAa,oCAAoCC,eAAAA,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-discussion-category.cjs","names":["z","action"],"sources":["../../src/actions/create-discussion-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateDiscussionCategoryInput = z.object({\n name: z.string().describe(\"The name of the discussion category. Must be unique among existing categories.\"),\n description: z.string().describe(\"A brief description explaining the purpose of this discussion category.\"),\n});\nexport const FreshdeskCreateDiscussionCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the discussion category.\").nullable(),\n name: z.string().describe(\"The name of the discussion category.\").nullable(),\n position: z.number().int().describe(\"The display order position of the category.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the category was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the category was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n description: z.string().describe(\"The description of the discussion category.\").nullable(),\n visible_in_portals: z.array(z.number().int()).describe(\"Array of portal IDs where the category is visible.\").nullable().optional(),\n});\n\nexport const freshdeskCreateDiscussionCategory = action(\"FRESHDESK_CREATE_DISCUSSION_CATEGORY\", {\n slug: \"freshdesk-create-discussion-category\",\n name: \"Create Discussion Category\",\n description: \"Tool to create a new discussion category in Freshdesk forums.\",\n input: FreshdeskCreateDiscussionCategoryInput,\n output: FreshdeskCreateDiscussionCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AAC5G,CAAC;AACD,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC;AAED,MAAa,oCAAoCC,eAAAA,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,24 +8,16 @@ declare const FreshdeskCreateDiscussionCategoryInput: z.ZodObject<{
8
8
  declare const FreshdeskCreateDiscussionCategoryOutput: z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodNumber>;
10
10
  name: z.ZodNullable<z.ZodString>;
11
- position: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
+ position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  created_at: z.ZodNullable<z.ZodString>;
13
13
  updated_at: z.ZodNullable<z.ZodString>;
14
14
  description: z.ZodNullable<z.ZodString>;
15
- visible_in_portals: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
15
+ visible_in_portals: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
16
16
  }, z.core.$strip>;
17
17
  declare const freshdeskCreateDiscussionCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  name: string;
19
19
  description: string;
20
- }, {
21
- id: number | null;
22
- name: string | null;
23
- created_at: string | null;
24
- updated_at: string | null;
25
- description: string | null;
26
- position?: number | undefined;
27
- visible_in_portals?: number[] | undefined;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
21
  //#endregion
30
22
  export { freshdeskCreateDiscussionCategory };
31
23
  //# sourceMappingURL=create-discussion-category.d.cts.map
@@ -8,24 +8,16 @@ declare const FreshdeskCreateDiscussionCategoryInput: z.ZodObject<{
8
8
  declare const FreshdeskCreateDiscussionCategoryOutput: z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodNumber>;
10
10
  name: z.ZodNullable<z.ZodString>;
11
- position: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
+ position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  created_at: z.ZodNullable<z.ZodString>;
13
13
  updated_at: z.ZodNullable<z.ZodString>;
14
14
  description: z.ZodNullable<z.ZodString>;
15
- visible_in_portals: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
15
+ visible_in_portals: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
16
16
  }, z.core.$strip>;
17
17
  declare const freshdeskCreateDiscussionCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  name: string;
19
19
  description: string;
20
- }, {
21
- id: number | null;
22
- name: string | null;
23
- created_at: string | null;
24
- updated_at: string | null;
25
- description: string | null;
26
- position?: number | undefined;
27
- visible_in_portals?: number[] | undefined;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
21
  //#endregion
30
22
  export { freshdeskCreateDiscussionCategory };
31
23
  //# sourceMappingURL=create-discussion-category.d.mts.map
@@ -11,11 +11,11 @@ const freshdeskCreateDiscussionCategory = action("FRESHDESK_CREATE_DISCUSSION_CA
11
11
  output: z.object({
12
12
  id: z.number().int().describe("Unique identifier of the discussion category.").nullable(),
13
13
  name: z.string().describe("The name of the discussion category.").nullable(),
14
- position: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("The display order position of the category.").optional()),
14
+ position: z.number().int().describe("The display order position of the category.").nullable().optional(),
15
15
  created_at: z.string().describe("Timestamp when the category was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).").nullable(),
16
16
  updated_at: z.string().describe("Timestamp when the category was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).").nullable(),
17
17
  description: z.string().describe("The description of the discussion category.").nullable(),
18
- visible_in_portals: z.preprocess((value) => value === null ? void 0 : value, z.array(z.number().int()).describe("Array of portal IDs where the category is visible.").optional())
18
+ visible_in_portals: z.array(z.number().int()).describe("Array of portal IDs where the category is visible.").nullable().optional()
19
19
  })
20
20
  });
21
21
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-discussion-category.mjs","names":[],"sources":["../../src/actions/create-discussion-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateDiscussionCategoryInput = z.object({\n name: z.string().describe(\"The name of the discussion category. Must be unique among existing categories.\"),\n description: z.string().describe(\"A brief description explaining the purpose of this discussion category.\"),\n});\nexport const FreshdeskCreateDiscussionCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the discussion category.\").nullable(),\n name: z.string().describe(\"The name of the discussion category.\").nullable(),\n position: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The display order position of the category.\").optional()),\n created_at: z.string().describe(\"Timestamp when the category was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the category was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n description: z.string().describe(\"The description of the discussion category.\").nullable(),\n visible_in_portals: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Array of portal IDs where the category is visible.\").optional()),\n});\n\nexport const freshdeskCreateDiscussionCategory = action(\"FRESHDESK_CREATE_DISCUSSION_CATEGORY\", {\n slug: \"freshdesk-create-discussion-category\",\n name: \"Create Discussion Category\",\n description: \"Tool to create a new discussion category in Freshdesk forums.\",\n input: FreshdeskCreateDiscussionCategoryInput,\n output: FreshdeskCreateDiscussionCategoryOutput,\n});\n"],"mappings":";;AAkBA,MAAa,oCAAoC,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CAC5G,CAeS;CACP,QAfqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;EAC3J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACrI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC;CACvL,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-discussion-category.mjs","names":[],"sources":["../../src/actions/create-discussion-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateDiscussionCategoryInput = z.object({\n name: z.string().describe(\"The name of the discussion category. Must be unique among existing categories.\"),\n description: z.string().describe(\"A brief description explaining the purpose of this discussion category.\"),\n});\nexport const FreshdeskCreateDiscussionCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the discussion category.\").nullable(),\n name: z.string().describe(\"The name of the discussion category.\").nullable(),\n position: z.number().int().describe(\"The display order position of the category.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the category was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the category was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).\").nullable(),\n description: z.string().describe(\"The description of the discussion category.\").nullable(),\n visible_in_portals: z.array(z.number().int()).describe(\"Array of portal IDs where the category is visible.\").nullable().optional(),\n});\n\nexport const freshdeskCreateDiscussionCategory = action(\"FRESHDESK_CREATE_DISCUSSION_CATEGORY\", {\n slug: \"freshdesk-create-discussion-category\",\n name: \"Create Discussion Category\",\n description: \"Tool to create a new discussion category in Freshdesk forums.\",\n input: FreshdeskCreateDiscussionCategoryInput,\n output: FreshdeskCreateDiscussionCategoryOutput,\n});\n"],"mappings":";;AAkBA,MAAa,oCAAoC,OAAO,wCAAwC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CAC5G,CAeS;CACP,QAfqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACrI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAOU;AACV,CAAC"}
@@ -9,22 +9,22 @@ const FreshdeskCreateDiscussionForumTopicInput = zod.z.object({
9
9
  forum_id: zod.z.number().int().describe("The ID of the forum in which to create the topic")
10
10
  });
11
11
  const FreshdeskCreateDiscussionForumTopicOutput = zod.z.object({
12
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the created topic").optional()),
13
- hits: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of views the topic has received").optional()),
14
- title: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Title of the topic").optional()),
15
- locked: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the topic is locked for new posts").optional()),
16
- sticky: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the topic is pinned/sticky").optional()),
17
- user_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the user who created the topic").optional()),
18
- forum_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the forum containing this topic").optional()),
19
- published: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the topic is published/visible").optional()),
20
- created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the topic was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
21
- replied_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp of the last reply in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
22
- replied_by: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of user who last replied").optional()),
23
- stamp_type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.union([zod.z.string(), zod.z.number().int()]).optional()),
24
- updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the topic was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
25
- user_votes: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of votes the topic has received").optional()),
26
- comments_count: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of posts/comments in the topic").optional()),
27
- merged_topic_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of merged topic if applicable").optional())
12
+ id: zod.z.number().int().describe("Unique identifier of the created topic").nullable().optional(),
13
+ hits: zod.z.number().int().describe("Number of views the topic has received").nullable().optional(),
14
+ title: zod.z.string().describe("Title of the topic").nullable().optional(),
15
+ locked: zod.z.boolean().describe("Whether the topic is locked for new posts").nullable().optional(),
16
+ sticky: zod.z.boolean().describe("Whether the topic is pinned/sticky").nullable().optional(),
17
+ user_id: zod.z.number().int().describe("ID of the user who created the topic").nullable().optional(),
18
+ forum_id: zod.z.number().int().describe("ID of the forum containing this topic").nullable().optional(),
19
+ published: zod.z.boolean().describe("Whether the topic is published/visible").nullable().optional(),
20
+ created_at: zod.z.string().describe("Timestamp when the topic was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
21
+ replied_at: zod.z.string().describe("Timestamp of the last reply in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
22
+ replied_by: zod.z.number().int().describe("ID of user who last replied").nullable().optional(),
23
+ stamp_type: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
24
+ updated_at: zod.z.string().describe("Timestamp when the topic was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").nullable().optional(),
25
+ user_votes: zod.z.number().int().describe("Number of votes the topic has received").nullable().optional(),
26
+ comments_count: zod.z.number().int().describe("Number of posts/comments in the topic").nullable().optional(),
27
+ merged_topic_id: zod.z.number().int().describe("ID of merged topic if applicable").nullable().optional()
28
28
  });
29
29
  const freshdeskCreateDiscussionForumTopic = require_action.action("FRESHDESK_CREATE_DISCUSSION_FORUM_TOPIC", {
30
30
  slug: "freshdesk-create-discussion-forum-topic",
@@ -1 +1 @@
1
- {"version":3,"file":"create-discussion-forum-topic.cjs","names":["z","action"],"sources":["../../src/actions/create-discussion-forum-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateDiscussionForumTopicInput = z.object({\n title: z.string().describe(\"The title of the topic\"),\n locked: z.boolean().describe(\"Whether the topic should be locked (no replies allowed)\").optional(),\n sticky: z.boolean().describe(\"Whether the topic should be pinned to the top of the forum\").optional(),\n message: z.string().describe(\"The message/content of the topic. Supports HTML formatting.\"),\n forum_id: z.number().int().describe(\"The ID of the forum in which to create the topic\"),\n});\nexport const FreshdeskCreateDiscussionForumTopicOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the created topic\").optional()),\n hits: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of views the topic has received\").optional()),\n title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Title of the topic\").optional()),\n locked: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the topic is locked for new posts\").optional()),\n sticky: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the topic is pinned/sticky\").optional()),\n user_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the user who created the topic\").optional()),\n forum_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the forum containing this topic\").optional()),\n published: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the topic is published/visible\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the topic was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n replied_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of the last reply in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n replied_by: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of user who last replied\").optional()),\n stamp_type: z.preprocess((value) => (value === null ? undefined : value), z.union([z.string(), z.number().int()]).optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the topic was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n user_votes: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of votes the topic has received\").optional()),\n comments_count: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of posts/comments in the topic\").optional()),\n merged_topic_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of merged topic if applicable\").optional()),\n});\n\nexport const freshdeskCreateDiscussionForumTopic = action(\"FRESHDESK_CREATE_DISCUSSION_FORUM_TOPIC\", {\n slug: \"freshdesk-create-discussion-forum-topic\",\n name: \"Create Discussion Forum Topic\",\n description: \"Tool to create a new topic in a Freshdesk discussion forum. Use when you need to post a new discussion topic or thread in a specific forum.\",\n input: FreshdeskCreateDiscussionForumTopicInput,\n output: FreshdeskCreateDiscussionForumTopicOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;AACxF,CAAC;AACD,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CAChJ,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CAClJ,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC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AM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;CAC5H,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC;CAC/L,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;CACxJ,gBAAgBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;CAC3J,iBAAiBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;AACzJ,CAAC;AAED,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-discussion-forum-topic.cjs","names":["z","action"],"sources":["../../src/actions/create-discussion-forum-topic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskCreateDiscussionForumTopicInput = z.object({\n title: z.string().describe(\"The title of the topic\"),\n locked: z.boolean().describe(\"Whether the topic should be locked (no replies allowed)\").optional(),\n sticky: z.boolean().describe(\"Whether the topic should be pinned to the top of the forum\").optional(),\n message: z.string().describe(\"The message/content of the topic. Supports HTML formatting.\"),\n forum_id: z.number().int().describe(\"The ID of the forum in which to create the topic\"),\n});\nexport const FreshdeskCreateDiscussionForumTopicOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created topic\").nullable().optional(),\n hits: z.number().int().describe(\"Number of views the topic has received\").nullable().optional(),\n title: z.string().describe(\"Title of the topic\").nullable().optional(),\n locked: z.boolean().describe(\"Whether the topic is locked for new posts\").nullable().optional(),\n sticky: z.boolean().describe(\"Whether the topic is pinned/sticky\").nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who created the topic\").nullable().optional(),\n forum_id: z.number().int().describe(\"ID of the forum containing this topic\").nullable().optional(),\n published: z.boolean().describe(\"Whether the topic is published/visible\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the topic was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n replied_at: z.string().describe(\"Timestamp of the last reply in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n replied_by: z.number().int().describe(\"ID of user who last replied\").nullable().optional(),\n stamp_type: z.union([z.string(), z.number().int()]).nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the topic was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n user_votes: z.number().int().describe(\"Number of votes the topic has received\").nullable().optional(),\n comments_count: z.number().int().describe(\"Number of posts/comments in the topic\").nullable().optional(),\n merged_topic_id: z.number().int().describe(\"ID of merged topic if applicable\").nullable().optional(),\n});\n\nexport const freshdeskCreateDiscussionForumTopic = action(\"FRESHDESK_CREATE_DISCUSSION_FORUM_TOPIC\", {\n slug: \"freshdesk-create-discussion-forum-topic\",\n name: \"Create Discussion Forum Topic\",\n description: \"Tool to create a new topic in a Freshdesk discussion forum. Use when you need to post a new discussion topic or thread in a specific forum.\",\n input: FreshdeskCreateDiscussionForumTopicInput,\n output: FreshdeskCreateDiscussionForumTopicOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,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AAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC;AAED,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,22 +9,22 @@ declare const FreshdeskCreateDiscussionForumTopicInput: z.ZodObject<{
9
9
  forum_id: z.ZodNumber;
10
10
  }, z.core.$strip>;
11
11
  declare const FreshdeskCreateDiscussionForumTopicOutput: z.ZodObject<{
12
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
- hits: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
14
- title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- locked: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
16
- sticky: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
17
- user_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- forum_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
- published: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
20
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- replied_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- replied_by: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
23
- stamp_type: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
24
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- user_votes: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
26
- comments_count: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
27
- merged_topic_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ hits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ sticky: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ forum_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ published: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ replied_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ replied_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ stamp_type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
24
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ user_votes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ comments_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ merged_topic_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
28
  }, z.core.$strip>;
29
29
  declare const freshdeskCreateDiscussionForumTopic: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  title: string;
@@ -32,24 +32,7 @@ declare const freshdeskCreateDiscussionForumTopic: import("@keystrokehq/action")
32
32
  forum_id: number;
33
33
  locked?: boolean | undefined;
34
34
  sticky?: boolean | undefined;
35
- }, {
36
- id?: number | undefined;
37
- hits?: number | undefined;
38
- title?: string | undefined;
39
- locked?: boolean | undefined;
40
- sticky?: boolean | undefined;
41
- user_id?: number | undefined;
42
- forum_id?: number | undefined;
43
- published?: boolean | undefined;
44
- created_at?: string | undefined;
45
- replied_at?: string | undefined;
46
- replied_by?: number | undefined;
47
- stamp_type?: string | number | undefined;
48
- updated_at?: string | undefined;
49
- user_votes?: number | undefined;
50
- comments_count?: number | undefined;
51
- merged_topic_id?: number | undefined;
52
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
53
36
  //#endregion
54
37
  export { freshdeskCreateDiscussionForumTopic };
55
38
  //# sourceMappingURL=create-discussion-forum-topic.d.cts.map