@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,59 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/view-group-channel.ts
4
+ const SendbirdViewGroupChannelInput = zod.z.object({
5
+ channel_url: zod.z.string().describe("URL-encoded identifier of the group channel to retrieve."),
6
+ show_member: zod.z.boolean().default(false).describe("Whether to include the channel's member list in the response.").optional(),
7
+ show_metadata: zod.z.boolean().default(false).describe("Whether to include channel metadata in the response.").optional(),
8
+ show_read_receipt: zod.z.boolean().default(false).describe("Whether to include read receipt information in the response.").optional(),
9
+ show_migration_info: zod.z.boolean().default(false).describe("Whether to include migration information in the response.").optional(),
10
+ show_delivery_receipt: zod.z.boolean().default(false).describe("Whether to include delivery receipt information in the response.").optional()
11
+ });
12
+ const SendbirdViewGroupChannel_MemberSchema = zod.z.object({
13
+ role: zod.z.string().describe("Role of the member in the channel (operator or member).").nullable().optional(),
14
+ user_id: zod.z.string().describe("User ID of the channel member."),
15
+ metadata: zod.z.object({}).describe("Custom metadata for the member.").nullable().optional(),
16
+ nickname: zod.z.string().describe("Nickname of the channel member.").nullable().optional(),
17
+ joined_at: zod.z.number().int().describe("Timestamp when the member joined the channel.").nullable().optional(),
18
+ profile_url: zod.z.string().describe("Profile image URL of the channel member.").nullable().optional(),
19
+ last_seen_at: zod.z.number().int().describe("Timestamp when the member was last seen.").nullable().optional(),
20
+ connection_status: zod.z.string().describe("Connection status of the member.").nullable().optional(),
21
+ preferred_languages: zod.z.array(zod.z.string()).describe("Preferred languages of the member.").nullable().optional()
22
+ });
23
+ const SendbirdViewGroupChannelOutput = zod.z.object({
24
+ data: zod.z.string().describe("Custom data of the channel.").nullable().optional(),
25
+ name: zod.z.string().describe("Name of the channel.").nullable().optional(),
26
+ freeze: zod.z.boolean().describe("Whether the channel is frozen. In a frozen channel, normal members can't send messages.").nullable().optional(),
27
+ members: zod.z.array(SendbirdViewGroupChannel_MemberSchema).describe("List of members if show_member=true.").nullable().optional(),
28
+ is_super: zod.z.boolean().describe("Whether the channel is a super group."),
29
+ metadata: zod.z.object({}).describe("Channel metadata if show_metadata=true.").nullable().optional(),
30
+ cover_url: zod.z.string().describe("Cover image URL of the channel.").nullable().optional(),
31
+ is_public: zod.z.boolean().describe("Whether the channel is public."),
32
+ created_at: zod.z.number().int().describe("Timestamp (Unix, milliseconds) when the channel was created.").nullable().optional(),
33
+ channel_url: zod.z.string().describe("URL of the group channel."),
34
+ custom_type: zod.z.string().describe("Custom type of the channel.").nullable().optional(),
35
+ is_distinct: zod.z.boolean().describe("Whether the channel is distinct."),
36
+ is_broadcast: zod.z.boolean().describe("Whether the channel is a broadcast channel."),
37
+ is_ephemeral: zod.z.boolean().describe("Whether the channel is ephemeral.").nullable().optional(),
38
+ last_message: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The last message in the channel if available.").nullable().optional(),
39
+ member_count: zod.z.number().int().describe("Total number of members in the channel.").nullable().optional(),
40
+ read_receipt: zod.z.object({}).describe("Read receipt mapping (user_id to timestamp) if requested.").nullable().optional(),
41
+ migration_info: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Migration information if show_migration_info=true.").nullable().optional(),
42
+ is_discoverable: zod.z.boolean().describe("Whether the channel is discoverable in search.").nullable().optional(),
43
+ delivery_receipt: zod.z.object({}).describe("Delivery receipt mapping (user_id to count) if requested.").nullable().optional(),
44
+ max_length_message: zod.z.number().int().describe("Maximum allowed message length in the channel.").nullable().optional(),
45
+ joined_member_count: zod.z.number().int().describe("Number of members who have joined the channel.").nullable().optional(),
46
+ unread_message_count: zod.z.number().int().describe("Number of unread messages in the channel.").nullable().optional(),
47
+ is_access_code_required: zod.z.boolean().describe("Whether access code is required to join.").nullable().optional()
48
+ });
49
+ const sendbirdViewGroupChannel = require_action.action("SENDBIRD_VIEW_GROUP_CHANNEL", {
50
+ slug: "sendbird-view-group-channel",
51
+ name: "Sendbird View Group Channel",
52
+ description: "Tool to view information about a specific group channel. Use when you need channel details after confirming the channel_url.",
53
+ input: SendbirdViewGroupChannelInput,
54
+ output: SendbirdViewGroupChannelOutput
55
+ });
56
+ //#endregion
57
+ exports.sendbirdViewGroupChannel = sendbirdViewGroupChannel;
58
+
59
+ //# sourceMappingURL=view-group-channel.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/view-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdViewGroupChannelInput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to retrieve.\"),\n show_member: z.boolean().default(false).describe(\"Whether to include the channel's member list in the response.\").optional(),\n show_metadata: z.boolean().default(false).describe(\"Whether to include channel metadata in the response.\").optional(),\n show_read_receipt: z.boolean().default(false).describe(\"Whether to include read receipt information in the response.\").optional(),\n show_migration_info: z.boolean().default(false).describe(\"Whether to include migration information in the response.\").optional(),\n show_delivery_receipt: z.boolean().default(false).describe(\"Whether to include delivery receipt information in the response.\").optional(),\n});\nconst SendbirdViewGroupChannel_MemberSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role of the member in the channel (operator or member).\").nullable().optional(),\n user_id: z.string().describe(\"User ID of the channel member.\"),\n metadata: z.object({}).describe(\"Custom metadata for the member.\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the channel member.\").nullable().optional(),\n joined_at: z.number().int().describe(\"Timestamp when the member joined the channel.\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the channel member.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp when the member was last seen.\").nullable().optional(),\n connection_status: z.string().describe(\"Connection status of the member.\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"Preferred languages of the member.\").nullable().optional(),\n});\nexport const SendbirdViewGroupChannelOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom data of the channel.\").nullable().optional(),\n name: z.string().describe(\"Name of the channel.\").nullable().optional(),\n freeze: z.boolean().describe(\"Whether the channel is frozen. In a frozen channel, normal members can't send messages.\").nullable().optional(),\n members: z.array(SendbirdViewGroupChannel_MemberSchema).describe(\"List of members if show_member=true.\").nullable().optional(),\n is_super: z.boolean().describe(\"Whether the channel is a super group.\"),\n metadata: z.object({}).describe(\"Channel metadata if show_metadata=true.\").nullable().optional(),\n cover_url: z.string().describe(\"Cover image URL of the channel.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the channel is public.\"),\n created_at: z.number().int().describe(\"Timestamp (Unix, milliseconds) when the channel was created.\").nullable().optional(),\n channel_url: z.string().describe(\"URL of the group channel.\"),\n custom_type: z.string().describe(\"Custom type of the channel.\").nullable().optional(),\n is_distinct: z.boolean().describe(\"Whether the channel is distinct.\"),\n is_broadcast: z.boolean().describe(\"Whether the channel is a broadcast channel.\"),\n is_ephemeral: z.boolean().describe(\"Whether the channel is ephemeral.\").nullable().optional(),\n last_message: z.record(z.string(), z.unknown()).describe(\"The last message in the channel if available.\").nullable().optional(),\n member_count: z.number().int().describe(\"Total number of members in the channel.\").nullable().optional(),\n read_receipt: z.object({}).describe(\"Read receipt mapping (user_id to timestamp) if requested.\").nullable().optional(),\n migration_info: z.record(z.string(), z.unknown()).describe(\"Migration information if show_migration_info=true.\").nullable().optional(),\n is_discoverable: z.boolean().describe(\"Whether the channel is discoverable in search.\").nullable().optional(),\n delivery_receipt: z.object({}).describe(\"Delivery receipt mapping (user_id to count) if requested.\").nullable().optional(),\n max_length_message: z.number().int().describe(\"Maximum allowed message length in the channel.\").nullable().optional(),\n joined_member_count: z.number().int().describe(\"Number of members who have joined the channel.\").nullable().optional(),\n unread_message_count: z.number().int().describe(\"Number of unread messages in the channel.\").nullable().optional(),\n is_access_code_required: z.boolean().describe(\"Whether access code is required to join.\").nullable().optional(),\n});\n\nexport const sendbirdViewGroupChannel = action(\"SENDBIRD_VIEW_GROUP_CHANNEL\", {\n slug: \"sendbird-view-group-channel\",\n name: \"Sendbird View Group Channel\",\n description: \"Tool to view information about a specific group channel. Use when you need channel details after confirming the channel_url.\",\n input: SendbirdViewGroupChannelInput,\n output: SendbirdViewGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC3F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAChI,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC/H,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,MAA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AC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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/view-group-channel.d.ts
4
+ declare const SendbirdViewGroupChannelInput: z.ZodTypeAny;
5
+ declare const SendbirdViewGroupChannelOutput: z.ZodTypeAny;
6
+ declare const sendbirdViewGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdViewGroupChannel };
9
+ //# sourceMappingURL=view-group-channel.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-group-channel.d.cts","names":[],"sources":["../../src/actions/view-group-channel.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAO5C;AAAA,cAYW,8BAAA,EAAgC,CAAA,CAAE,UAyB7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/view-group-channel.d.ts
4
+ declare const SendbirdViewGroupChannelInput: z.ZodTypeAny;
5
+ declare const SendbirdViewGroupChannelOutput: z.ZodTypeAny;
6
+ declare const sendbirdViewGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdViewGroupChannel };
9
+ //# sourceMappingURL=view-group-channel.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-group-channel.d.mts","names":[],"sources":["../../src/actions/view-group-channel.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAO5C;AAAA,cAYW,8BAAA,EAAgC,CAAA,CAAE,UAyB7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,58 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/view-group-channel.ts
4
+ const SendbirdViewGroupChannelInput = z.object({
5
+ channel_url: z.string().describe("URL-encoded identifier of the group channel to retrieve."),
6
+ show_member: z.boolean().default(false).describe("Whether to include the channel's member list in the response.").optional(),
7
+ show_metadata: z.boolean().default(false).describe("Whether to include channel metadata in the response.").optional(),
8
+ show_read_receipt: z.boolean().default(false).describe("Whether to include read receipt information in the response.").optional(),
9
+ show_migration_info: z.boolean().default(false).describe("Whether to include migration information in the response.").optional(),
10
+ show_delivery_receipt: z.boolean().default(false).describe("Whether to include delivery receipt information in the response.").optional()
11
+ });
12
+ const SendbirdViewGroupChannel_MemberSchema = z.object({
13
+ role: z.string().describe("Role of the member in the channel (operator or member).").nullable().optional(),
14
+ user_id: z.string().describe("User ID of the channel member."),
15
+ metadata: z.object({}).describe("Custom metadata for the member.").nullable().optional(),
16
+ nickname: z.string().describe("Nickname of the channel member.").nullable().optional(),
17
+ joined_at: z.number().int().describe("Timestamp when the member joined the channel.").nullable().optional(),
18
+ profile_url: z.string().describe("Profile image URL of the channel member.").nullable().optional(),
19
+ last_seen_at: z.number().int().describe("Timestamp when the member was last seen.").nullable().optional(),
20
+ connection_status: z.string().describe("Connection status of the member.").nullable().optional(),
21
+ preferred_languages: z.array(z.string()).describe("Preferred languages of the member.").nullable().optional()
22
+ });
23
+ const sendbirdViewGroupChannel = action("SENDBIRD_VIEW_GROUP_CHANNEL", {
24
+ slug: "sendbird-view-group-channel",
25
+ name: "Sendbird View Group Channel",
26
+ description: "Tool to view information about a specific group channel. Use when you need channel details after confirming the channel_url.",
27
+ input: SendbirdViewGroupChannelInput,
28
+ output: z.object({
29
+ data: z.string().describe("Custom data of the channel.").nullable().optional(),
30
+ name: z.string().describe("Name of the channel.").nullable().optional(),
31
+ freeze: z.boolean().describe("Whether the channel is frozen. In a frozen channel, normal members can't send messages.").nullable().optional(),
32
+ members: z.array(SendbirdViewGroupChannel_MemberSchema).describe("List of members if show_member=true.").nullable().optional(),
33
+ is_super: z.boolean().describe("Whether the channel is a super group."),
34
+ metadata: z.object({}).describe("Channel metadata if show_metadata=true.").nullable().optional(),
35
+ cover_url: z.string().describe("Cover image URL of the channel.").nullable().optional(),
36
+ is_public: z.boolean().describe("Whether the channel is public."),
37
+ created_at: z.number().int().describe("Timestamp (Unix, milliseconds) when the channel was created.").nullable().optional(),
38
+ channel_url: z.string().describe("URL of the group channel."),
39
+ custom_type: z.string().describe("Custom type of the channel.").nullable().optional(),
40
+ is_distinct: z.boolean().describe("Whether the channel is distinct."),
41
+ is_broadcast: z.boolean().describe("Whether the channel is a broadcast channel."),
42
+ is_ephemeral: z.boolean().describe("Whether the channel is ephemeral.").nullable().optional(),
43
+ last_message: z.record(z.string(), z.unknown()).describe("The last message in the channel if available.").nullable().optional(),
44
+ member_count: z.number().int().describe("Total number of members in the channel.").nullable().optional(),
45
+ read_receipt: z.object({}).describe("Read receipt mapping (user_id to timestamp) if requested.").nullable().optional(),
46
+ migration_info: z.record(z.string(), z.unknown()).describe("Migration information if show_migration_info=true.").nullable().optional(),
47
+ is_discoverable: z.boolean().describe("Whether the channel is discoverable in search.").nullable().optional(),
48
+ delivery_receipt: z.object({}).describe("Delivery receipt mapping (user_id to count) if requested.").nullable().optional(),
49
+ max_length_message: z.number().int().describe("Maximum allowed message length in the channel.").nullable().optional(),
50
+ joined_member_count: z.number().int().describe("Number of members who have joined the channel.").nullable().optional(),
51
+ unread_message_count: z.number().int().describe("Number of unread messages in the channel.").nullable().optional(),
52
+ is_access_code_required: z.boolean().describe("Whether access code is required to join.").nullable().optional()
53
+ })
54
+ });
55
+ //#endregion
56
+ export { sendbirdViewGroupChannel };
57
+
58
+ //# sourceMappingURL=view-group-channel.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-group-channel.mjs","names":[],"sources":["../../src/actions/view-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdViewGroupChannelInput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to retrieve.\"),\n show_member: z.boolean().default(false).describe(\"Whether to include the channel's member list in the response.\").optional(),\n show_metadata: z.boolean().default(false).describe(\"Whether to include channel metadata in the response.\").optional(),\n show_read_receipt: z.boolean().default(false).describe(\"Whether to include read receipt information in the response.\").optional(),\n show_migration_info: z.boolean().default(false).describe(\"Whether to include migration information in the response.\").optional(),\n show_delivery_receipt: z.boolean().default(false).describe(\"Whether to include delivery receipt information in the response.\").optional(),\n});\nconst SendbirdViewGroupChannel_MemberSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role of the member in the channel (operator or member).\").nullable().optional(),\n user_id: z.string().describe(\"User ID of the channel member.\"),\n metadata: z.object({}).describe(\"Custom metadata for the member.\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the channel member.\").nullable().optional(),\n joined_at: z.number().int().describe(\"Timestamp when the member joined the channel.\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the channel member.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp when the member was last seen.\").nullable().optional(),\n connection_status: z.string().describe(\"Connection status of the member.\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"Preferred languages of the member.\").nullable().optional(),\n});\nexport const SendbirdViewGroupChannelOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom data of the channel.\").nullable().optional(),\n name: z.string().describe(\"Name of the channel.\").nullable().optional(),\n freeze: z.boolean().describe(\"Whether the channel is frozen. In a frozen channel, normal members can't send messages.\").nullable().optional(),\n members: z.array(SendbirdViewGroupChannel_MemberSchema).describe(\"List of members if show_member=true.\").nullable().optional(),\n is_super: z.boolean().describe(\"Whether the channel is a super group.\"),\n metadata: z.object({}).describe(\"Channel metadata if show_metadata=true.\").nullable().optional(),\n cover_url: z.string().describe(\"Cover image URL of the channel.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the channel is public.\"),\n created_at: z.number().int().describe(\"Timestamp (Unix, milliseconds) when the channel was created.\").nullable().optional(),\n channel_url: z.string().describe(\"URL of the group channel.\"),\n custom_type: z.string().describe(\"Custom type of the channel.\").nullable().optional(),\n is_distinct: z.boolean().describe(\"Whether the channel is distinct.\"),\n is_broadcast: z.boolean().describe(\"Whether the channel is a broadcast channel.\"),\n is_ephemeral: z.boolean().describe(\"Whether the channel is ephemeral.\").nullable().optional(),\n last_message: z.record(z.string(), z.unknown()).describe(\"The last message in the channel if available.\").nullable().optional(),\n member_count: z.number().int().describe(\"Total number of members in the channel.\").nullable().optional(),\n read_receipt: z.object({}).describe(\"Read receipt mapping (user_id to timestamp) if requested.\").nullable().optional(),\n migration_info: z.record(z.string(), z.unknown()).describe(\"Migration information if show_migration_info=true.\").nullable().optional(),\n is_discoverable: z.boolean().describe(\"Whether the channel is discoverable in search.\").nullable().optional(),\n delivery_receipt: z.object({}).describe(\"Delivery receipt mapping (user_id to count) if requested.\").nullable().optional(),\n max_length_message: z.number().int().describe(\"Maximum allowed message length in the channel.\").nullable().optional(),\n joined_member_count: z.number().int().describe(\"Number of members who have joined the channel.\").nullable().optional(),\n unread_message_count: z.number().int().describe(\"Number of unread messages in the channel.\").nullable().optional(),\n is_access_code_required: z.boolean().describe(\"Whether access code is required to join.\").nullable().optional(),\n});\n\nexport const sendbirdViewGroupChannel = action(\"SENDBIRD_VIEW_GROUP_CHANNEL\", {\n slug: \"sendbird-view-group-channel\",\n name: \"Sendbird View Group Channel\",\n description: \"Tool to view information about a specific group channel. Use when you need channel details after confirming the channel_url.\",\n input: SendbirdViewGroupChannelInput,\n output: SendbirdViewGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC3F,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAChI,qBAAqB,EAAE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,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAOU;AACV,CAAC"}
@@ -0,0 +1,67 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/view-message.ts
4
+ const SendbirdViewMessageInput = zod.z.object({
5
+ message_id: zod.z.number().int().describe("Unique ID of the message."),
6
+ channel_url: zod.z.string().describe("URL-encoded identifier of the group channel."),
7
+ with_sorted_metaarray: zod.z.boolean().describe("Whether to include sorted_metaarray arrays in the response.").optional()
8
+ }).describe("Request model for viewing a specific Sendbird message.");
9
+ const SendbirdViewMessage_UserSchema = zod.z.object({
10
+ user_id: zod.z.string().describe("ID of the user who sent the message."),
11
+ metadata: zod.z.object({}).describe("Additional metadata for the user.").nullable().optional(),
12
+ nickname: zod.z.string().describe("Nickname of the user.").nullable().optional(),
13
+ profile_url: zod.z.string().describe("URL of the user's profile image.").nullable().optional(),
14
+ last_seen_at: zod.z.number().int().describe("Timestamp (ms) when the user was last seen.").nullable().optional(),
15
+ connection_status: zod.z.string().describe("Connection status of the user.").nullable().optional()
16
+ });
17
+ const SendbirdViewMessage_OGTagSchema = zod.z.object({
18
+ url: zod.z.string().describe("Open graph URL."),
19
+ title: zod.z.string().describe("Open graph title.").nullable().optional(),
20
+ description: zod.z.string().describe("Open graph description.").nullable().optional()
21
+ });
22
+ const SendbirdViewMessage_MessageReactionSchema = zod.z.object({
23
+ key: zod.z.string().describe("Reaction key (emoji)."),
24
+ user_ids: zod.z.array(zod.z.string()).describe("User IDs who reacted."),
25
+ created_at: zod.z.number().int().describe("Timestamp (ms) when reaction was created.")
26
+ });
27
+ const SendbirdViewMessage_ThreadInfoSchema = zod.z.object({
28
+ reply_count: zod.z.number().int().describe("Number of replies in the thread."),
29
+ reply_timestamp: zod.z.number().int().describe("Timestamp (ms) of latest reply."),
30
+ most_recent_message: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Most recent message in thread as simple JSON object.").nullable().optional()
31
+ });
32
+ const SendbirdViewMessage_MessageMetaSchema = zod.z.object({
33
+ key: zod.z.string().describe("Metadata key."),
34
+ value: zod.z.string().describe("Metadata value."),
35
+ created_at: zod.z.number().int().describe("Timestamp (ms) when metadata was created."),
36
+ updated_at: zod.z.number().int().describe("Timestamp (ms) when metadata was updated.")
37
+ });
38
+ const SendbirdViewMessageOutput = zod.z.object({
39
+ data: zod.z.string().describe("Custom message data.").nullable().optional(),
40
+ type: zod.z.string().describe("Type of the message (MESG, FILE, ADMIN)."),
41
+ user: SendbirdViewMessage_UserSchema.nullable(),
42
+ og_tag: SendbirdViewMessage_OGTagSchema.nullable().optional(),
43
+ message: zod.z.string().describe("Text content of the message.").nullable().optional(),
44
+ reactions: zod.z.array(SendbirdViewMessage_MessageReactionSchema).describe("List of reactions.").nullable().optional(),
45
+ created_at: zod.z.number().int().describe("Creation timestamp (ms)."),
46
+ message_id: zod.z.string().describe("Unique ID of the message."),
47
+ updated_at: zod.z.number().int().describe("Update timestamp (ms)."),
48
+ channel_url: zod.z.string().describe("URL of the group channel."),
49
+ custom_type: zod.z.string().describe("Custom message type.").nullable().optional(),
50
+ thread_info: SendbirdViewMessage_ThreadInfoSchema.nullable().optional(),
51
+ mention_type: zod.z.string().describe("Mention type.").nullable().optional(),
52
+ translations: zod.z.object({}).describe("Translated texts keyed by language.").nullable().optional(),
53
+ parent_message: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parent message details if threaded.").nullable().optional(),
54
+ mentioned_users: zod.z.array(SendbirdViewMessage_UserSchema).describe("Users mentioned in the message.").nullable().optional(),
55
+ sorted_metaarray: zod.z.array(SendbirdViewMessage_MessageMetaSchema).describe("Sorted metadata array.").nullable().optional()
56
+ });
57
+ const sendbirdViewMessage = require_action.action("SENDBIRD_VIEW_MESSAGE", {
58
+ slug: "sendbird-view-message",
59
+ name: "Sendbird View Message",
60
+ description: "Tool to view a specific message in a group channel. Use after confirming channel_url and message_id.",
61
+ input: SendbirdViewMessageInput,
62
+ output: SendbirdViewMessageOutput
63
+ });
64
+ //#endregion
65
+ exports.sendbirdViewMessage = sendbirdViewMessage;
66
+
67
+ //# sourceMappingURL=view-message.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-message.cjs","names":["z","action"],"sources":["../../src/actions/view-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdViewMessageInput: z.ZodTypeAny = z.object({\n message_id: z.number().int().describe(\"Unique ID of the message.\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel.\"),\n with_sorted_metaarray: z.boolean().describe(\"Whether to include sorted_metaarray arrays in the response.\").optional(),\n}).describe(\"Request model for viewing a specific Sendbird message.\");\nconst SendbirdViewMessage_UserSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"ID of the user who sent the message.\"),\n metadata: z.object({}).describe(\"Additional metadata for the user.\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the user.\").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 connection_status: z.string().describe(\"Connection status of the user.\").nullable().optional(),\n});\nconst SendbirdViewMessage_OGTagSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Open graph URL.\"),\n title: z.string().describe(\"Open graph title.\").nullable().optional(),\n description: z.string().describe(\"Open graph description.\").nullable().optional(),\n});\nconst SendbirdViewMessage_MessageReactionSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Reaction key (emoji).\"),\n user_ids: z.array(z.string()).describe(\"User IDs who reacted.\"),\n created_at: z.number().int().describe(\"Timestamp (ms) when reaction was created.\"),\n});\nconst SendbirdViewMessage_ThreadInfoSchema: z.ZodTypeAny = z.object({\n reply_count: z.number().int().describe(\"Number of replies in the thread.\"),\n reply_timestamp: z.number().int().describe(\"Timestamp (ms) of latest reply.\"),\n most_recent_message: z.record(z.string(), z.unknown()).describe(\"Most recent message in thread as simple JSON object.\").nullable().optional(),\n});\nconst SendbirdViewMessage_MessageMetaSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Metadata key.\"),\n value: z.string().describe(\"Metadata value.\"),\n created_at: z.number().int().describe(\"Timestamp (ms) when metadata was created.\"),\n updated_at: z.number().int().describe(\"Timestamp (ms) when metadata was updated.\"),\n});\nexport const SendbirdViewMessageOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom message data.\").nullable().optional(),\n type: z.string().describe(\"Type of the message (MESG, FILE, ADMIN).\"),\n user: SendbirdViewMessage_UserSchema.nullable(),\n og_tag: SendbirdViewMessage_OGTagSchema.nullable().optional(),\n message: z.string().describe(\"Text content of the message.\").nullable().optional(),\n reactions: z.array(SendbirdViewMessage_MessageReactionSchema).describe(\"List of reactions.\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp (ms).\"),\n message_id: z.string().describe(\"Unique ID of the message.\"),\n updated_at: z.number().int().describe(\"Update timestamp (ms).\"),\n channel_url: z.string().describe(\"URL of the group channel.\"),\n custom_type: z.string().describe(\"Custom message type.\").nullable().optional(),\n thread_info: SendbirdViewMessage_ThreadInfoSchema.nullable().optional(),\n mention_type: z.string().describe(\"Mention type.\").nullable().optional(),\n translations: z.object({}).describe(\"Translated texts keyed by language.\").nullable().optional(),\n parent_message: z.record(z.string(), z.unknown()).describe(\"Parent message details if threaded.\").nullable().optional(),\n mentioned_users: z.array(SendbirdViewMessage_UserSchema).describe(\"Users mentioned in the message.\").nullable().optional(),\n sorted_metaarray: z.array(SendbirdViewMessage_MessageMetaSchema).describe(\"Sorted metadata array.\").nullable().optional(),\n});\n\nexport const sendbirdViewMessage = action(\"SENDBIRD_VIEW_MESSAGE\", {\n slug: \"sendbird-view-message\",\n name: \"Sendbird View Message\",\n description: \"Tool to view a specific message in a group channel. Use after confirming channel_url and message_id.\",\n input: SendbirdViewMessageInput,\n output: SendbirdViewMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,m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AC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,kBAAkBA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC;AAED,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/view-message.d.ts
4
+ declare const SendbirdViewMessageInput: z.ZodTypeAny;
5
+ declare const SendbirdViewMessageOutput: z.ZodTypeAny;
6
+ declare const sendbirdViewMessage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdViewMessage };
9
+ //# sourceMappingURL=view-message.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-message.d.cts","names":[],"sources":["../../src/actions/view-message.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAI4B;AAAA,cA8BxD,yBAAA,EAA2B,CAAA,CAAE,UAkBxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/view-message.d.ts
4
+ declare const SendbirdViewMessageInput: z.ZodTypeAny;
5
+ declare const SendbirdViewMessageOutput: z.ZodTypeAny;
6
+ declare const sendbirdViewMessage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdViewMessage };
9
+ //# sourceMappingURL=view-message.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-message.d.mts","names":[],"sources":["../../src/actions/view-message.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAI4B;AAAA,cA8BxD,yBAAA,EAA2B,CAAA,CAAE,UAkBxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,66 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/view-message.ts
4
+ const SendbirdViewMessageInput = z.object({
5
+ message_id: z.number().int().describe("Unique ID of the message."),
6
+ channel_url: z.string().describe("URL-encoded identifier of the group channel."),
7
+ with_sorted_metaarray: z.boolean().describe("Whether to include sorted_metaarray arrays in the response.").optional()
8
+ }).describe("Request model for viewing a specific Sendbird message.");
9
+ const SendbirdViewMessage_UserSchema = z.object({
10
+ user_id: z.string().describe("ID of the user who sent the message."),
11
+ metadata: z.object({}).describe("Additional metadata for the user.").nullable().optional(),
12
+ nickname: z.string().describe("Nickname of the user.").nullable().optional(),
13
+ profile_url: z.string().describe("URL of the user's profile image.").nullable().optional(),
14
+ last_seen_at: z.number().int().describe("Timestamp (ms) when the user was last seen.").nullable().optional(),
15
+ connection_status: z.string().describe("Connection status of the user.").nullable().optional()
16
+ });
17
+ const SendbirdViewMessage_OGTagSchema = z.object({
18
+ url: z.string().describe("Open graph URL."),
19
+ title: z.string().describe("Open graph title.").nullable().optional(),
20
+ description: z.string().describe("Open graph description.").nullable().optional()
21
+ });
22
+ const SendbirdViewMessage_MessageReactionSchema = z.object({
23
+ key: z.string().describe("Reaction key (emoji)."),
24
+ user_ids: z.array(z.string()).describe("User IDs who reacted."),
25
+ created_at: z.number().int().describe("Timestamp (ms) when reaction was created.")
26
+ });
27
+ const SendbirdViewMessage_ThreadInfoSchema = z.object({
28
+ reply_count: z.number().int().describe("Number of replies in the thread."),
29
+ reply_timestamp: z.number().int().describe("Timestamp (ms) of latest reply."),
30
+ most_recent_message: z.record(z.string(), z.unknown()).describe("Most recent message in thread as simple JSON object.").nullable().optional()
31
+ });
32
+ const SendbirdViewMessage_MessageMetaSchema = z.object({
33
+ key: z.string().describe("Metadata key."),
34
+ value: z.string().describe("Metadata value."),
35
+ created_at: z.number().int().describe("Timestamp (ms) when metadata was created."),
36
+ updated_at: z.number().int().describe("Timestamp (ms) when metadata was updated.")
37
+ });
38
+ const sendbirdViewMessage = action("SENDBIRD_VIEW_MESSAGE", {
39
+ slug: "sendbird-view-message",
40
+ name: "Sendbird View Message",
41
+ description: "Tool to view a specific message in a group channel. Use after confirming channel_url and message_id.",
42
+ input: SendbirdViewMessageInput,
43
+ output: z.object({
44
+ data: z.string().describe("Custom message data.").nullable().optional(),
45
+ type: z.string().describe("Type of the message (MESG, FILE, ADMIN)."),
46
+ user: SendbirdViewMessage_UserSchema.nullable(),
47
+ og_tag: SendbirdViewMessage_OGTagSchema.nullable().optional(),
48
+ message: z.string().describe("Text content of the message.").nullable().optional(),
49
+ reactions: z.array(SendbirdViewMessage_MessageReactionSchema).describe("List of reactions.").nullable().optional(),
50
+ created_at: z.number().int().describe("Creation timestamp (ms)."),
51
+ message_id: z.string().describe("Unique ID of the message."),
52
+ updated_at: z.number().int().describe("Update timestamp (ms)."),
53
+ channel_url: z.string().describe("URL of the group channel."),
54
+ custom_type: z.string().describe("Custom message type.").nullable().optional(),
55
+ thread_info: SendbirdViewMessage_ThreadInfoSchema.nullable().optional(),
56
+ mention_type: z.string().describe("Mention type.").nullable().optional(),
57
+ translations: z.object({}).describe("Translated texts keyed by language.").nullable().optional(),
58
+ parent_message: z.record(z.string(), z.unknown()).describe("Parent message details if threaded.").nullable().optional(),
59
+ mentioned_users: z.array(SendbirdViewMessage_UserSchema).describe("Users mentioned in the message.").nullable().optional(),
60
+ sorted_metaarray: z.array(SendbirdViewMessage_MessageMetaSchema).describe("Sorted metadata array.").nullable().optional()
61
+ })
62
+ });
63
+ //#endregion
64
+ export { sendbirdViewMessage };
65
+
66
+ //# sourceMappingURL=view-message.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-message.mjs","names":[],"sources":["../../src/actions/view-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdViewMessageInput: z.ZodTypeAny = z.object({\n message_id: z.number().int().describe(\"Unique ID of the message.\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel.\"),\n with_sorted_metaarray: z.boolean().describe(\"Whether to include sorted_metaarray arrays in the response.\").optional(),\n}).describe(\"Request model for viewing a specific Sendbird message.\");\nconst SendbirdViewMessage_UserSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"ID of the user who sent the message.\"),\n metadata: z.object({}).describe(\"Additional metadata for the user.\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the user.\").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 connection_status: z.string().describe(\"Connection status of the user.\").nullable().optional(),\n});\nconst SendbirdViewMessage_OGTagSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Open graph URL.\"),\n title: z.string().describe(\"Open graph title.\").nullable().optional(),\n description: z.string().describe(\"Open graph description.\").nullable().optional(),\n});\nconst SendbirdViewMessage_MessageReactionSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Reaction key (emoji).\"),\n user_ids: z.array(z.string()).describe(\"User IDs who reacted.\"),\n created_at: z.number().int().describe(\"Timestamp (ms) when reaction was created.\"),\n});\nconst SendbirdViewMessage_ThreadInfoSchema: z.ZodTypeAny = z.object({\n reply_count: z.number().int().describe(\"Number of replies in the thread.\"),\n reply_timestamp: z.number().int().describe(\"Timestamp (ms) of latest reply.\"),\n most_recent_message: z.record(z.string(), z.unknown()).describe(\"Most recent message in thread as simple JSON object.\").nullable().optional(),\n});\nconst SendbirdViewMessage_MessageMetaSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Metadata key.\"),\n value: z.string().describe(\"Metadata value.\"),\n created_at: z.number().int().describe(\"Timestamp (ms) when metadata was created.\"),\n updated_at: z.number().int().describe(\"Timestamp (ms) when metadata was updated.\"),\n});\nexport const SendbirdViewMessageOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom message data.\").nullable().optional(),\n type: z.string().describe(\"Type of the message (MESG, FILE, ADMIN).\"),\n user: SendbirdViewMessage_UserSchema.nullable(),\n og_tag: SendbirdViewMessage_OGTagSchema.nullable().optional(),\n message: z.string().describe(\"Text content of the message.\").nullable().optional(),\n reactions: z.array(SendbirdViewMessage_MessageReactionSchema).describe(\"List of reactions.\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp (ms).\"),\n message_id: z.string().describe(\"Unique ID of the message.\"),\n updated_at: z.number().int().describe(\"Update timestamp (ms).\"),\n channel_url: z.string().describe(\"URL of the group channel.\"),\n custom_type: z.string().describe(\"Custom message type.\").nullable().optional(),\n thread_info: SendbirdViewMessage_ThreadInfoSchema.nullable().optional(),\n mention_type: z.string().describe(\"Mention type.\").nullable().optional(),\n translations: z.object({}).describe(\"Translated texts keyed by language.\").nullable().optional(),\n parent_message: z.record(z.string(), z.unknown()).describe(\"Parent message details if threaded.\").nullable().optional(),\n mentioned_users: z.array(SendbirdViewMessage_UserSchema).describe(\"Users mentioned in the message.\").nullable().optional(),\n sorted_metaarray: z.array(SendbirdViewMessage_MessageMetaSchema).describe(\"Sorted metadata array.\").nullable().optional(),\n});\n\nexport const sendbirdViewMessage = action(\"SENDBIRD_VIEW_MESSAGE\", {\n slug: \"sendbird-view-message\",\n name: \"Sendbird View Message\",\n description: \"Tool to view a specific message in a group channel. Use after confirming channel_url and message_id.\",\n input: SendbirdViewMessageInput,\n output: SendbirdViewMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iCAA+C,EAAE,OAAO;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,OAAO,CAAC,C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,MAAM,qCAAqC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAOU;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/view-user.ts
4
+ const SendbirdViewUserInput = zod.z.object({ user_id: zod.z.string().describe("The unique ID of the user to retrieve.") }).describe("Request model for fetching a Sendbird user's information.");
5
+ const SendbirdViewUserOutput = zod.z.object({
6
+ user_id: zod.z.string().describe("Unique ID of the user."),
7
+ metadata: zod.z.object({}).describe("Custom key-value metadata associated with the user.").nullable().optional(),
8
+ nickname: zod.z.string().describe("User's display nickname.").nullable().optional(),
9
+ is_active: zod.z.boolean().describe("Whether the user is active in Sendbird.").nullable().optional(),
10
+ is_online: zod.z.boolean().describe("Whether the user is currently online.").nullable().optional(),
11
+ created_at: zod.z.number().int().describe("Unix timestamp (ms) when the user was created.").nullable().optional(),
12
+ profile_url: zod.z.string().describe("URL of the user's profile image.").nullable().optional(),
13
+ access_token: zod.z.string().describe("Access token for the user, if issued.").nullable().optional(),
14
+ last_seen_at: zod.z.number().int().describe("Unix timestamp (ms) when the user was last seen.").nullable().optional(),
15
+ phone_number: zod.z.string().describe("User's phone number if configured.").nullable().optional(),
16
+ discovery_keys: zod.z.array(zod.z.string()).describe("Discovery keys for the Discovery feature.").nullable().optional(),
17
+ has_ever_logged_in: zod.z.boolean().describe("Whether the user has logged in at least once.").nullable().optional(),
18
+ preferred_languages: zod.z.array(zod.z.string()).describe("User's preferred language codes.").nullable().optional(),
19
+ require_auth_for_profile_image: zod.z.boolean().describe("Whether profile image requires authentication to access.").nullable().optional()
20
+ }).passthrough().describe("Response model containing the details of a Sendbird user.");
21
+ const sendbirdViewUser = require_action.action("SENDBIRD_VIEW_USER", {
22
+ slug: "sendbird-view-user",
23
+ name: "View User",
24
+ description: "Tool to retrieve information about a specific Sendbird user. Use when you need to fetch detailed user data by their user ID.",
25
+ input: SendbirdViewUserInput,
26
+ output: SendbirdViewUserOutput
27
+ });
28
+ //#endregion
29
+ exports.sendbirdViewUser = sendbirdViewUser;
30
+
31
+ //# sourceMappingURL=view-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-user.cjs","names":["z","action"],"sources":["../../src/actions/view-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdViewUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"The unique ID of the user to retrieve.\"),\n}).describe(\"Request model for fetching a Sendbird user's information.\");\nexport const SendbirdViewUserOutput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user.\"),\n metadata: z.object({}).describe(\"Custom key-value metadata associated with the user.\").nullable().optional(),\n nickname: z.string().describe(\"User's display nickname.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user is active in Sendbird.\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) when the user was created.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, if issued.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen.\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured.\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature.\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has logged in at least once.\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes.\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the details of a Sendbird user.\");\n\nexport const sendbirdViewUser = action(\"SENDBIRD_VIEW_USER\", {\n slug: \"sendbird-view-user\",\n name: \"View User\",\n description: \"Tool to retrieve information about a specific Sendbird user. Use when you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AC5F,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gCAAgCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,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/view-user.d.ts
4
+ declare const SendbirdViewUserInput: z.ZodTypeAny;
5
+ declare const SendbirdViewUserOutput: z.ZodTypeAny;
6
+ declare const sendbirdViewUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdViewUser };
9
+ //# sourceMappingURL=view-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-user.d.cts","names":[],"sources":["../../src/actions/view-user.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEkC;AAAA,cAC3D,sBAAA,EAAwB,CAAA,CAAE,UAe+C;AAAA,cAEzE,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/view-user.d.ts
4
+ declare const SendbirdViewUserInput: z.ZodTypeAny;
5
+ declare const SendbirdViewUserOutput: z.ZodTypeAny;
6
+ declare const sendbirdViewUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdViewUser };
9
+ //# sourceMappingURL=view-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-user.d.mts","names":[],"sources":["../../src/actions/view-user.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEkC;AAAA,cAC3D,sBAAA,EAAwB,CAAA,CAAE,UAe+C;AAAA,cAEzE,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const sendbirdViewUser = action("SENDBIRD_VIEW_USER", {
4
+ slug: "sendbird-view-user",
5
+ name: "View User",
6
+ description: "Tool to retrieve information about a specific Sendbird user. Use when you need to fetch detailed user data by their user ID.",
7
+ input: z.object({ user_id: z.string().describe("The unique ID of the user to retrieve.") }).describe("Request model for fetching a Sendbird user's information."),
8
+ output: z.object({
9
+ user_id: z.string().describe("Unique ID of the user."),
10
+ metadata: z.object({}).describe("Custom key-value metadata associated with the user.").nullable().optional(),
11
+ nickname: z.string().describe("User's display nickname.").nullable().optional(),
12
+ is_active: z.boolean().describe("Whether the user is active in Sendbird.").nullable().optional(),
13
+ is_online: z.boolean().describe("Whether the user is currently online.").nullable().optional(),
14
+ created_at: z.number().int().describe("Unix timestamp (ms) when the user was created.").nullable().optional(),
15
+ profile_url: z.string().describe("URL of the user's profile image.").nullable().optional(),
16
+ access_token: z.string().describe("Access token for the user, if issued.").nullable().optional(),
17
+ last_seen_at: z.number().int().describe("Unix timestamp (ms) when the user was last seen.").nullable().optional(),
18
+ phone_number: z.string().describe("User's phone number if configured.").nullable().optional(),
19
+ discovery_keys: z.array(z.string()).describe("Discovery keys for the Discovery feature.").nullable().optional(),
20
+ has_ever_logged_in: z.boolean().describe("Whether the user has logged in at least once.").nullable().optional(),
21
+ preferred_languages: z.array(z.string()).describe("User's preferred language codes.").nullable().optional(),
22
+ require_auth_for_profile_image: z.boolean().describe("Whether profile image requires authentication to access.").nullable().optional()
23
+ }).passthrough().describe("Response model containing the details of a Sendbird user.")
24
+ });
25
+ //#endregion
26
+ export { sendbirdViewUser };
27
+
28
+ //# sourceMappingURL=view-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-user.mjs","names":[],"sources":["../../src/actions/view-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdViewUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"The unique ID of the user to retrieve.\"),\n}).describe(\"Request model for fetching a Sendbird user's information.\");\nexport const SendbirdViewUserOutput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user.\"),\n metadata: z.object({}).describe(\"Custom key-value metadata associated with the user.\").nullable().optional(),\n nickname: z.string().describe(\"User's display nickname.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user is active in Sendbird.\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) when the user was created.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, if issued.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen.\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured.\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature.\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has logged in at least once.\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes.\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the details of a Sendbird user.\");\n\nexport const sendbirdViewUser = action(\"SENDBIRD_VIEW_USER\", {\n slug: \"sendbird-view-user\",\n name: \"View User\",\n description: \"Tool to retrieve information about a specific Sendbird user. Use when you need to fetch detailed user data by their user ID.\",\n input: SendbirdViewUserInput,\n output: SendbirdViewUserOutput,\n});\n"],"mappings":";;AAwBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBiD,EAAE,OAAO,EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACvE,CAAC,CAAC,CAAC,SAAS,2DAsBH;CACP,QAtBkD,EAAE,OAAO;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const sendbird = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "sendbird",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.sendbird = sendbird;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sendbird = defineApp({\n slug: \"sendbird\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const sendbird: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { sendbird };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const sendbird: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { sendbird };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const sendbird = defineApp({
4
+ slug: "sendbird",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { sendbird };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sendbird = defineApp({\n slug: \"sendbird\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const sendbirdCatalog = {
4
+ "slug": "sendbird",
5
+ "name": "Sendbird",
6
+ "description": "Sendbird is a platform that provides chat, voice, and video APIs to help businesses build in-app communication features.",
7
+ "category": "Communication",
8
+ "logo": "https://logos.composio.dev/api/sendbird",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.sendbirdCatalog = sendbirdCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendbirdCatalog = {\n \"slug\": \"sendbird\",\n \"name\": \"Sendbird\",\n \"description\": \"Sendbird is a platform that provides chat, voice, and video APIs to help businesses build in-app communication features.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/sendbird\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const sendbirdCatalog: {
4
+ readonly slug: "sendbird";
5
+ readonly name: "Sendbird";
6
+ readonly description: "Sendbird is a platform that provides chat, voice, and video APIs to help businesses build in-app communication features.";
7
+ readonly category: "Communication";
8
+ readonly logo: "https://logos.composio.dev/api/sendbird";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { sendbirdCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map