@keystrokehq/supportbee 0.1.0

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 (362) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-label-to-ticket.cjs +27 -0
  7. package/dist/actions/add-label-to-ticket.cjs.map +1 -0
  8. package/dist/actions/add-label-to-ticket.d.cts +9 -0
  9. package/dist/actions/add-label-to-ticket.d.cts.map +1 -0
  10. package/dist/actions/add-label-to-ticket.d.mts +9 -0
  11. package/dist/actions/add-label-to-ticket.d.mts.map +1 -0
  12. package/dist/actions/add-label-to-ticket.mjs +26 -0
  13. package/dist/actions/add-label-to-ticket.mjs.map +1 -0
  14. package/dist/actions/archive-ticket.cjs +33 -0
  15. package/dist/actions/archive-ticket.cjs.map +1 -0
  16. package/dist/actions/archive-ticket.d.cts +9 -0
  17. package/dist/actions/archive-ticket.d.cts.map +1 -0
  18. package/dist/actions/archive-ticket.d.mts +9 -0
  19. package/dist/actions/archive-ticket.d.mts.map +1 -0
  20. package/dist/actions/archive-ticket.mjs +32 -0
  21. package/dist/actions/archive-ticket.mjs.map +1 -0
  22. package/dist/actions/assign-ticket-to-team.cjs +28 -0
  23. package/dist/actions/assign-ticket-to-team.cjs.map +1 -0
  24. package/dist/actions/assign-ticket-to-team.d.cts +9 -0
  25. package/dist/actions/assign-ticket-to-team.d.cts.map +1 -0
  26. package/dist/actions/assign-ticket-to-team.d.mts +9 -0
  27. package/dist/actions/assign-ticket-to-team.d.mts.map +1 -0
  28. package/dist/actions/assign-ticket-to-team.mjs +27 -0
  29. package/dist/actions/assign-ticket-to-team.mjs.map +1 -0
  30. package/dist/actions/create-comment.cjs +49 -0
  31. package/dist/actions/create-comment.cjs.map +1 -0
  32. package/dist/actions/create-comment.d.cts +9 -0
  33. package/dist/actions/create-comment.d.cts.map +1 -0
  34. package/dist/actions/create-comment.d.mts +9 -0
  35. package/dist/actions/create-comment.d.mts.map +1 -0
  36. package/dist/actions/create-comment.mjs +48 -0
  37. package/dist/actions/create-comment.mjs.map +1 -0
  38. package/dist/actions/create-consequence.cjs +30 -0
  39. package/dist/actions/create-consequence.cjs.map +1 -0
  40. package/dist/actions/create-consequence.d.cts +9 -0
  41. package/dist/actions/create-consequence.d.cts.map +1 -0
  42. package/dist/actions/create-consequence.d.mts +9 -0
  43. package/dist/actions/create-consequence.d.mts.map +1 -0
  44. package/dist/actions/create-consequence.mjs +29 -0
  45. package/dist/actions/create-consequence.mjs.map +1 -0
  46. package/dist/actions/create-email.cjs +43 -0
  47. package/dist/actions/create-email.cjs.map +1 -0
  48. package/dist/actions/create-email.d.cts +9 -0
  49. package/dist/actions/create-email.d.cts.map +1 -0
  50. package/dist/actions/create-email.d.mts +9 -0
  51. package/dist/actions/create-email.d.mts.map +1 -0
  52. package/dist/actions/create-email.mjs +42 -0
  53. package/dist/actions/create-email.mjs.map +1 -0
  54. package/dist/actions/create-filter.cjs +25 -0
  55. package/dist/actions/create-filter.cjs.map +1 -0
  56. package/dist/actions/create-filter.d.cts +9 -0
  57. package/dist/actions/create-filter.d.cts.map +1 -0
  58. package/dist/actions/create-filter.d.mts +9 -0
  59. package/dist/actions/create-filter.d.mts.map +1 -0
  60. package/dist/actions/create-filter.mjs +22 -0
  61. package/dist/actions/create-filter.mjs.map +1 -0
  62. package/dist/actions/create-rule.cjs +30 -0
  63. package/dist/actions/create-rule.cjs.map +1 -0
  64. package/dist/actions/create-rule.d.cts +9 -0
  65. package/dist/actions/create-rule.d.cts.map +1 -0
  66. package/dist/actions/create-rule.d.mts +9 -0
  67. package/dist/actions/create-rule.d.mts.map +1 -0
  68. package/dist/actions/create-rule.mjs +27 -0
  69. package/dist/actions/create-rule.mjs.map +1 -0
  70. package/dist/actions/create-snippet.cjs +31 -0
  71. package/dist/actions/create-snippet.cjs.map +1 -0
  72. package/dist/actions/create-snippet.d.cts +9 -0
  73. package/dist/actions/create-snippet.d.cts.map +1 -0
  74. package/dist/actions/create-snippet.d.mts +9 -0
  75. package/dist/actions/create-snippet.d.mts.map +1 -0
  76. package/dist/actions/create-snippet.mjs +30 -0
  77. package/dist/actions/create-snippet.mjs.map +1 -0
  78. package/dist/actions/create-ticket-reply.cjs +56 -0
  79. package/dist/actions/create-ticket-reply.cjs.map +1 -0
  80. package/dist/actions/create-ticket-reply.d.cts +9 -0
  81. package/dist/actions/create-ticket-reply.d.cts.map +1 -0
  82. package/dist/actions/create-ticket-reply.d.mts +9 -0
  83. package/dist/actions/create-ticket-reply.d.mts.map +1 -0
  84. package/dist/actions/create-ticket-reply.mjs +55 -0
  85. package/dist/actions/create-ticket-reply.mjs.map +1 -0
  86. package/dist/actions/create-ticket.cjs +79 -0
  87. package/dist/actions/create-ticket.cjs.map +1 -0
  88. package/dist/actions/create-ticket.d.cts +9 -0
  89. package/dist/actions/create-ticket.d.cts.map +1 -0
  90. package/dist/actions/create-ticket.d.mts +9 -0
  91. package/dist/actions/create-ticket.d.mts.map +1 -0
  92. package/dist/actions/create-ticket.mjs +78 -0
  93. package/dist/actions/create-ticket.mjs.map +1 -0
  94. package/dist/actions/create-user-or-customer-group.cjs +50 -0
  95. package/dist/actions/create-user-or-customer-group.cjs.map +1 -0
  96. package/dist/actions/create-user-or-customer-group.d.cts +9 -0
  97. package/dist/actions/create-user-or-customer-group.d.cts.map +1 -0
  98. package/dist/actions/create-user-or-customer-group.d.mts +9 -0
  99. package/dist/actions/create-user-or-customer-group.d.mts.map +1 -0
  100. package/dist/actions/create-user-or-customer-group.mjs +49 -0
  101. package/dist/actions/create-user-or-customer-group.mjs.map +1 -0
  102. package/dist/actions/delete-snippet.cjs +20 -0
  103. package/dist/actions/delete-snippet.cjs.map +1 -0
  104. package/dist/actions/delete-snippet.d.cts +9 -0
  105. package/dist/actions/delete-snippet.d.cts.map +1 -0
  106. package/dist/actions/delete-snippet.d.mts +9 -0
  107. package/dist/actions/delete-snippet.d.mts.map +1 -0
  108. package/dist/actions/delete-snippet.mjs +17 -0
  109. package/dist/actions/delete-snippet.mjs.map +1 -0
  110. package/dist/actions/delete-ticket.cjs +20 -0
  111. package/dist/actions/delete-ticket.cjs.map +1 -0
  112. package/dist/actions/delete-ticket.d.cts +9 -0
  113. package/dist/actions/delete-ticket.d.cts.map +1 -0
  114. package/dist/actions/delete-ticket.d.mts +9 -0
  115. package/dist/actions/delete-ticket.d.mts.map +1 -0
  116. package/dist/actions/delete-ticket.mjs +17 -0
  117. package/dist/actions/delete-ticket.mjs.map +1 -0
  118. package/dist/actions/fetch-emails.cjs +28 -0
  119. package/dist/actions/fetch-emails.cjs.map +1 -0
  120. package/dist/actions/fetch-emails.d.cts +9 -0
  121. package/dist/actions/fetch-emails.d.cts.map +1 -0
  122. package/dist/actions/fetch-emails.d.mts +9 -0
  123. package/dist/actions/fetch-emails.d.mts.map +1 -0
  124. package/dist/actions/fetch-emails.mjs +27 -0
  125. package/dist/actions/fetch-emails.mjs.map +1 -0
  126. package/dist/actions/fetch-labels.cjs +21 -0
  127. package/dist/actions/fetch-labels.cjs.map +1 -0
  128. package/dist/actions/fetch-labels.d.cts +9 -0
  129. package/dist/actions/fetch-labels.d.cts.map +1 -0
  130. package/dist/actions/fetch-labels.d.mts +9 -0
  131. package/dist/actions/fetch-labels.d.mts.map +1 -0
  132. package/dist/actions/fetch-labels.mjs +20 -0
  133. package/dist/actions/fetch-labels.mjs.map +1 -0
  134. package/dist/actions/fetch-snippets.cjs +33 -0
  135. package/dist/actions/fetch-snippets.cjs.map +1 -0
  136. package/dist/actions/fetch-snippets.d.cts +9 -0
  137. package/dist/actions/fetch-snippets.d.cts.map +1 -0
  138. package/dist/actions/fetch-snippets.d.mts +9 -0
  139. package/dist/actions/fetch-snippets.d.mts.map +1 -0
  140. package/dist/actions/fetch-snippets.mjs +32 -0
  141. package/dist/actions/fetch-snippets.mjs.map +1 -0
  142. package/dist/actions/fetch-teams.cjs +23 -0
  143. package/dist/actions/fetch-teams.cjs.map +1 -0
  144. package/dist/actions/fetch-teams.d.cts +9 -0
  145. package/dist/actions/fetch-teams.d.cts.map +1 -0
  146. package/dist/actions/fetch-teams.d.mts +9 -0
  147. package/dist/actions/fetch-teams.d.mts.map +1 -0
  148. package/dist/actions/fetch-teams.mjs +22 -0
  149. package/dist/actions/fetch-teams.mjs.map +1 -0
  150. package/dist/actions/get-avg-first-response-time-report.cjs +31 -0
  151. package/dist/actions/get-avg-first-response-time-report.cjs.map +1 -0
  152. package/dist/actions/get-avg-first-response-time-report.d.cts +9 -0
  153. package/dist/actions/get-avg-first-response-time-report.d.cts.map +1 -0
  154. package/dist/actions/get-avg-first-response-time-report.d.mts +9 -0
  155. package/dist/actions/get-avg-first-response-time-report.d.mts.map +1 -0
  156. package/dist/actions/get-avg-first-response-time-report.mjs +30 -0
  157. package/dist/actions/get-avg-first-response-time-report.mjs.map +1 -0
  158. package/dist/actions/get-replies-count-report.cjs +25 -0
  159. package/dist/actions/get-replies-count-report.cjs.map +1 -0
  160. package/dist/actions/get-replies-count-report.d.cts +9 -0
  161. package/dist/actions/get-replies-count-report.d.cts.map +1 -0
  162. package/dist/actions/get-replies-count-report.d.mts +9 -0
  163. package/dist/actions/get-replies-count-report.d.mts.map +1 -0
  164. package/dist/actions/get-replies-count-report.mjs +24 -0
  165. package/dist/actions/get-replies-count-report.mjs.map +1 -0
  166. package/dist/actions/get-ticket.cjs +86 -0
  167. package/dist/actions/get-ticket.cjs.map +1 -0
  168. package/dist/actions/get-ticket.d.cts +9 -0
  169. package/dist/actions/get-ticket.d.cts.map +1 -0
  170. package/dist/actions/get-ticket.d.mts +9 -0
  171. package/dist/actions/get-ticket.d.mts.map +1 -0
  172. package/dist/actions/get-ticket.mjs +85 -0
  173. package/dist/actions/get-ticket.mjs.map +1 -0
  174. package/dist/actions/get-tickets-count-report.cjs +31 -0
  175. package/dist/actions/get-tickets-count-report.cjs.map +1 -0
  176. package/dist/actions/get-tickets-count-report.d.cts +9 -0
  177. package/dist/actions/get-tickets-count-report.d.cts.map +1 -0
  178. package/dist/actions/get-tickets-count-report.d.mts +9 -0
  179. package/dist/actions/get-tickets-count-report.d.mts.map +1 -0
  180. package/dist/actions/get-tickets-count-report.mjs +30 -0
  181. package/dist/actions/get-tickets-count-report.mjs.map +1 -0
  182. package/dist/actions/index.cjs +83 -0
  183. package/dist/actions/index.d.cts +42 -0
  184. package/dist/actions/index.d.mts +42 -0
  185. package/dist/actions/index.mjs +42 -0
  186. package/dist/actions/list-ticket-comments.cjs +50 -0
  187. package/dist/actions/list-ticket-comments.cjs.map +1 -0
  188. package/dist/actions/list-ticket-comments.d.cts +9 -0
  189. package/dist/actions/list-ticket-comments.d.cts.map +1 -0
  190. package/dist/actions/list-ticket-comments.d.mts +9 -0
  191. package/dist/actions/list-ticket-comments.d.mts.map +1 -0
  192. package/dist/actions/list-ticket-comments.mjs +49 -0
  193. package/dist/actions/list-ticket-comments.mjs.map +1 -0
  194. package/dist/actions/list-ticket-replies.cjs +49 -0
  195. package/dist/actions/list-ticket-replies.cjs.map +1 -0
  196. package/dist/actions/list-ticket-replies.d.cts +9 -0
  197. package/dist/actions/list-ticket-replies.d.cts.map +1 -0
  198. package/dist/actions/list-ticket-replies.d.mts +9 -0
  199. package/dist/actions/list-ticket-replies.d.mts.map +1 -0
  200. package/dist/actions/list-ticket-replies.mjs +48 -0
  201. package/dist/actions/list-ticket-replies.mjs.map +1 -0
  202. package/dist/actions/list-tickets.cjs +75 -0
  203. package/dist/actions/list-tickets.cjs.map +1 -0
  204. package/dist/actions/list-tickets.d.cts +9 -0
  205. package/dist/actions/list-tickets.d.cts.map +1 -0
  206. package/dist/actions/list-tickets.d.mts +9 -0
  207. package/dist/actions/list-tickets.d.mts.map +1 -0
  208. package/dist/actions/list-tickets.mjs +74 -0
  209. package/dist/actions/list-tickets.mjs.map +1 -0
  210. package/dist/actions/list-users.cjs +51 -0
  211. package/dist/actions/list-users.cjs.map +1 -0
  212. package/dist/actions/list-users.d.cts +9 -0
  213. package/dist/actions/list-users.d.cts.map +1 -0
  214. package/dist/actions/list-users.d.mts +9 -0
  215. package/dist/actions/list-users.d.mts.map +1 -0
  216. package/dist/actions/list-users.mjs +50 -0
  217. package/dist/actions/list-users.mjs.map +1 -0
  218. package/dist/actions/mark-ticket-as-answered.cjs +23 -0
  219. package/dist/actions/mark-ticket-as-answered.cjs.map +1 -0
  220. package/dist/actions/mark-ticket-as-answered.d.cts +9 -0
  221. package/dist/actions/mark-ticket-as-answered.d.cts.map +1 -0
  222. package/dist/actions/mark-ticket-as-answered.d.mts +9 -0
  223. package/dist/actions/mark-ticket-as-answered.d.mts.map +1 -0
  224. package/dist/actions/mark-ticket-as-answered.mjs +20 -0
  225. package/dist/actions/mark-ticket-as-answered.mjs.map +1 -0
  226. package/dist/actions/mark-ticket-as-spam.cjs +24 -0
  227. package/dist/actions/mark-ticket-as-spam.cjs.map +1 -0
  228. package/dist/actions/mark-ticket-as-spam.d.cts +9 -0
  229. package/dist/actions/mark-ticket-as-spam.d.cts.map +1 -0
  230. package/dist/actions/mark-ticket-as-spam.d.mts +9 -0
  231. package/dist/actions/mark-ticket-as-spam.d.mts.map +1 -0
  232. package/dist/actions/mark-ticket-as-spam.mjs +21 -0
  233. package/dist/actions/mark-ticket-as-spam.mjs.map +1 -0
  234. package/dist/actions/mark-ticket-as-unanswered.cjs +23 -0
  235. package/dist/actions/mark-ticket-as-unanswered.cjs.map +1 -0
  236. package/dist/actions/mark-ticket-as-unanswered.d.cts +9 -0
  237. package/dist/actions/mark-ticket-as-unanswered.d.cts.map +1 -0
  238. package/dist/actions/mark-ticket-as-unanswered.d.mts +9 -0
  239. package/dist/actions/mark-ticket-as-unanswered.d.mts.map +1 -0
  240. package/dist/actions/mark-ticket-as-unanswered.mjs +20 -0
  241. package/dist/actions/mark-ticket-as-unanswered.mjs.map +1 -0
  242. package/dist/actions/remove-label-from-ticket.cjs +24 -0
  243. package/dist/actions/remove-label-from-ticket.cjs.map +1 -0
  244. package/dist/actions/remove-label-from-ticket.d.cts +9 -0
  245. package/dist/actions/remove-label-from-ticket.d.cts.map +1 -0
  246. package/dist/actions/remove-label-from-ticket.d.mts +9 -0
  247. package/dist/actions/remove-label-from-ticket.d.mts.map +1 -0
  248. package/dist/actions/remove-label-from-ticket.mjs +21 -0
  249. package/dist/actions/remove-label-from-ticket.mjs.map +1 -0
  250. package/dist/actions/search-tickets.cjs +80 -0
  251. package/dist/actions/search-tickets.cjs.map +1 -0
  252. package/dist/actions/search-tickets.d.cts +9 -0
  253. package/dist/actions/search-tickets.d.cts.map +1 -0
  254. package/dist/actions/search-tickets.d.mts +9 -0
  255. package/dist/actions/search-tickets.d.mts.map +1 -0
  256. package/dist/actions/search-tickets.mjs +79 -0
  257. package/dist/actions/search-tickets.mjs.map +1 -0
  258. package/dist/actions/show-ticket-reply.cjs +47 -0
  259. package/dist/actions/show-ticket-reply.cjs.map +1 -0
  260. package/dist/actions/show-ticket-reply.d.cts +9 -0
  261. package/dist/actions/show-ticket-reply.d.cts.map +1 -0
  262. package/dist/actions/show-ticket-reply.d.mts +9 -0
  263. package/dist/actions/show-ticket-reply.d.mts.map +1 -0
  264. package/dist/actions/show-ticket-reply.mjs +46 -0
  265. package/dist/actions/show-ticket-reply.mjs.map +1 -0
  266. package/dist/actions/show-user-or-customer-group.cjs +47 -0
  267. package/dist/actions/show-user-or-customer-group.cjs.map +1 -0
  268. package/dist/actions/show-user-or-customer-group.d.cts +9 -0
  269. package/dist/actions/show-user-or-customer-group.d.cts.map +1 -0
  270. package/dist/actions/show-user-or-customer-group.d.mts +9 -0
  271. package/dist/actions/show-user-or-customer-group.d.mts.map +1 -0
  272. package/dist/actions/show-user-or-customer-group.mjs +46 -0
  273. package/dist/actions/show-user-or-customer-group.mjs.map +1 -0
  274. package/dist/actions/trash-ticket.cjs +26 -0
  275. package/dist/actions/trash-ticket.cjs.map +1 -0
  276. package/dist/actions/trash-ticket.d.cts +9 -0
  277. package/dist/actions/trash-ticket.d.cts.map +1 -0
  278. package/dist/actions/trash-ticket.d.mts +9 -0
  279. package/dist/actions/trash-ticket.d.mts.map +1 -0
  280. package/dist/actions/trash-ticket.mjs +25 -0
  281. package/dist/actions/trash-ticket.mjs.map +1 -0
  282. package/dist/actions/unarchive-ticket.cjs +20 -0
  283. package/dist/actions/unarchive-ticket.cjs.map +1 -0
  284. package/dist/actions/unarchive-ticket.d.cts +9 -0
  285. package/dist/actions/unarchive-ticket.d.cts.map +1 -0
  286. package/dist/actions/unarchive-ticket.d.mts +9 -0
  287. package/dist/actions/unarchive-ticket.d.mts.map +1 -0
  288. package/dist/actions/unarchive-ticket.mjs +17 -0
  289. package/dist/actions/unarchive-ticket.mjs.map +1 -0
  290. package/dist/actions/unassign-ticket-from-team.cjs +54 -0
  291. package/dist/actions/unassign-ticket-from-team.cjs.map +1 -0
  292. package/dist/actions/unassign-ticket-from-team.d.cts +9 -0
  293. package/dist/actions/unassign-ticket-from-team.d.cts.map +1 -0
  294. package/dist/actions/unassign-ticket-from-team.d.mts +9 -0
  295. package/dist/actions/unassign-ticket-from-team.d.mts.map +1 -0
  296. package/dist/actions/unassign-ticket-from-team.mjs +53 -0
  297. package/dist/actions/unassign-ticket-from-team.mjs.map +1 -0
  298. package/dist/actions/unassign-ticket-from-user.cjs +51 -0
  299. package/dist/actions/unassign-ticket-from-user.cjs.map +1 -0
  300. package/dist/actions/unassign-ticket-from-user.d.cts +9 -0
  301. package/dist/actions/unassign-ticket-from-user.d.cts.map +1 -0
  302. package/dist/actions/unassign-ticket-from-user.d.mts +9 -0
  303. package/dist/actions/unassign-ticket-from-user.d.mts.map +1 -0
  304. package/dist/actions/unassign-ticket-from-user.mjs +50 -0
  305. package/dist/actions/unassign-ticket-from-user.mjs.map +1 -0
  306. package/dist/actions/unmark-ticket-as-spam.cjs +24 -0
  307. package/dist/actions/unmark-ticket-as-spam.cjs.map +1 -0
  308. package/dist/actions/unmark-ticket-as-spam.d.cts +9 -0
  309. package/dist/actions/unmark-ticket-as-spam.d.cts.map +1 -0
  310. package/dist/actions/unmark-ticket-as-spam.d.mts +9 -0
  311. package/dist/actions/unmark-ticket-as-spam.d.mts.map +1 -0
  312. package/dist/actions/unmark-ticket-as-spam.mjs +21 -0
  313. package/dist/actions/unmark-ticket-as-spam.mjs.map +1 -0
  314. package/dist/actions/untrash-ticket.cjs +27 -0
  315. package/dist/actions/untrash-ticket.cjs.map +1 -0
  316. package/dist/actions/untrash-ticket.d.cts +9 -0
  317. package/dist/actions/untrash-ticket.d.cts.map +1 -0
  318. package/dist/actions/untrash-ticket.d.mts +9 -0
  319. package/dist/actions/untrash-ticket.d.mts.map +1 -0
  320. package/dist/actions/untrash-ticket.mjs +26 -0
  321. package/dist/actions/untrash-ticket.mjs.map +1 -0
  322. package/dist/actions/update-snippet.cjs +34 -0
  323. package/dist/actions/update-snippet.cjs.map +1 -0
  324. package/dist/actions/update-snippet.d.cts +9 -0
  325. package/dist/actions/update-snippet.d.cts.map +1 -0
  326. package/dist/actions/update-snippet.d.mts +9 -0
  327. package/dist/actions/update-snippet.d.mts.map +1 -0
  328. package/dist/actions/update-snippet.mjs +33 -0
  329. package/dist/actions/update-snippet.mjs.map +1 -0
  330. package/dist/actions/update-user.cjs +51 -0
  331. package/dist/actions/update-user.cjs.map +1 -0
  332. package/dist/actions/update-user.d.cts +9 -0
  333. package/dist/actions/update-user.d.cts.map +1 -0
  334. package/dist/actions/update-user.d.mts +9 -0
  335. package/dist/actions/update-user.d.mts.map +1 -0
  336. package/dist/actions/update-user.mjs +50 -0
  337. package/dist/actions/update-user.mjs.map +1 -0
  338. package/dist/app.cjs +9 -0
  339. package/dist/app.cjs.map +1 -0
  340. package/dist/app.d.cts +5 -0
  341. package/dist/app.d.cts.map +1 -0
  342. package/dist/app.d.mts +5 -0
  343. package/dist/app.d.mts.map +1 -0
  344. package/dist/app.mjs +10 -0
  345. package/dist/app.mjs.map +1 -0
  346. package/dist/catalog.cjs +15 -0
  347. package/dist/catalog.cjs.map +1 -0
  348. package/dist/catalog.d.cts +14 -0
  349. package/dist/catalog.d.cts.map +1 -0
  350. package/dist/catalog.d.mts +14 -0
  351. package/dist/catalog.d.mts.map +1 -0
  352. package/dist/catalog.mjs +15 -0
  353. package/dist/catalog.mjs.map +1 -0
  354. package/dist/execute.cjs +18 -0
  355. package/dist/execute.cjs.map +1 -0
  356. package/dist/execute.mjs +18 -0
  357. package/dist/execute.mjs.map +1 -0
  358. package/dist/index.cjs +88 -0
  359. package/dist/index.d.cts +44 -0
  360. package/dist/index.d.mts +44 -0
  361. package/dist/index.mjs +45 -0
  362. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-tickets-count-report.mjs","names":[],"sources":["../../src/actions/get-tickets-count-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeGetTicketsCountReportInput: z.ZodTypeAny = z.object({\n label: z.string().describe(\"Filter results by label name (optional)\").optional(),\n team_id: z.number().int().describe(\"Filter results by team ID (optional)\").optional(),\n to_date: z.string().describe(\"End date of the report period in YYYY-MM-DD format\"),\n agent_id: z.number().int().describe(\"Filter results by agent ID (optional)\").optional(),\n from_date: z.string().describe(\"Start date of the report period in YYYY-MM-DD format\"),\n}).describe(\"Request model for fetching tickets count report.\");\nconst SupportbeeGetTicketsCountReport_ReportDataPointSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date of the data point (if returned)\").nullable().optional(),\n count: z.number().int().describe(\"Ticket count for this data point\").nullable().optional(),\n}).describe(\"Model representing a ticket count datapoint.\");\nexport const SupportbeeGetTicketsCountReportOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of tickets in the specified date range\"),\n report: z.array(SupportbeeGetTicketsCountReport_ReportDataPointSchema).describe(\"List of ticket count data points over time (if available)\").nullable().optional(),\n to_date: z.string().describe(\"End date of the report period\").nullable().optional(),\n from_date: z.string().describe(\"Start date of the report period\").nullable().optional(),\n}).describe(\"Response model for tickets count report.\");\n\nexport const supportbeeGetTicketsCountReport = action(\"SUPPORTBEE_GET_TICKETS_COUNT_REPORT\", {\n slug: \"supportbee-get-tickets-count-report\",\n name: \"Get Tickets Count Report\",\n description: \"Tool to get ticket count data points over time. Use when analyzing ticket volume trends within a specific date range. Supports optional filtering by agent, team, or label.\",\n input: SupportbeeGetTicketsCountReportInput,\n output: SupportbeeGetTicketsCountReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACvF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wDAAsE,EAAE,OAAO;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAQ1D,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZiE,EAAE,OAAO;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EACtF,QAAQ,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -0,0 +1,83 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_add_label_to_ticket = require("./add-label-to-ticket.cjs");
3
+ const require_archive_ticket = require("./archive-ticket.cjs");
4
+ const require_assign_ticket_to_team = require("./assign-ticket-to-team.cjs");
5
+ const require_create_comment = require("./create-comment.cjs");
6
+ const require_create_consequence = require("./create-consequence.cjs");
7
+ const require_create_email = require("./create-email.cjs");
8
+ const require_create_filter = require("./create-filter.cjs");
9
+ const require_create_rule = require("./create-rule.cjs");
10
+ const require_create_snippet = require("./create-snippet.cjs");
11
+ const require_create_ticket = require("./create-ticket.cjs");
12
+ const require_create_ticket_reply = require("./create-ticket-reply.cjs");
13
+ const require_create_user_or_customer_group = require("./create-user-or-customer-group.cjs");
14
+ const require_delete_snippet = require("./delete-snippet.cjs");
15
+ const require_delete_ticket = require("./delete-ticket.cjs");
16
+ const require_fetch_emails = require("./fetch-emails.cjs");
17
+ const require_fetch_labels = require("./fetch-labels.cjs");
18
+ const require_fetch_snippets = require("./fetch-snippets.cjs");
19
+ const require_fetch_teams = require("./fetch-teams.cjs");
20
+ const require_get_avg_first_response_time_report = require("./get-avg-first-response-time-report.cjs");
21
+ const require_get_replies_count_report = require("./get-replies-count-report.cjs");
22
+ const require_get_ticket = require("./get-ticket.cjs");
23
+ const require_get_tickets_count_report = require("./get-tickets-count-report.cjs");
24
+ const require_list_ticket_comments = require("./list-ticket-comments.cjs");
25
+ const require_list_ticket_replies = require("./list-ticket-replies.cjs");
26
+ const require_list_tickets = require("./list-tickets.cjs");
27
+ const require_list_users = require("./list-users.cjs");
28
+ const require_mark_ticket_as_answered = require("./mark-ticket-as-answered.cjs");
29
+ const require_mark_ticket_as_spam = require("./mark-ticket-as-spam.cjs");
30
+ const require_mark_ticket_as_unanswered = require("./mark-ticket-as-unanswered.cjs");
31
+ const require_remove_label_from_ticket = require("./remove-label-from-ticket.cjs");
32
+ const require_search_tickets = require("./search-tickets.cjs");
33
+ const require_show_ticket_reply = require("./show-ticket-reply.cjs");
34
+ const require_show_user_or_customer_group = require("./show-user-or-customer-group.cjs");
35
+ const require_trash_ticket = require("./trash-ticket.cjs");
36
+ const require_unarchive_ticket = require("./unarchive-ticket.cjs");
37
+ const require_unassign_ticket_from_team = require("./unassign-ticket-from-team.cjs");
38
+ const require_unassign_ticket_from_user = require("./unassign-ticket-from-user.cjs");
39
+ const require_unmark_ticket_as_spam = require("./unmark-ticket-as-spam.cjs");
40
+ const require_untrash_ticket = require("./untrash-ticket.cjs");
41
+ const require_update_snippet = require("./update-snippet.cjs");
42
+ const require_update_user = require("./update-user.cjs");
43
+ exports.supportbeeAddLabelToTicket = require_add_label_to_ticket.supportbeeAddLabelToTicket;
44
+ exports.supportbeeArchiveTicket = require_archive_ticket.supportbeeArchiveTicket;
45
+ exports.supportbeeAssignTicketToTeam = require_assign_ticket_to_team.supportbeeAssignTicketToTeam;
46
+ exports.supportbeeCreateComment = require_create_comment.supportbeeCreateComment;
47
+ exports.supportbeeCreateConsequence = require_create_consequence.supportbeeCreateConsequence;
48
+ exports.supportbeeCreateEmail = require_create_email.supportbeeCreateEmail;
49
+ exports.supportbeeCreateFilter = require_create_filter.supportbeeCreateFilter;
50
+ exports.supportbeeCreateRule = require_create_rule.supportbeeCreateRule;
51
+ exports.supportbeeCreateSnippet = require_create_snippet.supportbeeCreateSnippet;
52
+ exports.supportbeeCreateTicket = require_create_ticket.supportbeeCreateTicket;
53
+ exports.supportbeeCreateTicketReply = require_create_ticket_reply.supportbeeCreateTicketReply;
54
+ exports.supportbeeCreateUserOrCustomerGroup = require_create_user_or_customer_group.supportbeeCreateUserOrCustomerGroup;
55
+ exports.supportbeeDeleteSnippet = require_delete_snippet.supportbeeDeleteSnippet;
56
+ exports.supportbeeDeleteTicket = require_delete_ticket.supportbeeDeleteTicket;
57
+ exports.supportbeeFetchEmails = require_fetch_emails.supportbeeFetchEmails;
58
+ exports.supportbeeFetchLabels = require_fetch_labels.supportbeeFetchLabels;
59
+ exports.supportbeeFetchSnippets = require_fetch_snippets.supportbeeFetchSnippets;
60
+ exports.supportbeeFetchTeams = require_fetch_teams.supportbeeFetchTeams;
61
+ exports.supportbeeGetAvgFirstResponseTimeReport = require_get_avg_first_response_time_report.supportbeeGetAvgFirstResponseTimeReport;
62
+ exports.supportbeeGetRepliesCountReport = require_get_replies_count_report.supportbeeGetRepliesCountReport;
63
+ exports.supportbeeGetTicket = require_get_ticket.supportbeeGetTicket;
64
+ exports.supportbeeGetTicketsCountReport = require_get_tickets_count_report.supportbeeGetTicketsCountReport;
65
+ exports.supportbeeListTicketComments = require_list_ticket_comments.supportbeeListTicketComments;
66
+ exports.supportbeeListTicketReplies = require_list_ticket_replies.supportbeeListTicketReplies;
67
+ exports.supportbeeListTickets = require_list_tickets.supportbeeListTickets;
68
+ exports.supportbeeListUsers = require_list_users.supportbeeListUsers;
69
+ exports.supportbeeMarkTicketAsAnswered = require_mark_ticket_as_answered.supportbeeMarkTicketAsAnswered;
70
+ exports.supportbeeMarkTicketAsSpam = require_mark_ticket_as_spam.supportbeeMarkTicketAsSpam;
71
+ exports.supportbeeMarkTicketAsUnanswered = require_mark_ticket_as_unanswered.supportbeeMarkTicketAsUnanswered;
72
+ exports.supportbeeRemoveLabelFromTicket = require_remove_label_from_ticket.supportbeeRemoveLabelFromTicket;
73
+ exports.supportbeeSearchTickets = require_search_tickets.supportbeeSearchTickets;
74
+ exports.supportbeeShowTicketReply = require_show_ticket_reply.supportbeeShowTicketReply;
75
+ exports.supportbeeShowUserOrCustomerGroup = require_show_user_or_customer_group.supportbeeShowUserOrCustomerGroup;
76
+ exports.supportbeeTrashTicket = require_trash_ticket.supportbeeTrashTicket;
77
+ exports.supportbeeUnarchiveTicket = require_unarchive_ticket.supportbeeUnarchiveTicket;
78
+ exports.supportbeeUnassignTicketFromTeam = require_unassign_ticket_from_team.supportbeeUnassignTicketFromTeam;
79
+ exports.supportbeeUnassignTicketFromUser = require_unassign_ticket_from_user.supportbeeUnassignTicketFromUser;
80
+ exports.supportbeeUnmarkTicketAsSpam = require_unmark_ticket_as_spam.supportbeeUnmarkTicketAsSpam;
81
+ exports.supportbeeUntrashTicket = require_untrash_ticket.supportbeeUntrashTicket;
82
+ exports.supportbeeUpdateSnippet = require_update_snippet.supportbeeUpdateSnippet;
83
+ exports.supportbeeUpdateUser = require_update_user.supportbeeUpdateUser;
@@ -0,0 +1,42 @@
1
+ import { supportbeeAddLabelToTicket } from "./add-label-to-ticket.cjs";
2
+ import { supportbeeArchiveTicket } from "./archive-ticket.cjs";
3
+ import { supportbeeAssignTicketToTeam } from "./assign-ticket-to-team.cjs";
4
+ import { supportbeeCreateComment } from "./create-comment.cjs";
5
+ import { supportbeeCreateConsequence } from "./create-consequence.cjs";
6
+ import { supportbeeCreateEmail } from "./create-email.cjs";
7
+ import { supportbeeCreateFilter } from "./create-filter.cjs";
8
+ import { supportbeeCreateRule } from "./create-rule.cjs";
9
+ import { supportbeeCreateSnippet } from "./create-snippet.cjs";
10
+ import { supportbeeCreateTicket } from "./create-ticket.cjs";
11
+ import { supportbeeCreateTicketReply } from "./create-ticket-reply.cjs";
12
+ import { supportbeeCreateUserOrCustomerGroup } from "./create-user-or-customer-group.cjs";
13
+ import { supportbeeDeleteSnippet } from "./delete-snippet.cjs";
14
+ import { supportbeeDeleteTicket } from "./delete-ticket.cjs";
15
+ import { supportbeeFetchEmails } from "./fetch-emails.cjs";
16
+ import { supportbeeFetchLabels } from "./fetch-labels.cjs";
17
+ import { supportbeeFetchSnippets } from "./fetch-snippets.cjs";
18
+ import { supportbeeFetchTeams } from "./fetch-teams.cjs";
19
+ import { supportbeeGetAvgFirstResponseTimeReport } from "./get-avg-first-response-time-report.cjs";
20
+ import { supportbeeGetRepliesCountReport } from "./get-replies-count-report.cjs";
21
+ import { supportbeeGetTicket } from "./get-ticket.cjs";
22
+ import { supportbeeGetTicketsCountReport } from "./get-tickets-count-report.cjs";
23
+ import { supportbeeListTicketComments } from "./list-ticket-comments.cjs";
24
+ import { supportbeeListTicketReplies } from "./list-ticket-replies.cjs";
25
+ import { supportbeeListTickets } from "./list-tickets.cjs";
26
+ import { supportbeeListUsers } from "./list-users.cjs";
27
+ import { supportbeeMarkTicketAsAnswered } from "./mark-ticket-as-answered.cjs";
28
+ import { supportbeeMarkTicketAsSpam } from "./mark-ticket-as-spam.cjs";
29
+ import { supportbeeMarkTicketAsUnanswered } from "./mark-ticket-as-unanswered.cjs";
30
+ import { supportbeeRemoveLabelFromTicket } from "./remove-label-from-ticket.cjs";
31
+ import { supportbeeSearchTickets } from "./search-tickets.cjs";
32
+ import { supportbeeShowTicketReply } from "./show-ticket-reply.cjs";
33
+ import { supportbeeShowUserOrCustomerGroup } from "./show-user-or-customer-group.cjs";
34
+ import { supportbeeTrashTicket } from "./trash-ticket.cjs";
35
+ import { supportbeeUnarchiveTicket } from "./unarchive-ticket.cjs";
36
+ import { supportbeeUnassignTicketFromTeam } from "./unassign-ticket-from-team.cjs";
37
+ import { supportbeeUnassignTicketFromUser } from "./unassign-ticket-from-user.cjs";
38
+ import { supportbeeUnmarkTicketAsSpam } from "./unmark-ticket-as-spam.cjs";
39
+ import { supportbeeUntrashTicket } from "./untrash-ticket.cjs";
40
+ import { supportbeeUpdateSnippet } from "./update-snippet.cjs";
41
+ import { supportbeeUpdateUser } from "./update-user.cjs";
42
+ export { supportbeeAddLabelToTicket, supportbeeArchiveTicket, supportbeeAssignTicketToTeam, supportbeeCreateComment, supportbeeCreateConsequence, supportbeeCreateEmail, supportbeeCreateFilter, supportbeeCreateRule, supportbeeCreateSnippet, supportbeeCreateTicket, supportbeeCreateTicketReply, supportbeeCreateUserOrCustomerGroup, supportbeeDeleteSnippet, supportbeeDeleteTicket, supportbeeFetchEmails, supportbeeFetchLabels, supportbeeFetchSnippets, supportbeeFetchTeams, supportbeeGetAvgFirstResponseTimeReport, supportbeeGetRepliesCountReport, supportbeeGetTicket, supportbeeGetTicketsCountReport, supportbeeListTicketComments, supportbeeListTicketReplies, supportbeeListTickets, supportbeeListUsers, supportbeeMarkTicketAsAnswered, supportbeeMarkTicketAsSpam, supportbeeMarkTicketAsUnanswered, supportbeeRemoveLabelFromTicket, supportbeeSearchTickets, supportbeeShowTicketReply, supportbeeShowUserOrCustomerGroup, supportbeeTrashTicket, supportbeeUnarchiveTicket, supportbeeUnassignTicketFromTeam, supportbeeUnassignTicketFromUser, supportbeeUnmarkTicketAsSpam, supportbeeUntrashTicket, supportbeeUpdateSnippet, supportbeeUpdateUser };
@@ -0,0 +1,42 @@
1
+ import { supportbeeAddLabelToTicket } from "./add-label-to-ticket.mjs";
2
+ import { supportbeeArchiveTicket } from "./archive-ticket.mjs";
3
+ import { supportbeeAssignTicketToTeam } from "./assign-ticket-to-team.mjs";
4
+ import { supportbeeCreateComment } from "./create-comment.mjs";
5
+ import { supportbeeCreateConsequence } from "./create-consequence.mjs";
6
+ import { supportbeeCreateEmail } from "./create-email.mjs";
7
+ import { supportbeeCreateFilter } from "./create-filter.mjs";
8
+ import { supportbeeCreateRule } from "./create-rule.mjs";
9
+ import { supportbeeCreateSnippet } from "./create-snippet.mjs";
10
+ import { supportbeeCreateTicket } from "./create-ticket.mjs";
11
+ import { supportbeeCreateTicketReply } from "./create-ticket-reply.mjs";
12
+ import { supportbeeCreateUserOrCustomerGroup } from "./create-user-or-customer-group.mjs";
13
+ import { supportbeeDeleteSnippet } from "./delete-snippet.mjs";
14
+ import { supportbeeDeleteTicket } from "./delete-ticket.mjs";
15
+ import { supportbeeFetchEmails } from "./fetch-emails.mjs";
16
+ import { supportbeeFetchLabels } from "./fetch-labels.mjs";
17
+ import { supportbeeFetchSnippets } from "./fetch-snippets.mjs";
18
+ import { supportbeeFetchTeams } from "./fetch-teams.mjs";
19
+ import { supportbeeGetAvgFirstResponseTimeReport } from "./get-avg-first-response-time-report.mjs";
20
+ import { supportbeeGetRepliesCountReport } from "./get-replies-count-report.mjs";
21
+ import { supportbeeGetTicket } from "./get-ticket.mjs";
22
+ import { supportbeeGetTicketsCountReport } from "./get-tickets-count-report.mjs";
23
+ import { supportbeeListTicketComments } from "./list-ticket-comments.mjs";
24
+ import { supportbeeListTicketReplies } from "./list-ticket-replies.mjs";
25
+ import { supportbeeListTickets } from "./list-tickets.mjs";
26
+ import { supportbeeListUsers } from "./list-users.mjs";
27
+ import { supportbeeMarkTicketAsAnswered } from "./mark-ticket-as-answered.mjs";
28
+ import { supportbeeMarkTicketAsSpam } from "./mark-ticket-as-spam.mjs";
29
+ import { supportbeeMarkTicketAsUnanswered } from "./mark-ticket-as-unanswered.mjs";
30
+ import { supportbeeRemoveLabelFromTicket } from "./remove-label-from-ticket.mjs";
31
+ import { supportbeeSearchTickets } from "./search-tickets.mjs";
32
+ import { supportbeeShowTicketReply } from "./show-ticket-reply.mjs";
33
+ import { supportbeeShowUserOrCustomerGroup } from "./show-user-or-customer-group.mjs";
34
+ import { supportbeeTrashTicket } from "./trash-ticket.mjs";
35
+ import { supportbeeUnarchiveTicket } from "./unarchive-ticket.mjs";
36
+ import { supportbeeUnassignTicketFromTeam } from "./unassign-ticket-from-team.mjs";
37
+ import { supportbeeUnassignTicketFromUser } from "./unassign-ticket-from-user.mjs";
38
+ import { supportbeeUnmarkTicketAsSpam } from "./unmark-ticket-as-spam.mjs";
39
+ import { supportbeeUntrashTicket } from "./untrash-ticket.mjs";
40
+ import { supportbeeUpdateSnippet } from "./update-snippet.mjs";
41
+ import { supportbeeUpdateUser } from "./update-user.mjs";
42
+ export { supportbeeAddLabelToTicket, supportbeeArchiveTicket, supportbeeAssignTicketToTeam, supportbeeCreateComment, supportbeeCreateConsequence, supportbeeCreateEmail, supportbeeCreateFilter, supportbeeCreateRule, supportbeeCreateSnippet, supportbeeCreateTicket, supportbeeCreateTicketReply, supportbeeCreateUserOrCustomerGroup, supportbeeDeleteSnippet, supportbeeDeleteTicket, supportbeeFetchEmails, supportbeeFetchLabels, supportbeeFetchSnippets, supportbeeFetchTeams, supportbeeGetAvgFirstResponseTimeReport, supportbeeGetRepliesCountReport, supportbeeGetTicket, supportbeeGetTicketsCountReport, supportbeeListTicketComments, supportbeeListTicketReplies, supportbeeListTickets, supportbeeListUsers, supportbeeMarkTicketAsAnswered, supportbeeMarkTicketAsSpam, supportbeeMarkTicketAsUnanswered, supportbeeRemoveLabelFromTicket, supportbeeSearchTickets, supportbeeShowTicketReply, supportbeeShowUserOrCustomerGroup, supportbeeTrashTicket, supportbeeUnarchiveTicket, supportbeeUnassignTicketFromTeam, supportbeeUnassignTicketFromUser, supportbeeUnmarkTicketAsSpam, supportbeeUntrashTicket, supportbeeUpdateSnippet, supportbeeUpdateUser };
@@ -0,0 +1,42 @@
1
+ import { supportbeeAddLabelToTicket } from "./add-label-to-ticket.mjs";
2
+ import { supportbeeArchiveTicket } from "./archive-ticket.mjs";
3
+ import { supportbeeAssignTicketToTeam } from "./assign-ticket-to-team.mjs";
4
+ import { supportbeeCreateComment } from "./create-comment.mjs";
5
+ import { supportbeeCreateConsequence } from "./create-consequence.mjs";
6
+ import { supportbeeCreateEmail } from "./create-email.mjs";
7
+ import { supportbeeCreateFilter } from "./create-filter.mjs";
8
+ import { supportbeeCreateRule } from "./create-rule.mjs";
9
+ import { supportbeeCreateSnippet } from "./create-snippet.mjs";
10
+ import { supportbeeCreateTicket } from "./create-ticket.mjs";
11
+ import { supportbeeCreateTicketReply } from "./create-ticket-reply.mjs";
12
+ import { supportbeeCreateUserOrCustomerGroup } from "./create-user-or-customer-group.mjs";
13
+ import { supportbeeDeleteSnippet } from "./delete-snippet.mjs";
14
+ import { supportbeeDeleteTicket } from "./delete-ticket.mjs";
15
+ import { supportbeeFetchEmails } from "./fetch-emails.mjs";
16
+ import { supportbeeFetchLabels } from "./fetch-labels.mjs";
17
+ import { supportbeeFetchSnippets } from "./fetch-snippets.mjs";
18
+ import { supportbeeFetchTeams } from "./fetch-teams.mjs";
19
+ import { supportbeeGetAvgFirstResponseTimeReport } from "./get-avg-first-response-time-report.mjs";
20
+ import { supportbeeGetRepliesCountReport } from "./get-replies-count-report.mjs";
21
+ import { supportbeeGetTicket } from "./get-ticket.mjs";
22
+ import { supportbeeGetTicketsCountReport } from "./get-tickets-count-report.mjs";
23
+ import { supportbeeListTicketComments } from "./list-ticket-comments.mjs";
24
+ import { supportbeeListTicketReplies } from "./list-ticket-replies.mjs";
25
+ import { supportbeeListTickets } from "./list-tickets.mjs";
26
+ import { supportbeeListUsers } from "./list-users.mjs";
27
+ import { supportbeeMarkTicketAsAnswered } from "./mark-ticket-as-answered.mjs";
28
+ import { supportbeeMarkTicketAsSpam } from "./mark-ticket-as-spam.mjs";
29
+ import { supportbeeMarkTicketAsUnanswered } from "./mark-ticket-as-unanswered.mjs";
30
+ import { supportbeeRemoveLabelFromTicket } from "./remove-label-from-ticket.mjs";
31
+ import { supportbeeSearchTickets } from "./search-tickets.mjs";
32
+ import { supportbeeShowTicketReply } from "./show-ticket-reply.mjs";
33
+ import { supportbeeShowUserOrCustomerGroup } from "./show-user-or-customer-group.mjs";
34
+ import { supportbeeTrashTicket } from "./trash-ticket.mjs";
35
+ import { supportbeeUnarchiveTicket } from "./unarchive-ticket.mjs";
36
+ import { supportbeeUnassignTicketFromTeam } from "./unassign-ticket-from-team.mjs";
37
+ import { supportbeeUnassignTicketFromUser } from "./unassign-ticket-from-user.mjs";
38
+ import { supportbeeUnmarkTicketAsSpam } from "./unmark-ticket-as-spam.mjs";
39
+ import { supportbeeUntrashTicket } from "./untrash-ticket.mjs";
40
+ import { supportbeeUpdateSnippet } from "./update-snippet.mjs";
41
+ import { supportbeeUpdateUser } from "./update-user.mjs";
42
+ export { supportbeeAddLabelToTicket, supportbeeArchiveTicket, supportbeeAssignTicketToTeam, supportbeeCreateComment, supportbeeCreateConsequence, supportbeeCreateEmail, supportbeeCreateFilter, supportbeeCreateRule, supportbeeCreateSnippet, supportbeeCreateTicket, supportbeeCreateTicketReply, supportbeeCreateUserOrCustomerGroup, supportbeeDeleteSnippet, supportbeeDeleteTicket, supportbeeFetchEmails, supportbeeFetchLabels, supportbeeFetchSnippets, supportbeeFetchTeams, supportbeeGetAvgFirstResponseTimeReport, supportbeeGetRepliesCountReport, supportbeeGetTicket, supportbeeGetTicketsCountReport, supportbeeListTicketComments, supportbeeListTicketReplies, supportbeeListTickets, supportbeeListUsers, supportbeeMarkTicketAsAnswered, supportbeeMarkTicketAsSpam, supportbeeMarkTicketAsUnanswered, supportbeeRemoveLabelFromTicket, supportbeeSearchTickets, supportbeeShowTicketReply, supportbeeShowUserOrCustomerGroup, supportbeeTrashTicket, supportbeeUnarchiveTicket, supportbeeUnassignTicketFromTeam, supportbeeUnassignTicketFromUser, supportbeeUnmarkTicketAsSpam, supportbeeUntrashTicket, supportbeeUpdateSnippet, supportbeeUpdateUser };
@@ -0,0 +1,50 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-ticket-comments.ts
4
+ const SupportbeeListTicketCommentsInput = zod.z.object({ ticket_id: zod.z.string().describe("The unique identifier of the ticket to retrieve comments for. Obtain this from list_tickets or search_tickets actions.") }).describe("Request model for listing all internal comments on a ticket.\nComments are private notes visible only to agents (not customers).");
5
+ const SupportbeeListTicketComments_CommentUserSchema = zod.z.object({
6
+ id: zod.z.number().int().describe("Unique identifier of the user"),
7
+ name: zod.z.string().describe("Display name of the user").nullable().optional(),
8
+ email: zod.z.string().describe("Email address of the user").nullable().optional()
9
+ }).describe("Information about the agent/user who posted the comment.");
10
+ const SupportbeeListTicketComments_CommentAttachmentSchema = zod.z.object({
11
+ id: zod.z.number().int().describe("Unique identifier of the attachment").nullable().optional(),
12
+ url: zod.z.string().describe("URL to download the attachment").nullable().optional(),
13
+ size: zod.z.number().int().describe("Size of the attachment in bytes").nullable().optional(),
14
+ filename: zod.z.string().describe("Name of the attachment file").nullable().optional(),
15
+ created_at: zod.z.string().describe("Timestamp when attachment was created (ISO 8601 format)").nullable().optional(),
16
+ content_type: zod.z.string().describe("MIME type of the attachment (e.g., 'image/png', 'application/pdf')").nullable().optional()
17
+ }).describe("Attachment associated with a comment.");
18
+ const SupportbeeListTicketComments_CommentContentSchema = zod.z.object({
19
+ html: zod.z.string().describe("HTML-formatted content of the comment").nullable().optional(),
20
+ text: zod.z.string().describe("Plain text content of the comment").nullable().optional(),
21
+ attachments: zod.z.array(SupportbeeListTicketComments_CommentAttachmentSchema).describe("List of attachments associated with the comment").nullable().optional()
22
+ }).describe("Content structure for a comment, containing HTML and attachments.");
23
+ const SupportbeeListTicketComments_TicketCommentSchema = zod.z.object({
24
+ id: zod.z.number().int().describe("Unique identifier of the comment").nullable().optional(),
25
+ body: zod.z.string().describe("Plain text body of the comment (deprecated, use content.text)").nullable().optional(),
26
+ user: SupportbeeListTicketComments_CommentUserSchema.nullable().optional(),
27
+ content: SupportbeeListTicketComments_CommentContentSchema.nullable().optional(),
28
+ user_id: zod.z.number().int().describe("ID of the user who added the comment").nullable().optional(),
29
+ commenter: SupportbeeListTicketComments_CommentUserSchema.nullable().optional(),
30
+ ticket_id: zod.z.number().int().describe("ID of the ticket this comment belongs to").nullable().optional(),
31
+ created_at: zod.z.string().describe("Timestamp when the comment was created (ISO 8601 format)").nullable().optional(),
32
+ updated_at: zod.z.string().describe("Timestamp when the comment was last updated (ISO 8601 format)").nullable().optional(),
33
+ attachments: zod.z.array(SupportbeeListTicketComments_CommentAttachmentSchema).describe("Legacy attachments field (deprecated, use content.attachments)").nullable().optional(),
34
+ from_support_address_id: zod.z.number().int().describe("ID of the support address used").nullable().optional()
35
+ }).describe("Model representing a single internal comment on a ticket.\nComments are private notes visible only to agents within the helpdesk.");
36
+ const SupportbeeListTicketCommentsOutput = zod.z.object({
37
+ total: zod.z.number().int().describe("Total number of comments (if provided by API)").nullable().optional(),
38
+ comments: zod.z.array(SupportbeeListTicketComments_TicketCommentSchema).describe("List of internal comments on the ticket. Returns an empty list if no comments exist.").nullable().optional()
39
+ }).describe("Response model containing all internal comments for a ticket.");
40
+ const supportbeeListTicketComments = require_action.action("SUPPORTBEE_LIST_TICKET_COMMENTS", {
41
+ slug: "supportbee-list-ticket-comments",
42
+ name: "List Ticket Comments",
43
+ description: "Retrieves all internal comments (private agent notes) for a specific ticket. Comments are visible only to agents within the helpdesk, not to customers. Use this to review internal discussion history on a ticket.",
44
+ input: SupportbeeListTicketCommentsInput,
45
+ output: SupportbeeListTicketCommentsOutput
46
+ });
47
+ //#endregion
48
+ exports.supportbeeListTicketComments = supportbeeListTicketComments;
49
+
50
+ //# sourceMappingURL=list-ticket-comments.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-ticket-comments.cjs","names":["z","action"],"sources":["../../src/actions/list-ticket-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeListTicketCommentsInput: z.ZodTypeAny = z.object({\n ticket_id: z.string().describe(\"The unique identifier of the ticket to retrieve comments for. Obtain this from list_tickets or search_tickets actions.\"),\n}).describe(\"Request model for listing all internal comments on a ticket.\\nComments are private notes visible only to agents (not customers).\");\nconst SupportbeeListTicketComments_CommentUserSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\"),\n name: z.string().describe(\"Display name of the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n}).describe(\"Information about the agent/user who posted the comment.\");\nconst SupportbeeListTicketComments_CommentAttachmentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the attachment\").nullable().optional(),\n url: z.string().describe(\"URL to download the attachment\").nullable().optional(),\n size: z.number().int().describe(\"Size of the attachment in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the attachment file\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when attachment was created (ISO 8601 format)\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attachment (e.g., 'image/png', 'application/pdf')\").nullable().optional(),\n}).describe(\"Attachment associated with a comment.\");\nconst SupportbeeListTicketComments_CommentContentSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML-formatted content of the comment\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the comment\").nullable().optional(),\n attachments: z.array(SupportbeeListTicketComments_CommentAttachmentSchema).describe(\"List of attachments associated with the comment\").nullable().optional(),\n}).describe(\"Content structure for a comment, containing HTML and attachments.\");\nconst SupportbeeListTicketComments_TicketCommentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the comment\").nullable().optional(),\n body: z.string().describe(\"Plain text body of the comment (deprecated, use content.text)\").nullable().optional(),\n user: SupportbeeListTicketComments_CommentUserSchema.nullable().optional(),\n content: SupportbeeListTicketComments_CommentContentSchema.nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who added the comment\").nullable().optional(),\n commenter: SupportbeeListTicketComments_CommentUserSchema.nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this comment belongs to\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the comment was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the comment was last updated (ISO 8601 format)\").nullable().optional(),\n attachments: z.array(SupportbeeListTicketComments_CommentAttachmentSchema).describe(\"Legacy attachments field (deprecated, use content.attachments)\").nullable().optional(),\n from_support_address_id: z.number().int().describe(\"ID of the support address used\").nullable().optional(),\n}).describe(\"Model representing a single internal comment on a ticket.\\nComments are private notes visible only to agents within the helpdesk.\");\nexport const SupportbeeListTicketCommentsOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of comments (if provided by API)\").nullable().optional(),\n comments: z.array(SupportbeeListTicketComments_TicketCommentSchema).describe(\"List of internal comments on the ticket. Returns an empty list if no comments exist.\").nullable().optional(),\n}).describe(\"Response model containing all internal comments for a ticket.\");\n\nexport const supportbeeListTicketComments = action(\"SUPPORTBEE_LIST_TICKET_COMMENTS\", {\n slug: \"supportbee-list-ticket-comments\",\n name: \"List Ticket Comments\",\n description: \"Retrieves all internal comments (private agent notes) for a specific ticket. Comments are visible only to agents within the helpdesk, not to customers. Use this to review internal discussion history on a ticket.\",\n input: SupportbeeListTicketCommentsInput,\n output: SupportbeeListTicketCommentsOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-ticket-comments.d.ts
4
+ declare const SupportbeeListTicketCommentsInput: z.ZodTypeAny;
5
+ declare const SupportbeeListTicketCommentsOutput: z.ZodTypeAny;
6
+ declare const supportbeeListTicketComments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeListTicketComments };
9
+ //# sourceMappingURL=list-ticket-comments.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-ticket-comments.d.cts","names":[],"sources":["../../src/actions/list-ticket-comments.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAE6F;AAAA,cAgClI,kCAAA,EAAoC,CAAA,CAAE,UAGyB;AAAA,cAE/D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-ticket-comments.d.ts
4
+ declare const SupportbeeListTicketCommentsInput: z.ZodTypeAny;
5
+ declare const SupportbeeListTicketCommentsOutput: z.ZodTypeAny;
6
+ declare const supportbeeListTicketComments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeListTicketComments };
9
+ //# sourceMappingURL=list-ticket-comments.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-ticket-comments.d.mts","names":[],"sources":["../../src/actions/list-ticket-comments.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAE6F;AAAA,cAgClI,kCAAA,EAAoC,CAAA,CAAE,UAGyB;AAAA,cAE/D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,49 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-ticket-comments.ts
4
+ const SupportbeeListTicketCommentsInput = z.object({ ticket_id: z.string().describe("The unique identifier of the ticket to retrieve comments for. Obtain this from list_tickets or search_tickets actions.") }).describe("Request model for listing all internal comments on a ticket.\nComments are private notes visible only to agents (not customers).");
5
+ const SupportbeeListTicketComments_CommentUserSchema = z.object({
6
+ id: z.number().int().describe("Unique identifier of the user"),
7
+ name: z.string().describe("Display name of the user").nullable().optional(),
8
+ email: z.string().describe("Email address of the user").nullable().optional()
9
+ }).describe("Information about the agent/user who posted the comment.");
10
+ const SupportbeeListTicketComments_CommentAttachmentSchema = z.object({
11
+ id: z.number().int().describe("Unique identifier of the attachment").nullable().optional(),
12
+ url: z.string().describe("URL to download the attachment").nullable().optional(),
13
+ size: z.number().int().describe("Size of the attachment in bytes").nullable().optional(),
14
+ filename: z.string().describe("Name of the attachment file").nullable().optional(),
15
+ created_at: z.string().describe("Timestamp when attachment was created (ISO 8601 format)").nullable().optional(),
16
+ content_type: z.string().describe("MIME type of the attachment (e.g., 'image/png', 'application/pdf')").nullable().optional()
17
+ }).describe("Attachment associated with a comment.");
18
+ const SupportbeeListTicketComments_CommentContentSchema = z.object({
19
+ html: z.string().describe("HTML-formatted content of the comment").nullable().optional(),
20
+ text: z.string().describe("Plain text content of the comment").nullable().optional(),
21
+ attachments: z.array(SupportbeeListTicketComments_CommentAttachmentSchema).describe("List of attachments associated with the comment").nullable().optional()
22
+ }).describe("Content structure for a comment, containing HTML and attachments.");
23
+ const SupportbeeListTicketComments_TicketCommentSchema = z.object({
24
+ id: z.number().int().describe("Unique identifier of the comment").nullable().optional(),
25
+ body: z.string().describe("Plain text body of the comment (deprecated, use content.text)").nullable().optional(),
26
+ user: SupportbeeListTicketComments_CommentUserSchema.nullable().optional(),
27
+ content: SupportbeeListTicketComments_CommentContentSchema.nullable().optional(),
28
+ user_id: z.number().int().describe("ID of the user who added the comment").nullable().optional(),
29
+ commenter: SupportbeeListTicketComments_CommentUserSchema.nullable().optional(),
30
+ ticket_id: z.number().int().describe("ID of the ticket this comment belongs to").nullable().optional(),
31
+ created_at: z.string().describe("Timestamp when the comment was created (ISO 8601 format)").nullable().optional(),
32
+ updated_at: z.string().describe("Timestamp when the comment was last updated (ISO 8601 format)").nullable().optional(),
33
+ attachments: z.array(SupportbeeListTicketComments_CommentAttachmentSchema).describe("Legacy attachments field (deprecated, use content.attachments)").nullable().optional(),
34
+ from_support_address_id: z.number().int().describe("ID of the support address used").nullable().optional()
35
+ }).describe("Model representing a single internal comment on a ticket.\nComments are private notes visible only to agents within the helpdesk.");
36
+ const supportbeeListTicketComments = action("SUPPORTBEE_LIST_TICKET_COMMENTS", {
37
+ slug: "supportbee-list-ticket-comments",
38
+ name: "List Ticket Comments",
39
+ description: "Retrieves all internal comments (private agent notes) for a specific ticket. Comments are visible only to agents within the helpdesk, not to customers. Use this to review internal discussion history on a ticket.",
40
+ input: SupportbeeListTicketCommentsInput,
41
+ output: z.object({
42
+ total: z.number().int().describe("Total number of comments (if provided by API)").nullable().optional(),
43
+ comments: z.array(SupportbeeListTicketComments_TicketCommentSchema).describe("List of internal comments on the ticket. Returns an empty list if no comments exist.").nullable().optional()
44
+ }).describe("Response model containing all internal comments for a ticket.")
45
+ });
46
+ //#endregion
47
+ export { supportbeeListTicketComments };
48
+
49
+ //# sourceMappingURL=list-ticket-comments.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-ticket-comments.mjs","names":[],"sources":["../../src/actions/list-ticket-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeListTicketCommentsInput: z.ZodTypeAny = z.object({\n ticket_id: z.string().describe(\"The unique identifier of the ticket to retrieve comments for. Obtain this from list_tickets or search_tickets actions.\"),\n}).describe(\"Request model for listing all internal comments on a ticket.\\nComments are private notes visible only to agents (not customers).\");\nconst SupportbeeListTicketComments_CommentUserSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\"),\n name: z.string().describe(\"Display name of the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n}).describe(\"Information about the agent/user who posted the comment.\");\nconst SupportbeeListTicketComments_CommentAttachmentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the attachment\").nullable().optional(),\n url: z.string().describe(\"URL to download the attachment\").nullable().optional(),\n size: z.number().int().describe(\"Size of the attachment in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the attachment file\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when attachment was created (ISO 8601 format)\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attachment (e.g., 'image/png', 'application/pdf')\").nullable().optional(),\n}).describe(\"Attachment associated with a comment.\");\nconst SupportbeeListTicketComments_CommentContentSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML-formatted content of the comment\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the comment\").nullable().optional(),\n attachments: z.array(SupportbeeListTicketComments_CommentAttachmentSchema).describe(\"List of attachments associated with the comment\").nullable().optional(),\n}).describe(\"Content structure for a comment, containing HTML and attachments.\");\nconst SupportbeeListTicketComments_TicketCommentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the comment\").nullable().optional(),\n body: z.string().describe(\"Plain text body of the comment (deprecated, use content.text)\").nullable().optional(),\n user: SupportbeeListTicketComments_CommentUserSchema.nullable().optional(),\n content: SupportbeeListTicketComments_CommentContentSchema.nullable().optional(),\n user_id: z.number().int().describe(\"ID of the user who added the comment\").nullable().optional(),\n commenter: SupportbeeListTicketComments_CommentUserSchema.nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket this comment belongs to\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the comment was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the comment was last updated (ISO 8601 format)\").nullable().optional(),\n attachments: z.array(SupportbeeListTicketComments_CommentAttachmentSchema).describe(\"Legacy attachments field (deprecated, use content.attachments)\").nullable().optional(),\n from_support_address_id: z.number().int().describe(\"ID of the support address used\").nullable().optional(),\n}).describe(\"Model representing a single internal comment on a ticket.\\nComments are private notes visible only to agents within the helpdesk.\");\nexport const SupportbeeListTicketCommentsOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of comments (if provided by API)\").nullable().optional(),\n comments: z.array(SupportbeeListTicketComments_TicketCommentSchema).describe(\"List of internal comments on the ticket. Returns an empty list if no comments exist.\").nullable().optional(),\n}).describe(\"Response model containing all internal comments for a ticket.\");\n\nexport const supportbeeListTicketComments = action(\"SUPPORTBEE_LIST_TICKET_COMMENTS\", {\n slug: \"supportbee-list-ticket-comments\",\n name: \"List Ticket Comments\",\n description: \"Retrieves all internal comments (private agent notes) for a specific ticket. Comments are visible only to agents within the helpdesk, not to customers. Use this to review internal discussion history on a ticket.\",\n input: SupportbeeListTicketCommentsInput,\n output: SupportbeeListTicketCommentsOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,49 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-ticket-replies.ts
4
+ const SupportbeeListTicketRepliesInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Page number to retrieve (1-indexed). Use with per_page for paginated results.").optional(),
6
+ per_page: zod.z.number().int().describe("Number of replies to return per page. Useful for pagination when a ticket has many replies.").optional(),
7
+ ticket_id: zod.z.string().describe("The unique ID of the ticket to fetch replies for. Use SUPPORTBEE_LIST_TICKETS or SUPPORTBEE_SEARCH_TICKETS to find valid ticket IDs.")
8
+ }).describe("Request model for listing all replies of a specific ticket.");
9
+ const SupportbeeListTicketReplies_AttachmentSchema = zod.z.object({
10
+ id: zod.z.number().int().describe("ID of the attachment").nullable().optional(),
11
+ url: zod.z.string().describe("URL to download the attachment").nullable().optional(),
12
+ size: zod.z.number().int().describe("Size of the attachment in bytes").nullable().optional(),
13
+ filename: zod.z.string().describe("Name of the attached file").nullable().optional(),
14
+ content_type: zod.z.string().describe("MIME type of the attachment").nullable().optional()
15
+ });
16
+ const SupportbeeListTicketReplies_ContentSchema = zod.z.object({
17
+ html: zod.z.string().describe("HTML version of the reply content"),
18
+ text: zod.z.string().describe("Plain text version of the reply content"),
19
+ truncated: zod.z.boolean().describe("Whether the content is truncated").nullable().optional(),
20
+ attachments: zod.z.array(SupportbeeListTicketReplies_AttachmentSchema).describe("List of attachments in the content").nullable().optional()
21
+ });
22
+ const SupportbeeListTicketReplies_ReplierSchema = zod.z.object({
23
+ id: zod.z.number().int().describe("ID of the user who posted the reply"),
24
+ name: zod.z.string().describe("Name of the user").nullable().optional(),
25
+ role: zod.z.string().describe("Role of the user (e.g., admin, agent, customer)").nullable().optional(),
26
+ agent: zod.z.boolean().describe("Whether the user is an agent").nullable().optional(),
27
+ email: zod.z.string().describe("Email of the user").nullable().optional(),
28
+ last_name: zod.z.string().describe("Last name of the user").nullable().optional(),
29
+ first_name: zod.z.string().describe("First name of the user").nullable().optional()
30
+ });
31
+ const SupportbeeListTicketReplies_ReplySchema = zod.z.object({
32
+ id: zod.z.number().int().describe("ID of the reply"),
33
+ content: SupportbeeListTicketReplies_ContentSchema.nullable(),
34
+ replier: SupportbeeListTicketReplies_ReplierSchema.nullable().optional(),
35
+ summary: zod.z.string().describe("Summary of the reply").nullable().optional(),
36
+ created_at: zod.z.string().describe("Timestamp when the reply was created")
37
+ });
38
+ const SupportbeeListTicketRepliesOutput = zod.z.object({ replies: zod.z.array(SupportbeeListTicketReplies_ReplySchema).describe("List of replies for the ticket") });
39
+ const supportbeeListTicketReplies = require_action.action("SUPPORTBEE_LIST_TICKET_REPLIES", {
40
+ slug: "supportbee-list-ticket-replies",
41
+ name: "List Ticket Replies",
42
+ description: "Lists all replies on a specific support ticket in SupportBee. Returns reply content, replier details, timestamps, and attachments. Use this to view the conversation history on a ticket. Returns an empty list if the ticket has no replies yet.",
43
+ input: SupportbeeListTicketRepliesInput,
44
+ output: SupportbeeListTicketRepliesOutput
45
+ });
46
+ //#endregion
47
+ exports.supportbeeListTicketReplies = supportbeeListTicketReplies;
48
+
49
+ //# sourceMappingURL=list-ticket-replies.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-ticket-replies.cjs","names":["z","action"],"sources":["../../src/actions/list-ticket-replies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeListTicketRepliesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-indexed). Use with per_page for paginated results.\").optional(),\n per_page: z.number().int().describe(\"Number of replies to return per page. Useful for pagination when a ticket has many replies.\").optional(),\n ticket_id: z.string().describe(\"The unique ID of the ticket to fetch replies for. Use SUPPORTBEE_LIST_TICKETS or SUPPORTBEE_SEARCH_TICKETS to find valid ticket IDs.\"),\n}).describe(\"Request model for listing all replies of a specific ticket.\");\nconst SupportbeeListTicketReplies_AttachmentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the attachment\").nullable().optional(),\n url: z.string().describe(\"URL to download the attachment\").nullable().optional(),\n size: z.number().int().describe(\"Size of the attachment in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the attached file\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attachment\").nullable().optional(),\n});\nconst SupportbeeListTicketReplies_ContentSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML version of the reply content\"),\n text: z.string().describe(\"Plain text version of the reply content\"),\n truncated: z.boolean().describe(\"Whether the content is truncated\").nullable().optional(),\n attachments: z.array(SupportbeeListTicketReplies_AttachmentSchema).describe(\"List of attachments in the content\").nullable().optional(),\n});\nconst SupportbeeListTicketReplies_ReplierSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the user who posted the reply\"),\n name: z.string().describe(\"Name of the user\").nullable().optional(),\n role: z.string().describe(\"Role of the user (e.g., admin, agent, customer)\").nullable().optional(),\n agent: z.boolean().describe(\"Whether the user is an agent\").nullable().optional(),\n email: z.string().describe(\"Email of the user\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n});\nconst SupportbeeListTicketReplies_ReplySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the reply\"),\n content: SupportbeeListTicketReplies_ContentSchema.nullable(),\n replier: SupportbeeListTicketReplies_ReplierSchema.nullable().optional(),\n summary: z.string().describe(\"Summary of the reply\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the reply was created\"),\n});\nexport const SupportbeeListTicketRepliesOutput: z.ZodTypeAny = z.object({\n replies: z.array(SupportbeeListTicketReplies_ReplySchema).describe(\"List of replies for the ticket\"),\n});\n\nexport const supportbeeListTicketReplies = action(\"SUPPORTBEE_LIST_TICKET_REPLIES\", {\n slug: \"supportbee-list-ticket-replies\",\n name: \"List Ticket Replies\",\n description: \"Lists all replies on a specific support ticket in SupportBee. Returns reply content, replier details, timestamps, and attachments. Use this to view the conversation history on a ticket. Returns an empty list if the ticket has no replies yet.\",\n input: SupportbeeListTicketRepliesInput,\n output: SupportbeeListTicketRepliesOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-ticket-replies.d.ts
4
+ declare const SupportbeeListTicketRepliesInput: z.ZodTypeAny;
5
+ declare const SupportbeeListTicketRepliesOutput: z.ZodTypeAny;
6
+ declare const supportbeeListTicketReplies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeListTicketReplies };
9
+ //# sourceMappingURL=list-ticket-replies.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-ticket-replies.d.cts","names":[],"sources":["../../src/actions/list-ticket-replies.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIyB;AAAA,cA8B7D,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-ticket-replies.d.ts
4
+ declare const SupportbeeListTicketRepliesInput: z.ZodTypeAny;
5
+ declare const SupportbeeListTicketRepliesOutput: z.ZodTypeAny;
6
+ declare const supportbeeListTicketReplies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeListTicketReplies };
9
+ //# sourceMappingURL=list-ticket-replies.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-ticket-replies.d.mts","names":[],"sources":["../../src/actions/list-ticket-replies.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIyB;AAAA,cA8B7D,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,48 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-ticket-replies.ts
4
+ const SupportbeeListTicketRepliesInput = z.object({
5
+ page: z.number().int().describe("Page number to retrieve (1-indexed). Use with per_page for paginated results.").optional(),
6
+ per_page: z.number().int().describe("Number of replies to return per page. Useful for pagination when a ticket has many replies.").optional(),
7
+ ticket_id: z.string().describe("The unique ID of the ticket to fetch replies for. Use SUPPORTBEE_LIST_TICKETS or SUPPORTBEE_SEARCH_TICKETS to find valid ticket IDs.")
8
+ }).describe("Request model for listing all replies of a specific ticket.");
9
+ const SupportbeeListTicketReplies_AttachmentSchema = z.object({
10
+ id: z.number().int().describe("ID of the attachment").nullable().optional(),
11
+ url: z.string().describe("URL to download the attachment").nullable().optional(),
12
+ size: z.number().int().describe("Size of the attachment in bytes").nullable().optional(),
13
+ filename: z.string().describe("Name of the attached file").nullable().optional(),
14
+ content_type: z.string().describe("MIME type of the attachment").nullable().optional()
15
+ });
16
+ const SupportbeeListTicketReplies_ContentSchema = z.object({
17
+ html: z.string().describe("HTML version of the reply content"),
18
+ text: z.string().describe("Plain text version of the reply content"),
19
+ truncated: z.boolean().describe("Whether the content is truncated").nullable().optional(),
20
+ attachments: z.array(SupportbeeListTicketReplies_AttachmentSchema).describe("List of attachments in the content").nullable().optional()
21
+ });
22
+ const SupportbeeListTicketReplies_ReplierSchema = z.object({
23
+ id: z.number().int().describe("ID of the user who posted the reply"),
24
+ name: z.string().describe("Name of the user").nullable().optional(),
25
+ role: z.string().describe("Role of the user (e.g., admin, agent, customer)").nullable().optional(),
26
+ agent: z.boolean().describe("Whether the user is an agent").nullable().optional(),
27
+ email: z.string().describe("Email of the user").nullable().optional(),
28
+ last_name: z.string().describe("Last name of the user").nullable().optional(),
29
+ first_name: z.string().describe("First name of the user").nullable().optional()
30
+ });
31
+ const SupportbeeListTicketReplies_ReplySchema = z.object({
32
+ id: z.number().int().describe("ID of the reply"),
33
+ content: SupportbeeListTicketReplies_ContentSchema.nullable(),
34
+ replier: SupportbeeListTicketReplies_ReplierSchema.nullable().optional(),
35
+ summary: z.string().describe("Summary of the reply").nullable().optional(),
36
+ created_at: z.string().describe("Timestamp when the reply was created")
37
+ });
38
+ const supportbeeListTicketReplies = action("SUPPORTBEE_LIST_TICKET_REPLIES", {
39
+ slug: "supportbee-list-ticket-replies",
40
+ name: "List Ticket Replies",
41
+ description: "Lists all replies on a specific support ticket in SupportBee. Returns reply content, replier details, timestamps, and attachments. Use this to view the conversation history on a ticket. Returns an empty list if the ticket has no replies yet.",
42
+ input: SupportbeeListTicketRepliesInput,
43
+ output: z.object({ replies: z.array(SupportbeeListTicketReplies_ReplySchema).describe("List of replies for the ticket") })
44
+ });
45
+ //#endregion
46
+ export { supportbeeListTicketReplies };
47
+
48
+ //# sourceMappingURL=list-ticket-replies.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-ticket-replies.mjs","names":[],"sources":["../../src/actions/list-ticket-replies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeListTicketRepliesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-indexed). Use with per_page for paginated results.\").optional(),\n per_page: z.number().int().describe(\"Number of replies to return per page. Useful for pagination when a ticket has many replies.\").optional(),\n ticket_id: z.string().describe(\"The unique ID of the ticket to fetch replies for. Use SUPPORTBEE_LIST_TICKETS or SUPPORTBEE_SEARCH_TICKETS to find valid ticket IDs.\"),\n}).describe(\"Request model for listing all replies of a specific ticket.\");\nconst SupportbeeListTicketReplies_AttachmentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the attachment\").nullable().optional(),\n url: z.string().describe(\"URL to download the attachment\").nullable().optional(),\n size: z.number().int().describe(\"Size of the attachment in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the attached file\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attachment\").nullable().optional(),\n});\nconst SupportbeeListTicketReplies_ContentSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML version of the reply content\"),\n text: z.string().describe(\"Plain text version of the reply content\"),\n truncated: z.boolean().describe(\"Whether the content is truncated\").nullable().optional(),\n attachments: z.array(SupportbeeListTicketReplies_AttachmentSchema).describe(\"List of attachments in the content\").nullable().optional(),\n});\nconst SupportbeeListTicketReplies_ReplierSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the user who posted the reply\"),\n name: z.string().describe(\"Name of the user\").nullable().optional(),\n role: z.string().describe(\"Role of the user (e.g., admin, agent, customer)\").nullable().optional(),\n agent: z.boolean().describe(\"Whether the user is an agent\").nullable().optional(),\n email: z.string().describe(\"Email of the user\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n});\nconst SupportbeeListTicketReplies_ReplySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the reply\"),\n content: SupportbeeListTicketReplies_ContentSchema.nullable(),\n replier: SupportbeeListTicketReplies_ReplierSchema.nullable().optional(),\n summary: z.string().describe(\"Summary of the reply\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the reply was created\"),\n});\nexport const SupportbeeListTicketRepliesOutput: z.ZodTypeAny = z.object({\n replies: z.array(SupportbeeListTicketReplies_ReplySchema).describe(\"List of replies for the ticket\"),\n});\n\nexport const supportbeeListTicketReplies = action(\"SUPPORTBEE_LIST_TICKET_REPLIES\", {\n slug: \"supportbee-list-ticket-replies\",\n name: \"List Ticket Replies\",\n description: \"Lists all replies on a specific support ticket in SupportBee. Returns reply content, replier details, timestamps, and attachments. Use this to view the conversation history on a ticket. Returns an empty list if the ticket has no replies yet.\",\n input: SupportbeeListTicketRepliesInput,\n output: SupportbeeListTicketRepliesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC5I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;AACvK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC;AACD,MAAM,4CAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC;AACD,MAAM,4CAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;CAC/C,SAAS,0CAA0C,SAAS;CAC5D,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACxE,CAAC;AAKD,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,EACrG,CAOU;AACV,CAAC"}