@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,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const supportbeeMarkTicketAsSpam = action("SUPPORTBEE_MARK_TICKET_AS_SPAM", {
4
+ slug: "supportbee-mark-ticket-as-spam",
5
+ name: "Mark SupportBee Ticket as Spam",
6
+ description: "Tool to mark a SupportBee ticket as spam. Use when you need to flag unwanted or malicious ticket submissions after obtaining the ticket ID.",
7
+ input: z.object({ id: z.string().describe("The numeric ID of the SupportBee ticket to mark as spam. Can be provided as string or integer.") }).describe("Request parameters for marking a SupportBee ticket as spam."),
8
+ output: z.object({
9
+ id: z.union([z.number().int(), z.string()]),
10
+ spam: z.boolean().describe("Indicates whether the ticket is marked as spam (should be True after this action)").nullable().optional(),
11
+ status: z.string().describe("Current ticket status (e.g., 'open', 'answered', 'closed')").nullable().optional(),
12
+ content: z.string().describe("Body content or message of the ticket").nullable().optional(),
13
+ subject: z.string().describe("Subject line of the ticket").nullable().optional(),
14
+ created_at: z.string().describe("Timestamp when the ticket was created (ISO 8601 format)").nullable().optional(),
15
+ updated_at: z.string().describe("Timestamp when the ticket was last updated (ISO 8601 format)").nullable().optional()
16
+ }).describe("A SupportBee ticket object returned after marking as spam.")
17
+ });
18
+ //#endregion
19
+ export { supportbeeMarkTicketAsSpam };
20
+
21
+ //# sourceMappingURL=mark-ticket-as-spam.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-spam.mjs","names":[],"sources":["../../src/actions/mark-ticket-as-spam.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeMarkTicketAsSpamInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The numeric ID of the SupportBee ticket to mark as spam. Can be provided as string or integer.\"),\n}).describe(\"Request parameters for marking a SupportBee ticket as spam.\");\nexport const SupportbeeMarkTicketAsSpamOutput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n spam: z.boolean().describe(\"Indicates whether the ticket is marked as spam (should be True after this action)\").nullable().optional(),\n status: z.string().describe(\"Current ticket status (e.g., 'open', 'answered', 'closed')\").nullable().optional(),\n content: z.string().describe(\"Body content or message of the ticket\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the ticket\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ticket was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the ticket was last updated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"A SupportBee ticket object returned after marking as spam.\");\n\nexport const supportbeeMarkTicketAsSpam = action(\"SUPPORTBEE_MARK_TICKET_AS_SPAM\", {\n slug: \"supportbee-mark-ticket-as-spam\",\n name: \"Mark SupportBee Ticket as Spam\",\n description: \"Tool to mark a SupportBee ticket as spam. Use when you need to flag unwanted or malicious ticket submissions after obtaining the ticket ID.\",\n input: SupportbeeMarkTicketAsSpamInput,\n output: SupportbeeMarkTicketAsSpamOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB2D,EAAE,OAAO,EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,EAC1H,CAAC,CAAC,CAAC,SAAS,6DAeH;CACP,QAf4D,EAAE,OAAO;EACrE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;EAC1C,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/mark-ticket-as-unanswered.ts
4
+ const SupportbeeMarkTicketAsUnansweredInput = zod.z.object({ id: zod.z.union([zod.z.number().int(), zod.z.string()]) }).describe("Request parameters for marking a SupportBee ticket as unanswered.");
5
+ const SupportbeeMarkTicketAsUnansweredOutput = zod.z.object({
6
+ id: zod.z.union([zod.z.number().int(), zod.z.string()]),
7
+ content: zod.z.string().describe("Body content/description of the ticket").nullable().optional(),
8
+ subject: zod.z.string().describe("Subject line of the ticket").nullable().optional(),
9
+ created_at: zod.z.string().describe("Timestamp when the ticket was created (ISO 8601 format)").nullable().optional(),
10
+ unanswered: zod.z.boolean().describe("Whether the ticket is marked as unanswered (should be True after this operation)").nullable().optional(),
11
+ updated_at: zod.z.string().describe("Timestamp when the ticket was last updated (ISO 8601 format)").nullable().optional()
12
+ }).describe("Response after marking a SupportBee ticket as unanswered.\nNote: The SupportBee API typically returns HTTP 204 No Content on success,\nso only the ticket ID is guaranteed to be present in the response.");
13
+ const supportbeeMarkTicketAsUnanswered = require_action.action("SUPPORTBEE_MARK_TICKET_AS_UNANSWERED", {
14
+ slug: "supportbee-mark-ticket-as-unanswered",
15
+ name: "Mark SupportBee Ticket as Unanswered",
16
+ description: "Marks a SupportBee ticket as unanswered by removing its 'answered' status. Use this to revert a ticket's status after it was previously marked as answered, typically when additional follow-up is needed from the support team. This action is idempotent - calling it on an already unanswered ticket has no adverse effect.",
17
+ input: SupportbeeMarkTicketAsUnansweredInput,
18
+ output: SupportbeeMarkTicketAsUnansweredOutput
19
+ });
20
+ //#endregion
21
+ exports.supportbeeMarkTicketAsUnanswered = supportbeeMarkTicketAsUnanswered;
22
+
23
+ //# sourceMappingURL=mark-ticket-as-unanswered.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-unanswered.cjs","names":["z","action"],"sources":["../../src/actions/mark-ticket-as-unanswered.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeMarkTicketAsUnansweredInput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n}).describe(\"Request parameters for marking a SupportBee ticket as unanswered.\");\nexport const SupportbeeMarkTicketAsUnansweredOutput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n content: z.string().describe(\"Body content/description of the ticket\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the ticket\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ticket was created (ISO 8601 format)\").nullable().optional(),\n unanswered: z.boolean().describe(\"Whether the ticket is marked as unanswered (should be True after this operation)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the ticket was last updated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response after marking a SupportBee ticket as unanswered.\\nNote: The SupportBee API typically returns HTTP 204 No Content on success,\\nso only the ticket ID is guaranteed to be present in the response.\");\n\nexport const supportbeeMarkTicketAsUnanswered = action(\"SUPPORTBEE_MARK_TICKET_AS_UNANSWERED\", {\n slug: \"supportbee-mark-ticket-as-unanswered\",\n name: \"Mark SupportBee Ticket as Unanswered\",\n description: \"Marks a SupportBee ticket as unanswered by removing its 'answered' status. Use this to revert a ticket's status after it was previously marked as answered, typically when additional follow-up is needed from the support team. This action is idempotent - calling it on an already unanswered ticket has no adverse effect.\",\n input: SupportbeeMarkTicketAsUnansweredInput,\n output: SupportbeeMarkTicketAsUnansweredOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,EAC5C,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,2MAA2M;AAEvN,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/mark-ticket-as-unanswered.d.ts
4
+ declare const SupportbeeMarkTicketAsUnansweredInput: z.ZodTypeAny;
5
+ declare const SupportbeeMarkTicketAsUnansweredOutput: z.ZodTypeAny;
6
+ declare const supportbeeMarkTicketAsUnanswered: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeMarkTicketAsUnanswered };
9
+ //# sourceMappingURL=mark-ticket-as-unanswered.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-unanswered.d.cts","names":[],"sources":["../../src/actions/mark-ticket-as-unanswered.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAE0B;AAAA,cACnE,sCAAA,EAAwC,CAAA,CAAE,UAOiK;AAAA,cAE3M,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/mark-ticket-as-unanswered.d.ts
4
+ declare const SupportbeeMarkTicketAsUnansweredInput: z.ZodTypeAny;
5
+ declare const SupportbeeMarkTicketAsUnansweredOutput: z.ZodTypeAny;
6
+ declare const supportbeeMarkTicketAsUnanswered: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeMarkTicketAsUnanswered };
9
+ //# sourceMappingURL=mark-ticket-as-unanswered.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-unanswered.d.mts","names":[],"sources":["../../src/actions/mark-ticket-as-unanswered.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAE0B;AAAA,cACnE,sCAAA,EAAwC,CAAA,CAAE,UAOiK;AAAA,cAE3M,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const supportbeeMarkTicketAsUnanswered = action("SUPPORTBEE_MARK_TICKET_AS_UNANSWERED", {
4
+ slug: "supportbee-mark-ticket-as-unanswered",
5
+ name: "Mark SupportBee Ticket as Unanswered",
6
+ description: "Marks a SupportBee ticket as unanswered by removing its 'answered' status. Use this to revert a ticket's status after it was previously marked as answered, typically when additional follow-up is needed from the support team. This action is idempotent - calling it on an already unanswered ticket has no adverse effect.",
7
+ input: z.object({ id: z.union([z.number().int(), z.string()]) }).describe("Request parameters for marking a SupportBee ticket as unanswered."),
8
+ output: z.object({
9
+ id: z.union([z.number().int(), z.string()]),
10
+ content: z.string().describe("Body content/description of the ticket").nullable().optional(),
11
+ subject: z.string().describe("Subject line of the ticket").nullable().optional(),
12
+ created_at: z.string().describe("Timestamp when the ticket was created (ISO 8601 format)").nullable().optional(),
13
+ unanswered: z.boolean().describe("Whether the ticket is marked as unanswered (should be True after this operation)").nullable().optional(),
14
+ updated_at: z.string().describe("Timestamp when the ticket was last updated (ISO 8601 format)").nullable().optional()
15
+ }).describe("Response after marking a SupportBee ticket as unanswered.\nNote: The SupportBee API typically returns HTTP 204 No Content on success,\nso only the ticket ID is guaranteed to be present in the response.")
16
+ });
17
+ //#endregion
18
+ export { supportbeeMarkTicketAsUnanswered };
19
+
20
+ //# sourceMappingURL=mark-ticket-as-unanswered.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-unanswered.mjs","names":[],"sources":["../../src/actions/mark-ticket-as-unanswered.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeMarkTicketAsUnansweredInput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n}).describe(\"Request parameters for marking a SupportBee ticket as unanswered.\");\nexport const SupportbeeMarkTicketAsUnansweredOutput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n content: z.string().describe(\"Body content/description of the ticket\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the ticket\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ticket was created (ISO 8601 format)\").nullable().optional(),\n unanswered: z.boolean().describe(\"Whether the ticket is marked as unanswered (should be True after this operation)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the ticket was last updated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response after marking a SupportBee ticket as unanswered.\\nNote: The SupportBee API typically returns HTTP 204 No Content on success,\\nso only the ticket ID is guaranteed to be present in the response.\");\n\nexport const supportbeeMarkTicketAsUnanswered = action(\"SUPPORTBEE_MARK_TICKET_AS_UNANSWERED\", {\n slug: \"supportbee-mark-ticket-as-unanswered\",\n name: \"Mark SupportBee Ticket as Unanswered\",\n description: \"Marks a SupportBee ticket as unanswered by removing its 'answered' status. Use this to revert a ticket's status after it was previously marked as answered, typically when additional follow-up is needed from the support team. This action is idempotent - calling it on an already unanswered ticket has no adverse effect.\",\n input: SupportbeeMarkTicketAsUnansweredInput,\n output: SupportbeeMarkTicketAsUnansweredOutput,\n});\n"],"mappings":";;AAgBA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiE,EAAE,OAAO,EAC1E,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,EAC5C,CAAC,CAAC,CAAC,SAAS,mEAcH;CACP,QAdkE,EAAE,OAAO;EAC3E,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,2MAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/remove-label-from-ticket.ts
4
+ const SupportbeeRemoveLabelFromTicketInput = zod.z.object({
5
+ ticket_id: zod.z.number().int().describe("Unique numeric ID of the ticket to remove the label from."),
6
+ label_name: zod.z.string().describe("Name of the label to remove from the ticket.")
7
+ }).describe("Request parameters for removing a label from a ticket in SupportBee.");
8
+ const SupportbeeRemoveLabelFromTicketOutput = zod.z.object({
9
+ message: zod.z.string().describe("A message describing the result of the operation."),
10
+ success: zod.z.boolean().describe("Indicates whether the label was successfully removed from the ticket."),
11
+ ticket_id: zod.z.number().int().describe("The ID of the ticket from which the label was removed."),
12
+ label_name: zod.z.string().describe("The name of the label that was removed.")
13
+ }).describe("Response model for remove label from ticket action confirming the operation.");
14
+ const supportbeeRemoveLabelFromTicket = require_action.action("SUPPORTBEE_REMOVE_LABEL_FROM_TICKET", {
15
+ slug: "supportbee-remove-label-from-ticket",
16
+ name: "Remove Label From Ticket",
17
+ description: "Tool to remove a label from a ticket. Use when you need to unlabel or uncategorize a ticket by removing an existing label.",
18
+ input: SupportbeeRemoveLabelFromTicketInput,
19
+ output: SupportbeeRemoveLabelFromTicketOutput
20
+ });
21
+ //#endregion
22
+ exports.supportbeeRemoveLabelFromTicket = supportbeeRemoveLabelFromTicket;
23
+
24
+ //# sourceMappingURL=remove-label-from-ticket.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-label-from-ticket.cjs","names":["z","action"],"sources":["../../src/actions/remove-label-from-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeRemoveLabelFromTicketInput: z.ZodTypeAny = z.object({\n ticket_id: z.number().int().describe(\"Unique numeric ID of the ticket to remove the label from.\"),\n label_name: z.string().describe(\"Name of the label to remove from the ticket.\"),\n}).describe(\"Request parameters for removing a label from a ticket in SupportBee.\");\nexport const SupportbeeRemoveLabelFromTicketOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message describing the result of the operation.\"),\n success: z.boolean().describe(\"Indicates whether the label was successfully removed from the ticket.\"),\n ticket_id: z.number().int().describe(\"The ID of the ticket from which the label was removed.\"),\n label_name: z.string().describe(\"The name of the label that was removed.\"),\n}).describe(\"Response model for remove label from ticket action confirming the operation.\");\n\nexport const supportbeeRemoveLabelFromTicket = action(\"SUPPORTBEE_REMOVE_LABEL_FROM_TICKET\", {\n slug: \"supportbee-remove-label-from-ticket\",\n name: \"Remove Label From Ticket\",\n description: \"Tool to remove a label from a ticket. Use when you need to unlabel or uncategorize a ticket by removing an existing label.\",\n input: SupportbeeRemoveLabelFromTicketInput,\n output: SupportbeeRemoveLabelFromTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC3E,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAE1F,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/remove-label-from-ticket.d.ts
4
+ declare const SupportbeeRemoveLabelFromTicketInput: z.ZodTypeAny;
5
+ declare const SupportbeeRemoveLabelFromTicketOutput: z.ZodTypeAny;
6
+ declare const supportbeeRemoveLabelFromTicket: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeRemoveLabelFromTicket };
9
+ //# sourceMappingURL=remove-label-from-ticket.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-label-from-ticket.d.cts","names":[],"sources":["../../src/actions/remove-label-from-ticket.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAG8B;AAAA,cACtE,qCAAA,EAAuC,CAAA,CAAE,UAKqC;AAAA,cAE9E,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/remove-label-from-ticket.d.ts
4
+ declare const SupportbeeRemoveLabelFromTicketInput: z.ZodTypeAny;
5
+ declare const SupportbeeRemoveLabelFromTicketOutput: z.ZodTypeAny;
6
+ declare const supportbeeRemoveLabelFromTicket: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeRemoveLabelFromTicket };
9
+ //# sourceMappingURL=remove-label-from-ticket.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-label-from-ticket.d.mts","names":[],"sources":["../../src/actions/remove-label-from-ticket.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAG8B;AAAA,cACtE,qCAAA,EAAuC,CAAA,CAAE,UAKqC;AAAA,cAE9E,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const supportbeeRemoveLabelFromTicket = action("SUPPORTBEE_REMOVE_LABEL_FROM_TICKET", {
4
+ slug: "supportbee-remove-label-from-ticket",
5
+ name: "Remove Label From Ticket",
6
+ description: "Tool to remove a label from a ticket. Use when you need to unlabel or uncategorize a ticket by removing an existing label.",
7
+ input: z.object({
8
+ ticket_id: z.number().int().describe("Unique numeric ID of the ticket to remove the label from."),
9
+ label_name: z.string().describe("Name of the label to remove from the ticket.")
10
+ }).describe("Request parameters for removing a label from a ticket in SupportBee."),
11
+ output: z.object({
12
+ message: z.string().describe("A message describing the result of the operation."),
13
+ success: z.boolean().describe("Indicates whether the label was successfully removed from the ticket."),
14
+ ticket_id: z.number().int().describe("The ID of the ticket from which the label was removed."),
15
+ label_name: z.string().describe("The name of the label that was removed.")
16
+ }).describe("Response model for remove label from ticket action confirming the operation.")
17
+ });
18
+ //#endregion
19
+ export { supportbeeRemoveLabelFromTicket };
20
+
21
+ //# sourceMappingURL=remove-label-from-ticket.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-label-from-ticket.mjs","names":[],"sources":["../../src/actions/remove-label-from-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeRemoveLabelFromTicketInput: z.ZodTypeAny = z.object({\n ticket_id: z.number().int().describe(\"Unique numeric ID of the ticket to remove the label from.\"),\n label_name: z.string().describe(\"Name of the label to remove from the ticket.\"),\n}).describe(\"Request parameters for removing a label from a ticket in SupportBee.\");\nexport const SupportbeeRemoveLabelFromTicketOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message describing the result of the operation.\"),\n success: z.boolean().describe(\"Indicates whether the label was successfully removed from the ticket.\"),\n ticket_id: z.number().int().describe(\"The ID of the ticket from which the label was removed.\"),\n label_name: z.string().describe(\"The name of the label that was removed.\"),\n}).describe(\"Response model for remove label from ticket action confirming the operation.\");\n\nexport const supportbeeRemoveLabelFromTicket = action(\"SUPPORTBEE_REMOVE_LABEL_FROM_TICKET\", {\n slug: \"supportbee-remove-label-from-ticket\",\n name: \"Remove Label From Ticket\",\n description: \"Tool to remove a label from a ticket. Use when you need to unlabel or uncategorize a ticket by removing an existing label.\",\n input: SupportbeeRemoveLabelFromTicketInput,\n output: SupportbeeRemoveLabelFromTicketOutput,\n});\n"],"mappings":";;AAeA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfgE,EAAE,OAAO;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAChF,CAAC,CAAC,CAAC,SAAS,sEAYH;CACP,QAZiE,EAAE,OAAO;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAC3E,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
@@ -0,0 +1,80 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-tickets.ts
4
+ const SupportbeeSearchTicketsInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination. Defaults to 1.").optional(),
6
+ spam: zod.z.boolean().describe("If true, include tickets marked as spam. Defaults to false.").optional(),
7
+ query: zod.z.string().describe("Search query string to match tickets. Searches in ticket subject, content, and requester info.").optional(),
8
+ trash: zod.z.boolean().describe("If true, include tickets that are trashed. Defaults to false.").optional(),
9
+ replies: zod.z.boolean().describe("If true, return only tickets with replies.").optional(),
10
+ archived: zod.z.enum([
11
+ "true",
12
+ "false",
13
+ "any"
14
+ ]).describe("Filter by archived status: 'true' for only archived, 'false' for non-archived (default), 'any' to include all.").optional(),
15
+ per_page: zod.z.number().int().default(15).describe("Number of tickets per page (1-100). Defaults to 15.").optional()
16
+ }).describe("Request model for searching tickets in SupportBee.");
17
+ const SupportbeeSearchTickets_MetaModelSchema = zod.z.object({
18
+ page: zod.z.number().int().describe("Current page number").nullable().optional(),
19
+ count: zod.z.number().int().describe("Number of tickets on this page").nullable().optional(),
20
+ total: zod.z.number().int().describe("Total number of tickets matching search").nullable().optional(),
21
+ per_page: zod.z.number().int().describe("Number of tickets per page").nullable().optional(),
22
+ total_pages: zod.z.number().int().describe("Total number of pages").nullable().optional()
23
+ }).describe("Pagination metadata for search results.");
24
+ const SupportbeeSearchTickets_CCModelSchema = zod.z.object({
25
+ id: zod.z.number().int().describe("ID of the CC'd user").nullable().optional(),
26
+ name: zod.z.string().describe("Name of the CC'd user").nullable().optional(),
27
+ email: zod.z.string().describe("Email of the CC'd user").nullable().optional()
28
+ }).describe("Model representing a CC'd user.");
29
+ const SupportbeeSearchTickets_TeamModelSchema = zod.z.object({
30
+ id: zod.z.number().int().describe("ID of the team").nullable().optional(),
31
+ name: zod.z.string().describe("Name of the team").nullable().optional()
32
+ }).describe("Model representing assigned team.");
33
+ const SupportbeeSearchTickets_AgentModelSchema = zod.z.object({
34
+ id: zod.z.number().int().describe("ID of the agent").nullable().optional(),
35
+ name: zod.z.string().describe("Name of the agent").nullable().optional(),
36
+ email: zod.z.string().describe("Email of the agent").nullable().optional()
37
+ }).describe("Model representing assigned agent.");
38
+ const SupportbeeSearchTickets_ContentModelSchema = zod.z.object({
39
+ html: zod.z.string().describe("HTML content of the ticket").nullable().optional(),
40
+ text: zod.z.string().describe("Plain text content of the ticket").nullable().optional(),
41
+ truncated: zod.z.boolean().describe("Whether content is truncated").nullable().optional(),
42
+ attachments: zod.z.array(zod.z.unknown()).describe("List of attachments").nullable().optional()
43
+ }).describe("Model representing ticket content.");
44
+ const SupportbeeSearchTickets_RequesterModelSchema = zod.z.object({
45
+ id: zod.z.number().int().describe("ID of the requester").nullable().optional(),
46
+ name: zod.z.string().describe("Name of the requester").nullable().optional(),
47
+ email: zod.z.string().describe("Email of the requester").nullable().optional()
48
+ }).describe("Model representing ticket requester.");
49
+ const SupportbeeSearchTickets_TicketModelSchema = zod.z.object({
50
+ cc: zod.z.array(SupportbeeSearchTickets_CCModelSchema).describe("List of CC'd users").nullable().optional(),
51
+ id: zod.z.number().int().describe("Unique ID of the ticket"),
52
+ spam: zod.z.boolean().describe("Whether the ticket is marked as spam").nullable().optional(),
53
+ team: SupportbeeSearchTickets_TeamModelSchema.nullable().optional(),
54
+ agent: SupportbeeSearchTickets_AgentModelSchema.nullable().optional(),
55
+ state: zod.z.string().describe("State of the ticket (e.g., answered, unanswered)").nullable().optional(),
56
+ trash: zod.z.boolean().describe("Whether the ticket is trashed").nullable().optional(),
57
+ labels: zod.z.array(zod.z.unknown()).describe("Labels associated with the ticket").nullable().optional(),
58
+ content: SupportbeeSearchTickets_ContentModelSchema.nullable().optional(),
59
+ subject: zod.z.string().describe("Subject of the ticket").nullable().optional(),
60
+ summary: zod.z.string().describe("Summary of the ticket").nullable().optional(),
61
+ archived: zod.z.boolean().describe("Whether the ticket is archived").nullable().optional(),
62
+ requester: SupportbeeSearchTickets_RequesterModelSchema.nullable().optional(),
63
+ created_at: zod.z.string().describe("Creation timestamp (ISO 8601)").nullable().optional(),
64
+ updated_at: zod.z.string().describe("Last update timestamp (ISO 8601)").nullable().optional()
65
+ }).describe("Model representing a ticket returned by search.");
66
+ const SupportbeeSearchTicketsOutput = zod.z.object({
67
+ meta: SupportbeeSearchTickets_MetaModelSchema.nullable().optional(),
68
+ tickets: zod.z.array(SupportbeeSearchTickets_TicketModelSchema).describe("List of tickets matching search query").nullable().optional()
69
+ }).describe("Response model for ticket search results.");
70
+ const supportbeeSearchTickets = require_action.action("SUPPORTBEE_SEARCH_TICKETS", {
71
+ slug: "supportbee-search-tickets",
72
+ name: "Search SupportBee Tickets",
73
+ description: "Tool to search SupportBee tickets. Use when you need to find tickets by query with pagination.",
74
+ input: SupportbeeSearchTicketsInput,
75
+ output: SupportbeeSearchTicketsOutput
76
+ });
77
+ //#endregion
78
+ exports.supportbeeSearchTickets = supportbeeSearchTickets;
79
+
80
+ //# sourceMappingURL=search-tickets.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-tickets.cjs","names":["z","action"],"sources":["../../src/actions/search-tickets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeSearchTicketsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n spam: z.boolean().describe(\"If true, include tickets marked as spam. Defaults to false.\").optional(),\n query: z.string().describe(\"Search query string to match tickets. Searches in ticket subject, content, and requester info.\").optional(),\n trash: z.boolean().describe(\"If true, include tickets that are trashed. Defaults to false.\").optional(),\n replies: z.boolean().describe(\"If true, return only tickets with replies.\").optional(),\n archived: z.enum([\"true\", \"false\", \"any\"]).describe(\"Filter by archived status: 'true' for only archived, 'false' for non-archived (default), 'any' to include all.\").optional(),\n per_page: z.number().int().default(15).describe(\"Number of tickets per page (1-100). Defaults to 15.\").optional(),\n}).describe(\"Request model for searching tickets in SupportBee.\");\nconst SupportbeeSearchTickets_MetaModelSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n count: z.number().int().describe(\"Number of tickets on this page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of tickets matching search\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of tickets per page\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n}).describe(\"Pagination metadata for search results.\");\nconst SupportbeeSearchTickets_CCModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the CC'd user\").nullable().optional(),\n name: z.string().describe(\"Name of the CC'd user\").nullable().optional(),\n email: z.string().describe(\"Email of the CC'd user\").nullable().optional(),\n}).describe(\"Model representing a CC'd user.\");\nconst SupportbeeSearchTickets_TeamModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the team\").nullable().optional(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n}).describe(\"Model representing assigned team.\");\nconst SupportbeeSearchTickets_AgentModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the agent\").nullable().optional(),\n name: z.string().describe(\"Name of the agent\").nullable().optional(),\n email: z.string().describe(\"Email of the agent\").nullable().optional(),\n}).describe(\"Model representing assigned agent.\");\nconst SupportbeeSearchTickets_ContentModelSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML content of the ticket\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the ticket\").nullable().optional(),\n truncated: z.boolean().describe(\"Whether content is truncated\").nullable().optional(),\n attachments: z.array(z.unknown()).describe(\"List of attachments\").nullable().optional(),\n}).describe(\"Model representing ticket content.\");\nconst SupportbeeSearchTickets_RequesterModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the requester\").nullable().optional(),\n name: z.string().describe(\"Name of the requester\").nullable().optional(),\n email: z.string().describe(\"Email of the requester\").nullable().optional(),\n}).describe(\"Model representing ticket requester.\");\nconst SupportbeeSearchTickets_TicketModelSchema: z.ZodTypeAny = z.object({\n cc: z.array(SupportbeeSearchTickets_CCModelSchema).describe(\"List of CC'd users\").nullable().optional(),\n id: z.number().int().describe(\"Unique ID of the ticket\"),\n spam: z.boolean().describe(\"Whether the ticket is marked as spam\").nullable().optional(),\n team: SupportbeeSearchTickets_TeamModelSchema.nullable().optional(),\n agent: SupportbeeSearchTickets_AgentModelSchema.nullable().optional(),\n state: z.string().describe(\"State of the ticket (e.g., answered, unanswered)\").nullable().optional(),\n trash: z.boolean().describe(\"Whether the ticket is trashed\").nullable().optional(),\n labels: z.array(z.unknown()).describe(\"Labels associated with the ticket\").nullable().optional(),\n content: SupportbeeSearchTickets_ContentModelSchema.nullable().optional(),\n subject: z.string().describe(\"Subject of the ticket\").nullable().optional(),\n summary: z.string().describe(\"Summary of the ticket\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the ticket is archived\").nullable().optional(),\n requester: SupportbeeSearchTickets_RequesterModelSchema.nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp (ISO 8601)\").nullable().optional(),\n}).describe(\"Model representing a ticket returned by search.\");\nexport const SupportbeeSearchTicketsOutput: z.ZodTypeAny = z.object({\n meta: SupportbeeSearchTickets_MetaModelSchema.nullable().optional(),\n tickets: z.array(SupportbeeSearchTickets_TicketModelSchema).describe(\"List of tickets matching search query\").nullable().optional(),\n}).describe(\"Response model for ticket search results.\");\n\nexport const supportbeeSearchTickets = action(\"SUPPORTBEE_SEARCH_TICKETS\", {\n slug: \"supportbee-search-tickets\",\n name: \"Search SupportBee Tickets\",\n description: \"Tool to search SupportBee tickets. Use when you need to find tickets by query with pagination.\",\n input: S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AA2C;AAEvD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-tickets.d.ts
4
+ declare const SupportbeeSearchTicketsInput: z.ZodTypeAny;
5
+ declare const SupportbeeSearchTicketsOutput: z.ZodTypeAny;
6
+ declare const supportbeeSearchTickets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeSearchTickets };
9
+ //# sourceMappingURL=search-tickets.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-tickets.d.cts","names":[],"sources":["../../src/actions/search-tickets.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAQoB;AAAA,cAkDpD,6BAAA,EAA+B,CAAA,CAAE,UAGU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-tickets.d.ts
4
+ declare const SupportbeeSearchTicketsInput: z.ZodTypeAny;
5
+ declare const SupportbeeSearchTicketsOutput: z.ZodTypeAny;
6
+ declare const supportbeeSearchTickets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeSearchTickets };
9
+ //# sourceMappingURL=search-tickets.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-tickets.d.mts","names":[],"sources":["../../src/actions/search-tickets.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAQoB;AAAA,cAkDpD,6BAAA,EAA+B,CAAA,CAAE,UAGU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,79 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/search-tickets.ts
4
+ const SupportbeeSearchTicketsInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination. Defaults to 1.").optional(),
6
+ spam: z.boolean().describe("If true, include tickets marked as spam. Defaults to false.").optional(),
7
+ query: z.string().describe("Search query string to match tickets. Searches in ticket subject, content, and requester info.").optional(),
8
+ trash: z.boolean().describe("If true, include tickets that are trashed. Defaults to false.").optional(),
9
+ replies: z.boolean().describe("If true, return only tickets with replies.").optional(),
10
+ archived: z.enum([
11
+ "true",
12
+ "false",
13
+ "any"
14
+ ]).describe("Filter by archived status: 'true' for only archived, 'false' for non-archived (default), 'any' to include all.").optional(),
15
+ per_page: z.number().int().default(15).describe("Number of tickets per page (1-100). Defaults to 15.").optional()
16
+ }).describe("Request model for searching tickets in SupportBee.");
17
+ const SupportbeeSearchTickets_MetaModelSchema = z.object({
18
+ page: z.number().int().describe("Current page number").nullable().optional(),
19
+ count: z.number().int().describe("Number of tickets on this page").nullable().optional(),
20
+ total: z.number().int().describe("Total number of tickets matching search").nullable().optional(),
21
+ per_page: z.number().int().describe("Number of tickets per page").nullable().optional(),
22
+ total_pages: z.number().int().describe("Total number of pages").nullable().optional()
23
+ }).describe("Pagination metadata for search results.");
24
+ const SupportbeeSearchTickets_CCModelSchema = z.object({
25
+ id: z.number().int().describe("ID of the CC'd user").nullable().optional(),
26
+ name: z.string().describe("Name of the CC'd user").nullable().optional(),
27
+ email: z.string().describe("Email of the CC'd user").nullable().optional()
28
+ }).describe("Model representing a CC'd user.");
29
+ const SupportbeeSearchTickets_TeamModelSchema = z.object({
30
+ id: z.number().int().describe("ID of the team").nullable().optional(),
31
+ name: z.string().describe("Name of the team").nullable().optional()
32
+ }).describe("Model representing assigned team.");
33
+ const SupportbeeSearchTickets_AgentModelSchema = z.object({
34
+ id: z.number().int().describe("ID of the agent").nullable().optional(),
35
+ name: z.string().describe("Name of the agent").nullable().optional(),
36
+ email: z.string().describe("Email of the agent").nullable().optional()
37
+ }).describe("Model representing assigned agent.");
38
+ const SupportbeeSearchTickets_ContentModelSchema = z.object({
39
+ html: z.string().describe("HTML content of the ticket").nullable().optional(),
40
+ text: z.string().describe("Plain text content of the ticket").nullable().optional(),
41
+ truncated: z.boolean().describe("Whether content is truncated").nullable().optional(),
42
+ attachments: z.array(z.unknown()).describe("List of attachments").nullable().optional()
43
+ }).describe("Model representing ticket content.");
44
+ const SupportbeeSearchTickets_RequesterModelSchema = z.object({
45
+ id: z.number().int().describe("ID of the requester").nullable().optional(),
46
+ name: z.string().describe("Name of the requester").nullable().optional(),
47
+ email: z.string().describe("Email of the requester").nullable().optional()
48
+ }).describe("Model representing ticket requester.");
49
+ const SupportbeeSearchTickets_TicketModelSchema = z.object({
50
+ cc: z.array(SupportbeeSearchTickets_CCModelSchema).describe("List of CC'd users").nullable().optional(),
51
+ id: z.number().int().describe("Unique ID of the ticket"),
52
+ spam: z.boolean().describe("Whether the ticket is marked as spam").nullable().optional(),
53
+ team: SupportbeeSearchTickets_TeamModelSchema.nullable().optional(),
54
+ agent: SupportbeeSearchTickets_AgentModelSchema.nullable().optional(),
55
+ state: z.string().describe("State of the ticket (e.g., answered, unanswered)").nullable().optional(),
56
+ trash: z.boolean().describe("Whether the ticket is trashed").nullable().optional(),
57
+ labels: z.array(z.unknown()).describe("Labels associated with the ticket").nullable().optional(),
58
+ content: SupportbeeSearchTickets_ContentModelSchema.nullable().optional(),
59
+ subject: z.string().describe("Subject of the ticket").nullable().optional(),
60
+ summary: z.string().describe("Summary of the ticket").nullable().optional(),
61
+ archived: z.boolean().describe("Whether the ticket is archived").nullable().optional(),
62
+ requester: SupportbeeSearchTickets_RequesterModelSchema.nullable().optional(),
63
+ created_at: z.string().describe("Creation timestamp (ISO 8601)").nullable().optional(),
64
+ updated_at: z.string().describe("Last update timestamp (ISO 8601)").nullable().optional()
65
+ }).describe("Model representing a ticket returned by search.");
66
+ const supportbeeSearchTickets = action("SUPPORTBEE_SEARCH_TICKETS", {
67
+ slug: "supportbee-search-tickets",
68
+ name: "Search SupportBee Tickets",
69
+ description: "Tool to search SupportBee tickets. Use when you need to find tickets by query with pagination.",
70
+ input: SupportbeeSearchTicketsInput,
71
+ output: z.object({
72
+ meta: SupportbeeSearchTickets_MetaModelSchema.nullable().optional(),
73
+ tickets: z.array(SupportbeeSearchTickets_TicketModelSchema).describe("List of tickets matching search query").nullable().optional()
74
+ }).describe("Response model for ticket search results.")
75
+ });
76
+ //#endregion
77
+ export { supportbeeSearchTickets };
78
+
79
+ //# sourceMappingURL=search-tickets.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-tickets.mjs","names":[],"sources":["../../src/actions/search-tickets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeSearchTicketsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n spam: z.boolean().describe(\"If true, include tickets marked as spam. Defaults to false.\").optional(),\n query: z.string().describe(\"Search query string to match tickets. Searches in ticket subject, content, and requester info.\").optional(),\n trash: z.boolean().describe(\"If true, include tickets that are trashed. Defaults to false.\").optional(),\n replies: z.boolean().describe(\"If true, return only tickets with replies.\").optional(),\n archived: z.enum([\"true\", \"false\", \"any\"]).describe(\"Filter by archived status: 'true' for only archived, 'false' for non-archived (default), 'any' to include all.\").optional(),\n per_page: z.number().int().default(15).describe(\"Number of tickets per page (1-100). Defaults to 15.\").optional(),\n}).describe(\"Request model for searching tickets in SupportBee.\");\nconst SupportbeeSearchTickets_MetaModelSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n count: z.number().int().describe(\"Number of tickets on this page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of tickets matching search\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of tickets per page\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n}).describe(\"Pagination metadata for search results.\");\nconst SupportbeeSearchTickets_CCModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the CC'd user\").nullable().optional(),\n name: z.string().describe(\"Name of the CC'd user\").nullable().optional(),\n email: z.string().describe(\"Email of the CC'd user\").nullable().optional(),\n}).describe(\"Model representing a CC'd user.\");\nconst SupportbeeSearchTickets_TeamModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the team\").nullable().optional(),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n}).describe(\"Model representing assigned team.\");\nconst SupportbeeSearchTickets_AgentModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the agent\").nullable().optional(),\n name: z.string().describe(\"Name of the agent\").nullable().optional(),\n email: z.string().describe(\"Email of the agent\").nullable().optional(),\n}).describe(\"Model representing assigned agent.\");\nconst SupportbeeSearchTickets_ContentModelSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML content of the ticket\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the ticket\").nullable().optional(),\n truncated: z.boolean().describe(\"Whether content is truncated\").nullable().optional(),\n attachments: z.array(z.unknown()).describe(\"List of attachments\").nullable().optional(),\n}).describe(\"Model representing ticket content.\");\nconst SupportbeeSearchTickets_RequesterModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the requester\").nullable().optional(),\n name: z.string().describe(\"Name of the requester\").nullable().optional(),\n email: z.string().describe(\"Email of the requester\").nullable().optional(),\n}).describe(\"Model representing ticket requester.\");\nconst SupportbeeSearchTickets_TicketModelSchema: z.ZodTypeAny = z.object({\n cc: z.array(SupportbeeSearchTickets_CCModelSchema).describe(\"List of CC'd users\").nullable().optional(),\n id: z.number().int().describe(\"Unique ID of the ticket\"),\n spam: z.boolean().describe(\"Whether the ticket is marked as spam\").nullable().optional(),\n team: SupportbeeSearchTickets_TeamModelSchema.nullable().optional(),\n agent: SupportbeeSearchTickets_AgentModelSchema.nullable().optional(),\n state: z.string().describe(\"State of the ticket (e.g., answered, unanswered)\").nullable().optional(),\n trash: z.boolean().describe(\"Whether the ticket is trashed\").nullable().optional(),\n labels: z.array(z.unknown()).describe(\"Labels associated with the ticket\").nullable().optional(),\n content: SupportbeeSearchTickets_ContentModelSchema.nullable().optional(),\n subject: z.string().describe(\"Subject of the ticket\").nullable().optional(),\n summary: z.string().describe(\"Summary of the ticket\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the ticket is archived\").nullable().optional(),\n requester: SupportbeeSearchTickets_RequesterModelSchema.nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp (ISO 8601)\").nullable().optional(),\n}).describe(\"Model representing a ticket returned by search.\");\nexport const SupportbeeSearchTicketsOutput: z.ZodTypeAny = z.object({\n meta: SupportbeeSearchTickets_MetaModelSchema.nullable().optional(),\n tickets: z.array(SupportbeeSearchTickets_TicketModelSchema).describe(\"List of tickets matching search query\").nullable().optional(),\n}).describe(\"Response model for ticket search results.\");\n\nexport const supportbeeSearchTickets = action(\"SUPPORTBEE_SEARCH_TICKETS\", {\n slug: \"supportbee-search-tickets\",\n name: \"Search SupportBee Tickets\",\n description: \"Tool to search SupportBee tickets. Use when you need to find tickets by query with pagination.\",\n input: SupportbeeSearchTicketsInput,\n output: SupportbeeSearchTicketsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS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U,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAM7D,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAClE,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -0,0 +1,47 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/show-ticket-reply.ts
4
+ const SupportbeeShowTicketReplyInput = zod.z.object({
5
+ reply_id: zod.z.number().int().describe("ID of the reply to retrieve"),
6
+ ticket_id: zod.z.string().describe("ID of the ticket to fetch the reply for")
7
+ }).describe("Request model for retrieving a specific reply of a SupportBee ticket.");
8
+ const SupportbeeShowTicketReply_AttachmentSchema = zod.z.object({
9
+ id: zod.z.number().int().describe("ID of the attachment"),
10
+ url: zod.z.string().describe("URL to download the attachment"),
11
+ size: zod.z.number().int().describe("Size of the attachment in bytes").nullable().optional(),
12
+ filename: zod.z.string().describe("Name of the attached file"),
13
+ created_at: zod.z.string().describe("Timestamp when the attachment was created").nullable().optional(),
14
+ content_type: zod.z.string().describe("MIME type of the attachment").nullable().optional()
15
+ }).describe("Attachment associated with the reply.");
16
+ const SupportbeeShowTicketReply_ContentDetailSchema = zod.z.object({
17
+ html: zod.z.string().describe("HTML content of the reply"),
18
+ text: zod.z.string().describe("Plain text content of the reply"),
19
+ truncated: zod.z.boolean().describe("Whether content is truncated").nullable().optional(),
20
+ attachments: zod.z.array(SupportbeeShowTicketReply_AttachmentSchema).describe("List of attachments in content").nullable().optional()
21
+ }).describe("Content detail of a reply.");
22
+ const SupportbeeShowTicketReply_AgentSchema = zod.z.object({
23
+ id: zod.z.number().int().describe("ID of the agent who posted the reply"),
24
+ name: zod.z.string().describe("Name of the agent").nullable().optional(),
25
+ email: zod.z.string().describe("Email of the agent").nullable().optional()
26
+ }).describe("Information about the agent who posted the reply.");
27
+ const SupportbeeShowTicketReply_ReplySchema = zod.z.object({
28
+ id: zod.z.number().int().describe("ID of the reply"),
29
+ merged: zod.z.boolean().describe("Whether the reply is merged").nullable().optional(),
30
+ content: SupportbeeShowTicketReply_ContentDetailSchema.nullable(),
31
+ replier: SupportbeeShowTicketReply_AgentSchema.nullable().optional(),
32
+ summary: zod.z.string().describe("Summary of the reply").nullable().optional(),
33
+ created_at: zod.z.string().describe("Timestamp when the reply was created"),
34
+ updated_at: zod.z.string().describe("Timestamp when the reply was last updated").nullable().optional()
35
+ }).describe("A reply object for a SupportBee ticket.");
36
+ const SupportbeeShowTicketReplyOutput = zod.z.object({ reply: SupportbeeShowTicketReply_ReplySchema.nullable() }).describe("Response model for retrieving a specific ticket reply.");
37
+ const supportbeeShowTicketReply = require_action.action("SUPPORTBEE_SHOW_TICKET_REPLY", {
38
+ slug: "supportbee-show-ticket-reply",
39
+ name: "Show Ticket Reply",
40
+ description: "Tool to fetch a specific reply for a SupportBee ticket. Use when you need details of a single reply by ticket and reply IDs.",
41
+ input: SupportbeeShowTicketReplyInput,
42
+ output: SupportbeeShowTicketReplyOutput
43
+ });
44
+ //#endregion
45
+ exports.supportbeeShowTicketReply = supportbeeShowTicketReply;
46
+
47
+ //# sourceMappingURL=show-ticket-reply.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-ticket-reply.cjs","names":["z","action"],"sources":["../../src/actions/show-ticket-reply.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeShowTicketReplyInput: z.ZodTypeAny = z.object({\n reply_id: z.number().int().describe(\"ID of the reply to retrieve\"),\n ticket_id: z.string().describe(\"ID of the ticket to fetch the reply for\"),\n}).describe(\"Request model for retrieving a specific reply of a SupportBee ticket.\");\nconst SupportbeeShowTicketReply_AttachmentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the attachment\"),\n url: z.string().describe(\"URL to download the attachment\"),\n size: z.number().int().describe(\"Size of the attachment in bytes\").nullable().optional(),\n filename: z.string().describe(\"Name of the attached file\"),\n created_at: z.string().describe(\"Timestamp when the attachment was created\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attachment\").nullable().optional(),\n}).describe(\"Attachment associated with the reply.\");\nconst SupportbeeShowTicketReply_ContentDetailSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML content of the reply\"),\n text: z.string().describe(\"Plain text content of the reply\"),\n truncated: z.boolean().describe(\"Whether content is truncated\").nullable().optional(),\n attachments: z.array(SupportbeeShowTicketReply_AttachmentSchema).describe(\"List of attachments in content\").nullable().optional(),\n}).describe(\"Content detail of a reply.\");\nconst SupportbeeShowTicketReply_AgentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the agent who posted the reply\"),\n name: z.string().describe(\"Name of the agent\").nullable().optional(),\n email: z.string().describe(\"Email of the agent\").nullable().optional(),\n}).describe(\"Information about the agent who posted the reply.\");\nconst SupportbeeShowTicketReply_ReplySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the reply\"),\n merged: z.boolean().describe(\"Whether the reply is merged\").nullable().optional(),\n content: SupportbeeShowTicketReply_ContentDetailSchema.nullable(),\n replier: SupportbeeShowTicketReply_AgentSchema.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 updated_at: z.string().describe(\"Timestamp when the reply was last updated\").nullable().optional(),\n}).describe(\"A reply object for a SupportBee ticket.\");\nexport const SupportbeeShowTicketReplyOutput: z.ZodTypeAny = z.object({\n reply: SupportbeeShowTicketReply_ReplySchema.nullable(),\n}).describe(\"Response model for retrieving a specific ticket reply.\");\n\nexport const supportbeeShowTicketReply = action(\"SUPPORTBEE_SHOW_TICKET_REPLY\", {\n slug: \"supportbee-show-ticket-reply\",\n name: \"Show Ticket Reply\",\n description: \"Tool to fetch a specific reply for a SupportBee ticket. Use when you need details of a single reply by ticket and reply IDs.\",\n input: SupportbeeShowTicketReplyInput,\n output: SupportbeeShowTicketReplyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC1E,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAA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AE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,OAAO,sCAAsC,SAAS,EACxD,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/show-ticket-reply.d.ts
4
+ declare const SupportbeeShowTicketReplyInput: z.ZodTypeAny;
5
+ declare const SupportbeeShowTicketReplyOutput: z.ZodTypeAny;
6
+ declare const supportbeeShowTicketReply: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeShowTicketReply };
9
+ //# sourceMappingURL=show-ticket-reply.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-ticket-reply.d.cts","names":[],"sources":["../../src/actions/show-ticket-reply.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGqC;AAAA,cA6BvE,+BAAA,EAAiC,CAAA,CAAE,UAEqB;AAAA,cAExD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/show-ticket-reply.d.ts
4
+ declare const SupportbeeShowTicketReplyInput: z.ZodTypeAny;
5
+ declare const SupportbeeShowTicketReplyOutput: z.ZodTypeAny;
6
+ declare const supportbeeShowTicketReply: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeShowTicketReply };
9
+ //# sourceMappingURL=show-ticket-reply.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-ticket-reply.d.mts","names":[],"sources":["../../src/actions/show-ticket-reply.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGqC;AAAA,cA6BvE,+BAAA,EAAiC,CAAA,CAAE,UAEqB;AAAA,cAExD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}