@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,75 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-tickets.ts
4
+ const SupportbeeListTicketsInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination (default is 1).").optional(),
6
+ spam: zod.z.boolean().describe("If true, retrieves tickets marked as spam. Defaults to false.").optional(),
7
+ label: zod.z.string().describe("Filter tickets by a specific label name.").optional(),
8
+ trash: zod.z.boolean().describe("If true, retrieves tickets marked as trash. Defaults to false.").optional(),
9
+ replies: zod.z.boolean().describe("If true, filter tickets that have replies. If false, filter tickets without replies.").optional(),
10
+ starred: zod.z.boolean().describe("If true, retrieves only starred tickets.").optional(),
11
+ archived: zod.z.boolean().describe("If true, retrieves archived tickets. Defaults to false.").optional(),
12
+ per_page: zod.z.number().int().default(15).describe("Number of tickets per page (default is 15, max is 100).").optional(),
13
+ since_id: zod.z.number().int().describe("Return tickets with ID greater than this value.").optional(),
14
+ assigned_user: zod.z.string().describe("Filter by assigned user. Use 'me' for current user, 'none' for unassigned, or provide agent ID.").optional(),
15
+ assigned_group: zod.z.string().describe("Filter by assigned group/team. Use 'mine' for current user's groups or provide group ID.").optional()
16
+ }).describe("Request model for listing tickets with optional filters and pagination.");
17
+ const SupportbeeListTickets_MetaSchema = 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 filter.").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
+ }).passthrough().describe("Pagination metadata for ticket listing.");
24
+ const SupportbeeListTickets_TicketContentSchema = zod.z.object({
25
+ body: zod.z.string().describe("Plain text body of the ticket.").nullable().optional(),
26
+ html: zod.z.string().describe("HTML body of the ticket.").nullable().optional(),
27
+ attachments: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Attachments in the ticket.").nullable().optional()
28
+ }).passthrough().describe("Model representing ticket content.");
29
+ const SupportbeeListTickets_RequesterSchema = zod.z.object({
30
+ id: zod.z.number().int().describe("ID of the requester.").nullable().optional(),
31
+ name: zod.z.string().describe("Name of the requester.").nullable().optional(),
32
+ email: zod.z.string().describe("Email address of the requester.").nullable().optional()
33
+ }).passthrough().describe("Model representing ticket requester information.");
34
+ const SupportbeeListTickets_CurrentAssigneeSchema = zod.z.object({
35
+ user: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Assigned user details.").nullable().optional(),
36
+ group: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Assigned group details.").nullable().optional()
37
+ }).passthrough().describe("Model representing the current assignee (user or group).");
38
+ const SupportbeeListTickets_TicketSchema = zod.z.object({
39
+ cc: zod.z.array(zod.z.string()).describe("List of CC email addresses.").nullable().optional(),
40
+ id: zod.z.number().int().describe("Unique ID of the ticket."),
41
+ spam: zod.z.boolean().describe("Indicates if the ticket is marked as spam.").nullable().optional(),
42
+ trash: zod.z.boolean().describe("Indicates if the ticket is trashed.").nullable().optional(),
43
+ labels: zod.z.array(zod.z.unknown()).describe("Labels associated with the ticket.").nullable().optional(),
44
+ content: SupportbeeListTickets_TicketContentSchema.nullable().optional(),
45
+ starred: zod.z.boolean().describe("Indicates if the ticket is starred.").nullable().optional(),
46
+ subject: zod.z.string().describe("Subject of the ticket.").nullable().optional(),
47
+ summary: zod.z.string().describe("Short summary of the ticket content.").nullable().optional(),
48
+ archived: zod.z.boolean().describe("Indicates if ticket is archived.").nullable().optional(),
49
+ requester: SupportbeeListTickets_RequesterSchema.nullable().optional(),
50
+ created_at: zod.z.string().describe("Creation timestamp (ISO 8601).").nullable().optional(),
51
+ unanswered: zod.z.boolean().describe("Indicates if ticket is unanswered.").nullable().optional(),
52
+ replies_count: zod.z.number().int().describe("Number of replies on the ticket.").nullable().optional(),
53
+ comments_count: zod.z.number().int().describe("Number of comments on the ticket.").nullable().optional(),
54
+ current_assignee: SupportbeeListTickets_CurrentAssigneeSchema.nullable().optional(),
55
+ last_activity_at: zod.z.string().describe("Last activity timestamp (ISO 8601).").nullable().optional()
56
+ }).passthrough().describe("Model representing a ticket in SupportBee.");
57
+ const SupportbeeListTicketsOutput = zod.z.object({
58
+ meta: SupportbeeListTickets_MetaSchema.nullable().optional(),
59
+ total: zod.z.number().int().describe("Total tickets count (may be at top level).").nullable().optional(),
60
+ tickets: zod.z.array(SupportbeeListTickets_TicketSchema).describe("Array of ticket objects.").nullable().optional(),
61
+ per_page: zod.z.number().int().describe("Number of tickets per page (may be at top level).").nullable().optional(),
62
+ total_pages: zod.z.number().int().describe("Total pages (may be at top level).").nullable().optional(),
63
+ current_page: zod.z.number().int().describe("Current page number (may be at top level).").nullable().optional()
64
+ }).passthrough().describe("Response model for listing tickets.");
65
+ const supportbeeListTickets = require_action.action("SUPPORTBEE_LIST_TICKETS", {
66
+ slug: "supportbee-list-tickets",
67
+ name: "List Tickets",
68
+ description: "Tool to list tickets from SupportBee. Returns a paginated list of tickets with optional filters for spam, trash, archived, assigned user/group, labels, and more. Use when you need to retrieve and browse tickets in the helpdesk.",
69
+ input: SupportbeeListTicketsInput,
70
+ output: SupportbeeListTicketsOutput
71
+ });
72
+ //#endregion
73
+ exports.supportbeeListTickets = supportbeeListTickets;
74
+
75
+ //# sourceMappingURL=list-tickets.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tickets.cjs","names":["z","action"],"sources":["../../src/actions/list-tickets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeListTicketsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default is 1).\").optional(),\n spam: z.boolean().describe(\"If true, retrieves tickets marked as spam. Defaults to false.\").optional(),\n label: z.string().describe(\"Filter tickets by a specific label name.\").optional(),\n trash: z.boolean().describe(\"If true, retrieves tickets marked as trash. Defaults to false.\").optional(),\n replies: z.boolean().describe(\"If true, filter tickets that have replies. If false, filter tickets without replies.\").optional(),\n starred: z.boolean().describe(\"If true, retrieves only starred tickets.\").optional(),\n archived: z.boolean().describe(\"If true, retrieves archived tickets. Defaults to false.\").optional(),\n per_page: z.number().int().default(15).describe(\"Number of tickets per page (default is 15, max is 100).\").optional(),\n since_id: z.number().int().describe(\"Return tickets with ID greater than this value.\").optional(),\n assigned_user: z.string().describe(\"Filter by assigned user. Use 'me' for current user, 'none' for unassigned, or provide agent ID.\").optional(),\n assigned_group: z.string().describe(\"Filter by assigned group/team. Use 'mine' for current user's groups or provide group ID.\").optional(),\n}).describe(\"Request model for listing tickets with optional filters and pagination.\");\nconst SupportbeeListTickets_MetaSchema: 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 filter.\").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}).passthrough().describe(\"Pagination metadata for ticket listing.\");\nconst SupportbeeListTickets_TicketContentSchema: z.ZodTypeAny = z.object({\n body: z.string().describe(\"Plain text body of the ticket.\").nullable().optional(),\n html: z.string().describe(\"HTML body of the ticket.\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"Attachments in the ticket.\").nullable().optional(),\n}).passthrough().describe(\"Model representing ticket content.\");\nconst SupportbeeListTickets_RequesterSchema: 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 address of the requester.\").nullable().optional(),\n}).passthrough().describe(\"Model representing ticket requester information.\");\nconst SupportbeeListTickets_CurrentAssigneeSchema: z.ZodTypeAny = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"Assigned user details.\").nullable().optional(),\n group: z.record(z.string(), z.unknown()).describe(\"Assigned group details.\").nullable().optional(),\n}).passthrough().describe(\"Model representing the current assignee (user or group).\");\nconst SupportbeeListTickets_TicketSchema: z.ZodTypeAny = z.object({\n cc: z.array(z.string()).describe(\"List of CC email addresses.\").nullable().optional(),\n id: z.number().int().describe(\"Unique ID of the ticket.\"),\n spam: z.boolean().describe(\"Indicates if the ticket is marked as spam.\").nullable().optional(),\n trash: z.boolean().describe(\"Indicates if the ticket is trashed.\").nullable().optional(),\n labels: z.array(z.unknown()).describe(\"Labels associated with the ticket.\").nullable().optional(),\n content: SupportbeeListTickets_TicketContentSchema.nullable().optional(),\n starred: z.boolean().describe(\"Indicates if the ticket is starred.\").nullable().optional(),\n subject: z.string().describe(\"Subject of the ticket.\").nullable().optional(),\n summary: z.string().describe(\"Short summary of the ticket content.\").nullable().optional(),\n archived: z.boolean().describe(\"Indicates if ticket is archived.\").nullable().optional(),\n requester: SupportbeeListTickets_RequesterSchema.nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable().optional(),\n unanswered: z.boolean().describe(\"Indicates if ticket is unanswered.\").nullable().optional(),\n replies_count: z.number().int().describe(\"Number of replies on the ticket.\").nullable().optional(),\n comments_count: z.number().int().describe(\"Number of comments on the ticket.\").nullable().optional(),\n current_assignee: SupportbeeListTickets_CurrentAssigneeSchema.nullable().optional(),\n last_activity_at: z.string().describe(\"Last activity timestamp (ISO 8601).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a ticket in SupportBee.\");\nexport const SupportbeeListTicketsOutput: z.ZodTypeAny = z.object({\n meta: SupportbeeListTickets_MetaSchema.nullable().optional(),\n total: z.number().int().describe(\"Total tickets count (may be at top level).\").nullable().optional(),\n tickets: z.array(SupportbeeListTickets_TicketSchema).describe(\"Array of ticket objects.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of tickets per page (may be at top level).\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total pages (may be at top level).\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number (may be at top level).\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tickets.\");\n\nexport const supportbeeListTickets = action(\"SUPPORTBEE_LIST_TICKETS\", {\n slug: \"supportbee-list-tickets\",\n name: \"List Tickets\",\n description: \"Tool to list tickets from SupportBee. Returns a paginated list of tickets with optional filters for spam, trash, archived, assigned user/group, labels, and more. Use when you need to retrieve and browse tickets in the helpdesk.\",\n input: SupportbeeListTicketsInput,\n output: SupportbeeListTicketsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAA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 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-tickets.d.ts
4
+ declare const SupportbeeListTicketsInput: z.ZodTypeAny;
5
+ declare const SupportbeeListTicketsOutput: z.ZodTypeAny;
6
+ declare const supportbeeListTickets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeListTickets };
9
+ //# sourceMappingURL=list-tickets.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tickets.d.cts","names":[],"sources":["../../src/actions/list-tickets.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAY2C;AAAA,cAyCzE,2BAAA,EAA6B,CAAA,CAAE,UAOoB;AAAA,cAEnD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-tickets.d.ts
4
+ declare const SupportbeeListTicketsInput: z.ZodTypeAny;
5
+ declare const SupportbeeListTicketsOutput: z.ZodTypeAny;
6
+ declare const supportbeeListTickets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeListTickets };
9
+ //# sourceMappingURL=list-tickets.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tickets.d.mts","names":[],"sources":["../../src/actions/list-tickets.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAY2C;AAAA,cAyCzE,2BAAA,EAA6B,CAAA,CAAE,UAOoB;AAAA,cAEnD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,74 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-tickets.ts
4
+ const SupportbeeListTicketsInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination (default is 1).").optional(),
6
+ spam: z.boolean().describe("If true, retrieves tickets marked as spam. Defaults to false.").optional(),
7
+ label: z.string().describe("Filter tickets by a specific label name.").optional(),
8
+ trash: z.boolean().describe("If true, retrieves tickets marked as trash. Defaults to false.").optional(),
9
+ replies: z.boolean().describe("If true, filter tickets that have replies. If false, filter tickets without replies.").optional(),
10
+ starred: z.boolean().describe("If true, retrieves only starred tickets.").optional(),
11
+ archived: z.boolean().describe("If true, retrieves archived tickets. Defaults to false.").optional(),
12
+ per_page: z.number().int().default(15).describe("Number of tickets per page (default is 15, max is 100).").optional(),
13
+ since_id: z.number().int().describe("Return tickets with ID greater than this value.").optional(),
14
+ assigned_user: z.string().describe("Filter by assigned user. Use 'me' for current user, 'none' for unassigned, or provide agent ID.").optional(),
15
+ assigned_group: z.string().describe("Filter by assigned group/team. Use 'mine' for current user's groups or provide group ID.").optional()
16
+ }).describe("Request model for listing tickets with optional filters and pagination.");
17
+ const SupportbeeListTickets_MetaSchema = 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 filter.").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
+ }).passthrough().describe("Pagination metadata for ticket listing.");
24
+ const SupportbeeListTickets_TicketContentSchema = z.object({
25
+ body: z.string().describe("Plain text body of the ticket.").nullable().optional(),
26
+ html: z.string().describe("HTML body of the ticket.").nullable().optional(),
27
+ attachments: z.array(z.record(z.string(), z.unknown())).describe("Attachments in the ticket.").nullable().optional()
28
+ }).passthrough().describe("Model representing ticket content.");
29
+ const SupportbeeListTickets_RequesterSchema = z.object({
30
+ id: z.number().int().describe("ID of the requester.").nullable().optional(),
31
+ name: z.string().describe("Name of the requester.").nullable().optional(),
32
+ email: z.string().describe("Email address of the requester.").nullable().optional()
33
+ }).passthrough().describe("Model representing ticket requester information.");
34
+ const SupportbeeListTickets_CurrentAssigneeSchema = z.object({
35
+ user: z.record(z.string(), z.unknown()).describe("Assigned user details.").nullable().optional(),
36
+ group: z.record(z.string(), z.unknown()).describe("Assigned group details.").nullable().optional()
37
+ }).passthrough().describe("Model representing the current assignee (user or group).");
38
+ const SupportbeeListTickets_TicketSchema = z.object({
39
+ cc: z.array(z.string()).describe("List of CC email addresses.").nullable().optional(),
40
+ id: z.number().int().describe("Unique ID of the ticket."),
41
+ spam: z.boolean().describe("Indicates if the ticket is marked as spam.").nullable().optional(),
42
+ trash: z.boolean().describe("Indicates if the ticket is trashed.").nullable().optional(),
43
+ labels: z.array(z.unknown()).describe("Labels associated with the ticket.").nullable().optional(),
44
+ content: SupportbeeListTickets_TicketContentSchema.nullable().optional(),
45
+ starred: z.boolean().describe("Indicates if the ticket is starred.").nullable().optional(),
46
+ subject: z.string().describe("Subject of the ticket.").nullable().optional(),
47
+ summary: z.string().describe("Short summary of the ticket content.").nullable().optional(),
48
+ archived: z.boolean().describe("Indicates if ticket is archived.").nullable().optional(),
49
+ requester: SupportbeeListTickets_RequesterSchema.nullable().optional(),
50
+ created_at: z.string().describe("Creation timestamp (ISO 8601).").nullable().optional(),
51
+ unanswered: z.boolean().describe("Indicates if ticket is unanswered.").nullable().optional(),
52
+ replies_count: z.number().int().describe("Number of replies on the ticket.").nullable().optional(),
53
+ comments_count: z.number().int().describe("Number of comments on the ticket.").nullable().optional(),
54
+ current_assignee: SupportbeeListTickets_CurrentAssigneeSchema.nullable().optional(),
55
+ last_activity_at: z.string().describe("Last activity timestamp (ISO 8601).").nullable().optional()
56
+ }).passthrough().describe("Model representing a ticket in SupportBee.");
57
+ const supportbeeListTickets = action("SUPPORTBEE_LIST_TICKETS", {
58
+ slug: "supportbee-list-tickets",
59
+ name: "List Tickets",
60
+ description: "Tool to list tickets from SupportBee. Returns a paginated list of tickets with optional filters for spam, trash, archived, assigned user/group, labels, and more. Use when you need to retrieve and browse tickets in the helpdesk.",
61
+ input: SupportbeeListTicketsInput,
62
+ output: z.object({
63
+ meta: SupportbeeListTickets_MetaSchema.nullable().optional(),
64
+ total: z.number().int().describe("Total tickets count (may be at top level).").nullable().optional(),
65
+ tickets: z.array(SupportbeeListTickets_TicketSchema).describe("Array of ticket objects.").nullable().optional(),
66
+ per_page: z.number().int().describe("Number of tickets per page (may be at top level).").nullable().optional(),
67
+ total_pages: z.number().int().describe("Total pages (may be at top level).").nullable().optional(),
68
+ current_page: z.number().int().describe("Current page number (may be at top level).").nullable().optional()
69
+ }).passthrough().describe("Response model for listing tickets.")
70
+ });
71
+ //#endregion
72
+ export { supportbeeListTickets };
73
+
74
+ //# sourceMappingURL=list-tickets.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tickets.mjs","names":[],"sources":["../../src/actions/list-tickets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeListTicketsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default is 1).\").optional(),\n spam: z.boolean().describe(\"If true, retrieves tickets marked as spam. Defaults to false.\").optional(),\n label: z.string().describe(\"Filter tickets by a specific label name.\").optional(),\n trash: z.boolean().describe(\"If true, retrieves tickets marked as trash. Defaults to false.\").optional(),\n replies: z.boolean().describe(\"If true, filter tickets that have replies. If false, filter tickets without replies.\").optional(),\n starred: z.boolean().describe(\"If true, retrieves only starred tickets.\").optional(),\n archived: z.boolean().describe(\"If true, retrieves archived tickets. Defaults to false.\").optional(),\n per_page: z.number().int().default(15).describe(\"Number of tickets per page (default is 15, max is 100).\").optional(),\n since_id: z.number().int().describe(\"Return tickets with ID greater than this value.\").optional(),\n assigned_user: z.string().describe(\"Filter by assigned user. Use 'me' for current user, 'none' for unassigned, or provide agent ID.\").optional(),\n assigned_group: z.string().describe(\"Filter by assigned group/team. Use 'mine' for current user's groups or provide group ID.\").optional(),\n}).describe(\"Request model for listing tickets with optional filters and pagination.\");\nconst SupportbeeListTickets_MetaSchema: 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 filter.\").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}).passthrough().describe(\"Pagination metadata for ticket listing.\");\nconst SupportbeeListTickets_TicketContentSchema: z.ZodTypeAny = z.object({\n body: z.string().describe(\"Plain text body of the ticket.\").nullable().optional(),\n html: z.string().describe(\"HTML body of the ticket.\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"Attachments in the ticket.\").nullable().optional(),\n}).passthrough().describe(\"Model representing ticket content.\");\nconst SupportbeeListTickets_RequesterSchema: 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 address of the requester.\").nullable().optional(),\n}).passthrough().describe(\"Model representing ticket requester information.\");\nconst SupportbeeListTickets_CurrentAssigneeSchema: z.ZodTypeAny = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"Assigned user details.\").nullable().optional(),\n group: z.record(z.string(), z.unknown()).describe(\"Assigned group details.\").nullable().optional(),\n}).passthrough().describe(\"Model representing the current assignee (user or group).\");\nconst SupportbeeListTickets_TicketSchema: z.ZodTypeAny = z.object({\n cc: z.array(z.string()).describe(\"List of CC email addresses.\").nullable().optional(),\n id: z.number().int().describe(\"Unique ID of the ticket.\"),\n spam: z.boolean().describe(\"Indicates if the ticket is marked as spam.\").nullable().optional(),\n trash: z.boolean().describe(\"Indicates if the ticket is trashed.\").nullable().optional(),\n labels: z.array(z.unknown()).describe(\"Labels associated with the ticket.\").nullable().optional(),\n content: SupportbeeListTickets_TicketContentSchema.nullable().optional(),\n starred: z.boolean().describe(\"Indicates if the ticket is starred.\").nullable().optional(),\n subject: z.string().describe(\"Subject of the ticket.\").nullable().optional(),\n summary: z.string().describe(\"Short summary of the ticket content.\").nullable().optional(),\n archived: z.boolean().describe(\"Indicates if ticket is archived.\").nullable().optional(),\n requester: SupportbeeListTickets_RequesterSchema.nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601).\").nullable().optional(),\n unanswered: z.boolean().describe(\"Indicates if ticket is unanswered.\").nullable().optional(),\n replies_count: z.number().int().describe(\"Number of replies on the ticket.\").nullable().optional(),\n comments_count: z.number().int().describe(\"Number of comments on the ticket.\").nullable().optional(),\n current_assignee: SupportbeeListTickets_CurrentAssigneeSchema.nullable().optional(),\n last_activity_at: z.string().describe(\"Last activity timestamp (ISO 8601).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a ticket in SupportBee.\");\nexport const SupportbeeListTicketsOutput: z.ZodTypeAny = z.object({\n meta: SupportbeeListTickets_MetaSchema.nullable().optional(),\n total: z.number().int().describe(\"Total tickets count (may be at top level).\").nullable().optional(),\n tickets: z.array(SupportbeeListTickets_TicketSchema).describe(\"Array of ticket objects.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of tickets per page (may be at top level).\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total pages (may be at top level).\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number (may be at top level).\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tickets.\");\n\nexport const supportbeeListTickets = action(\"SUPPORTBEE_LIST_TICKETS\", {\n slug: \"supportbee-list-tickets\",\n name: \"List Tickets\",\n description: \"Tool to list tickets from SupportBee. Returns a paginated list of tickets with optional filters for spam, trash, archived, assigned user/group, labels, and more. Use when you need to retrieve and browse tickets in the helpdesk.\",\n input: SupportbeeListTicketsInput,\n output: SupportbeeListTicketsOut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,CAAC"}
@@ -0,0 +1,51 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-users.ts
4
+ const SupportbeeListUsersInput = zod.z.object({
5
+ type: zod.z.string().describe("Filter users by type. Use 'user' to get only agents/admins, or 'customer_group' to get only customer groups. Omit to get all types.").optional(),
6
+ with_roles: zod.z.boolean().describe("If true, includes role information for each user in the response. Defaults to false.").optional(),
7
+ with_invited: zod.z.boolean().describe("If true, returns all agents including invited (unconfirmed) agents who haven't accepted their invitation yet. Defaults to false.").optional()
8
+ }).describe("Request model for listing SupportBee users and customer groups.");
9
+ const SupportbeeListUsers_PictureUrlsSchema = zod.z.object({
10
+ thumb20: zod.z.string().describe("20x20 pixel avatar thumbnail URL").nullable().optional(),
11
+ thumb24: zod.z.string().describe("24x24 pixel avatar thumbnail URL").nullable().optional(),
12
+ thumb32: zod.z.string().describe("32x32 pixel avatar thumbnail URL").nullable().optional(),
13
+ thumb48: zod.z.string().describe("48x48 pixel avatar thumbnail URL").nullable().optional(),
14
+ thumb64: zod.z.string().describe("64x64 pixel avatar thumbnail URL").nullable().optional(),
15
+ thumb128: zod.z.string().describe("128x128 pixel avatar thumbnail URL").nullable().optional()
16
+ }).describe("Avatar picture URLs in various sizes.");
17
+ const SupportbeeListUsers_UserSchema = zod.z.object({
18
+ id: zod.z.number().int().describe("Unique numeric ID of the user or customer group"),
19
+ name: zod.z.string().describe("Full name of the user or display name of the customer group").nullable().optional(),
20
+ role: zod.z.string().describe("Role of the user: 'admin', 'agent', or 'collaborator' (only for users, not groups)").nullable().optional(),
21
+ type: zod.z.string().describe("Type of the entity: 'user' for agents/admins, or 'customer_group' for customer groups").nullable().optional(),
22
+ agent: zod.z.boolean().describe("Whether the user is an agent (can handle tickets). True for admins and agents, False for collaborators.").nullable().optional(),
23
+ email: zod.z.string().describe("Email address of the user (agents/admins have email addresses)").nullable().optional(),
24
+ teams: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of teams this user belongs to").nullable().optional(),
25
+ picture: SupportbeeListUsers_PictureUrlsSchema.nullable().optional(),
26
+ tickets: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of tickets associated with this user").nullable().optional(),
27
+ last_name: zod.z.string().describe("Last name of the user").nullable().optional(),
28
+ signature: zod.z.string().describe("Email signature for the user").nullable().optional(),
29
+ avatar_url: zod.z.string().describe("Primary avatar URL (deprecated, use 'picture' for size-specific URLs)").nullable().optional(),
30
+ created_at: zod.z.string().describe("Timestamp when the user/group was created (ISO 8601 format, e.g., '2024-01-15T10:30:00Z')").nullable().optional(),
31
+ first_name: zod.z.string().describe("First name of the user").nullable().optional(),
32
+ updated_at: zod.z.string().describe("Timestamp when the user/group was last modified (ISO 8601 format)").nullable().optional(),
33
+ email_domains: zod.z.array(zod.z.string()).describe("List of email domains associated with this customer group").nullable().optional(),
34
+ members_count: zod.z.number().int().describe("Number of members in this customer group (for groups only)").nullable().optional(),
35
+ customer_groups: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of customer groups this user belongs to").nullable().optional(),
36
+ active_tickets_count: zod.z.number().int().describe("Number of active tickets assigned to or created by this user").nullable().optional(),
37
+ can_members_access_group_tickets: zod.z.boolean().describe("Whether group members can access all group tickets (for customer groups only)").nullable().optional(),
38
+ two_factor_authentication_enabled: zod.z.boolean().describe("Whether two-factor authentication is enabled for this user").nullable().optional()
39
+ }).describe("A SupportBee user or customer group object.");
40
+ const SupportbeeListUsersOutput = zod.z.object({ users: zod.z.array(SupportbeeListUsers_UserSchema).describe("List of users and customer groups from the SupportBee company") }).describe("Response model for listing SupportBee users and customer groups.");
41
+ const supportbeeListUsers = require_action.action("SUPPORTBEE_LIST_USERS", {
42
+ slug: "supportbee-list-users",
43
+ name: "List SupportBee Users",
44
+ description: "Retrieves all users and customer groups in your SupportBee company. Use this when you need to list team members, filter by user type (agents/admins vs customer groups), or include invited users who haven't confirmed their accounts yet.",
45
+ input: SupportbeeListUsersInput,
46
+ output: SupportbeeListUsersOutput
47
+ });
48
+ //#endregion
49
+ exports.supportbeeListUsers = supportbeeListUsers;
50
+
51
+ //# sourceMappingURL=list-users.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeListUsersInput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Filter users by type. Use 'user' to get only agents/admins, or 'customer_group' to get only customer groups. Omit to get all types.\").optional(),\n with_roles: z.boolean().describe(\"If true, includes role information for each user in the response. Defaults to false.\").optional(),\n with_invited: z.boolean().describe(\"If true, returns all agents including invited (unconfirmed) agents who haven't accepted their invitation yet. Defaults to false.\").optional(),\n}).describe(\"Request model for listing SupportBee users and customer groups.\");\nconst SupportbeeListUsers_PictureUrlsSchema: z.ZodTypeAny = z.object({\n thumb20: z.string().describe(\"20x20 pixel avatar thumbnail URL\").nullable().optional(),\n thumb24: z.string().describe(\"24x24 pixel avatar thumbnail URL\").nullable().optional(),\n thumb32: z.string().describe(\"32x32 pixel avatar thumbnail URL\").nullable().optional(),\n thumb48: z.string().describe(\"48x48 pixel avatar thumbnail URL\").nullable().optional(),\n thumb64: z.string().describe(\"64x64 pixel avatar thumbnail URL\").nullable().optional(),\n thumb128: z.string().describe(\"128x128 pixel avatar thumbnail URL\").nullable().optional(),\n}).describe(\"Avatar picture URLs in various sizes.\");\nconst SupportbeeListUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique numeric ID of the user or customer group\"),\n name: z.string().describe(\"Full name of the user or display name of the customer group\").nullable().optional(),\n role: z.string().describe(\"Role of the user: 'admin', 'agent', or 'collaborator' (only for users, not groups)\").nullable().optional(),\n type: z.string().describe(\"Type of the entity: 'user' for agents/admins, or 'customer_group' for customer groups\").nullable().optional(),\n agent: z.boolean().describe(\"Whether the user is an agent (can handle tickets). True for admins and agents, False for collaborators.\").nullable().optional(),\n email: z.string().describe(\"Email address of the user (agents/admins have email addresses)\").nullable().optional(),\n teams: z.array(z.record(z.string(), z.unknown())).describe(\"List of teams this user belongs to\").nullable().optional(),\n picture: SupportbeeListUsers_PictureUrlsSchema.nullable().optional(),\n tickets: z.array(z.record(z.string(), z.unknown())).describe(\"List of tickets associated with this user\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n signature: z.string().describe(\"Email signature for the user\").nullable().optional(),\n avatar_url: z.string().describe(\"Primary avatar URL (deprecated, use 'picture' for size-specific URLs)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the user/group was created (ISO 8601 format, e.g., '2024-01-15T10:30:00Z')\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the user/group was last modified (ISO 8601 format)\").nullable().optional(),\n email_domains: z.array(z.string()).describe(\"List of email domains associated with this customer group\").nullable().optional(),\n members_count: z.number().int().describe(\"Number of members in this customer group (for groups only)\").nullable().optional(),\n customer_groups: z.array(z.record(z.string(), z.unknown())).describe(\"List of customer groups this user belongs to\").nullable().optional(),\n active_tickets_count: z.number().int().describe(\"Number of active tickets assigned to or created by this user\").nullable().optional(),\n can_members_access_group_tickets: z.boolean().describe(\"Whether group members can access all group tickets (for customer groups only)\").nullable().optional(),\n two_factor_authentication_enabled: z.boolean().describe(\"Whether two-factor authentication is enabled for this user\").nullable().optional(),\n}).describe(\"A SupportBee user or customer group object.\");\nexport const SupportbeeListUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(SupportbeeListUsers_UserSchema).describe(\"List of users and customer groups from the SupportBee company\"),\n}).describe(\"Response model for listing SupportBee users and customer groups.\");\n\nexport const supportbeeListUsers = action(\"SUPPORTBEE_LIST_USERS\", {\n slug: \"supportbee-list-users\",\n name: \"List SupportBee Users\",\n description: \"Retrieves all users and customer groups in your SupportBee company. Use this when you need to list team members, filter by user type (agents/admins vs customer groups), or include invited users who haven't confirmed their accoun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4
+ declare const SupportbeeListUsersInput: z.ZodTypeAny;
5
+ declare const SupportbeeListUsersOutput: z.ZodTypeAny;
6
+ declare const supportbeeListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeListUsers };
9
+ //# sourceMappingURL=list-users.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIqC;AAAA,cAgCjE,yBAAA,EAA2B,CAAA,CAAE,UAEqC;AAAA,cAElE,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-users.d.ts
4
+ declare const SupportbeeListUsersInput: z.ZodTypeAny;
5
+ declare const SupportbeeListUsersOutput: z.ZodTypeAny;
6
+ declare const supportbeeListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeListUsers };
9
+ //# sourceMappingURL=list-users.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIqC;AAAA,cAgCjE,yBAAA,EAA2B,CAAA,CAAE,UAEqC;AAAA,cAElE,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,50 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-users.ts
4
+ const SupportbeeListUsersInput = z.object({
5
+ type: z.string().describe("Filter users by type. Use 'user' to get only agents/admins, or 'customer_group' to get only customer groups. Omit to get all types.").optional(),
6
+ with_roles: z.boolean().describe("If true, includes role information for each user in the response. Defaults to false.").optional(),
7
+ with_invited: z.boolean().describe("If true, returns all agents including invited (unconfirmed) agents who haven't accepted their invitation yet. Defaults to false.").optional()
8
+ }).describe("Request model for listing SupportBee users and customer groups.");
9
+ const SupportbeeListUsers_PictureUrlsSchema = z.object({
10
+ thumb20: z.string().describe("20x20 pixel avatar thumbnail URL").nullable().optional(),
11
+ thumb24: z.string().describe("24x24 pixel avatar thumbnail URL").nullable().optional(),
12
+ thumb32: z.string().describe("32x32 pixel avatar thumbnail URL").nullable().optional(),
13
+ thumb48: z.string().describe("48x48 pixel avatar thumbnail URL").nullable().optional(),
14
+ thumb64: z.string().describe("64x64 pixel avatar thumbnail URL").nullable().optional(),
15
+ thumb128: z.string().describe("128x128 pixel avatar thumbnail URL").nullable().optional()
16
+ }).describe("Avatar picture URLs in various sizes.");
17
+ const SupportbeeListUsers_UserSchema = z.object({
18
+ id: z.number().int().describe("Unique numeric ID of the user or customer group"),
19
+ name: z.string().describe("Full name of the user or display name of the customer group").nullable().optional(),
20
+ role: z.string().describe("Role of the user: 'admin', 'agent', or 'collaborator' (only for users, not groups)").nullable().optional(),
21
+ type: z.string().describe("Type of the entity: 'user' for agents/admins, or 'customer_group' for customer groups").nullable().optional(),
22
+ agent: z.boolean().describe("Whether the user is an agent (can handle tickets). True for admins and agents, False for collaborators.").nullable().optional(),
23
+ email: z.string().describe("Email address of the user (agents/admins have email addresses)").nullable().optional(),
24
+ teams: z.array(z.record(z.string(), z.unknown())).describe("List of teams this user belongs to").nullable().optional(),
25
+ picture: SupportbeeListUsers_PictureUrlsSchema.nullable().optional(),
26
+ tickets: z.array(z.record(z.string(), z.unknown())).describe("List of tickets associated with this user").nullable().optional(),
27
+ last_name: z.string().describe("Last name of the user").nullable().optional(),
28
+ signature: z.string().describe("Email signature for the user").nullable().optional(),
29
+ avatar_url: z.string().describe("Primary avatar URL (deprecated, use 'picture' for size-specific URLs)").nullable().optional(),
30
+ created_at: z.string().describe("Timestamp when the user/group was created (ISO 8601 format, e.g., '2024-01-15T10:30:00Z')").nullable().optional(),
31
+ first_name: z.string().describe("First name of the user").nullable().optional(),
32
+ updated_at: z.string().describe("Timestamp when the user/group was last modified (ISO 8601 format)").nullable().optional(),
33
+ email_domains: z.array(z.string()).describe("List of email domains associated with this customer group").nullable().optional(),
34
+ members_count: z.number().int().describe("Number of members in this customer group (for groups only)").nullable().optional(),
35
+ customer_groups: z.array(z.record(z.string(), z.unknown())).describe("List of customer groups this user belongs to").nullable().optional(),
36
+ active_tickets_count: z.number().int().describe("Number of active tickets assigned to or created by this user").nullable().optional(),
37
+ can_members_access_group_tickets: z.boolean().describe("Whether group members can access all group tickets (for customer groups only)").nullable().optional(),
38
+ two_factor_authentication_enabled: z.boolean().describe("Whether two-factor authentication is enabled for this user").nullable().optional()
39
+ }).describe("A SupportBee user or customer group object.");
40
+ const supportbeeListUsers = action("SUPPORTBEE_LIST_USERS", {
41
+ slug: "supportbee-list-users",
42
+ name: "List SupportBee Users",
43
+ description: "Retrieves all users and customer groups in your SupportBee company. Use this when you need to list team members, filter by user type (agents/admins vs customer groups), or include invited users who haven't confirmed their accounts yet.",
44
+ input: SupportbeeListUsersInput,
45
+ output: z.object({ users: z.array(SupportbeeListUsers_UserSchema).describe("List of users and customer groups from the SupportBee company") }).describe("Response model for listing SupportBee users and customer groups.")
46
+ });
47
+ //#endregion
48
+ export { supportbeeListUsers };
49
+
50
+ //# sourceMappingURL=list-users.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeListUsersInput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Filter users by type. Use 'user' to get only agents/admins, or 'customer_group' to get only customer groups. Omit to get all types.\").optional(),\n with_roles: z.boolean().describe(\"If true, includes role information for each user in the response. Defaults to false.\").optional(),\n with_invited: z.boolean().describe(\"If true, returns all agents including invited (unconfirmed) agents who haven't accepted their invitation yet. Defaults to false.\").optional(),\n}).describe(\"Request model for listing SupportBee users and customer groups.\");\nconst SupportbeeListUsers_PictureUrlsSchema: z.ZodTypeAny = z.object({\n thumb20: z.string().describe(\"20x20 pixel avatar thumbnail URL\").nullable().optional(),\n thumb24: z.string().describe(\"24x24 pixel avatar thumbnail URL\").nullable().optional(),\n thumb32: z.string().describe(\"32x32 pixel avatar thumbnail URL\").nullable().optional(),\n thumb48: z.string().describe(\"48x48 pixel avatar thumbnail URL\").nullable().optional(),\n thumb64: z.string().describe(\"64x64 pixel avatar thumbnail URL\").nullable().optional(),\n thumb128: z.string().describe(\"128x128 pixel avatar thumbnail URL\").nullable().optional(),\n}).describe(\"Avatar picture URLs in various sizes.\");\nconst SupportbeeListUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique numeric ID of the user or customer group\"),\n name: z.string().describe(\"Full name of the user or display name of the customer group\").nullable().optional(),\n role: z.string().describe(\"Role of the user: 'admin', 'agent', or 'collaborator' (only for users, not groups)\").nullable().optional(),\n type: z.string().describe(\"Type of the entity: 'user' for agents/admins, or 'customer_group' for customer groups\").nullable().optional(),\n agent: z.boolean().describe(\"Whether the user is an agent (can handle tickets). True for admins and agents, False for collaborators.\").nullable().optional(),\n email: z.string().describe(\"Email address of the user (agents/admins have email addresses)\").nullable().optional(),\n teams: z.array(z.record(z.string(), z.unknown())).describe(\"List of teams this user belongs to\").nullable().optional(),\n picture: SupportbeeListUsers_PictureUrlsSchema.nullable().optional(),\n tickets: z.array(z.record(z.string(), z.unknown())).describe(\"List of tickets associated with this user\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n signature: z.string().describe(\"Email signature for the user\").nullable().optional(),\n avatar_url: z.string().describe(\"Primary avatar URL (deprecated, use 'picture' for size-specific URLs)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the user/group was created (ISO 8601 format, e.g., '2024-01-15T10:30:00Z')\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the user/group was last modified (ISO 8601 format)\").nullable().optional(),\n email_domains: z.array(z.string()).describe(\"List of email domains associated with this customer group\").nullable().optional(),\n members_count: z.number().int().describe(\"Number of members in this customer group (for groups only)\").nullable().optional(),\n customer_groups: z.array(z.record(z.string(), z.unknown())).describe(\"List of customer groups this user belongs to\").nullable().optional(),\n active_tickets_count: z.number().int().describe(\"Number of active tickets assigned to or created by this user\").nullable().optional(),\n can_members_access_group_tickets: z.boolean().describe(\"Whether group members can access all group tickets (for customer groups only)\").nullable().optional(),\n two_factor_authentication_enabled: z.boolean().describe(\"Whether two-factor authentication is enabled for this user\").nullable().optional(),\n}).describe(\"A SupportBee user or customer group object.\");\nexport const SupportbeeListUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(SupportbeeListUsers_UserSchema).describe(\"List of users and customer groups from the SupportBee company\"),\n}).describe(\"Response model for listing SupportBee users and customer groups.\");\n\nexport const supportbeeListUsers = action(\"SUPPORTBEE_LIST_USERS\", {\n slug: \"supportbee-list-users\",\n name: \"List SupportBee Users\",\n description: \"Retrieves all users and customer groups in your SupportBee company. Use this when you need to list team members, filter by user type (agents/admins vs customer groups), or include invited users who haven't confirmed their accounts yet.\",\n input: SupportbeeListUsersInput,\n output: SupportbeeListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAC1K,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;AAClL,CAAC,CAAC,C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SAAS;CACpI,kCAAkC,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,mCAAmC,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,+DAA+D,EACzH,CAAC,CAAC,CAAC,SAAS,kEAOF;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-answered.ts
4
+ const SupportbeeMarkTicketAsAnsweredInput = zod.z.object({ id: zod.z.union([zod.z.number().int(), zod.z.string()]) }).describe("Request parameters for marking a SupportBee ticket as answered.");
5
+ const SupportbeeMarkTicketAsAnsweredOutput = 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 False 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 answered.\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 supportbeeMarkTicketAsAnswered = require_action.action("SUPPORTBEE_MARK_TICKET_AS_ANSWERED", {
14
+ slug: "supportbee-mark-ticket-as-answered",
15
+ name: "Mark SupportBee Ticket as Answered",
16
+ description: "Marks a SupportBee ticket as answered by adding the 'answered' status. Use this after sending a response to a customer to indicate the ticket has been addressed. This action is idempotent - calling it on an already answered ticket has no adverse effect.",
17
+ input: SupportbeeMarkTicketAsAnsweredInput,
18
+ output: SupportbeeMarkTicketAsAnsweredOutput
19
+ });
20
+ //#endregion
21
+ exports.supportbeeMarkTicketAsAnswered = supportbeeMarkTicketAsAnswered;
22
+
23
+ //# sourceMappingURL=mark-ticket-as-answered.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-answered.cjs","names":["z","action"],"sources":["../../src/actions/mark-ticket-as-answered.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeMarkTicketAsAnsweredInput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n}).describe(\"Request parameters for marking a SupportBee ticket as answered.\");\nexport const SupportbeeMarkTicketAsAnsweredOutput: 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 False 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 answered.\\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 supportbeeMarkTicketAsAnswered = action(\"SUPPORTBEE_MARK_TICKET_AS_ANSWERED\", {\n slug: \"supportbee-mark-ticket-as-answered\",\n name: \"Mark SupportBee Ticket as Answered\",\n description: \"Marks a SupportBee ticket as answered by adding the 'answered' status. Use this after sending a response to a customer to indicate the ticket has been addressed. This action is idempotent - calling it on an already answered ticket has no adverse effect.\",\n input: SupportbeeMarkTicketAsAnsweredInput,\n output: SupportbeeMarkTicketAsAnsweredOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,EAC5C,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,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,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yMAAyM;AAErN,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,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-answered.d.ts
4
+ declare const SupportbeeMarkTicketAsAnsweredInput: z.ZodTypeAny;
5
+ declare const SupportbeeMarkTicketAsAnsweredOutput: z.ZodTypeAny;
6
+ declare const supportbeeMarkTicketAsAnswered: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeMarkTicketAsAnswered };
9
+ //# sourceMappingURL=mark-ticket-as-answered.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-answered.d.cts","names":[],"sources":["../../src/actions/mark-ticket-as-answered.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAE0B;AAAA,cACjE,oCAAA,EAAsC,CAAA,CAAE,UAOiK;AAAA,cAEzM,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/mark-ticket-as-answered.d.ts
4
+ declare const SupportbeeMarkTicketAsAnsweredInput: z.ZodTypeAny;
5
+ declare const SupportbeeMarkTicketAsAnsweredOutput: z.ZodTypeAny;
6
+ declare const supportbeeMarkTicketAsAnswered: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeMarkTicketAsAnswered };
9
+ //# sourceMappingURL=mark-ticket-as-answered.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-answered.d.mts","names":[],"sources":["../../src/actions/mark-ticket-as-answered.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAE0B;AAAA,cACjE,oCAAA,EAAsC,CAAA,CAAE,UAOiK;AAAA,cAEzM,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const supportbeeMarkTicketAsAnswered = action("SUPPORTBEE_MARK_TICKET_AS_ANSWERED", {
4
+ slug: "supportbee-mark-ticket-as-answered",
5
+ name: "Mark SupportBee Ticket as Answered",
6
+ description: "Marks a SupportBee ticket as answered by adding the 'answered' status. Use this after sending a response to a customer to indicate the ticket has been addressed. This action is idempotent - calling it on an already answered 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 answered."),
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 False 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 answered.\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 { supportbeeMarkTicketAsAnswered };
19
+
20
+ //# sourceMappingURL=mark-ticket-as-answered.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-answered.mjs","names":[],"sources":["../../src/actions/mark-ticket-as-answered.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeMarkTicketAsAnsweredInput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n}).describe(\"Request parameters for marking a SupportBee ticket as answered.\");\nexport const SupportbeeMarkTicketAsAnsweredOutput: 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 False 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 answered.\\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 supportbeeMarkTicketAsAnswered = action(\"SUPPORTBEE_MARK_TICKET_AS_ANSWERED\", {\n slug: \"supportbee-mark-ticket-as-answered\",\n name: \"Mark SupportBee Ticket as Answered\",\n description: \"Marks a SupportBee ticket as answered by adding the 'answered' status. Use this after sending a response to a customer to indicate the ticket has been addressed. This action is idempotent - calling it on an already answered ticket has no adverse effect.\",\n input: SupportbeeMarkTicketAsAnsweredInput,\n output: SupportbeeMarkTicketAsAnsweredOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+D,EAAE,OAAO,EACxE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,EAC5C,CAAC,CAAC,CAAC,SAAS,iEAcH;CACP,QAdgE,EAAE,OAAO;EACzE,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,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,yMAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/mark-ticket-as-spam.ts
4
+ const SupportbeeMarkTicketAsSpamInput = zod.z.object({ id: zod.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.");
5
+ const SupportbeeMarkTicketAsSpamOutput = zod.z.object({
6
+ id: zod.z.union([zod.z.number().int(), zod.z.string()]),
7
+ spam: zod.z.boolean().describe("Indicates whether the ticket is marked as spam (should be True after this action)").nullable().optional(),
8
+ status: zod.z.string().describe("Current ticket status (e.g., 'open', 'answered', 'closed')").nullable().optional(),
9
+ content: zod.z.string().describe("Body content or message of the ticket").nullable().optional(),
10
+ subject: zod.z.string().describe("Subject line of the ticket").nullable().optional(),
11
+ created_at: zod.z.string().describe("Timestamp when the ticket was created (ISO 8601 format)").nullable().optional(),
12
+ updated_at: zod.z.string().describe("Timestamp when the ticket was last updated (ISO 8601 format)").nullable().optional()
13
+ }).describe("A SupportBee ticket object returned after marking as spam.");
14
+ const supportbeeMarkTicketAsSpam = require_action.action("SUPPORTBEE_MARK_TICKET_AS_SPAM", {
15
+ slug: "supportbee-mark-ticket-as-spam",
16
+ name: "Mark SupportBee Ticket as Spam",
17
+ 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.",
18
+ input: SupportbeeMarkTicketAsSpamInput,
19
+ output: SupportbeeMarkTicketAsSpamOutput
20
+ });
21
+ //#endregion
22
+ exports.supportbeeMarkTicketAsSpam = supportbeeMarkTicketAsSpam;
23
+
24
+ //# sourceMappingURL=mark-ticket-as-spam.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-spam.cjs","names":["z","action"],"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":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,EAC1H,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC1C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,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,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,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-spam.d.ts
4
+ declare const SupportbeeMarkTicketAsSpamInput: z.ZodTypeAny;
5
+ declare const SupportbeeMarkTicketAsSpamOutput: z.ZodTypeAny;
6
+ declare const supportbeeMarkTicketAsSpam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeMarkTicketAsSpam };
9
+ //# sourceMappingURL=mark-ticket-as-spam.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-spam.d.cts","names":[],"sources":["../../src/actions/mark-ticket-as-spam.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE0B;AAAA,cAC7D,gCAAA,EAAkC,CAAA,CAAE,UAQwB;AAAA,cAE5D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/mark-ticket-as-spam.d.ts
4
+ declare const SupportbeeMarkTicketAsSpamInput: z.ZodTypeAny;
5
+ declare const SupportbeeMarkTicketAsSpamOutput: z.ZodTypeAny;
6
+ declare const supportbeeMarkTicketAsSpam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { supportbeeMarkTicketAsSpam };
9
+ //# sourceMappingURL=mark-ticket-as-spam.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-ticket-as-spam.d.mts","names":[],"sources":["../../src/actions/mark-ticket-as-spam.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE0B;AAAA,cAC7D,gCAAA,EAAkC,CAAA,CAAE,UAQwB;AAAA,cAE5D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}