@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
@@ -1 +1 @@
1
- {"version":3,"file":"search-agents.cjs","names":["z","action"],"sources":["../../src/actions/search-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskSearchAgentsInput = z.object({\n page: z.number().int().describe(\"Specifies which page of results to return\").optional(),\n email: z.string().describe(\"Filter agents by email address\").optional(),\n phone: z.string().describe(\"Filter agents by phone number\").optional(),\n state: z.enum([\"fulltime\", \"occasional\"]).describe(\"Filter agents by their state (fulltime or occasional)\").optional(),\n mobile: z.string().describe(\"Filter agents by mobile phone number\").optional(),\n per_page: z.number().int().describe(\"Specifies the number of results per page\").optional(),\n});\nconst FreshdeskSearchAgents_AgentContactSchema = z.object({\n name: z.string().describe(\"Full name of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number of the contact.\").optional()),\n active: z.boolean().describe(\"Indicates whether the contact is active.\").nullable(),\n avatar: z.preprocess((value) => (value === null ? undefined : value), z.unknown().describe(\"Avatar image information for the contact.\").optional()),\n mobile: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile phone number of the contact.\").optional()),\n address: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Physical address of the contact.\").optional()),\n language: z.string().describe(\"Preferred language of the contact (e.g., 'en' for English).\").nullable(),\n job_title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Job title of the contact.\").optional()),\n time_zone: z.string().describe(\"Time zone setting of the contact (e.g., 'Chennai', 'Pacific Time (US & Canada)').\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact was created in UTC format (ISO 8601).\").nullable(),\n twitter_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Twitter account identifier for the contact.\").optional()),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated in UTC format (ISO 8601).\").nullable(),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Text description for the contact.\").optional()),\n last_login_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of the contact's last login in ISO 8601 format.\").optional()),\n});\nconst FreshdeskSearchAgents_AgentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the agent.\").nullable(),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The type or classification of the agent.\").optional()),\n contact: FreshdeskSearchAgents_AgentContactSchema.nullable(),\n role_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Array of role identifiers associated with the agent, which determine their access privileges.\").optional()),\n available: z.boolean().describe(\"Indicates whether the agent is currently available for ticket assignment.\").nullable(),\n group_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Array of group identifiers the agent is associated with.\").optional()),\n signature: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The agent's email signature.\").optional()),\n skill_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Array of skill identifiers associated with the agent.\").optional()),\n created_at: z.string().describe(\"Timestamp when the agent's record was created in UTC format (ISO 8601).\").nullable(),\n focus_mode: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent has focus mode enabled.\").optional()),\n occasional: z.boolean().describe(\"Indicates if the agent works occasionally (true) or full-time (false).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the agent's record was last updated in UTC format (ISO 8601).\").nullable(),\n ticket_scope: z.number().int().describe(\"The scope of tickets the agent can access (1 = Global Access, 2 = Group Access, 3 = Restricted Access).\").nullable(),\n last_active_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of the agent's most recent activity in UTC format (ISO 8601).\").optional()),\n available_since: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp indicating when the agent became available in UTC format (ISO 8601).\").optional()),\n freshchat_agent: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent is also a Freshchat agent.\").optional()),\n freshcaller_agent: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent is also a Freshcaller agent.\").optional()),\n});\nexport const FreshdeskSearchAgentsOutput = z.object({\n agents: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskSearchAgents_AgentSchema).describe(\"List of agents matching the search criteria\").optional()),\n});\n\nexport const freshdeskSearchAgents = action(\"FRESHDESK_SEARCH_AGENTS\", {\n slug: \"freshdesk-search-agents\",\n name: \"Search Agents\",\n description: \"Tool to search and filter agents in Freshdesk. Use when you need to find agents by email, phone, mobile, or state (fulltime/occasional).\",\n input: FreshdeskSearchAgentsInput,\n output: FreshdeskSearchAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE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AS,gFAAgF,CAAC,CAAC,SAAS,CAAC;CAC/L,iBAAiBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC;CACxK,mBAAmBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC;AAC9K,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,EACrL,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-agents.cjs","names":["z","action"],"sources":["../../src/actions/search-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskSearchAgentsInput = z.object({\n page: z.number().int().describe(\"Specifies which page of results to return\").optional(),\n email: z.string().describe(\"Filter agents by email address\").optional(),\n phone: z.string().describe(\"Filter agents by phone number\").optional(),\n state: z.enum([\"fulltime\", \"occasional\"]).describe(\"Filter agents by their state (fulltime or occasional)\").optional(),\n mobile: z.string().describe(\"Filter agents by mobile phone number\").optional(),\n per_page: z.number().int().describe(\"Specifies the number of results per page\").optional(),\n});\nconst FreshdeskSearchAgents_AgentContactSchema = z.object({\n name: z.string().describe(\"Full name of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n phone: z.string().describe(\"Phone number of the contact.\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the contact is active.\").nullable(),\n avatar: z.unknown().describe(\"Avatar image information for the contact.\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number of the contact.\").nullable().optional(),\n address: z.string().describe(\"Physical address of the contact.\").nullable().optional(),\n language: z.string().describe(\"Preferred language of the contact (e.g., 'en' for English).\").nullable(),\n job_title: z.string().describe(\"Job title of the contact.\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone setting of the contact (e.g., 'Chennai', 'Pacific Time (US & Canada)').\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact was created in UTC format (ISO 8601).\").nullable(),\n twitter_id: z.string().describe(\"Twitter account identifier for the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated in UTC format (ISO 8601).\").nullable(),\n description: z.string().describe(\"Text description for the contact.\").nullable().optional(),\n last_login_at: z.string().describe(\"Timestamp of the contact's last login in ISO 8601 format.\").nullable().optional(),\n});\nconst FreshdeskSearchAgents_AgentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the agent.\").nullable(),\n type: z.string().describe(\"The type or classification of the agent.\").nullable().optional(),\n contact: FreshdeskSearchAgents_AgentContactSchema.nullable(),\n role_ids: z.array(z.number().int()).describe(\"Array of role identifiers associated with the agent, which determine their access privileges.\").nullable().optional(),\n available: z.boolean().describe(\"Indicates whether the agent is currently available for ticket assignment.\").nullable(),\n group_ids: z.array(z.number().int()).describe(\"Array of group identifiers the agent is associated with.\").nullable().optional(),\n signature: z.string().describe(\"The agent's email signature.\").nullable().optional(),\n skill_ids: z.array(z.number().int()).describe(\"Array of skill identifiers associated with the agent.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the agent's record was created in UTC format (ISO 8601).\").nullable(),\n focus_mode: z.boolean().describe(\"Indicates whether the agent has focus mode enabled.\").nullable().optional(),\n occasional: z.boolean().describe(\"Indicates if the agent works occasionally (true) or full-time (false).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the agent's record was last updated in UTC format (ISO 8601).\").nullable(),\n ticket_scope: z.number().int().describe(\"The scope of tickets the agent can access (1 = Global Access, 2 = Group Access, 3 = Restricted Access).\").nullable(),\n last_active_at: z.string().describe(\"Timestamp of the agent's most recent activity in UTC format (ISO 8601).\").nullable().optional(),\n available_since: z.string().describe(\"Timestamp indicating when the agent became available in UTC format (ISO 8601).\").nullable().optional(),\n freshchat_agent: z.boolean().describe(\"Indicates whether the agent is also a Freshchat agent.\").nullable().optional(),\n freshcaller_agent: z.boolean().describe(\"Indicates whether the agent is also a Freshcaller agent.\").nullable().optional(),\n});\nexport const FreshdeskSearchAgentsOutput = z.object({\n agents: z.array(FreshdeskSearchAgents_AgentSchema).describe(\"List of agents matching the search criteria\").nullable().optional(),\n});\n\nexport const freshdeskSearchAgents = action(\"FRESHDESK_SEARCH_AGENTS\", {\n slug: \"freshdesk-search-agents\",\n name: \"Search Agents\",\n description: \"Tool to search and filter agents in Freshdesk. Use when you need to find agents by email, phone, mobile, or state (fulltime/occasional).\",\n input: FreshdeskSearchAgentsInput,\n output: FreshdeskSearchAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,KAAK,CAAC,YAAY,YAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC3F,CAAC;AACD,MAAM,2CAA2CA,IAAAA,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OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC5J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjI,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,40 +13,40 @@ declare const FreshdeskSearchAgentsInput: z.ZodObject<{
13
13
  per_page: z.ZodOptional<z.ZodNumber>;
14
14
  }, z.core.$strip>;
15
15
  declare const FreshdeskSearchAgentsOutput: z.ZodObject<{
16
- agents: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ agents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
17
  id: z.ZodNullable<z.ZodNumber>;
18
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  contact: z.ZodNullable<z.ZodObject<{
20
20
  name: z.ZodNullable<z.ZodString>;
21
21
  email: z.ZodNullable<z.ZodString>;
22
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  active: z.ZodNullable<z.ZodBoolean>;
24
- avatar: z.ZodPreprocess<z.ZodOptional<z.ZodUnknown>>;
25
- mobile: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
25
+ mobile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  language: z.ZodNullable<z.ZodString>;
28
- job_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
+ job_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  time_zone: z.ZodNullable<z.ZodString>;
30
30
  created_at: z.ZodNullable<z.ZodString>;
31
- twitter_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
+ twitter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  updated_at: z.ZodNullable<z.ZodString>;
33
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
- last_login_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
33
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ last_login_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  }, z.core.$strip>>;
36
- role_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
36
+ role_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
37
37
  available: z.ZodNullable<z.ZodBoolean>;
38
- group_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
39
- signature: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
40
- skill_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
38
+ group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
39
+ signature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ skill_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
41
41
  created_at: z.ZodNullable<z.ZodString>;
42
- focus_mode: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
42
+ focus_mode: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
43
43
  occasional: z.ZodNullable<z.ZodBoolean>;
44
44
  updated_at: z.ZodNullable<z.ZodString>;
45
45
  ticket_scope: z.ZodNullable<z.ZodNumber>;
46
- last_active_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
47
- available_since: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
48
- freshchat_agent: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
49
- freshcaller_agent: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
46
+ last_active_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ available_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ freshchat_agent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ freshcaller_agent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
50
50
  }, z.core.$strip>>>>;
51
51
  }, z.core.$strip>;
52
52
  declare const freshdeskSearchAgents: import("@keystrokehq/action").WorkflowActionDefinition<{
@@ -56,43 +56,7 @@ declare const freshdeskSearchAgents: import("@keystrokehq/action").WorkflowActio
56
56
  state?: "occasional" | "fulltime" | undefined;
57
57
  mobile?: string | undefined;
58
58
  per_page?: number | undefined;
59
- }, {
60
- agents?: {
61
- id: number | null;
62
- contact: {
63
- name: string | null;
64
- email: string | null;
65
- active: boolean | null;
66
- language: string | null;
67
- time_zone: string | null;
68
- created_at: string | null;
69
- updated_at: string | null;
70
- phone?: string | undefined;
71
- avatar?: unknown;
72
- mobile?: string | undefined;
73
- address?: string | undefined;
74
- job_title?: string | undefined;
75
- twitter_id?: string | undefined;
76
- description?: string | undefined;
77
- last_login_at?: string | undefined;
78
- } | null;
79
- available: boolean | null;
80
- created_at: string | null;
81
- occasional: boolean | null;
82
- updated_at: string | null;
83
- ticket_scope: number | null;
84
- type?: string | undefined;
85
- role_ids?: number[] | undefined;
86
- group_ids?: number[] | undefined;
87
- signature?: string | undefined;
88
- skill_ids?: number[] | undefined;
89
- focus_mode?: boolean | undefined;
90
- last_active_at?: string | undefined;
91
- available_since?: string | undefined;
92
- freshchat_agent?: boolean | undefined;
93
- freshcaller_agent?: boolean | undefined;
94
- }[] | undefined;
95
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
59
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
96
60
  //#endregion
97
61
  export { freshdeskSearchAgents };
98
62
  //# sourceMappingURL=search-agents.d.cts.map
@@ -13,40 +13,40 @@ declare const FreshdeskSearchAgentsInput: z.ZodObject<{
13
13
  per_page: z.ZodOptional<z.ZodNumber>;
14
14
  }, z.core.$strip>;
15
15
  declare const FreshdeskSearchAgentsOutput: z.ZodObject<{
16
- agents: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ agents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
17
  id: z.ZodNullable<z.ZodNumber>;
18
- type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  contact: z.ZodNullable<z.ZodObject<{
20
20
  name: z.ZodNullable<z.ZodString>;
21
21
  email: z.ZodNullable<z.ZodString>;
22
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  active: z.ZodNullable<z.ZodBoolean>;
24
- avatar: z.ZodPreprocess<z.ZodOptional<z.ZodUnknown>>;
25
- mobile: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
25
+ mobile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  language: z.ZodNullable<z.ZodString>;
28
- job_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
+ job_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  time_zone: z.ZodNullable<z.ZodString>;
30
30
  created_at: z.ZodNullable<z.ZodString>;
31
- twitter_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
+ twitter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  updated_at: z.ZodNullable<z.ZodString>;
33
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
- last_login_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
33
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ last_login_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  }, z.core.$strip>>;
36
- role_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
36
+ role_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
37
37
  available: z.ZodNullable<z.ZodBoolean>;
38
- group_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
39
- signature: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
40
- skill_ids: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
38
+ group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
39
+ signature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ skill_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
41
41
  created_at: z.ZodNullable<z.ZodString>;
42
- focus_mode: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
42
+ focus_mode: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
43
43
  occasional: z.ZodNullable<z.ZodBoolean>;
44
44
  updated_at: z.ZodNullable<z.ZodString>;
45
45
  ticket_scope: z.ZodNullable<z.ZodNumber>;
46
- last_active_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
47
- available_since: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
48
- freshchat_agent: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
49
- freshcaller_agent: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
46
+ last_active_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ available_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ freshchat_agent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ freshcaller_agent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
50
50
  }, z.core.$strip>>>>;
51
51
  }, z.core.$strip>;
52
52
  declare const freshdeskSearchAgents: import("@keystrokehq/action").WorkflowActionDefinition<{
@@ -56,43 +56,7 @@ declare const freshdeskSearchAgents: import("@keystrokehq/action").WorkflowActio
56
56
  state?: "occasional" | "fulltime" | undefined;
57
57
  mobile?: string | undefined;
58
58
  per_page?: number | undefined;
59
- }, {
60
- agents?: {
61
- id: number | null;
62
- contact: {
63
- name: string | null;
64
- email: string | null;
65
- active: boolean | null;
66
- language: string | null;
67
- time_zone: string | null;
68
- created_at: string | null;
69
- updated_at: string | null;
70
- phone?: string | undefined;
71
- avatar?: unknown;
72
- mobile?: string | undefined;
73
- address?: string | undefined;
74
- job_title?: string | undefined;
75
- twitter_id?: string | undefined;
76
- description?: string | undefined;
77
- last_login_at?: string | undefined;
78
- } | null;
79
- available: boolean | null;
80
- created_at: string | null;
81
- occasional: boolean | null;
82
- updated_at: string | null;
83
- ticket_scope: number | null;
84
- type?: string | undefined;
85
- role_ids?: number[] | undefined;
86
- group_ids?: number[] | undefined;
87
- signature?: string | undefined;
88
- skill_ids?: number[] | undefined;
89
- focus_mode?: boolean | undefined;
90
- last_active_at?: string | undefined;
91
- available_since?: string | undefined;
92
- freshchat_agent?: boolean | undefined;
93
- freshcaller_agent?: boolean | undefined;
94
- }[] | undefined;
95
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
59
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
96
60
  //#endregion
97
61
  export { freshdeskSearchAgents };
98
62
  //# sourceMappingURL=search-agents.d.mts.map
@@ -12,45 +12,45 @@ const FreshdeskSearchAgentsInput = z.object({
12
12
  const FreshdeskSearchAgents_AgentContactSchema = z.object({
13
13
  name: z.string().describe("Full name of the contact.").nullable(),
14
14
  email: z.string().describe("Email address of the contact.").nullable(),
15
- phone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Phone number of the contact.").optional()),
15
+ phone: z.string().describe("Phone number of the contact.").nullable().optional(),
16
16
  active: z.boolean().describe("Indicates whether the contact is active.").nullable(),
17
- avatar: z.preprocess((value) => value === null ? void 0 : value, z.unknown().describe("Avatar image information for the contact.").optional()),
18
- mobile: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile phone number of the contact.").optional()),
19
- address: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Physical address of the contact.").optional()),
17
+ avatar: z.unknown().describe("Avatar image information for the contact.").nullable().optional(),
18
+ mobile: z.string().describe("Mobile phone number of the contact.").nullable().optional(),
19
+ address: z.string().describe("Physical address of the contact.").nullable().optional(),
20
20
  language: z.string().describe("Preferred language of the contact (e.g., 'en' for English).").nullable(),
21
- job_title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Job title of the contact.").optional()),
21
+ job_title: z.string().describe("Job title of the contact.").nullable().optional(),
22
22
  time_zone: z.string().describe("Time zone setting of the contact (e.g., 'Chennai', 'Pacific Time (US & Canada)').").nullable(),
23
23
  created_at: z.string().describe("Timestamp when the contact was created in UTC format (ISO 8601).").nullable(),
24
- twitter_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Twitter account identifier for the contact.").optional()),
24
+ twitter_id: z.string().describe("Twitter account identifier for the contact.").nullable().optional(),
25
25
  updated_at: z.string().describe("Timestamp when the contact was last updated in UTC format (ISO 8601).").nullable(),
26
- description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Text description for the contact.").optional()),
27
- last_login_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of the contact's last login in ISO 8601 format.").optional())
26
+ description: z.string().describe("Text description for the contact.").nullable().optional(),
27
+ last_login_at: z.string().describe("Timestamp of the contact's last login in ISO 8601 format.").nullable().optional()
28
28
  });
29
29
  const FreshdeskSearchAgents_AgentSchema = z.object({
30
30
  id: z.number().int().describe("Unique identifier for the agent.").nullable(),
31
- type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The type or classification of the agent.").optional()),
31
+ type: z.string().describe("The type or classification of the agent.").nullable().optional(),
32
32
  contact: FreshdeskSearchAgents_AgentContactSchema.nullable(),
33
- role_ids: z.preprocess((value) => value === null ? void 0 : value, z.array(z.number().int()).describe("Array of role identifiers associated with the agent, which determine their access privileges.").optional()),
33
+ role_ids: z.array(z.number().int()).describe("Array of role identifiers associated with the agent, which determine their access privileges.").nullable().optional(),
34
34
  available: z.boolean().describe("Indicates whether the agent is currently available for ticket assignment.").nullable(),
35
- group_ids: z.preprocess((value) => value === null ? void 0 : value, z.array(z.number().int()).describe("Array of group identifiers the agent is associated with.").optional()),
36
- signature: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The agent's email signature.").optional()),
37
- skill_ids: z.preprocess((value) => value === null ? void 0 : value, z.array(z.number().int()).describe("Array of skill identifiers associated with the agent.").optional()),
35
+ group_ids: z.array(z.number().int()).describe("Array of group identifiers the agent is associated with.").nullable().optional(),
36
+ signature: z.string().describe("The agent's email signature.").nullable().optional(),
37
+ skill_ids: z.array(z.number().int()).describe("Array of skill identifiers associated with the agent.").nullable().optional(),
38
38
  created_at: z.string().describe("Timestamp when the agent's record was created in UTC format (ISO 8601).").nullable(),
39
- focus_mode: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the agent has focus mode enabled.").optional()),
39
+ focus_mode: z.boolean().describe("Indicates whether the agent has focus mode enabled.").nullable().optional(),
40
40
  occasional: z.boolean().describe("Indicates if the agent works occasionally (true) or full-time (false).").nullable(),
41
41
  updated_at: z.string().describe("Timestamp when the agent's record was last updated in UTC format (ISO 8601).").nullable(),
42
42
  ticket_scope: z.number().int().describe("The scope of tickets the agent can access (1 = Global Access, 2 = Group Access, 3 = Restricted Access).").nullable(),
43
- last_active_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp of the agent's most recent activity in UTC format (ISO 8601).").optional()),
44
- available_since: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp indicating when the agent became available in UTC format (ISO 8601).").optional()),
45
- freshchat_agent: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the agent is also a Freshchat agent.").optional()),
46
- freshcaller_agent: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Indicates whether the agent is also a Freshcaller agent.").optional())
43
+ last_active_at: z.string().describe("Timestamp of the agent's most recent activity in UTC format (ISO 8601).").nullable().optional(),
44
+ available_since: z.string().describe("Timestamp indicating when the agent became available in UTC format (ISO 8601).").nullable().optional(),
45
+ freshchat_agent: z.boolean().describe("Indicates whether the agent is also a Freshchat agent.").nullable().optional(),
46
+ freshcaller_agent: z.boolean().describe("Indicates whether the agent is also a Freshcaller agent.").nullable().optional()
47
47
  });
48
48
  const freshdeskSearchAgents = action("FRESHDESK_SEARCH_AGENTS", {
49
49
  slug: "freshdesk-search-agents",
50
50
  name: "Search Agents",
51
51
  description: "Tool to search and filter agents in Freshdesk. Use when you need to find agents by email, phone, mobile, or state (fulltime/occasional).",
52
52
  input: FreshdeskSearchAgentsInput,
53
- output: z.object({ agents: z.preprocess((value) => value === null ? void 0 : value, z.array(FreshdeskSearchAgents_AgentSchema).describe("List of agents matching the search criteria").optional()) })
53
+ output: z.object({ agents: z.array(FreshdeskSearchAgents_AgentSchema).describe("List of agents matching the search criteria").nullable().optional() })
54
54
  });
55
55
  //#endregion
56
56
  export { freshdeskSearchAgents };
@@ -1 +1 @@
1
- {"version":3,"file":"search-agents.mjs","names":[],"sources":["../../src/actions/search-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskSearchAgentsInput = z.object({\n page: z.number().int().describe(\"Specifies which page of results to return\").optional(),\n email: z.string().describe(\"Filter agents by email address\").optional(),\n phone: z.string().describe(\"Filter agents by phone number\").optional(),\n state: z.enum([\"fulltime\", \"occasional\"]).describe(\"Filter agents by their state (fulltime or occasional)\").optional(),\n mobile: z.string().describe(\"Filter agents by mobile phone number\").optional(),\n per_page: z.number().int().describe(\"Specifies the number of results per page\").optional(),\n});\nconst FreshdeskSearchAgents_AgentContactSchema = z.object({\n name: z.string().describe(\"Full name of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number of the contact.\").optional()),\n active: z.boolean().describe(\"Indicates whether the contact is active.\").nullable(),\n avatar: z.preprocess((value) => (value === null ? undefined : value), z.unknown().describe(\"Avatar image information for the contact.\").optional()),\n mobile: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile phone number of the contact.\").optional()),\n address: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Physical address of the contact.\").optional()),\n language: z.string().describe(\"Preferred language of the contact (e.g., 'en' for English).\").nullable(),\n job_title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Job title of the contact.\").optional()),\n time_zone: z.string().describe(\"Time zone setting of the contact (e.g., 'Chennai', 'Pacific Time (US & Canada)').\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact was created in UTC format (ISO 8601).\").nullable(),\n twitter_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Twitter account identifier for the contact.\").optional()),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated in UTC format (ISO 8601).\").nullable(),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Text description for the contact.\").optional()),\n last_login_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of the contact's last login in ISO 8601 format.\").optional()),\n});\nconst FreshdeskSearchAgents_AgentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the agent.\").nullable(),\n type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The type or classification of the agent.\").optional()),\n contact: FreshdeskSearchAgents_AgentContactSchema.nullable(),\n role_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Array of role identifiers associated with the agent, which determine their access privileges.\").optional()),\n available: z.boolean().describe(\"Indicates whether the agent is currently available for ticket assignment.\").nullable(),\n group_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Array of group identifiers the agent is associated with.\").optional()),\n signature: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The agent's email signature.\").optional()),\n skill_ids: z.preprocess((value) => (value === null ? undefined : value), z.array(z.number().int()).describe(\"Array of skill identifiers associated with the agent.\").optional()),\n created_at: z.string().describe(\"Timestamp when the agent's record was created in UTC format (ISO 8601).\").nullable(),\n focus_mode: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent has focus mode enabled.\").optional()),\n occasional: z.boolean().describe(\"Indicates if the agent works occasionally (true) or full-time (false).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the agent's record was last updated in UTC format (ISO 8601).\").nullable(),\n ticket_scope: z.number().int().describe(\"The scope of tickets the agent can access (1 = Global Access, 2 = Group Access, 3 = Restricted Access).\").nullable(),\n last_active_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp of the agent's most recent activity in UTC format (ISO 8601).\").optional()),\n available_since: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp indicating when the agent became available in UTC format (ISO 8601).\").optional()),\n freshchat_agent: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent is also a Freshchat agent.\").optional()),\n freshcaller_agent: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the agent is also a Freshcaller agent.\").optional()),\n});\nexport const FreshdeskSearchAgentsOutput = z.object({\n agents: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskSearchAgents_AgentSchema).describe(\"List of agents matching the search criteria\").optional()),\n});\n\nexport const freshdeskSearchAgents = action(\"FRESHDESK_SEARCH_AGENTS\", {\n slug: \"freshdesk-search-agents\",\n name: \"Search Agents\",\n description: \"Tool to search and filter agents in Freshdesk. Use when you need to find agents by email, phone, mobile, or state (fulltime/occasional).\",\n input: FreshdeskSearchAgentsInput,\n output: FreshdeskSearchAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,KAAK,CAAC,YAAY,YAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,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\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskSearchAgentsInput = z.object({\n page: z.number().int().describe(\"Specifies which page of results to return\").optional(),\n email: z.string().describe(\"Filter agents by email address\").optional(),\n phone: z.string().describe(\"Filter agents by phone number\").optional(),\n state: z.enum([\"fulltime\", \"occasional\"]).describe(\"Filter agents by their state (fulltime or occasional)\").optional(),\n mobile: z.string().describe(\"Filter agents by mobile phone number\").optional(),\n per_page: z.number().int().describe(\"Specifies the number of results per page\").optional(),\n});\nconst FreshdeskSearchAgents_AgentContactSchema = z.object({\n name: z.string().describe(\"Full name of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n phone: z.string().describe(\"Phone number of the contact.\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the contact is active.\").nullable(),\n avatar: z.unknown().describe(\"Avatar image information for the contact.\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number of the contact.\").nullable().optional(),\n address: z.string().describe(\"Physical address of the contact.\").nullable().optional(),\n language: z.string().describe(\"Preferred language of the contact (e.g., 'en' for English).\").nullable(),\n job_title: z.string().describe(\"Job title of the contact.\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone setting of the contact (e.g., 'Chennai', 'Pacific Time (US & Canada)').\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact was created in UTC format (ISO 8601).\").nullable(),\n twitter_id: z.string().describe(\"Twitter account identifier for the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated in UTC format (ISO 8601).\").nullable(),\n description: z.string().describe(\"Text description for the contact.\").nullable().optional(),\n last_login_at: z.string().describe(\"Timestamp of the contact's last login in ISO 8601 format.\").nullable().optional(),\n});\nconst FreshdeskSearchAgents_AgentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the agent.\").nullable(),\n type: z.string().describe(\"The type or classification of the agent.\").nullable().optional(),\n contact: FreshdeskSearchAgents_AgentContactSchema.nullable(),\n role_ids: z.array(z.number().int()).describe(\"Array of role identifiers associated with the agent, which determine their access privileges.\").nullable().optional(),\n available: z.boolean().describe(\"Indicates whether the agent is currently available for ticket assignment.\").nullable(),\n group_ids: z.array(z.number().int()).describe(\"Array of group identifiers the agent is associated with.\").nullable().optional(),\n signature: z.string().describe(\"The agent's email signature.\").nullable().optional(),\n skill_ids: z.array(z.number().int()).describe(\"Array of skill identifiers associated with the agent.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the agent's record was created in UTC format (ISO 8601).\").nullable(),\n focus_mode: z.boolean().describe(\"Indicates whether the agent has focus mode enabled.\").nullable().optional(),\n occasional: z.boolean().describe(\"Indicates if the agent works occasionally (true) or full-time (false).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the agent's record was last updated in UTC format (ISO 8601).\").nullable(),\n ticket_scope: z.number().int().describe(\"The scope of tickets the agent can access (1 = Global Access, 2 = Group Access, 3 = Restricted Access).\").nullable(),\n last_active_at: z.string().describe(\"Timestamp of the agent's most recent activity in UTC format (ISO 8601).\").nullable().optional(),\n available_since: z.string().describe(\"Timestamp indicating when the agent became available in UTC format (ISO 8601).\").nullable().optional(),\n freshchat_agent: z.boolean().describe(\"Indicates whether the agent is also a Freshchat agent.\").nullable().optional(),\n freshcaller_agent: z.boolean().describe(\"Indicates whether the agent is also a Freshcaller agent.\").nullable().optional(),\n});\nexport const FreshdeskSearchAgentsOutput = z.object({\n agents: z.array(FreshdeskSearchAgents_AgentSchema).describe(\"List of agents matching the search criteria\").nullable().optional(),\n});\n\nexport const freshdeskSearchAgents = action(\"FRESHDESK_SEARCH_AGENTS\", {\n slug: \"freshdesk-search-agents\",\n name: \"Search Agents\",\n description: \"Tool to search and filter agents in Freshdesk. Use when you need to find agents by email, phone, mobile, or state (fulltime/occasional).\",\n input: FreshdeskSearchAgentsInput,\n output: FreshdeskSearchAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,S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yEAAyE,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC5J,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC;AAKD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjI,CAOU;AACV,CAAC"}
@@ -6,30 +6,30 @@ const FreshdeskSearchCompaniesInput = zod.z.object({
6
6
  query: zod.z.string().describe("URL-encoded query string to filter companies. Format: \"(field:value OR field:'string') AND field:boolean\". Must be enclosed in double quotes and limited to 512 characters. Note: Only custom fields and certain system fields like 'created_at' are searchable. Standard fields like 'name' are NOT supported and will cause validation errors. Use relational operators :> (greater than or equal) and :< (less than or equal) for numeric and date fields. Example: \"created_at:>'2020-01-01'\" or \"(custom_field_1:100 OR custom_field_2:'value')\"")
7
7
  });
8
8
  const FreshdeskSearchCompanies_ErrorDetailSchema = zod.z.object({
9
- code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Error code").optional()),
10
- field: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The field that caused the error").optional()),
11
- message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Error message description").optional())
9
+ code: zod.z.string().describe("Error code").nullable().optional(),
10
+ field: zod.z.string().describe("The field that caused the error").nullable().optional(),
11
+ message: zod.z.string().describe("Error message description").nullable().optional()
12
12
  });
13
13
  const FreshdeskSearchCompanies_CompanySchema = zod.z.object({
14
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier for the company.").optional()),
15
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the company.").optional()),
16
- note: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Additional notes about the company.").optional()),
17
- domains: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Array of domain names associated with the company. Used for automatic contact association.").optional()),
18
- industry: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Industry classification of the company. Available on Blossom plan and above. Editable dropdown of standard industry choices.").optional()),
19
- created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the company was created, in UTC format YYYY-MM-DDTHH:MM:SSZ.").optional()),
20
- updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the company was last updated, in UTC format YYYY-MM-DDTHH:MM:SSZ.").optional()),
21
- description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Description of the company.").optional()),
22
- account_tier: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Service tier level for the account. Available on Blossom plan and above. Editable dropdown with three choices: basic, premium, enterprise.").optional()),
23
- health_score: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company health metric. Available on Blossom plan and above. Editable dropdown with three choices: happy, doing okay, at risk.").optional()),
24
- renewal_date: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Contract or subscription renewal date. Available on Blossom plan and above. Date field for contract or renewal dates.").optional()),
25
- custom_fields: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field data stored as name-value pairs. Available from the Growth plan onwards.").optional())
14
+ id: zod.z.number().int().describe("Unique identifier for the company.").nullable().optional(),
15
+ name: zod.z.string().describe("Name of the company.").nullable().optional(),
16
+ note: zod.z.string().describe("Additional notes about the company.").nullable().optional(),
17
+ domains: zod.z.array(zod.z.string()).describe("Array of domain names associated with the company. Used for automatic contact association.").nullable().optional(),
18
+ industry: zod.z.string().describe("Industry classification of the company. Available on Blossom plan and above. Editable dropdown of standard industry choices.").nullable().optional(),
19
+ created_at: zod.z.string().describe("Timestamp when the company was created, in UTC format YYYY-MM-DDTHH:MM:SSZ.").nullable().optional(),
20
+ updated_at: zod.z.string().describe("Timestamp when the company was last updated, in UTC format YYYY-MM-DDTHH:MM:SSZ.").nullable().optional(),
21
+ description: zod.z.string().describe("Description of the company.").nullable().optional(),
22
+ account_tier: zod.z.string().describe("Service tier level for the account. Available on Blossom plan and above. Editable dropdown with three choices: basic, premium, enterprise.").nullable().optional(),
23
+ health_score: zod.z.string().describe("Company health metric. Available on Blossom plan and above. Editable dropdown with three choices: happy, doing okay, at risk.").nullable().optional(),
24
+ renewal_date: zod.z.string().describe("Contract or subscription renewal date. Available on Blossom plan and above. Date field for contract or renewal dates.").nullable().optional(),
25
+ custom_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field data stored as name-value pairs. Available from the Growth plan onwards.").nullable().optional()
26
26
  });
27
27
  const FreshdeskSearchCompaniesOutput = zod.z.object({
28
- total: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Total count of results matching the query").optional()),
29
- errors: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FreshdeskSearchCompanies_ErrorDetailSchema).describe("List of validation errors if the query was invalid").optional()),
30
- message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status message, contains error details if search failed").optional()),
31
- results: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FreshdeskSearchCompanies_CompanySchema).describe("Array of company objects matching the search criteria (max 30 per page)").optional()),
32
- success: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().default(true).describe("Indicates if the search was successful").optional())
28
+ total: zod.z.number().int().describe("Total count of results matching the query").nullable().optional(),
29
+ errors: zod.z.array(FreshdeskSearchCompanies_ErrorDetailSchema).describe("List of validation errors if the query was invalid").nullable().optional(),
30
+ message: zod.z.string().describe("Status message, contains error details if search failed").nullable().optional(),
31
+ results: zod.z.array(FreshdeskSearchCompanies_CompanySchema).describe("Array of company objects matching the search criteria (max 30 per page)").nullable().optional(),
32
+ success: zod.z.boolean().default(true).describe("Indicates if the search was successful").nullable().optional()
33
33
  });
