@keystrokehq/sendbird 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 (330) 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-members-group-channel.cjs +35 -0
  7. package/dist/actions/add-members-group-channel.cjs.map +1 -0
  8. package/dist/actions/add-members-group-channel.d.cts +9 -0
  9. package/dist/actions/add-members-group-channel.d.cts.map +1 -0
  10. package/dist/actions/add-members-group-channel.d.mts +9 -0
  11. package/dist/actions/add-members-group-channel.d.mts.map +1 -0
  12. package/dist/actions/add-members-group-channel.mjs +34 -0
  13. package/dist/actions/add-members-group-channel.mjs.map +1 -0
  14. package/dist/actions/ban-user-from-group-channel.cjs +33 -0
  15. package/dist/actions/ban-user-from-group-channel.cjs.map +1 -0
  16. package/dist/actions/ban-user-from-group-channel.d.cts +9 -0
  17. package/dist/actions/ban-user-from-group-channel.d.cts.map +1 -0
  18. package/dist/actions/ban-user-from-group-channel.d.mts +9 -0
  19. package/dist/actions/ban-user-from-group-channel.d.mts.map +1 -0
  20. package/dist/actions/ban-user-from-group-channel.mjs +32 -0
  21. package/dist/actions/ban-user-from-group-channel.mjs.map +1 -0
  22. package/dist/actions/create-channel.cjs +77 -0
  23. package/dist/actions/create-channel.cjs.map +1 -0
  24. package/dist/actions/create-channel.d.cts +9 -0
  25. package/dist/actions/create-channel.d.cts.map +1 -0
  26. package/dist/actions/create-channel.d.mts +9 -0
  27. package/dist/actions/create-channel.d.mts.map +1 -0
  28. package/dist/actions/create-channel.mjs +76 -0
  29. package/dist/actions/create-channel.mjs.map +1 -0
  30. package/dist/actions/create-user.cjs +41 -0
  31. package/dist/actions/create-user.cjs.map +1 -0
  32. package/dist/actions/create-user.d.cts +9 -0
  33. package/dist/actions/create-user.d.cts.map +1 -0
  34. package/dist/actions/create-user.d.mts +9 -0
  35. package/dist/actions/create-user.d.mts.map +1 -0
  36. package/dist/actions/create-user.mjs +38 -0
  37. package/dist/actions/create-user.mjs.map +1 -0
  38. package/dist/actions/delete-channel.cjs +16 -0
  39. package/dist/actions/delete-channel.cjs.map +1 -0
  40. package/dist/actions/delete-channel.d.cts +9 -0
  41. package/dist/actions/delete-channel.d.cts.map +1 -0
  42. package/dist/actions/delete-channel.d.mts +9 -0
  43. package/dist/actions/delete-channel.d.mts.map +1 -0
  44. package/dist/actions/delete-channel.mjs +13 -0
  45. package/dist/actions/delete-channel.mjs.map +1 -0
  46. package/dist/actions/delete-message.cjs +19 -0
  47. package/dist/actions/delete-message.cjs.map +1 -0
  48. package/dist/actions/delete-message.d.cts +9 -0
  49. package/dist/actions/delete-message.d.cts.map +1 -0
  50. package/dist/actions/delete-message.d.mts +9 -0
  51. package/dist/actions/delete-message.d.mts.map +1 -0
  52. package/dist/actions/delete-message.mjs +16 -0
  53. package/dist/actions/delete-message.mjs.map +1 -0
  54. package/dist/actions/delete-user.cjs +19 -0
  55. package/dist/actions/delete-user.cjs.map +1 -0
  56. package/dist/actions/delete-user.d.cts +9 -0
  57. package/dist/actions/delete-user.d.cts.map +1 -0
  58. package/dist/actions/delete-user.d.mts +9 -0
  59. package/dist/actions/delete-user.d.mts.map +1 -0
  60. package/dist/actions/delete-user.mjs +16 -0
  61. package/dist/actions/delete-user.mjs.map +1 -0
  62. package/dist/actions/get-count-preference-of-channel.cjs +26 -0
  63. package/dist/actions/get-count-preference-of-channel.cjs.map +1 -0
  64. package/dist/actions/get-count-preference-of-channel.d.cts +9 -0
  65. package/dist/actions/get-count-preference-of-channel.d.cts.map +1 -0
  66. package/dist/actions/get-count-preference-of-channel.d.mts +9 -0
  67. package/dist/actions/get-count-preference-of-channel.d.mts.map +1 -0
  68. package/dist/actions/get-count-preference-of-channel.mjs +23 -0
  69. package/dist/actions/get-count-preference-of-channel.mjs.map +1 -0
  70. package/dist/actions/get-number-of-channels-by-join-status.cjs +40 -0
  71. package/dist/actions/get-number-of-channels-by-join-status.cjs.map +1 -0
  72. package/dist/actions/get-number-of-channels-by-join-status.d.cts +9 -0
  73. package/dist/actions/get-number-of-channels-by-join-status.d.cts.map +1 -0
  74. package/dist/actions/get-number-of-channels-by-join-status.d.mts +9 -0
  75. package/dist/actions/get-number-of-channels-by-join-status.d.mts.map +1 -0
  76. package/dist/actions/get-number-of-channels-by-join-status.mjs +37 -0
  77. package/dist/actions/get-number-of-channels-by-join-status.mjs.map +1 -0
  78. package/dist/actions/get-number-of-unread-items.cjs +30 -0
  79. package/dist/actions/get-number-of-unread-items.cjs.map +1 -0
  80. package/dist/actions/get-number-of-unread-items.d.cts +9 -0
  81. package/dist/actions/get-number-of-unread-items.d.cts.map +1 -0
  82. package/dist/actions/get-number-of-unread-items.d.mts +9 -0
  83. package/dist/actions/get-number-of-unread-items.d.mts.map +1 -0
  84. package/dist/actions/get-number-of-unread-items.mjs +27 -0
  85. package/dist/actions/get-number-of-unread-items.mjs.map +1 -0
  86. package/dist/actions/index.cjs +75 -0
  87. package/dist/actions/index.d.cts +38 -0
  88. package/dist/actions/index.d.mts +38 -0
  89. package/dist/actions/index.mjs +38 -0
  90. package/dist/actions/issue-session-token.cjs +23 -0
  91. package/dist/actions/issue-session-token.cjs.map +1 -0
  92. package/dist/actions/issue-session-token.d.cts +9 -0
  93. package/dist/actions/issue-session-token.d.cts.map +1 -0
  94. package/dist/actions/issue-session-token.d.mts +9 -0
  95. package/dist/actions/issue-session-token.d.mts.map +1 -0
  96. package/dist/actions/issue-session-token.mjs +20 -0
  97. package/dist/actions/issue-session-token.mjs.map +1 -0
  98. package/dist/actions/leave-group-channels.cjs +21 -0
  99. package/dist/actions/leave-group-channels.cjs.map +1 -0
  100. package/dist/actions/leave-group-channels.d.cts +9 -0
  101. package/dist/actions/leave-group-channels.d.cts.map +1 -0
  102. package/dist/actions/leave-group-channels.d.mts +9 -0
  103. package/dist/actions/leave-group-channels.d.mts.map +1 -0
  104. package/dist/actions/leave-group-channels.mjs +18 -0
  105. package/dist/actions/leave-group-channels.mjs.map +1 -0
  106. package/dist/actions/list-banned-members.cjs +31 -0
  107. package/dist/actions/list-banned-members.cjs.map +1 -0
  108. package/dist/actions/list-banned-members.d.cts +9 -0
  109. package/dist/actions/list-banned-members.d.cts.map +1 -0
  110. package/dist/actions/list-banned-members.d.mts +9 -0
  111. package/dist/actions/list-banned-members.d.mts.map +1 -0
  112. package/dist/actions/list-banned-members.mjs +30 -0
  113. package/dist/actions/list-banned-members.mjs.map +1 -0
  114. package/dist/actions/list-group-channel-messages.cjs +89 -0
  115. package/dist/actions/list-group-channel-messages.cjs.map +1 -0
  116. package/dist/actions/list-group-channel-messages.d.cts +9 -0
  117. package/dist/actions/list-group-channel-messages.d.cts.map +1 -0
  118. package/dist/actions/list-group-channel-messages.d.mts +9 -0
  119. package/dist/actions/list-group-channel-messages.d.mts.map +1 -0
  120. package/dist/actions/list-group-channel-messages.mjs +88 -0
  121. package/dist/actions/list-group-channel-messages.mjs.map +1 -0
  122. package/dist/actions/list-group-channels.cjs +102 -0
  123. package/dist/actions/list-group-channels.cjs.map +1 -0
  124. package/dist/actions/list-group-channels.d.cts +9 -0
  125. package/dist/actions/list-group-channels.d.cts.map +1 -0
  126. package/dist/actions/list-group-channels.d.mts +9 -0
  127. package/dist/actions/list-group-channels.d.mts.map +1 -0
  128. package/dist/actions/list-group-channels.mjs +101 -0
  129. package/dist/actions/list-group-channels.mjs.map +1 -0
  130. package/dist/actions/list-members-group-channel.cjs +53 -0
  131. package/dist/actions/list-members-group-channel.cjs.map +1 -0
  132. package/dist/actions/list-members-group-channel.d.cts +9 -0
  133. package/dist/actions/list-members-group-channel.d.cts.map +1 -0
  134. package/dist/actions/list-members-group-channel.d.mts +9 -0
  135. package/dist/actions/list-members-group-channel.d.mts.map +1 -0
  136. package/dist/actions/list-members-group-channel.mjs +52 -0
  137. package/dist/actions/list-members-group-channel.mjs.map +1 -0
  138. package/dist/actions/list-operators-custom-channel-type.cjs +29 -0
  139. package/dist/actions/list-operators-custom-channel-type.cjs.map +1 -0
  140. package/dist/actions/list-operators-custom-channel-type.d.cts +9 -0
  141. package/dist/actions/list-operators-custom-channel-type.d.cts.map +1 -0
  142. package/dist/actions/list-operators-custom-channel-type.d.mts +9 -0
  143. package/dist/actions/list-operators-custom-channel-type.d.mts.map +1 -0
  144. package/dist/actions/list-operators-custom-channel-type.mjs +28 -0
  145. package/dist/actions/list-operators-custom-channel-type.mjs.map +1 -0
  146. package/dist/actions/list-operators-group-channel.cjs +28 -0
  147. package/dist/actions/list-operators-group-channel.cjs.map +1 -0
  148. package/dist/actions/list-operators-group-channel.d.cts +9 -0
  149. package/dist/actions/list-operators-group-channel.d.cts.map +1 -0
  150. package/dist/actions/list-operators-group-channel.d.mts +9 -0
  151. package/dist/actions/list-operators-group-channel.d.mts.map +1 -0
  152. package/dist/actions/list-operators-group-channel.mjs +27 -0
  153. package/dist/actions/list-operators-group-channel.mjs.map +1 -0
  154. package/dist/actions/list-operators-open-channel.cjs +29 -0
  155. package/dist/actions/list-operators-open-channel.cjs.map +1 -0
  156. package/dist/actions/list-operators-open-channel.d.cts +9 -0
  157. package/dist/actions/list-operators-open-channel.d.cts.map +1 -0
  158. package/dist/actions/list-operators-open-channel.d.mts +9 -0
  159. package/dist/actions/list-operators-open-channel.d.mts.map +1 -0
  160. package/dist/actions/list-operators-open-channel.mjs +28 -0
  161. package/dist/actions/list-operators-open-channel.mjs.map +1 -0
  162. package/dist/actions/list-users.cjs +50 -0
  163. package/dist/actions/list-users.cjs.map +1 -0
  164. package/dist/actions/list-users.d.cts +9 -0
  165. package/dist/actions/list-users.d.cts.map +1 -0
  166. package/dist/actions/list-users.d.mts +9 -0
  167. package/dist/actions/list-users.d.mts.map +1 -0
  168. package/dist/actions/list-users.mjs +49 -0
  169. package/dist/actions/list-users.mjs.map +1 -0
  170. package/dist/actions/mark-all-user-messages-as-read.cjs +16 -0
  171. package/dist/actions/mark-all-user-messages-as-read.cjs.map +1 -0
  172. package/dist/actions/mark-all-user-messages-as-read.d.cts +9 -0
  173. package/dist/actions/mark-all-user-messages-as-read.d.cts.map +1 -0
  174. package/dist/actions/mark-all-user-messages-as-read.d.mts +9 -0
  175. package/dist/actions/mark-all-user-messages-as-read.d.mts.map +1 -0
  176. package/dist/actions/mark-all-user-messages-as-read.mjs +13 -0
  177. package/dist/actions/mark-all-user-messages-as-read.mjs.map +1 -0
  178. package/dist/actions/mute-user.cjs +21 -0
  179. package/dist/actions/mute-user.cjs.map +1 -0
  180. package/dist/actions/mute-user.d.cts +9 -0
  181. package/dist/actions/mute-user.d.cts.map +1 -0
  182. package/dist/actions/mute-user.d.mts +9 -0
  183. package/dist/actions/mute-user.d.mts.map +1 -0
  184. package/dist/actions/mute-user.mjs +18 -0
  185. package/dist/actions/mute-user.mjs.map +1 -0
  186. package/dist/actions/register-operators-custom-channel-type.cjs +25 -0
  187. package/dist/actions/register-operators-custom-channel-type.cjs.map +1 -0
  188. package/dist/actions/register-operators-custom-channel-type.d.cts +9 -0
  189. package/dist/actions/register-operators-custom-channel-type.d.cts.map +1 -0
  190. package/dist/actions/register-operators-custom-channel-type.d.mts +9 -0
  191. package/dist/actions/register-operators-custom-channel-type.d.mts.map +1 -0
  192. package/dist/actions/register-operators-custom-channel-type.mjs +24 -0
  193. package/dist/actions/register-operators-custom-channel-type.mjs.map +1 -0
  194. package/dist/actions/register-operators-group-channel.cjs +28 -0
  195. package/dist/actions/register-operators-group-channel.cjs.map +1 -0
  196. package/dist/actions/register-operators-group-channel.d.cts +9 -0
  197. package/dist/actions/register-operators-group-channel.d.cts.map +1 -0
  198. package/dist/actions/register-operators-group-channel.d.mts +9 -0
  199. package/dist/actions/register-operators-group-channel.d.mts.map +1 -0
  200. package/dist/actions/register-operators-group-channel.mjs +27 -0
  201. package/dist/actions/register-operators-group-channel.mjs.map +1 -0
  202. package/dist/actions/register-operators-open-channel.cjs +25 -0
  203. package/dist/actions/register-operators-open-channel.cjs.map +1 -0
  204. package/dist/actions/register-operators-open-channel.d.cts +9 -0
  205. package/dist/actions/register-operators-open-channel.d.cts.map +1 -0
  206. package/dist/actions/register-operators-open-channel.d.mts +9 -0
  207. package/dist/actions/register-operators-open-channel.d.mts.map +1 -0
  208. package/dist/actions/register-operators-open-channel.mjs +24 -0
  209. package/dist/actions/register-operators-open-channel.mjs.map +1 -0
  210. package/dist/actions/revoke-all-session-tokens.cjs +19 -0
  211. package/dist/actions/revoke-all-session-tokens.cjs.map +1 -0
  212. package/dist/actions/revoke-all-session-tokens.d.cts +9 -0
  213. package/dist/actions/revoke-all-session-tokens.d.cts.map +1 -0
  214. package/dist/actions/revoke-all-session-tokens.d.mts +9 -0
  215. package/dist/actions/revoke-all-session-tokens.d.mts.map +1 -0
  216. package/dist/actions/revoke-all-session-tokens.mjs +16 -0
  217. package/dist/actions/revoke-all-session-tokens.mjs.map +1 -0
  218. package/dist/actions/send-message.cjs +79 -0
  219. package/dist/actions/send-message.cjs.map +1 -0
  220. package/dist/actions/send-message.d.cts +9 -0
  221. package/dist/actions/send-message.d.cts.map +1 -0
  222. package/dist/actions/send-message.d.mts +9 -0
  223. package/dist/actions/send-message.d.mts.map +1 -0
  224. package/dist/actions/send-message.mjs +78 -0
  225. package/dist/actions/send-message.mjs.map +1 -0
  226. package/dist/actions/unban-user.cjs +19 -0
  227. package/dist/actions/unban-user.cjs.map +1 -0
  228. package/dist/actions/unban-user.d.cts +9 -0
  229. package/dist/actions/unban-user.d.cts.map +1 -0
  230. package/dist/actions/unban-user.d.mts +9 -0
  231. package/dist/actions/unban-user.d.mts.map +1 -0
  232. package/dist/actions/unban-user.mjs +16 -0
  233. package/dist/actions/unban-user.mjs.map +1 -0
  234. package/dist/actions/unmute-user.cjs +26 -0
  235. package/dist/actions/unmute-user.cjs.map +1 -0
  236. package/dist/actions/unmute-user.d.cts +9 -0
  237. package/dist/actions/unmute-user.d.cts.map +1 -0
  238. package/dist/actions/unmute-user.d.mts +9 -0
  239. package/dist/actions/unmute-user.d.mts.map +1 -0
  240. package/dist/actions/unmute-user.mjs +23 -0
  241. package/dist/actions/unmute-user.mjs.map +1 -0
  242. package/dist/actions/unregister-operators-custom-channel-type.cjs +23 -0
  243. package/dist/actions/unregister-operators-custom-channel-type.cjs.map +1 -0
  244. package/dist/actions/unregister-operators-custom-channel-type.d.cts +9 -0
  245. package/dist/actions/unregister-operators-custom-channel-type.d.cts.map +1 -0
  246. package/dist/actions/unregister-operators-custom-channel-type.d.mts +9 -0
  247. package/dist/actions/unregister-operators-custom-channel-type.d.mts.map +1 -0
  248. package/dist/actions/unregister-operators-custom-channel-type.mjs +22 -0
  249. package/dist/actions/unregister-operators-custom-channel-type.mjs.map +1 -0
  250. package/dist/actions/update-count-preference-of-channel.cjs +28 -0
  251. package/dist/actions/update-count-preference-of-channel.cjs.map +1 -0
  252. package/dist/actions/update-count-preference-of-channel.d.cts +9 -0
  253. package/dist/actions/update-count-preference-of-channel.d.cts.map +1 -0
  254. package/dist/actions/update-count-preference-of-channel.d.mts +9 -0
  255. package/dist/actions/update-count-preference-of-channel.d.mts.map +1 -0
  256. package/dist/actions/update-count-preference-of-channel.mjs +25 -0
  257. package/dist/actions/update-count-preference-of-channel.mjs.map +1 -0
  258. package/dist/actions/update-group-channel.cjs +42 -0
  259. package/dist/actions/update-group-channel.cjs.map +1 -0
  260. package/dist/actions/update-group-channel.d.cts +9 -0
  261. package/dist/actions/update-group-channel.d.cts.map +1 -0
  262. package/dist/actions/update-group-channel.d.mts +9 -0
  263. package/dist/actions/update-group-channel.d.mts.map +1 -0
  264. package/dist/actions/update-group-channel.mjs +39 -0
  265. package/dist/actions/update-group-channel.mjs.map +1 -0
  266. package/dist/actions/update-message.cjs +54 -0
  267. package/dist/actions/update-message.cjs.map +1 -0
  268. package/dist/actions/update-message.d.cts +9 -0
  269. package/dist/actions/update-message.d.cts.map +1 -0
  270. package/dist/actions/update-message.d.mts +9 -0
  271. package/dist/actions/update-message.d.mts.map +1 -0
  272. package/dist/actions/update-message.mjs +51 -0
  273. package/dist/actions/update-message.mjs.map +1 -0
  274. package/dist/actions/update-user.cjs +39 -0
  275. package/dist/actions/update-user.cjs.map +1 -0
  276. package/dist/actions/update-user.d.cts +9 -0
  277. package/dist/actions/update-user.d.cts.map +1 -0
  278. package/dist/actions/update-user.d.mts +9 -0
  279. package/dist/actions/update-user.d.mts.map +1 -0
  280. package/dist/actions/update-user.mjs +36 -0
  281. package/dist/actions/update-user.mjs.map +1 -0
  282. package/dist/actions/view-group-channel.cjs +59 -0
  283. package/dist/actions/view-group-channel.cjs.map +1 -0
  284. package/dist/actions/view-group-channel.d.cts +9 -0
  285. package/dist/actions/view-group-channel.d.cts.map +1 -0
  286. package/dist/actions/view-group-channel.d.mts +9 -0
  287. package/dist/actions/view-group-channel.d.mts.map +1 -0
  288. package/dist/actions/view-group-channel.mjs +58 -0
  289. package/dist/actions/view-group-channel.mjs.map +1 -0
  290. package/dist/actions/view-message.cjs +67 -0
  291. package/dist/actions/view-message.cjs.map +1 -0
  292. package/dist/actions/view-message.d.cts +9 -0
  293. package/dist/actions/view-message.d.cts.map +1 -0
  294. package/dist/actions/view-message.d.mts +9 -0
  295. package/dist/actions/view-message.d.mts.map +1 -0
  296. package/dist/actions/view-message.mjs +66 -0
  297. package/dist/actions/view-message.mjs.map +1 -0
  298. package/dist/actions/view-user.cjs +31 -0
  299. package/dist/actions/view-user.cjs.map +1 -0
  300. package/dist/actions/view-user.d.cts +9 -0
  301. package/dist/actions/view-user.d.cts.map +1 -0
  302. package/dist/actions/view-user.d.mts +9 -0
  303. package/dist/actions/view-user.d.mts.map +1 -0
  304. package/dist/actions/view-user.mjs +28 -0
  305. package/dist/actions/view-user.mjs.map +1 -0
  306. package/dist/app.cjs +9 -0
  307. package/dist/app.cjs.map +1 -0
  308. package/dist/app.d.cts +5 -0
  309. package/dist/app.d.cts.map +1 -0
  310. package/dist/app.d.mts +5 -0
  311. package/dist/app.d.mts.map +1 -0
  312. package/dist/app.mjs +10 -0
  313. package/dist/app.mjs.map +1 -0
  314. package/dist/catalog.cjs +15 -0
  315. package/dist/catalog.cjs.map +1 -0
  316. package/dist/catalog.d.cts +14 -0
  317. package/dist/catalog.d.cts.map +1 -0
  318. package/dist/catalog.d.mts +14 -0
  319. package/dist/catalog.d.mts.map +1 -0
  320. package/dist/catalog.mjs +15 -0
  321. package/dist/catalog.mjs.map +1 -0
  322. package/dist/execute.cjs +18 -0
  323. package/dist/execute.cjs.map +1 -0
  324. package/dist/execute.mjs +18 -0
  325. package/dist/execute.mjs.map +1 -0
  326. package/dist/index.cjs +80 -0
  327. package/dist/index.d.cts +40 -0
  328. package/dist/index.d.mts +40 -0
  329. package/dist/index.mjs +41 -0
  330. package/package.json +49 -0
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/revoke-all-session-tokens.ts
4
+ const SendbirdRevokeAllSessionTokensInput = zod.z.object({ user_id: zod.z.string().describe("Unique ID of the user whose session tokens will be revoked.") }).describe("Request model for revoking all session and refresh tokens of a Sendbird user.");
5
+ const SendbirdRevokeAllSessionTokensOutput = zod.z.object({
6
+ status: zod.z.string().describe("Status of the revoke operation, e.g., 'success'").nullable().optional(),
7
+ user_id: zod.z.string().describe("The ID of the user whose tokens were revoked").nullable().optional()
8
+ }).describe("Response model for revoking all session tokens of a user.");
9
+ const sendbirdRevokeAllSessionTokens = require_action.action("SENDBIRD_REVOKE_ALL_SESSION_TOKENS", {
10
+ slug: "sendbird-revoke-all-session-tokens",
11
+ name: "Revoke All Session Tokens",
12
+ description: "Tool to revoke all session tokens for a user. Use when you need to invalidate all active sessions for security.",
13
+ input: SendbirdRevokeAllSessionTokensInput,
14
+ output: SendbirdRevokeAllSessionTokensOutput
15
+ });
16
+ //#endregion
17
+ exports.sendbirdRevokeAllSessionTokens = sendbirdRevokeAllSessionTokens;
18
+
19
+ //# sourceMappingURL=revoke-all-session-tokens.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revoke-all-session-tokens.cjs","names":["z","action"],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRevokeAllSessionTokensInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose session tokens will be revoked.\"),\n}).describe(\"Request model for revoking all session and refresh tokens of a Sendbird user.\");\nexport const SendbirdRevokeAllSessionTokensOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the revoke operation, e.g., 'success'\").nullable().optional(),\n user_id: z.string().describe(\"The ID of the user whose tokens were revoked\").nullable().optional(),\n}).describe(\"Response model for revoking all session tokens of a user.\");\n\nexport const sendbirdRevokeAllSessionTokens = action(\"SENDBIRD_REVOKE_ALL_SESSION_TOKENS\", {\n slug: \"sendbird-revoke-all-session-tokens\",\n name: \"Revoke All Session Tokens\",\n description: \"Tool to revoke all session tokens for a user. Use when you need to invalidate all active sessions for security.\",\n input: SendbirdRevokeAllSessionTokensInput,\n output: SendbirdRevokeAllSessionTokensOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,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/revoke-all-session-tokens.d.ts
4
+ declare const SendbirdRevokeAllSessionTokensInput: z.ZodTypeAny;
5
+ declare const SendbirdRevokeAllSessionTokensOutput: z.ZodTypeAny;
6
+ declare const sendbirdRevokeAllSessionTokens: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdRevokeAllSessionTokens };
9
+ //# sourceMappingURL=revoke-all-session-tokens.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revoke-all-session-tokens.d.cts","names":[],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEwC;AAAA,cAC/E,oCAAA,EAAsC,CAAA,CAAE,UAGmB;AAAA,cAE3D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/revoke-all-session-tokens.d.ts
4
+ declare const SendbirdRevokeAllSessionTokensInput: z.ZodTypeAny;
5
+ declare const SendbirdRevokeAllSessionTokensOutput: z.ZodTypeAny;
6
+ declare const sendbirdRevokeAllSessionTokens: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdRevokeAllSessionTokens };
9
+ //# sourceMappingURL=revoke-all-session-tokens.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revoke-all-session-tokens.d.mts","names":[],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEwC;AAAA,cAC/E,oCAAA,EAAsC,CAAA,CAAE,UAGmB;AAAA,cAE3D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const sendbirdRevokeAllSessionTokens = action("SENDBIRD_REVOKE_ALL_SESSION_TOKENS", {
4
+ slug: "sendbird-revoke-all-session-tokens",
5
+ name: "Revoke All Session Tokens",
6
+ description: "Tool to revoke all session tokens for a user. Use when you need to invalidate all active sessions for security.",
7
+ input: z.object({ user_id: z.string().describe("Unique ID of the user whose session tokens will be revoked.") }).describe("Request model for revoking all session and refresh tokens of a Sendbird user."),
8
+ output: z.object({
9
+ status: z.string().describe("Status of the revoke operation, e.g., 'success'").nullable().optional(),
10
+ user_id: z.string().describe("The ID of the user whose tokens were revoked").nullable().optional()
11
+ }).describe("Response model for revoking all session tokens of a user.")
12
+ });
13
+ //#endregion
14
+ export { sendbirdRevokeAllSessionTokens };
15
+
16
+ //# sourceMappingURL=revoke-all-session-tokens.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revoke-all-session-tokens.mjs","names":[],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRevokeAllSessionTokensInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose session tokens will be revoked.\"),\n}).describe(\"Request model for revoking all session and refresh tokens of a Sendbird user.\");\nexport const SendbirdRevokeAllSessionTokensOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the revoke operation, e.g., 'success'\").nullable().optional(),\n user_id: z.string().describe(\"The ID of the user whose tokens were revoked\").nullable().optional(),\n}).describe(\"Response model for revoking all session tokens of a user.\");\n\nexport const sendbirdRevokeAllSessionTokens = action(\"SENDBIRD_REVOKE_ALL_SESSION_TOKENS\", {\n slug: \"sendbird-revoke-all-session-tokens\",\n name: \"Revoke All Session Tokens\",\n description: \"Tool to revoke all session tokens for a user. Use when you need to invalidate all active sessions for security.\",\n input: SendbirdRevokeAllSessionTokensInput,\n output: SendbirdRevokeAllSessionTokensOutput,\n});\n"],"mappings":";;AAYA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+D,EAAE,OAAO,EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,+EAUH;CACP,QAVgE,EAAE,OAAO;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -0,0 +1,79 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/send-message.ts
4
+ const SendbirdSendMessageInput = zod.z.object({
5
+ data: zod.z.string().describe("Free-form custom data string (often JSON)").optional(),
6
+ message: zod.z.string().describe("Text content of the message. Required when message_type is 'MESG'").optional(),
7
+ poll_id: zod.z.number().int().describe("Attach an existing poll by its ID").optional(),
8
+ user_id: zod.z.string().describe("Sender's user ID. Required unless using API token as acting user").optional(),
9
+ is_silent: zod.z.boolean().default(false).describe("Send as silent message (no push notifications)").optional(),
10
+ metaarray: zod.z.array(zod.z.object({
11
+ key: zod.z.string().describe("Metadata key"),
12
+ value: zod.z.string().describe("Metadata value"),
13
+ user_id: zod.z.string().describe("User ID associated with this metadata").optional()
14
+ }).describe("Model for message metadata.")).describe("Array of metadata objects").optional(),
15
+ channel_url: zod.z.string().describe("URL-encoded identifier of the target group channel"),
16
+ custom_type: zod.z.string().describe("Custom message type for classification").optional(),
17
+ mention_type: zod.z.enum(["users", "channel"]).describe("Mention scope: 'users' to mention specific users or 'channel' to mention all").optional(),
18
+ message_type: zod.z.enum([
19
+ "MESG",
20
+ "FILE",
21
+ "ADMM"
22
+ ]).describe("Type of message: 'MESG' for text, 'FILE' for file, 'ADMM' for admin message"),
23
+ parent_message_id: zod.z.number().int().describe("Reply in a thread to the message with this ID").optional(),
24
+ mentioned_user_ids: zod.z.array(zod.z.string()).describe("List of user IDs to mention when mention_type is 'users'").optional(),
25
+ is_operator_message: zod.z.boolean().default(false).describe("Mark as operator (moderator) message").optional(),
26
+ translation_target_languages: zod.z.array(zod.z.string()).describe("List of language codes for auto-translation, e.g., ['en', 'es']").optional(),
27
+ push_notification_delivery_option: zod.z.enum([
28
+ "default",
29
+ "suppress",
30
+ "include_offline_user"
31
+ ]).describe("Push notification option: 'default', 'suppress', or 'include_offline_user'").optional()
32
+ }).describe("Request model for sending a message to a group channel.");
33
+ const SendbirdSendMessage_UserSchema = zod.z.object({
34
+ user_id: zod.z.string().describe("Unique ID of the sender user"),
35
+ nickname: zod.z.string().describe("Nickname of the sender user").nullable().optional(),
36
+ profile_url: zod.z.string().describe("Profile image URL of the sender user").nullable().optional()
37
+ }).describe("Sender user information.");
38
+ const SendbirdSendMessage_ThreadInfoSchema = zod.z.object({
39
+ updated_at: zod.z.number().int().describe("Timestamp (ms) when the thread was last updated").nullable().optional(),
40
+ reply_count: zod.z.number().int().describe("Number of replies in this thread").nullable().optional(),
41
+ parent_message_id: zod.z.number().int().describe("Parent message ID if this is a thread reply").nullable().optional()
42
+ }).describe("Thread details when message has replies.");
43
+ const SendbirdSendMessage_TranslationSchema = zod.z.object({
44
+ text: zod.z.string().describe("Translated text content"),
45
+ target_lang: zod.z.string().describe("Target language code for translation")
46
+ }).describe("Translation result for auto-translated messages.");
47
+ const SendbirdSendMessageOutput = zod.z.object({
48
+ data: zod.z.string().describe("Custom data payload").nullable().optional(),
49
+ type: zod.z.enum([
50
+ "MESG",
51
+ "FILE",
52
+ "ADMM"
53
+ ]).describe("Type of the message"),
54
+ user: SendbirdSendMessage_UserSchema.nullable(),
55
+ silent: zod.z.boolean().describe("Whether the message is silent"),
56
+ message: zod.z.string().describe("Text content of the message").nullable().optional(),
57
+ created_at: zod.z.number().int().describe("Timestamp (ms) when message was created"),
58
+ message_id: zod.z.string().describe("Unique message ID"),
59
+ updated_at: zod.z.number().int().describe("Timestamp (ms) when message was last updated"),
60
+ channel_url: zod.z.string().describe("URL of the group channel where message was sent"),
61
+ custom_type: zod.z.string().describe("Custom message type").nullable().optional(),
62
+ thread_info: SendbirdSendMessage_ThreadInfoSchema.nullable().optional(),
63
+ mention_type: zod.z.enum(["users", "channel"]).describe("Mention type used in the message").nullable().optional(),
64
+ translations: zod.z.array(SendbirdSendMessage_TranslationSchema).describe("Auto-translation results for this message").nullable().optional(),
65
+ operator_message: zod.z.boolean().describe("Whether this is an operator message").nullable().optional(),
66
+ parent_message_id: zod.z.number().int().describe("Parent message ID if it's a reply").nullable().optional(),
67
+ mentioned_user_ids: zod.z.array(zod.z.string()).describe("List of user IDs mentioned in the message").nullable().optional()
68
+ }).describe("Response model for sending a message in a group channel.");
69
+ const sendbirdSendMessage = require_action.action("SENDBIRD_SEND_MESSAGE", {
70
+ slug: "sendbird-send-message",
71
+ name: "Send Message",
72
+ description: "Tool to send a message to a group channel. Use when you need to post a text, file, or admin message to an existing group channel.",
73
+ input: SendbirdSendMessageInput,
74
+ output: SendbirdSendMessageOutput
75
+ });
76
+ //#endregion
77
+ exports.sendbirdSendMessage = sendbirdSendMessage;
78
+
79
+ //# sourceMappingURL=send-message.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-message.cjs","names":["z","action"],"sources":["../../src/actions/send-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdSendMessageInput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Free-form custom data string (often JSON)\").optional(),\n message: z.string().describe(\"Text content of the message. Required when message_type is 'MESG'\").optional(),\n poll_id: z.number().int().describe(\"Attach an existing poll by its ID\").optional(),\n user_id: z.string().describe(\"Sender's user ID. Required unless using API token as acting user\").optional(),\n is_silent: z.boolean().default(false).describe(\"Send as silent message (no push notifications)\").optional(),\n metaarray: z.array(z.object({\n key: z.string().describe(\"Metadata key\"),\n value: z.string().describe(\"Metadata value\"),\n user_id: z.string().describe(\"User ID associated with this metadata\").optional(),\n}).describe(\"Model for message metadata.\")).describe(\"Array of metadata objects\").optional(),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n custom_type: z.string().describe(\"Custom message type for classification\").optional(),\n mention_type: z.enum([\"users\", \"channel\"]).describe(\"Mention scope: 'users' to mention specific users or 'channel' to mention all\").optional(),\n message_type: z.enum([\"MESG\", \"FILE\", \"ADMM\"]).describe(\"Type of message: 'MESG' for text, 'FILE' for file, 'ADMM' for admin message\"),\n parent_message_id: z.number().int().describe(\"Reply in a thread to the message with this ID\").optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs to mention when mention_type is 'users'\").optional(),\n is_operator_message: z.boolean().default(false).describe(\"Mark as operator (moderator) message\").optional(),\n translation_target_languages: z.array(z.string()).describe(\"List of language codes for auto-translation, e.g., ['en', 'es']\").optional(),\n push_notification_delivery_option: z.enum([\"default\", \"suppress\", \"include_offline_user\"]).describe(\"Push notification option: 'default', 'suppress', or 'include_offline_user'\").optional(),\n}).describe(\"Request model for sending a message to a group channel.\");\nconst SendbirdSendMessage_UserSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the sender user\"),\n nickname: z.string().describe(\"Nickname of the sender user\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the sender user\").nullable().optional(),\n}).describe(\"Sender user information.\");\nconst SendbirdSendMessage_ThreadInfoSchema: z.ZodTypeAny = z.object({\n updated_at: z.number().int().describe(\"Timestamp (ms) when the thread was last updated\").nullable().optional(),\n reply_count: z.number().int().describe(\"Number of replies in this thread\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"Parent message ID if this is a thread reply\").nullable().optional(),\n}).describe(\"Thread details when message has replies.\");\nconst SendbirdSendMessage_TranslationSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Translated text content\"),\n target_lang: z.string().describe(\"Target language code for translation\"),\n}).describe(\"Translation result for auto-translated messages.\");\nexport const SendbirdSendMessageOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom data payload\").nullable().optional(),\n type: z.enum([\"MESG\", \"FILE\", \"ADMM\"]).describe(\"Type of the message\"),\n user: SendbirdSendMessage_UserSchema.nullable(),\n silent: z.boolean().describe(\"Whether the message is silent\"),\n message: z.string().describe(\"Text content of the message\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp (ms) when message was created\"),\n message_id: z.string().describe(\"Unique message ID\"),\n updated_at: z.number().int().describe(\"Timestamp (ms) when message was last updated\"),\n channel_url: z.string().describe(\"URL of the group channel where message was sent\"),\n custom_type: z.string().describe(\"Custom message type\").nullable().optional(),\n thread_info: SendbirdSendMessage_ThreadInfoSchema.nullable().optional(),\n mention_type: z.enum([\"users\", \"channel\"]).describe(\"Mention type used in the message\").nullable().optional(),\n translations: z.array(SendbirdSendMessage_TranslationSchema).describe(\"Auto-translation results for this message\").nullable().optional(),\n operator_message: z.boolean().describe(\"Whether this is an operator message\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"Parent message ID if it's a reply\").nullable().optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs mentioned in the message\").nullable().optional(),\n}).describe(\"Response model for sending a message in a group channel.\");\n\nexport const sendbirdSendMessage = action(\"SENDBIRD_SEND_MESSAGE\", {\n slug: \"sendbird-send-message\",\n name: \"Send Message\",\n description: \"Tool to send a message to a group channel. Use when you need to post a text, file, or admin message to an existing group channel.\",\n input: SendbirdSendMessageInput,\n output: SendbirdSendMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2C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,CAAC,SAAS;CAClG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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/send-message.d.ts
4
+ declare const SendbirdSendMessageInput: z.ZodTypeAny;
5
+ declare const SendbirdSendMessageOutput: z.ZodTypeAny;
6
+ declare const sendbirdSendMessage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdSendMessage };
9
+ //# sourceMappingURL=send-message.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-message.d.cts","names":[],"sources":["../../src/actions/send-message.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAoB6B;AAAA,cAezD,yBAAA,EAA2B,CAAA,CAAE,UAiB6B;AAAA,cAE1D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/send-message.d.ts
4
+ declare const SendbirdSendMessageInput: z.ZodTypeAny;
5
+ declare const SendbirdSendMessageOutput: z.ZodTypeAny;
6
+ declare const sendbirdSendMessage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdSendMessage };
9
+ //# sourceMappingURL=send-message.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-message.d.mts","names":[],"sources":["../../src/actions/send-message.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAoB6B;AAAA,cAezD,yBAAA,EAA2B,CAAA,CAAE,UAiB6B;AAAA,cAE1D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,78 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/send-message.ts
4
+ const SendbirdSendMessageInput = z.object({
5
+ data: z.string().describe("Free-form custom data string (often JSON)").optional(),
6
+ message: z.string().describe("Text content of the message. Required when message_type is 'MESG'").optional(),
7
+ poll_id: z.number().int().describe("Attach an existing poll by its ID").optional(),
8
+ user_id: z.string().describe("Sender's user ID. Required unless using API token as acting user").optional(),
9
+ is_silent: z.boolean().default(false).describe("Send as silent message (no push notifications)").optional(),
10
+ metaarray: z.array(z.object({
11
+ key: z.string().describe("Metadata key"),
12
+ value: z.string().describe("Metadata value"),
13
+ user_id: z.string().describe("User ID associated with this metadata").optional()
14
+ }).describe("Model for message metadata.")).describe("Array of metadata objects").optional(),
15
+ channel_url: z.string().describe("URL-encoded identifier of the target group channel"),
16
+ custom_type: z.string().describe("Custom message type for classification").optional(),
17
+ mention_type: z.enum(["users", "channel"]).describe("Mention scope: 'users' to mention specific users or 'channel' to mention all").optional(),
18
+ message_type: z.enum([
19
+ "MESG",
20
+ "FILE",
21
+ "ADMM"
22
+ ]).describe("Type of message: 'MESG' for text, 'FILE' for file, 'ADMM' for admin message"),
23
+ parent_message_id: z.number().int().describe("Reply in a thread to the message with this ID").optional(),
24
+ mentioned_user_ids: z.array(z.string()).describe("List of user IDs to mention when mention_type is 'users'").optional(),
25
+ is_operator_message: z.boolean().default(false).describe("Mark as operator (moderator) message").optional(),
26
+ translation_target_languages: z.array(z.string()).describe("List of language codes for auto-translation, e.g., ['en', 'es']").optional(),
27
+ push_notification_delivery_option: z.enum([
28
+ "default",
29
+ "suppress",
30
+ "include_offline_user"
31
+ ]).describe("Push notification option: 'default', 'suppress', or 'include_offline_user'").optional()
32
+ }).describe("Request model for sending a message to a group channel.");
33
+ const SendbirdSendMessage_UserSchema = z.object({
34
+ user_id: z.string().describe("Unique ID of the sender user"),
35
+ nickname: z.string().describe("Nickname of the sender user").nullable().optional(),
36
+ profile_url: z.string().describe("Profile image URL of the sender user").nullable().optional()
37
+ }).describe("Sender user information.");
38
+ const SendbirdSendMessage_ThreadInfoSchema = z.object({
39
+ updated_at: z.number().int().describe("Timestamp (ms) when the thread was last updated").nullable().optional(),
40
+ reply_count: z.number().int().describe("Number of replies in this thread").nullable().optional(),
41
+ parent_message_id: z.number().int().describe("Parent message ID if this is a thread reply").nullable().optional()
42
+ }).describe("Thread details when message has replies.");
43
+ const SendbirdSendMessage_TranslationSchema = z.object({
44
+ text: z.string().describe("Translated text content"),
45
+ target_lang: z.string().describe("Target language code for translation")
46
+ }).describe("Translation result for auto-translated messages.");
47
+ const sendbirdSendMessage = action("SENDBIRD_SEND_MESSAGE", {
48
+ slug: "sendbird-send-message",
49
+ name: "Send Message",
50
+ description: "Tool to send a message to a group channel. Use when you need to post a text, file, or admin message to an existing group channel.",
51
+ input: SendbirdSendMessageInput,
52
+ output: z.object({
53
+ data: z.string().describe("Custom data payload").nullable().optional(),
54
+ type: z.enum([
55
+ "MESG",
56
+ "FILE",
57
+ "ADMM"
58
+ ]).describe("Type of the message"),
59
+ user: SendbirdSendMessage_UserSchema.nullable(),
60
+ silent: z.boolean().describe("Whether the message is silent"),
61
+ message: z.string().describe("Text content of the message").nullable().optional(),
62
+ created_at: z.number().int().describe("Timestamp (ms) when message was created"),
63
+ message_id: z.string().describe("Unique message ID"),
64
+ updated_at: z.number().int().describe("Timestamp (ms) when message was last updated"),
65
+ channel_url: z.string().describe("URL of the group channel where message was sent"),
66
+ custom_type: z.string().describe("Custom message type").nullable().optional(),
67
+ thread_info: SendbirdSendMessage_ThreadInfoSchema.nullable().optional(),
68
+ mention_type: z.enum(["users", "channel"]).describe("Mention type used in the message").nullable().optional(),
69
+ translations: z.array(SendbirdSendMessage_TranslationSchema).describe("Auto-translation results for this message").nullable().optional(),
70
+ operator_message: z.boolean().describe("Whether this is an operator message").nullable().optional(),
71
+ parent_message_id: z.number().int().describe("Parent message ID if it's a reply").nullable().optional(),
72
+ mentioned_user_ids: z.array(z.string()).describe("List of user IDs mentioned in the message").nullable().optional()
73
+ }).describe("Response model for sending a message in a group channel.")
74
+ });
75
+ //#endregion
76
+ export { sendbirdSendMessage };
77
+
78
+ //# sourceMappingURL=send-message.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-message.mjs","names":[],"sources":["../../src/actions/send-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdSendMessageInput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Free-form custom data string (often JSON)\").optional(),\n message: z.string().describe(\"Text content of the message. Required when message_type is 'MESG'\").optional(),\n poll_id: z.number().int().describe(\"Attach an existing poll by its ID\").optional(),\n user_id: z.string().describe(\"Sender's user ID. Required unless using API token as acting user\").optional(),\n is_silent: z.boolean().default(false).describe(\"Send as silent message (no push notifications)\").optional(),\n metaarray: z.array(z.object({\n key: z.string().describe(\"Metadata key\"),\n value: z.string().describe(\"Metadata value\"),\n user_id: z.string().describe(\"User ID associated with this metadata\").optional(),\n}).describe(\"Model for message metadata.\")).describe(\"Array of metadata objects\").optional(),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n custom_type: z.string().describe(\"Custom message type for classification\").optional(),\n mention_type: z.enum([\"users\", \"channel\"]).describe(\"Mention scope: 'users' to mention specific users or 'channel' to mention all\").optional(),\n message_type: z.enum([\"MESG\", \"FILE\", \"ADMM\"]).describe(\"Type of message: 'MESG' for text, 'FILE' for file, 'ADMM' for admin message\"),\n parent_message_id: z.number().int().describe(\"Reply in a thread to the message with this ID\").optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs to mention when mention_type is 'users'\").optional(),\n is_operator_message: z.boolean().default(false).describe(\"Mark as operator (moderator) message\").optional(),\n translation_target_languages: z.array(z.string()).describe(\"List of language codes for auto-translation, e.g., ['en', 'es']\").optional(),\n push_notification_delivery_option: z.enum([\"default\", \"suppress\", \"include_offline_user\"]).describe(\"Push notification option: 'default', 'suppress', or 'include_offline_user'\").optional(),\n}).describe(\"Request model for sending a message to a group channel.\");\nconst SendbirdSendMessage_UserSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the sender user\"),\n nickname: z.string().describe(\"Nickname of the sender user\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the sender user\").nullable().optional(),\n}).describe(\"Sender user information.\");\nconst SendbirdSendMessage_ThreadInfoSchema: z.ZodTypeAny = z.object({\n updated_at: z.number().int().describe(\"Timestamp (ms) when the thread was last updated\").nullable().optional(),\n reply_count: z.number().int().describe(\"Number of replies in this thread\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"Parent message ID if this is a thread reply\").nullable().optional(),\n}).describe(\"Thread details when message has replies.\");\nconst SendbirdSendMessage_TranslationSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Translated text content\"),\n target_lang: z.string().describe(\"Target language code for translation\"),\n}).describe(\"Translation result for auto-translated messages.\");\nexport const SendbirdSendMessageOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom data payload\").nullable().optional(),\n type: z.enum([\"MESG\", \"FILE\", \"ADMM\"]).describe(\"Type of the message\"),\n user: SendbirdSendMessage_UserSchema.nullable(),\n silent: z.boolean().describe(\"Whether the message is silent\"),\n message: z.string().describe(\"Text content of the message\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp (ms) when message was created\"),\n message_id: z.string().describe(\"Unique message ID\"),\n updated_at: z.number().int().describe(\"Timestamp (ms) when message was last updated\"),\n channel_url: z.string().describe(\"URL of the group channel where message was sent\"),\n custom_type: z.string().describe(\"Custom message type\").nullable().optional(),\n thread_info: SendbirdSendMessage_ThreadInfoSchema.nullable().optional(),\n mention_type: z.enum([\"users\", \"channel\"]).describe(\"Mention type used in the message\").nullable().optional(),\n translations: z.array(SendbirdSendMessage_TranslationSchema).describe(\"Auto-translation results for this message\").nullable().optional(),\n operator_message: z.boolean().describe(\"Whether this is an operator message\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"Parent message ID if it's a reply\").nullable().optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs mentioned in the message\").nullable().optional(),\n}).describe(\"Response model for sending a message in a group channel.\");\n\nexport const sendbirdSendMessage = action(\"SENDBIRD_SEND_MESSAGE\", {\n slug: \"sendbird-send-message\",\n name: \"Send Message\",\n description: \"Tool to send a message to a group channel. Use when you need to post a text, file, or admin message to an existing group channel.\",\n input: SendbirdSendMessageInput,\n output: SendbirdSendMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACvC,OAAO,EAA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I,CAAC,CAAC,SAAS,8CAA8C;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,aAAa,qCAAqC,SAAS,CAAC,CAAC,SAAS;EACtE,cAAc,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,cAAc,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/unban-user.ts
4
+ const SendbirdUnbanUserInput = zod.z.object({
5
+ channel_url: zod.z.string().describe("The URL of the group channel from which to unban the user."),
6
+ banned_user_id: zod.z.string().describe("The unique ID of the banned user to unban.")
7
+ }).describe("Request model for unbanning a user from a Sendbird group channel.");
8
+ const SendbirdUnbanUserOutput = zod.z.object({}).describe("Response model for unbanning a user (empty on success).");
9
+ const sendbirdUnbanUser = require_action.action("SENDBIRD_UNBAN_USER", {
10
+ slug: "sendbird-unban-user",
11
+ name: "Unban User from Group Channel",
12
+ description: "Tool to unban a user from a group channel. Use when reinstating a previously banned user. Execute after confirming the user is currently banned.",
13
+ input: SendbirdUnbanUserInput,
14
+ output: SendbirdUnbanUserOutput
15
+ });
16
+ //#endregion
17
+ exports.sendbirdUnbanUser = sendbirdUnbanUser;
18
+
19
+ //# sourceMappingURL=unban-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unban-user.cjs","names":["z","action"],"sources":["../../src/actions/unban-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnbanUserInput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"The URL of the group channel from which to unban the user.\"),\n banned_user_id: z.string().describe(\"The unique ID of the banned user to unban.\"),\n}).describe(\"Request model for unbanning a user from a Sendbird group channel.\");\nexport const SendbirdUnbanUserOutput: z.ZodTypeAny = z.object({}).describe(\"Response model for unbanning a user (empty on success).\");\n\nexport const sendbirdUnbanUser = action(\"SENDBIRD_UNBAN_USER\", {\n slug: \"sendbird-unban-user\",\n name: \"Unban User from Group Channel\",\n description: \"Tool to unban a user from a group channel. Use when reinstating a previously banned user. Execute after confirming the user is currently banned.\",\n input: SendbirdUnbanUserInput,\n output: SendbirdUnbanUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC7F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAClF,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAEpI,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,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/unban-user.d.ts
4
+ declare const SendbirdUnbanUserInput: z.ZodTypeAny;
5
+ declare const SendbirdUnbanUserOutput: z.ZodTypeAny;
6
+ declare const sendbirdUnbanUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdUnbanUser };
9
+ //# sourceMappingURL=unban-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unban-user.d.cts","names":[],"sources":["../../src/actions/unban-user.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGyC;AAAA,cACnE,uBAAA,EAAyB,CAAA,CAAE,UAA6F;AAAA,cAExH,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/unban-user.d.ts
4
+ declare const SendbirdUnbanUserInput: z.ZodTypeAny;
5
+ declare const SendbirdUnbanUserOutput: z.ZodTypeAny;
6
+ declare const sendbirdUnbanUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdUnbanUser };
9
+ //# sourceMappingURL=unban-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unban-user.d.mts","names":[],"sources":["../../src/actions/unban-user.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGyC;AAAA,cACnE,uBAAA,EAAyB,CAAA,CAAE,UAA6F;AAAA,cAExH,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const sendbirdUnbanUser = action("SENDBIRD_UNBAN_USER", {
4
+ slug: "sendbird-unban-user",
5
+ name: "Unban User from Group Channel",
6
+ description: "Tool to unban a user from a group channel. Use when reinstating a previously banned user. Execute after confirming the user is currently banned.",
7
+ input: z.object({
8
+ channel_url: z.string().describe("The URL of the group channel from which to unban the user."),
9
+ banned_user_id: z.string().describe("The unique ID of the banned user to unban.")
10
+ }).describe("Request model for unbanning a user from a Sendbird group channel."),
11
+ output: z.object({}).describe("Response model for unbanning a user (empty on success).")
12
+ });
13
+ //#endregion
14
+ export { sendbirdUnbanUser };
15
+
16
+ //# sourceMappingURL=unban-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unban-user.mjs","names":[],"sources":["../../src/actions/unban-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnbanUserInput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"The URL of the group channel from which to unban the user.\"),\n banned_user_id: z.string().describe(\"The unique ID of the banned user to unban.\"),\n}).describe(\"Request model for unbanning a user from a Sendbird group channel.\");\nexport const SendbirdUnbanUserOutput: z.ZodTypeAny = z.object({}).describe(\"Response model for unbanning a user (empty on success).\");\n\nexport const sendbirdUnbanUser = action(\"SENDBIRD_UNBAN_USER\", {\n slug: \"sendbird-unban-user\",\n name: \"Unban User from Group Channel\",\n description: \"Tool to unban a user from a group channel. Use when reinstating a previously banned user. Execute after confirming the user is currently banned.\",\n input: SendbirdUnbanUserInput,\n output: SendbirdUnbanUserOutput,\n});\n"],"mappings":";;AAUA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVkD,EAAE,OAAO;EAC3D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EAC7F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAClF,CAAC,CAAC,CAAC,SAAS,mEAOH;CACP,QAPmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAOjE;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/unmute-user.ts
4
+ const SendbirdUnmuteUserInput = zod.z.object({
5
+ channel_url: zod.z.string().describe("URL-encoded identifier of the group channel to unmute the user in."),
6
+ muted_user_id: zod.z.string().describe("User ID to unmute from the channel.")
7
+ }).describe("Request model for unmuting a user in a Sendbird group channel.");
8
+ const SendbirdUnmuteUserOutput = zod.z.object({
9
+ user_id: zod.z.string().describe("ID of the user being unmuted.").nullable().optional(),
10
+ nickname: zod.z.string().describe("User's nickname.").nullable().optional(),
11
+ is_active: zod.z.boolean().describe("Whether the user is currently active in Sendbird.").nullable().optional(),
12
+ profile_url: zod.z.string().describe("URL of the user's profile image.").nullable().optional(),
13
+ last_seen_at: zod.z.number().int().describe("Timestamp (ms) when the user was last seen.").nullable().optional(),
14
+ is_blocked_by_me: zod.z.boolean().describe("Indicates if the user is blocked by the requester.").nullable().optional()
15
+ }).describe("Response model for unmuting a user in a group channel.");
16
+ const sendbirdUnmuteUser = require_action.action("SENDBIRD_UNMUTE_USER", {
17
+ slug: "sendbird-unmute-user",
18
+ name: "Unmute User",
19
+ description: "Tool to unmute a user in a group channel. Use when you want to restore a muted user's ability to send messages after confirming they are muted.",
20
+ input: SendbirdUnmuteUserInput,
21
+ output: SendbirdUnmuteUserOutput
22
+ });
23
+ //#endregion
24
+ exports.sendbirdUnmuteUser = sendbirdUnmuteUser;
25
+
26
+ //# sourceMappingURL=unmute-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unmute-user.cjs","names":["z","action"],"sources":["../../src/actions/unmute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnmuteUserInput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to unmute the user in.\"),\n muted_user_id: z.string().describe(\"User ID to unmute from the channel.\"),\n}).describe(\"Request model for unmuting a user in a Sendbird group channel.\");\nexport const SendbirdUnmuteUserOutput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"ID of the user being unmuted.\").nullable().optional(),\n nickname: z.string().describe(\"User's nickname.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user is currently active in Sendbird.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen.\").nullable().optional(),\n is_blocked_by_me: z.boolean().describe(\"Indicates if the user is blocked by the requester.\").nullable().optional(),\n}).describe(\"Response model for unmuting a user in a group channel.\");\n\nexport const sendbirdUnmuteUser = action(\"SENDBIRD_UNMUTE_USER\", {\n slug: \"sendbird-unmute-user\",\n name: \"Unmute User\",\n description: \"Tool to unmute a user in a group channel. Use when you want to restore a muted user's ability to send messages after confirming they are muted.\",\n input: SendbirdUnmuteUserInput,\n output: SendbirdUnmuteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AAC1E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/unmute-user.d.ts
4
+ declare const SendbirdUnmuteUserInput: z.ZodTypeAny;
5
+ declare const SendbirdUnmuteUserOutput: z.ZodTypeAny;
6
+ declare const sendbirdUnmuteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdUnmuteUser };
9
+ //# sourceMappingURL=unmute-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unmute-user.d.cts","names":[],"sources":["../../src/actions/unmute-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGqC;AAAA,cAChE,wBAAA,EAA0B,CAAA,CAAE,UAO4B;AAAA,cAExD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/unmute-user.d.ts
4
+ declare const SendbirdUnmuteUserInput: z.ZodTypeAny;
5
+ declare const SendbirdUnmuteUserOutput: z.ZodTypeAny;
6
+ declare const sendbirdUnmuteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdUnmuteUser };
9
+ //# sourceMappingURL=unmute-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unmute-user.d.mts","names":[],"sources":["../../src/actions/unmute-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGqC;AAAA,cAChE,wBAAA,EAA0B,CAAA,CAAE,UAO4B;AAAA,cAExD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const sendbirdUnmuteUser = action("SENDBIRD_UNMUTE_USER", {
4
+ slug: "sendbird-unmute-user",
5
+ name: "Unmute User",
6
+ description: "Tool to unmute a user in a group channel. Use when you want to restore a muted user's ability to send messages after confirming they are muted.",
7
+ input: z.object({
8
+ channel_url: z.string().describe("URL-encoded identifier of the group channel to unmute the user in."),
9
+ muted_user_id: z.string().describe("User ID to unmute from the channel.")
10
+ }).describe("Request model for unmuting a user in a Sendbird group channel."),
11
+ output: z.object({
12
+ user_id: z.string().describe("ID of the user being unmuted.").nullable().optional(),
13
+ nickname: z.string().describe("User's nickname.").nullable().optional(),
14
+ is_active: z.boolean().describe("Whether the user is currently active in Sendbird.").nullable().optional(),
15
+ profile_url: z.string().describe("URL of the user's profile image.").nullable().optional(),
16
+ last_seen_at: z.number().int().describe("Timestamp (ms) when the user was last seen.").nullable().optional(),
17
+ is_blocked_by_me: z.boolean().describe("Indicates if the user is blocked by the requester.").nullable().optional()
18
+ }).describe("Response model for unmuting a user in a group channel.")
19
+ });
20
+ //#endregion
21
+ export { sendbirdUnmuteUser };
22
+
23
+ //# sourceMappingURL=unmute-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unmute-user.mjs","names":[],"sources":["../../src/actions/unmute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnmuteUserInput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to unmute the user in.\"),\n muted_user_id: z.string().describe(\"User ID to unmute from the channel.\"),\n}).describe(\"Request model for unmuting a user in a Sendbird group channel.\");\nexport const SendbirdUnmuteUserOutput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"ID of the user being unmuted.\").nullable().optional(),\n nickname: z.string().describe(\"User's nickname.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user is currently active in Sendbird.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen.\").nullable().optional(),\n is_blocked_by_me: z.boolean().describe(\"Indicates if the user is blocked by the requester.\").nullable().optional(),\n}).describe(\"Response model for unmuting a user in a group channel.\");\n\nexport const sendbirdUnmuteUser = action(\"SENDBIRD_UNMUTE_USER\", {\n slug: \"sendbird-unmute-user\",\n name: \"Unmute User\",\n description: \"Tool to unmute a user in a group channel. Use when you want to restore a muted user's ability to send messages after confirming they are muted.\",\n input: SendbirdUnmuteUserInput,\n output: SendbirdUnmuteUserOutput,\n});\n"],"mappings":";;AAiBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmD,EAAE,OAAO;EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACrG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC1E,CAAC,CAAC,CAAC,SAAS,gEAcH;CACP,QAdoD,EAAE,OAAO;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/unregister-operators-custom-channel-type.ts
4
+ const SendbirdUnregisterOperatorsCustomChannelTypeInput = zod.z.object({
5
+ user_ids: zod.z.array(zod.z.string()).describe("List of user IDs to unregister as operators."),
6
+ custom_type: zod.z.string().describe("Custom channel type to target. Example: 'my_custom_type'")
7
+ }).describe("Request model for unregistering operators from channels by custom channel type.");
8
+ const SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema = zod.z.object({
9
+ channel_url: zod.z.string().describe("URL-encoded channel URL where operators were removed"),
10
+ operator_ids: zod.z.array(zod.z.string()).describe("List of current operator IDs in the channel after removal")
11
+ }).describe("Model representing a channel where operators were unregistered.");
12
+ const SendbirdUnregisterOperatorsCustomChannelTypeOutput = zod.z.object({ affected_channels: zod.z.array(SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema).describe("Channels impacted and their remaining operators").nullable().optional() }).describe("Response model for unregistering operators by custom channel type.");
13
+ const sendbirdUnregisterOperatorsCustomChannelType = require_action.action("SENDBIRD_UNREGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE", {
14
+ slug: "sendbird-unregister-operators-custom-channel-type",
15
+ name: "Unregister Operators Custom Channel Type",
16
+ description: "Tool to unregister operators from channels by custom channel type. Use when you need to remove operator roles from users across channels of a specific custom type.",
17
+ input: SendbirdUnregisterOperatorsCustomChannelTypeInput,
18
+ output: SendbirdUnregisterOperatorsCustomChannelTypeOutput
19
+ });
20
+ //#endregion
21
+ exports.sendbirdUnregisterOperatorsCustomChannelType = sendbirdUnregisterOperatorsCustomChannelType;
22
+
23
+ //# sourceMappingURL=unregister-operators-custom-channel-type.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unregister-operators-custom-channel-type.cjs","names":["z","action"],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnregisterOperatorsCustomChannelTypeInput: z.ZodTypeAny = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to unregister as operators.\"),\n custom_type: z.string().describe(\"Custom channel type to target. Example: 'my_custom_type'\"),\n}).describe(\"Request model for unregistering operators from channels by custom channel type.\");\nconst SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"URL-encoded channel URL where operators were removed\"),\n operator_ids: z.array(z.string()).describe(\"List of current operator IDs in the channel after removal\"),\n}).describe(\"Model representing a channel where operators were unregistered.\");\nexport const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodTypeAny = z.object({\n affected_channels: z.array(SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema).describe(\"Channels impacted and their remaining operators\").nullable().optional(),\n}).describe(\"Response model for unregistering operators by custom channel type.\");\n\nexport const sendbirdUnregisterOperatorsCustomChannelType = action(\"SENDBIRD_UNREGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-unregister-operators-custom-channel-type\",\n name: \"Unregister Operators Custom Channel Type\",\n description: \"Tool to unregister operators from channels by custom channel type. Use when you need to remove operator roles from users across channels of a specific custom type.\",\n input: SendbirdUnregisterOperatorsCustomChannelTypeInput,\n output: SendbirdUnregisterOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAkEA,IAAAA,EAAE,OAAO;CACtF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC7F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,qEAAmFA,IAAAA,EAAE,OAAO;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACxG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,qDAAmEA,IAAAA,EAAE,OAAO,EACvF,mBAAmBA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjL,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,+CAA+CC,eAAAA,OAAO,qDAAqD;CACtH,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/unregister-operators-custom-channel-type.d.ts
4
+ declare const SendbirdUnregisterOperatorsCustomChannelTypeInput: z.ZodTypeAny;
5
+ declare const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodTypeAny;
6
+ declare const sendbirdUnregisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdUnregisterOperatorsCustomChannelType };
9
+ //# sourceMappingURL=unregister-operators-custom-channel-type.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unregister-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"mappings":";;;cAIa,iDAAA,EAAmD,CAAA,CAAE,UAG4B;AAAA,cAKjF,kDAAA,EAAoD,CAAA,CAAE,UAEc;AAAA,cAEpE,4CAAA,gCAA4C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/unregister-operators-custom-channel-type.d.ts
4
+ declare const SendbirdUnregisterOperatorsCustomChannelTypeInput: z.ZodTypeAny;
5
+ declare const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodTypeAny;
6
+ declare const sendbirdUnregisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdUnregisterOperatorsCustomChannelType };
9
+ //# sourceMappingURL=unregister-operators-custom-channel-type.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unregister-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"mappings":";;;cAIa,iDAAA,EAAmD,CAAA,CAAE,UAG4B;AAAA,cAKjF,kDAAA,EAAoD,CAAA,CAAE,UAEc;AAAA,cAEpE,4CAAA,gCAA4C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/unregister-operators-custom-channel-type.ts
4
+ const SendbirdUnregisterOperatorsCustomChannelTypeInput = z.object({
5
+ user_ids: z.array(z.string()).describe("List of user IDs to unregister as operators."),
6
+ custom_type: z.string().describe("Custom channel type to target. Example: 'my_custom_type'")
7
+ }).describe("Request model for unregistering operators from channels by custom channel type.");
8
+ const SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema = z.object({
9
+ channel_url: z.string().describe("URL-encoded channel URL where operators were removed"),
10
+ operator_ids: z.array(z.string()).describe("List of current operator IDs in the channel after removal")
11
+ }).describe("Model representing a channel where operators were unregistered.");
12
+ const sendbirdUnregisterOperatorsCustomChannelType = action("SENDBIRD_UNREGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE", {
13
+ slug: "sendbird-unregister-operators-custom-channel-type",
14
+ name: "Unregister Operators Custom Channel Type",
15
+ description: "Tool to unregister operators from channels by custom channel type. Use when you need to remove operator roles from users across channels of a specific custom type.",
16
+ input: SendbirdUnregisterOperatorsCustomChannelTypeInput,
17
+ output: z.object({ affected_channels: z.array(SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema).describe("Channels impacted and their remaining operators").nullable().optional() }).describe("Response model for unregistering operators by custom channel type.")
18
+ });
19
+ //#endregion
20
+ export { sendbirdUnregisterOperatorsCustomChannelType };
21
+
22
+ //# sourceMappingURL=unregister-operators-custom-channel-type.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unregister-operators-custom-channel-type.mjs","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnregisterOperatorsCustomChannelTypeInput: z.ZodTypeAny = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to unregister as operators.\"),\n custom_type: z.string().describe(\"Custom channel type to target. Example: 'my_custom_type'\"),\n}).describe(\"Request model for unregistering operators from channels by custom channel type.\");\nconst SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"URL-encoded channel URL where operators were removed\"),\n operator_ids: z.array(z.string()).describe(\"List of current operator IDs in the channel after removal\"),\n}).describe(\"Model representing a channel where operators were unregistered.\");\nexport const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodTypeAny = z.object({\n affected_channels: z.array(SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema).describe(\"Channels impacted and their remaining operators\").nullable().optional(),\n}).describe(\"Response model for unregistering operators by custom channel type.\");\n\nexport const sendbirdUnregisterOperatorsCustomChannelType = action(\"SENDBIRD_UNREGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-unregister-operators-custom-channel-type\",\n name: \"Unregister Operators Custom Channel Type\",\n description: \"Tool to unregister operators from channels by custom channel type. Use when you need to remove operator roles from users across channels of a specific custom type.\",\n input: SendbirdUnregisterOperatorsCustomChannelTypeInput,\n output: SendbirdUnregisterOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAkE,EAAE,OAAO;CACtF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC7F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,qEAAmF,EAAE,OAAO;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACxG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAK7E,MAAa,+CAA+C,OAAO,qDAAqD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8E,EAAE,OAAO,EACvF,mBAAmB,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjL,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}