34
34
  const freshdeskSearchCompanies = require_action.action("FRESHDESK_SEARCH_COMPANIES", {
35
35
  slug: "freshdesk-search-companies",
@@ -1 +1 @@
1
- {"version":3,"file":"search-companies.cjs","names":["z","action"],"sources":["../../src/actions/search-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskSearchCompaniesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Starts at 1 and should not exceed 10. Default: 1. Maximum 300 results can be returned across all pages (30 per page).\").optional(),\n query: z.string().describe(\"URL-encoded query string to filter companies. Format: \\\"(field:value OR field:'string') AND field:boolean\\\". Must be enclosed in double quotes and limited to 512 characters. Note: Only custom fields and certain system fields like 'created_at' are searchable. Standard fields like 'name' are NOT supported and will cause validation errors. Use relational operators :> (greater than or equal) and :< (less than or equal) for numeric and date fields. Example: \\\"created_at:>'2020-01-01'\\\" or \\\"(custom_field_1:100 OR custom_field_2:'value')\\\"\"),\n});\nconst FreshdeskSearchCompanies_ErrorDetailSchema = z.object({\n code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Error code\").optional()),\n field: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The field that caused the error\").optional()),\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Error message description\").optional()),\n});\nconst FreshdeskSearchCompanies_CompanySchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier for the company.\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the company.\").optional()),\n note: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Additional notes about the company.\").optional()),\n domains: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of domain names associated with the company. Used for automatic contact association.\").optional()),\n industry: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Industry classification of the company. Available on Blossom plan and above. Editable dropdown of standard industry choices.\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the company was created, in UTC format YYYY-MM-DDTHH:MM:SSZ.\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the company was last updated, in UTC format YYYY-MM-DDTHH:MM:SSZ.\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Description of the company.\").optional()),\n account_tier: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Service tier level for the account. Available on Blossom plan and above. Editable dropdown with three choices: basic, premium, enterprise.\").optional()),\n health_score: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company health metric. Available on Blossom plan and above. Editable dropdown with three choices: happy, doing okay, at risk.\").optional()),\n renewal_date: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Contract or subscription renewal date. Available on Blossom plan and above. Date field for contract or renewal dates.\").optional()),\n custom_fields: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Custom field data stored as name-value pairs. Available from the Growth plan onwards.\").optional()),\n});\nexport const FreshdeskSearchCompaniesOutput = z.object({\n total: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Total count of results matching the query\").optional()),\n errors: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskSearchCompanies_ErrorDetailSchema).describe(\"List of validation errors if the query was invalid\").optional()),\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status message, contains error details if search failed\").optional()),\n results: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskSearchCompanies_CompanySchema).describe(\"Array of company objects matching the search criteria (max 30 per page)\").optional()),\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().default(true).describe(\"Indicates if the search was successful\").optional()),\n});\n\nexport const freshdeskSearchCompanies = action(\"FRESHDESK_SEARCH_COMPANIES\", {\n slug: \"freshdesk-search-companies\",\n name: \"Search Companies\",\n description: \"Tool to search and filter companies in Freshdesk using query strings with custom fields. Use when you need to find companies based on searchable fields like created_at, updated_at, or custom company fields. Note: Standard fields like 'name' are NOT searchable and will cause validation errors.\",\n input: FreshdeskSearchCompaniesInput,\n output: FreshdeskSearchCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CAC9L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6hBAA6hB;AAC1jB,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC;CAChH,OAAOA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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AQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC;CACrN,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;AAChK,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-companies.cjs","names":["z","action"],"sources":["../../src/actions/search-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskSearchCompaniesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Starts at 1 and should not exceed 10. Default: 1. Maximum 300 results can be returned across all pages (30 per page).\").optional(),\n query: z.string().describe(\"URL-encoded query string to filter companies. Format: \\\"(field:value OR field:'string') AND field:boolean\\\". Must be enclosed in double quotes and limited to 512 characters. Note: Only custom fields and certain system fields like 'created_at' are searchable. Standard fields like 'name' are NOT supported and will cause validation errors. Use relational operators :> (greater than or equal) and :< (less than or equal) for numeric and date fields. Example: \\\"created_at:>'2020-01-01'\\\" or \\\"(custom_field_1:100 OR custom_field_2:'value')\\\"\"),\n});\nconst FreshdeskSearchCompanies_ErrorDetailSchema = z.object({\n code: z.string().describe(\"Error code\").nullable().optional(),\n field: z.string().describe(\"The field that caused the error\").nullable().optional(),\n message: z.string().describe(\"Error message description\").nullable().optional(),\n});\nconst FreshdeskSearchCompanies_CompanySchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the company.\").nullable().optional(),\n name: z.string().describe(\"Name of the company.\").nullable().optional(),\n note: z.string().describe(\"Additional notes about the company.\").nullable().optional(),\n domains: z.array(z.string()).describe(\"Array of domain names associated with the company. Used for automatic contact association.\").nullable().optional(),\n industry: z.string().describe(\"Industry classification of the company. Available on Blossom plan and above. Editable dropdown of standard industry choices.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the company was created, in UTC format YYYY-MM-DDTHH:MM:SSZ.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the company was last updated, in UTC format YYYY-MM-DDTHH:MM:SSZ.\").nullable().optional(),\n description: z.string().describe(\"Description of the company.\").nullable().optional(),\n account_tier: z.string().describe(\"Service tier level for the account. Available on Blossom plan and above. Editable dropdown with three choices: basic, premium, enterprise.\").nullable().optional(),\n health_score: z.string().describe(\"Company health metric. Available on Blossom plan and above. Editable dropdown with three choices: happy, doing okay, at risk.\").nullable().optional(),\n renewal_date: z.string().describe(\"Contract or subscription renewal date. Available on Blossom plan and above. Date field for contract or renewal dates.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom field data stored as name-value pairs. Available from the Growth plan onwards.\").nullable().optional(),\n});\nexport const FreshdeskSearchCompaniesOutput = z.object({\n total: z.number().int().describe(\"Total count of results matching the query\").nullable().optional(),\n errors: z.array(FreshdeskSearchCompanies_ErrorDetailSchema).describe(\"List of validation errors if the query was invalid\").nullable().optional(),\n message: z.string().describe(\"Status message, contains error details if search failed\").nullable().optional(),\n results: z.array(FreshdeskSearchCompanies_CompanySchema).describe(\"Array of company objects matching the search criteria (max 30 per page)\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates if the search was successful\").nullable().optional(),\n});\n\nexport const freshdeskSearchCompanies = action(\"FRESHDESK_SEARCH_COMPANIES\", {\n slug: \"freshdesk-search-companies\",\n name: \"Search Companies\",\n description: \"Tool to search and filter companies in Freshdesk using query strings with custom fields. Use when you need to find companies based on searchable fields like created_at, updated_at, or custom company fields. Note: Standard fields like 'name' are NOT searchable and will cause validation errors.\",\n input: FreshdeskSearchCompaniesInput,\n output: FreshdeskSearchCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,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CACP,QAAQ;AACV,CAAC"}
@@ -6,56 +6,33 @@ declare const FreshdeskSearchCompaniesInput: z.ZodObject<{
6
6
  query: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const FreshdeskSearchCompaniesOutput: z.ZodObject<{
9
- total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
10
- errors: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
11
- code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
- field: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  }, z.core.$strip>>>>;
15
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- results: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
17
- id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
- note: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- domains: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
21
- industry: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- account_tier: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- health_score: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- renewal_date: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- custom_fields: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
+ industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ account_tier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ health_score: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ renewal_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ custom_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29
29
  }, z.core.$strip>>>>;
30
- success: z.ZodPreprocess<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
30
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
31
31
  }, z.core.$strip>;
32
32
  declare const freshdeskSearchCompanies: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  query: string;
34
34
  page?: number | undefined;
35
- }, {
36
- total?: number | undefined;
37
- errors?: {
38
- code?: string | undefined;
39
- field?: string | undefined;
40
- message?: string | undefined;
41
- }[] | undefined;
42
- message?: string | undefined;
43
- results?: {
44
- id?: number | undefined;
45
- name?: string | undefined;
46
- note?: string | undefined;
47
- domains?: string[] | undefined;
48
- industry?: string | undefined;
49
- created_at?: string | undefined;
50
- updated_at?: string | undefined;
51
- description?: string | undefined;
52
- account_tier?: string | undefined;
53
- health_score?: string | undefined;
54
- renewal_date?: string | undefined;
55
- custom_fields?: Record<string, unknown> | undefined;
56
- }[] | undefined;
57
- success?: boolean | undefined;
58
- }, 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]>;
59
36
  //#endregion
60
37
  export { freshdeskSearchCompanies };
61
38
  //# sourceMappingURL=search-companies.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-companies.d.cts","names":[],"sources":["../../src/actions/search-companies.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAuB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;oBAMnC,MAAA;EAAA"}
1
+ {"version":3,"file":"search-companies.d.cts","names":[],"sources":["../../src/actions/search-companies.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAuB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}