@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 @@
1
+ {"version":3,"file":"list-group-channels.mjs","names":[],"sources":["../../src/actions/list-group-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListGroupChannelsInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter channels by channel name\").optional(),\n limit: z.number().int().describe(\"Number of results per page (1-100)\").optional(),\n token: z.string().describe(\"Pagination token to retrieve the next page\").optional(),\n show_empty: z.boolean().describe(\"Whether to include empty channels in the results\").optional(),\n super_mode: z.enum([\"all\", \"super\", \"nonsuper\"]).describe(\"Filter by super channel type: all, super, or nonsuper\").optional(),\n public_mode: z.enum([\"all\", \"public\", \"private\"]).describe(\"Filter by public channel type: all, public, or private\").optional(),\n show_frozen: z.boolean().describe(\"Whether to include frozen channels in the results\").optional(),\n channel_urls: z.array(z.string()).describe(\"Filter channels by exact URLs\").optional(),\n custom_types: z.array(z.string()).describe(\"Filter channels by custom types\").optional(),\n url_contains: z.string().describe(\"Filter channels whose URL contains this substring\").optional(),\n created_after: z.number().int().describe(\"List channels created after this timestamp (in milliseconds)\").optional(),\n distinct_mode: z.enum([\"all\", \"distinct\", \"nondistinct\"]).describe(\"Filter by distinct channel type: all, distinct, or nondistinct\").optional(),\n show_metadata: z.boolean().describe(\"Whether to include channel metadata\").optional(),\n created_before: z.number().int().describe(\"List channels created before this timestamp (in milliseconds)\").optional(),\n my_member_state: z.enum([\"all\", \"joined_only\", \"invited_only\", \"invited_by_friend\", \"invited_by_non_friend\"]).describe(\"Filter by member state: all, joined_only, invited_only, invited_by_friend, or invited_by_non_friend\").optional(),\n members_nickname: z.string().describe(\"Filter channels by member nickname\").optional(),\n show_read_receipt: z.boolean().describe(\"Whether to include read receipt data\").optional(),\n members_exactly_in: z.array(z.string()).describe(\"List of user IDs who must all be members of the channel\").optional(),\n members_include_in: z.array(z.string()).describe(\"List of user IDs one of whom must be a member of the channel\").optional(),\n show_delivery_receipt: z.boolean().describe(\"Whether to include delivery receipt data\").optional(),\n custom_type_startswith: z.string().describe(\"Filter channels whose custom type starts with this prefix\").optional(),\n});\nconst SendbirdListGroupChannels_MemberSchema: z.ZodTypeAny = z.object({\n state: z.string().describe(\"Member state (joined, invited, etc.)\").nullable().optional(),\n has_pin: z.boolean().describe(\"Whether the member has pinned the channel\").nullable().optional(),\n user_id: z.string().describe(\"Member user ID\"),\n nickname: z.string().describe(\"Member nickname\").nullable().optional(),\n profile_url: z.string().describe(\"Member profile URL\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Last seen timestamp (ms)\").nullable().optional(),\n connection_id: z.number().int().describe(\"Member connection ID\").nullable().optional(),\n pin_timestamp: z.number().int().describe(\"Timestamp when channel was pinned by member\").nullable().optional(),\n});\nconst SendbirdListGroupChannels_LastMessageSchema: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Message data payload\").nullable().optional(),\n message: z.string().describe(\"Message text if applicable\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when message was created (ms)\"),\n message_id: z.string().describe(\"Message ID of the last message\"),\n updated_at: z.number().int().describe(\"Timestamp when message was last updated (ms)\"),\n custom_type: z.string().describe(\"Custom type of the message\").nullable().optional(),\n message_type: z.string().describe(\"Type of the message (MESG, FILE, ADMM)\"),\n});\nconst SendbirdListGroupChannels_GroupChannelSchema: 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\").nullable().optional(),\n members: z.array(SendbirdListGroupChannels_MemberSchema).describe(\"List of members in the channel\").nullable().optional(),\n is_super: z.boolean().describe(\"Whether the channel is a Supergroup channel\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Channel metadata key-value pairs\").nullable().optional(),\n cover_url: z.string().describe(\"URL of the channel cover image\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the channel is public (joinable without invitation)\").nullable().optional(),\n operators: z.array(SendbirdListGroupChannels_MemberSchema).describe(\"List of operators in the channel\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the channel was created (ms)\").nullable().optional(),\n channel_url: z.string().describe(\"Unique 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 (1-on-1 messaging)\").nullable().optional(),\n is_broadcast: z.boolean().describe(\"Whether the channel is a broadcast channel\").nullable().optional(),\n is_ephemeral: z.boolean().describe(\"Whether the channel is ephemeral\").nullable().optional(),\n last_message: SendbirdListGroupChannels_LastMessageSchema.nullable().optional(),\n member_count: z.number().int().describe(\"Number of members in the channel\").nullable().optional(),\n read_receipt: z.object({}).describe(\"Read receipt mapping user IDs to message sequence numbers\").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 IDs to message sequence numbers\").nullable().optional(),\n joined_member_count: z.number().int().describe(\"Number of joined members in the channel\").nullable().optional(),\n unread_message_count: z.number().int().describe(\"Number of unread messages for the authenticated user\").nullable().optional(),\n});\nexport const SendbirdListGroupChannelsOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token for next page\").nullable().optional(),\n channels: z.array(SendbirdListGroupChannels_GroupChannelSchema).describe(\"List of group channels\"),\n});\n\nexport const sendbirdListGroupChannels = action(\"SENDBIRD_LIST_GROUP_CHANNELS\", {\n slug: \"sendbird-list-group-channels\",\n name: \"List Group Channels\",\n description: \"Tool to list group channels. Use when you need to fetch paginated group channels with optional filters.\",\n input: SendbirdListGroupChannelsInput,\n output: SendbirdListGroupChannelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,KAAK;EAAC;EAAO;EAAS;CAAU,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,KAAK;EAAC;EAAO;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC9H,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAClH,eAAe,EAAE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O,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC;AAMD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,wBAAwB;CACnG,CAOU;AACV,CAAC"}
@@ -0,0 +1,53 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-members-group-channel.ts
4
+ const SendbirdListMembersGroupChannelInput = zod.z.object({
5
+ limit: zod.z.number().int().describe("Maximum number of results to return (1-100)").optional(),
6
+ order: zod.z.enum(["nickname_alphabetical", "operator_alphabetical"]).describe("Sorting order of members list").optional(),
7
+ token: zod.z.string().describe("Pagination token for fetching the next page").optional(),
8
+ offset: zod.z.number().int().describe("Number of results to skip before returning the set (deprecated; use token instead)").optional(),
9
+ channel_url: zod.z.string().describe("Unique URL of the group channel"),
10
+ operator_filter: zod.z.enum([
11
+ "all",
12
+ "operator",
13
+ "nonoperator"
14
+ ]).describe("Filter by operator status").optional(),
15
+ member_state_filter: zod.z.enum([
16
+ "all",
17
+ "joined_only",
18
+ "invited_only"
19
+ ]).describe("Filter by membership state").optional(),
20
+ muted_member_filter: zod.z.enum([
21
+ "all",
22
+ "muted",
23
+ "unmuted"
24
+ ]).describe("Filter by muted status of members").optional(),
25
+ nickname_startswith: zod.z.string().describe("Search members whose nicknames start with this string").optional()
26
+ });
27
+ const SendbirdListMembersGroupChannel_MemberSchema = zod.z.object({
28
+ state: zod.z.string().describe("Membership state, e.g., joined, invited"),
29
+ user_id: zod.z.string().describe("The user's unique ID"),
30
+ is_muted: zod.z.boolean().describe("If the user is muted in the channel"),
31
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata associated with the member").nullable().optional(),
32
+ nickname: zod.z.string().describe("The user's nickname").nullable().optional(),
33
+ is_online: zod.z.boolean().describe("Online status of the user"),
34
+ is_operator: zod.z.boolean().describe("Whether the member is an operator"),
35
+ profile_url: zod.z.string().describe("The user's profile image URL").nullable().optional(),
36
+ last_seen_at: zod.z.number().int().describe("Timestamp (ms) when the user was last seen")
37
+ });
38
+ const SendbirdListMembersGroupChannelOutput = zod.z.object({
39
+ next: zod.z.string().describe("Token for retrieving the next page of results").nullable().optional(),
40
+ members: zod.z.array(SendbirdListMembersGroupChannel_MemberSchema).describe("List of channel members"),
41
+ total_count: zod.z.number().int().describe("Total number of members (when using filters)").nullable().optional()
42
+ });
43
+ const sendbirdListMembersGroupChannel = require_action.action("SENDBIRD_LIST_MEMBERS_GROUP_CHANNEL", {
44
+ slug: "sendbird-list-members-group-channel",
45
+ name: "List Group Channel Members",
46
+ description: "Tool to list members of a group channel. Use when you need to paginate through members of a specified group channel.",
47
+ input: SendbirdListMembersGroupChannelInput,
48
+ output: SendbirdListMembersGroupChannelOutput
49
+ });
50
+ //#endregion
51
+ exports.sendbirdListMembersGroupChannel = sendbirdListMembersGroupChannel;
52
+
53
+ //# sourceMappingURL=list-members-group-channel.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-members-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-members-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListMembersGroupChannelInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-100)\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"operator_alphabetical\"]).describe(\"Sorting order of members list\").optional(),\n token: z.string().describe(\"Pagination token for fetching the next page\").optional(),\n offset: z.number().int().describe(\"Number of results to skip before returning the set (deprecated; use token instead)\").optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\"),\n operator_filter: z.enum([\"all\", \"operator\", \"nonoperator\"]).describe(\"Filter by operator status\").optional(),\n member_state_filter: z.enum([\"all\", \"joined_only\", \"invited_only\"]).describe(\"Filter by membership state\").optional(),\n muted_member_filter: z.enum([\"all\", \"muted\", \"unmuted\"]).describe(\"Filter by muted status of members\").optional(),\n nickname_startswith: z.string().describe(\"Search members whose nicknames start with this string\").optional(),\n});\nconst SendbirdListMembersGroupChannel_MemberSchema: z.ZodTypeAny = z.object({\n state: z.string().describe(\"Membership state, e.g., joined, invited\"),\n user_id: z.string().describe(\"The user's unique ID\"),\n is_muted: z.boolean().describe(\"If the user is muted in the channel\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the member\").nullable().optional(),\n nickname: z.string().describe(\"The user's nickname\").nullable().optional(),\n is_online: z.boolean().describe(\"Online status of the user\"),\n is_operator: z.boolean().describe(\"Whether the member is an operator\"),\n profile_url: z.string().describe(\"The user's profile image URL\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen\"),\n});\nexport const SendbirdListMembersGroupChannelOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results\").nullable().optional(),\n members: z.array(SendbirdListMembersGroupChannel_MemberSchema).describe(\"List of channel members\"),\n total_count: z.number().int().describe(\"Total number of members (when using filters)\").nullable().optional(),\n});\n\nexport const sendbirdListMembersGroupChannel = action(\"SENDBIRD_LIST_MEMBERS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-members-group-channel\",\n name: \"List Group Channel Members\",\n description: \"Tool to list members of a group channel. Use when you need to paginate through members of a specified group channel.\",\n input: SendbirdListMembersGroupChannelInput,\n output: SendbirdListMembersGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,KAAK,CAAC,yBAAyB,uBAAuB,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACjI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAe;CAAc,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpH,qBAAqBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;CAAS,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAChH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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ny;
5
+ declare const SendbirdListMembersGroupChannelOutput: z.ZodTypeAny;
6
+ declare const sendbirdListMembersGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdListMembersGroupChannel };
9
+ //# sourceMappingURL=list-members-group-channel.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-members-group-channel.d.cts","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAUnD;AAAA,cAYW,qCAAA,EAAuC,CAAA,CAAE,UAIpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-members-group-channel.d.ts
4
+ declare const SendbirdListMembersGroupChannelInput: z.ZodTypeAny;
5
+ declare const SendbirdListMembersGroupChannelOutput: z.ZodTypeAny;
6
+ declare const sendbirdListMembersGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdListMembersGroupChannel };
9
+ //# sourceMappingURL=list-members-group-channel.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-members-group-channel.d.mts","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAUnD;AAAA,cAYW,qCAAA,EAAuC,CAAA,CAAE,UAIpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,52 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-members-group-channel.ts
4
+ const SendbirdListMembersGroupChannelInput = z.object({
5
+ limit: z.number().int().describe("Maximum number of results to return (1-100)").optional(),
6
+ order: z.enum(["nickname_alphabetical", "operator_alphabetical"]).describe("Sorting order of members list").optional(),
7
+ token: z.string().describe("Pagination token for fetching the next page").optional(),
8
+ offset: z.number().int().describe("Number of results to skip before returning the set (deprecated; use token instead)").optional(),
9
+ channel_url: z.string().describe("Unique URL of the group channel"),
10
+ operator_filter: z.enum([
11
+ "all",
12
+ "operator",
13
+ "nonoperator"
14
+ ]).describe("Filter by operator status").optional(),
15
+ member_state_filter: z.enum([
16
+ "all",
17
+ "joined_only",
18
+ "invited_only"
19
+ ]).describe("Filter by membership state").optional(),
20
+ muted_member_filter: z.enum([
21
+ "all",
22
+ "muted",
23
+ "unmuted"
24
+ ]).describe("Filter by muted status of members").optional(),
25
+ nickname_startswith: z.string().describe("Search members whose nicknames start with this string").optional()
26
+ });
27
+ const SendbirdListMembersGroupChannel_MemberSchema = z.object({
28
+ state: z.string().describe("Membership state, e.g., joined, invited"),
29
+ user_id: z.string().describe("The user's unique ID"),
30
+ is_muted: z.boolean().describe("If the user is muted in the channel"),
31
+ metadata: z.record(z.string(), z.unknown()).describe("Custom metadata associated with the member").nullable().optional(),
32
+ nickname: z.string().describe("The user's nickname").nullable().optional(),
33
+ is_online: z.boolean().describe("Online status of the user"),
34
+ is_operator: z.boolean().describe("Whether the member is an operator"),
35
+ profile_url: z.string().describe("The user's profile image URL").nullable().optional(),
36
+ last_seen_at: z.number().int().describe("Timestamp (ms) when the user was last seen")
37
+ });
38
+ const sendbirdListMembersGroupChannel = action("SENDBIRD_LIST_MEMBERS_GROUP_CHANNEL", {
39
+ slug: "sendbird-list-members-group-channel",
40
+ name: "List Group Channel Members",
41
+ description: "Tool to list members of a group channel. Use when you need to paginate through members of a specified group channel.",
42
+ input: SendbirdListMembersGroupChannelInput,
43
+ output: z.object({
44
+ next: z.string().describe("Token for retrieving the next page of results").nullable().optional(),
45
+ members: z.array(SendbirdListMembersGroupChannel_MemberSchema).describe("List of channel members"),
46
+ total_count: z.number().int().describe("Total number of members (when using filters)").nullable().optional()
47
+ })
48
+ });
49
+ //#endregion
50
+ export { sendbirdListMembersGroupChannel };
51
+
52
+ //# sourceMappingURL=list-members-group-channel.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-members-group-channel.mjs","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListMembersGroupChannelInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-100)\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"operator_alphabetical\"]).describe(\"Sorting order of members list\").optional(),\n token: z.string().describe(\"Pagination token for fetching the next page\").optional(),\n offset: z.number().int().describe(\"Number of results to skip before returning the set (deprecated; use token instead)\").optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\"),\n operator_filter: z.enum([\"all\", \"operator\", \"nonoperator\"]).describe(\"Filter by operator status\").optional(),\n member_state_filter: z.enum([\"all\", \"joined_only\", \"invited_only\"]).describe(\"Filter by membership state\").optional(),\n muted_member_filter: z.enum([\"all\", \"muted\", \"unmuted\"]).describe(\"Filter by muted status of members\").optional(),\n nickname_startswith: z.string().describe(\"Search members whose nicknames start with this string\").optional(),\n});\nconst SendbirdListMembersGroupChannel_MemberSchema: z.ZodTypeAny = z.object({\n state: z.string().describe(\"Membership state, e.g., joined, invited\"),\n user_id: z.string().describe(\"The user's unique ID\"),\n is_muted: z.boolean().describe(\"If the user is muted in the channel\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the member\").nullable().optional(),\n nickname: z.string().describe(\"The user's nickname\").nullable().optional(),\n is_online: z.boolean().describe(\"Online status of the user\"),\n is_operator: z.boolean().describe(\"Whether the member is an operator\"),\n profile_url: z.string().describe(\"The user's profile image URL\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen\"),\n});\nexport const SendbirdListMembersGroupChannelOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results\").nullable().optional(),\n members: z.array(SendbirdListMembersGroupChannel_MemberSchema).describe(\"List of channel members\"),\n total_count: z.number().int().describe(\"Total number of members (when using filters)\").nullable().optional(),\n});\n\nexport const sendbirdListMembersGroupChannel = action(\"SENDBIRD_LIST_MEMBERS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-members-group-channel\",\n name: \"List Group Channel Members\",\n description: \"Tool to list members of a group channel. Use when you need to paginate through members of a specified group channel.\",\n input: SendbirdListMembersGroupChannelInput,\n output: SendbirdListMembersGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,KAAK,CAAC,yBAAyB,uBAAuB,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACjI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,iBAAiB,EAAE,KAAK;EAAC;EAAO;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3G,qBAAqB,EAAE,KAAK;EAAC;EAAO;EAAe;CAAc,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpH,qBAAqB,EAAE,KAAK;EAAC;EAAO;EAAS;CAAS,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAChH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACnD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;CACpE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B;CAC3D,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACtF,CAAC;AAOD,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiE,EAAE,OAAO;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAOU;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-operators-custom-channel-type.ts
4
+ const SendbirdListOperatorsCustomChannelTypeInput = zod.z.object({
5
+ limit: zod.z.number().int().describe("Maximum number of operators to return per page (1-100).").optional(),
6
+ token: zod.z.string().describe("Pagination cursor from a previous call; omit for the first request.").optional(),
7
+ custom_type: zod.z.string().describe("Custom channel type to list operators for.")
8
+ }).describe("Request model for listing operators by custom channel type.");
9
+ const SendbirdListOperatorsCustomChannelType_OperatorSchema = zod.z.object({
10
+ user_id: zod.z.string().describe("Unique user ID of the operator."),
11
+ metadata: zod.z.object({}).describe("Custom metadata associated with the operator user.").nullable().optional(),
12
+ nickname: zod.z.string().describe("Operator's display nickname.").nullable().optional(),
13
+ profile_url: zod.z.string().describe("URL of the operator's profile image.").nullable().optional()
14
+ }).describe("Representation of an operator user.");
15
+ const SendbirdListOperatorsCustomChannelTypeOutput = zod.z.object({
16
+ next: zod.z.string().describe("Pagination token for the next set of results; absent if no more pages.").nullable().optional(),
17
+ operators: zod.z.array(SendbirdListOperatorsCustomChannelType_OperatorSchema).describe("List of operator user objects for the custom channel type.")
18
+ }).describe("Response model for listing operators by custom channel type.");
19
+ const sendbirdListOperatorsCustomChannelType = require_action.action("SENDBIRD_LIST_OPERATORS_CUSTOM_CHANNEL_TYPE", {
20
+ slug: "sendbird-list-operators-custom-channel-type",
21
+ name: "List Operators by Custom Channel Type",
22
+ description: "Tool to list operators of a channel by custom channel type. Use when you need to fetch operators for a specific custom channel type with pagination.",
23
+ input: SendbirdListOperatorsCustomChannelTypeInput,
24
+ output: SendbirdListOperatorsCustomChannelTypeOutput
25
+ });
26
+ //#endregion
27
+ exports.sendbirdListOperatorsCustomChannelType = sendbirdListOperatorsCustomChannelType;
28
+
29
+ //# sourceMappingURL=list-operators-custom-channel-type.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-custom-channel-type.cjs","names":["z","action"],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsCustomChannelTypeInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous call; omit for the first request.\").optional(),\n custom_type: z.string().describe(\"Custom channel type to list operators for.\"),\n}).describe(\"Request model for listing operators by custom channel type.\");\nconst SendbirdListOperatorsCustomChannelType_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\"),\n metadata: z.object({}).describe(\"Custom metadata associated with the operator user.\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).describe(\"Representation of an operator user.\");\nexport const SendbirdListOperatorsCustomChannelTypeOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects for the custom channel type.\"),\n}).describe(\"Response model for listing operators by custom channel type.\");\n\nexport const sendbirdListOperatorsCustomChannelType = action(\"SENDBIRD_LIST_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-list-operators-custom-channel-type\",\n name: \"List Operators by Custom Channel Type\",\n description: \"Tool to list operators of a channel by custom channel type. Use when you need to fetch operators for a specific custom channel type with pagination.\",\n input: SendbirdListOperatorsCustomChannelTypeInput,\n output: SendbirdListOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,4DAA4D;AACjJ,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,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/list-operators-custom-channel-type.d.ts
4
+ declare const SendbirdListOperatorsCustomChannelTypeInput: z.ZodTypeAny;
5
+ declare const SendbirdListOperatorsCustomChannelTypeOutput: z.ZodTypeAny;
6
+ declare const sendbirdListOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdListOperatorsCustomChannelType };
9
+ //# sourceMappingURL=list-operators-custom-channel-type.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAIc;AAAA,cAO7D,4CAAA,EAA8C,CAAA,CAAE,UAGc;AAAA,cAE9D,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-operators-custom-channel-type.d.ts
4
+ declare const SendbirdListOperatorsCustomChannelTypeInput: z.ZodTypeAny;
5
+ declare const SendbirdListOperatorsCustomChannelTypeOutput: z.ZodTypeAny;
6
+ declare const sendbirdListOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdListOperatorsCustomChannelType };
9
+ //# sourceMappingURL=list-operators-custom-channel-type.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAIc;AAAA,cAO7D,4CAAA,EAA8C,CAAA,CAAE,UAGc;AAAA,cAE9D,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-operators-custom-channel-type.ts
4
+ const SendbirdListOperatorsCustomChannelTypeInput = z.object({
5
+ limit: z.number().int().describe("Maximum number of operators to return per page (1-100).").optional(),
6
+ token: z.string().describe("Pagination cursor from a previous call; omit for the first request.").optional(),
7
+ custom_type: z.string().describe("Custom channel type to list operators for.")
8
+ }).describe("Request model for listing operators by custom channel type.");
9
+ const SendbirdListOperatorsCustomChannelType_OperatorSchema = z.object({
10
+ user_id: z.string().describe("Unique user ID of the operator."),
11
+ metadata: z.object({}).describe("Custom metadata associated with the operator user.").nullable().optional(),
12
+ nickname: z.string().describe("Operator's display nickname.").nullable().optional(),
13
+ profile_url: z.string().describe("URL of the operator's profile image.").nullable().optional()
14
+ }).describe("Representation of an operator user.");
15
+ const sendbirdListOperatorsCustomChannelType = action("SENDBIRD_LIST_OPERATORS_CUSTOM_CHANNEL_TYPE", {
16
+ slug: "sendbird-list-operators-custom-channel-type",
17
+ name: "List Operators by Custom Channel Type",
18
+ description: "Tool to list operators of a channel by custom channel type. Use when you need to fetch operators for a specific custom channel type with pagination.",
19
+ input: SendbirdListOperatorsCustomChannelTypeInput,
20
+ output: z.object({
21
+ next: z.string().describe("Pagination token for the next set of results; absent if no more pages.").nullable().optional(),
22
+ operators: z.array(SendbirdListOperatorsCustomChannelType_OperatorSchema).describe("List of operator user objects for the custom channel type.")
23
+ }).describe("Response model for listing operators by custom channel type.")
24
+ });
25
+ //#endregion
26
+ export { sendbirdListOperatorsCustomChannelType };
27
+
28
+ //# sourceMappingURL=list-operators-custom-channel-type.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-custom-channel-type.mjs","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsCustomChannelTypeInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous call; omit for the first request.\").optional(),\n custom_type: z.string().describe(\"Custom channel type to list operators for.\"),\n}).describe(\"Request model for listing operators by custom channel type.\");\nconst SendbirdListOperatorsCustomChannelType_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\"),\n metadata: z.object({}).describe(\"Custom metadata associated with the operator user.\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).describe(\"Representation of an operator user.\");\nexport const SendbirdListOperatorsCustomChannelTypeOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects for the custom channel type.\"),\n}).describe(\"Response model for listing operators by custom channel type.\");\n\nexport const sendbirdListOperatorsCustomChannelType = action(\"SENDBIRD_LIST_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-list-operators-custom-channel-type\",\n name: \"List Operators by Custom Channel Type\",\n description: \"Tool to list operators of a channel by custom channel type. Use when you need to fetch operators for a specific custom channel type with pagination.\",\n input: SendbirdListOperatorsCustomChannelTypeInput,\n output: SendbirdListOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4D,EAAE,OAAO;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,wDAAsE,EAAE,OAAO;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAMjD,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwE,EAAE,OAAO;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,4DAA4D;CACjJ,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-operators-group-channel.ts
4
+ const SendbirdListOperatorsGroupChannelInput = zod.z.object({
5
+ limit: zod.z.number().int().describe("Number of operators to return per page (1-100). Default is 10.").optional(),
6
+ token: zod.z.string().describe("Pagination token from previous response; omit for first page").optional(),
7
+ channel_url: zod.z.string().describe("URL of the group channel to retrieve operators from")
8
+ });
9
+ const SendbirdListOperatorsGroupChannel_OperatorSchema = zod.z.object({
10
+ user_id: zod.z.string().describe("Unique user ID of the operator"),
11
+ nickname: zod.z.string().describe("Nickname of the operator").nullable().optional(),
12
+ profile_url: zod.z.string().describe("Profile image URL of the operator").nullable().optional()
13
+ });
14
+ const SendbirdListOperatorsGroupChannelOutput = zod.z.object({
15
+ next: zod.z.string().describe("Token for fetching the next page of results").nullable().optional(),
16
+ operators: zod.z.array(SendbirdListOperatorsGroupChannel_OperatorSchema).describe("List of operator user objects")
17
+ });
18
+ const sendbirdListOperatorsGroupChannel = require_action.action("SENDBIRD_LIST_OPERATORS_GROUP_CHANNEL", {
19
+ slug: "sendbird-list-operators-group-channel",
20
+ name: "List Group Channel Operators",
21
+ description: "Tool to list operators of a group channel. Use after specifying the channel_url when needing to paginate through operators.",
22
+ input: SendbirdListOperatorsGroupChannelInput,
23
+ output: SendbirdListOperatorsGroupChannelOutput
24
+ });
25
+ //#endregion
26
+ exports.sendbirdListOperatorsGroupChannel = sendbirdListOperatorsGroupChannel;
27
+
28
+ //# sourceMappingURL=list-operators-group-channel.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-operators-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsGroupChannelInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of operators to return per page (1-100). Default is 10.\").optional(),\n token: z.string().describe(\"Pagination token from previous response; omit for first page\").optional(),\n channel_url: z.string().describe(\"URL of the group channel to retrieve operators from\"),\n});\nconst SendbirdListOperatorsGroupChannel_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator\"),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n});\nexport const SendbirdListOperatorsGroupChannelOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Token for fetching the next page of results\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsGroupChannel_OperatorSchema).describe(\"List of operator user objects\"),\n});\n\nexport const sendbirdListOperatorsGroupChannel = action(\"SENDBIRD_LIST_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-operators-group-channel\",\n name: \"List Group Channel Operators\",\n description: \"Tool to list operators of a group channel. Use after specifying the channel_url when needing to paginate through operators.\",\n input: SendbirdListOperatorsGroupChannelInput,\n output: SendbirdListOperatorsGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACxF,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AACD,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+BAA+B;AAC/G,CAAC;AAED,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,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/list-operators-group-channel.d.ts
4
+ declare const SendbirdListOperatorsGroupChannelInput: z.ZodTypeAny;
5
+ declare const SendbirdListOperatorsGroupChannelOutput: z.ZodTypeAny;
6
+ declare const sendbirdListOperatorsGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdListOperatorsGroupChannel };
9
+ //# sourceMappingURL=list-operators-group-channel.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-group-channel.d.cts","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAIrD;AAAA,cAMW,uCAAA,EAAyC,CAAA,CAAE,UAGtD;AAAA,cAEW,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-operators-group-channel.d.ts
4
+ declare const SendbirdListOperatorsGroupChannelInput: z.ZodTypeAny;
5
+ declare const SendbirdListOperatorsGroupChannelOutput: z.ZodTypeAny;
6
+ declare const sendbirdListOperatorsGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdListOperatorsGroupChannel };
9
+ //# sourceMappingURL=list-operators-group-channel.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-group-channel.d.mts","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAIrD;AAAA,cAMW,uCAAA,EAAyC,CAAA,CAAE,UAGtD;AAAA,cAEW,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-operators-group-channel.ts
4
+ const SendbirdListOperatorsGroupChannelInput = z.object({
5
+ limit: z.number().int().describe("Number of operators to return per page (1-100). Default is 10.").optional(),
6
+ token: z.string().describe("Pagination token from previous response; omit for first page").optional(),
7
+ channel_url: z.string().describe("URL of the group channel to retrieve operators from")
8
+ });
9
+ const SendbirdListOperatorsGroupChannel_OperatorSchema = z.object({
10
+ user_id: z.string().describe("Unique user ID of the operator"),
11
+ nickname: z.string().describe("Nickname of the operator").nullable().optional(),
12
+ profile_url: z.string().describe("Profile image URL of the operator").nullable().optional()
13
+ });
14
+ const sendbirdListOperatorsGroupChannel = action("SENDBIRD_LIST_OPERATORS_GROUP_CHANNEL", {
15
+ slug: "sendbird-list-operators-group-channel",
16
+ name: "List Group Channel Operators",
17
+ description: "Tool to list operators of a group channel. Use after specifying the channel_url when needing to paginate through operators.",
18
+ input: SendbirdListOperatorsGroupChannelInput,
19
+ output: z.object({
20
+ next: z.string().describe("Token for fetching the next page of results").nullable().optional(),
21
+ operators: z.array(SendbirdListOperatorsGroupChannel_OperatorSchema).describe("List of operator user objects")
22
+ })
23
+ });
24
+ //#endregion
25
+ export { sendbirdListOperatorsGroupChannel };
26
+
27
+ //# sourceMappingURL=list-operators-group-channel.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-group-channel.mjs","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsGroupChannelInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of operators to return per page (1-100). Default is 10.\").optional(),\n token: z.string().describe(\"Pagination token from previous response; omit for first page\").optional(),\n channel_url: z.string().describe(\"URL of the group channel to retrieve operators from\"),\n});\nconst SendbirdListOperatorsGroupChannel_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator\"),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n});\nexport const SendbirdListOperatorsGroupChannelOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Token for fetching the next page of results\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsGroupChannel_OperatorSchema).describe(\"List of operator user objects\"),\n});\n\nexport const sendbirdListOperatorsGroupChannel = action(\"SENDBIRD_LIST_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-operators-group-channel\",\n name: \"List Group Channel Operators\",\n description: \"Tool to list operators of a group channel. Use after specifying the channel_url when needing to paginate through operators.\",\n input: SendbirdListOperatorsGroupChannelInput,\n output: SendbirdListOperatorsGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACxF,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AAMD,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmE,EAAE,OAAO;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+BAA+B;CAC/G,CAOU;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-operators-open-channel.ts
4
+ const SendbirdListOperatorsOpenChannelInput = zod.z.object({
5
+ limit: zod.z.number().int().describe("Maximum number of operators to return per page (1-100).").optional(),
6
+ token: zod.z.string().describe("Pagination cursor from a previous response; omit for the first request.").optional(),
7
+ channel_url: zod.z.string().describe("URL-encoded unique identifier of the open channel to list operators for.")
8
+ }).describe("Request model for listing operators of an open channel.");
9
+ const SendbirdListOperatorsOpenChannel_OperatorSchema = zod.z.object({
10
+ user_id: zod.z.string().describe("Unique user ID of the operator."),
11
+ metadata: zod.z.object({}).describe("Custom metadata associated with the operator user (key-value pairs as strings).").nullable().optional(),
12
+ nickname: zod.z.string().describe("Operator's display nickname.").nullable().optional(),
13
+ profile_url: zod.z.string().describe("URL of the operator's profile image.").nullable().optional()
14
+ }).describe("Representation of an operator in an open channel.");
15
+ const SendbirdListOperatorsOpenChannelOutput = zod.z.object({
16
+ next: zod.z.string().describe("Pagination token for the next set of results; absent if no more pages.").nullable().optional(),
17
+ operators: zod.z.array(SendbirdListOperatorsOpenChannel_OperatorSchema).describe("List of operator user objects for the open channel.")
18
+ }).describe("Response model for listing operators of an open channel.");
19
+ const sendbirdListOperatorsOpenChannel = require_action.action("SENDBIRD_LIST_OPERATORS_OPEN_CHANNEL", {
20
+ slug: "sendbird-list-operators-open-channel",
21
+ name: "List Open Channel Operators",
22
+ description: "Tool to list operators of an open channel. Use when you have the open channel URL and need to fetch its operators. Supports pagination via token and limit.",
23
+ input: SendbirdListOperatorsOpenChannelInput,
24
+ output: SendbirdListOperatorsOpenChannelOutput
25
+ });
26
+ //#endregion
27
+ exports.sendbirdListOperatorsOpenChannel = sendbirdListOperatorsOpenChannel;
28
+
29
+ //# sourceMappingURL=list-operators-open-channel.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-open-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-operators-open-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsOpenChannelInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous response; omit for the first request.\").optional(),\n channel_url: z.string().describe(\"URL-encoded unique identifier of the open channel to list operators for.\"),\n}).describe(\"Request model for listing operators of an open channel.\");\nconst SendbirdListOperatorsOpenChannel_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\"),\n metadata: z.object({}).describe(\"Custom metadata associated with the operator user (key-value pairs as strings).\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).describe(\"Representation of an operator in an open channel.\");\nexport const SendbirdListOperatorsOpenChannelOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsOpenChannel_OperatorSchema).describe(\"List of operator user objects for the open channel.\"),\n}).describe(\"Response model for listing operators of an open channel.\");\n\nexport const sendbirdListOperatorsOpenChannel = action(\"SENDBIRD_LIST_OPERATORS_OPEN_CHANNEL\", {\n slug: \"sendbird-list-operators-open-channel\",\n name: \"List Open Channel Operators\",\n description: \"Tool to list operators of an open channel. Use when you have the open channel URL and need to fetch its operators. Supports pagination via token and limit.\",\n input: SendbirdListOperatorsOpenChannelInput,\n output: SendbirdListOperatorsOpenChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC7G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;AACpI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-operators-open-channel.d.ts
4
+ declare const SendbirdListOperatorsOpenChannelInput: z.ZodTypeAny;
5
+ declare const SendbirdListOperatorsOpenChannelOutput: z.ZodTypeAny;
6
+ declare const sendbirdListOperatorsOpenChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdListOperatorsOpenChannel };
9
+ //# sourceMappingURL=list-operators-open-channel.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-open-channel.d.cts","names":[],"sources":["../../src/actions/list-operators-open-channel.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAIgB;AAAA,cAOzD,sCAAA,EAAwC,CAAA,CAAE,UAGgB;AAAA,cAE1D,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-operators-open-channel.d.ts
4
+ declare const SendbirdListOperatorsOpenChannelInput: z.ZodTypeAny;
5
+ declare const SendbirdListOperatorsOpenChannelOutput: z.ZodTypeAny;
6
+ declare const sendbirdListOperatorsOpenChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendbirdListOperatorsOpenChannel };
9
+ //# sourceMappingURL=list-operators-open-channel.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-open-channel.d.mts","names":[],"sources":["../../src/actions/list-operators-open-channel.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAIgB;AAAA,cAOzD,sCAAA,EAAwC,CAAA,CAAE,UAGgB;AAAA,cAE1D,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-operators-open-channel.ts
4
+ const SendbirdListOperatorsOpenChannelInput = z.object({
5
+ limit: z.number().int().describe("Maximum number of operators to return per page (1-100).").optional(),
6
+ token: z.string().describe("Pagination cursor from a previous response; omit for the first request.").optional(),
7
+ channel_url: z.string().describe("URL-encoded unique identifier of the open channel to list operators for.")
8
+ }).describe("Request model for listing operators of an open channel.");
9
+ const SendbirdListOperatorsOpenChannel_OperatorSchema = z.object({
10
+ user_id: z.string().describe("Unique user ID of the operator."),
11
+ metadata: z.object({}).describe("Custom metadata associated with the operator user (key-value pairs as strings).").nullable().optional(),
12
+ nickname: z.string().describe("Operator's display nickname.").nullable().optional(),
13
+ profile_url: z.string().describe("URL of the operator's profile image.").nullable().optional()
14
+ }).describe("Representation of an operator in an open channel.");
15
+ const sendbirdListOperatorsOpenChannel = action("SENDBIRD_LIST_OPERATORS_OPEN_CHANNEL", {
16
+ slug: "sendbird-list-operators-open-channel",
17
+ name: "List Open Channel Operators",
18
+ description: "Tool to list operators of an open channel. Use when you have the open channel URL and need to fetch its operators. Supports pagination via token and limit.",
19
+ input: SendbirdListOperatorsOpenChannelInput,
20
+ output: z.object({
21
+ next: z.string().describe("Pagination token for the next set of results; absent if no more pages.").nullable().optional(),
22
+ operators: z.array(SendbirdListOperatorsOpenChannel_OperatorSchema).describe("List of operator user objects for the open channel.")
23
+ }).describe("Response model for listing operators of an open channel.")
24
+ });
25
+ //#endregion
26
+ export { sendbirdListOperatorsOpenChannel };
27
+
28
+ //# sourceMappingURL=list-operators-open-channel.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-operators-open-channel.mjs","names":[],"sources":["../../src/actions/list-operators-open-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsOpenChannelInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous response; omit for the first request.\").optional(),\n channel_url: z.string().describe(\"URL-encoded unique identifier of the open channel to list operators for.\"),\n}).describe(\"Request model for listing operators of an open channel.\");\nconst SendbirdListOperatorsOpenChannel_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\"),\n metadata: z.object({}).describe(\"Custom metadata associated with the operator user (key-value pairs as strings).\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).describe(\"Representation of an operator in an open channel.\");\nexport const SendbirdListOperatorsOpenChannelOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsOpenChannel_OperatorSchema).describe(\"List of operator user objects for the open channel.\"),\n}).describe(\"Response model for listing operators of an open channel.\");\n\nexport const sendbirdListOperatorsOpenChannel = action(\"SENDBIRD_LIST_OPERATORS_OPEN_CHANNEL\", {\n slug: \"sendbird-list-operators-open-channel\",\n name: \"List Open Channel Operators\",\n description: \"Tool to list operators of an open channel. Use when you have the open channel URL and need to fetch its operators. Supports pagination via token and limit.\",\n input: SendbirdListOperatorsOpenChannelInput,\n output: SendbirdListOperatorsOpenChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC7G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAgE,EAAE,OAAO;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAM/D,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkE,EAAE,OAAO;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;CACpI,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -0,0 +1,50 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-users.ts
4
+ const SendbirdListUsersInput = zod.z.object({
5
+ limit: zod.z.number().int().describe("Maximum number of users to return per page (1-100). Defaults to 10 if not specified.").optional(),
6
+ order: zod.z.enum([
7
+ "nickname_alphabetical",
8
+ "created_at",
9
+ "user_id_alphabetical"
10
+ ]).describe("Sort order for results. Options: 'nickname_alphabetical' (A-Z by nickname), 'created_at' (newest first), 'user_id_alphabetical' (A-Z by user ID).").optional(),
11
+ token: zod.z.string().describe("Pagination token from the 'next' field of a previous response. Omit for the first page.").optional(),
12
+ nickname: zod.z.string().describe("Filter users by exact nickname match (case-insensitive).").optional(),
13
+ user_ids: zod.z.array(zod.z.string()).describe("Filter to only return specific users by their IDs. Provide as a list of user ID strings.").optional(),
14
+ is_active: zod.z.boolean().describe("Filter by account status. Set to true for active users, false for deactivated users.").optional(),
15
+ custom_type: zod.z.string().describe("Filter users by their custom type classification.").optional(),
16
+ metatag_key: zod.z.string().describe("Filter users who have this metadata key set. Use with metatag_values for key-value filtering.").optional(),
17
+ metatag_values: zod.z.array(zod.z.string()).describe("Filter users by metadata values for the specified metatag_key. Requires metatag_key to be set.").optional(),
18
+ nickname_contains: zod.z.string().describe("Filter users whose nickname contains this substring (case-insensitive partial match).").optional(),
19
+ has_ever_logged_in: zod.z.boolean().describe("Filter by login history. Set to true for users who have logged in, false for never logged in.").optional()
20
+ }).describe("Request parameters for listing Sendbird users with filtering and pagination options.");
21
+ const SendbirdListUsers_SendbirdUserSchema = zod.z.object({
22
+ user_id: zod.z.string().describe("Unique identifier for the user in Sendbird."),
23
+ metadata: zod.z.object({}).describe("Custom key-value metadata associated with the user.").nullable().optional(),
24
+ nickname: zod.z.string().describe("Display name of the user.").nullable().optional(),
25
+ is_active: zod.z.boolean().describe("Whether the user account is active (not deactivated).").nullable().optional(),
26
+ issued_at: zod.z.number().int().describe("Unix timestamp in milliseconds when the user was created.").nullable().optional(),
27
+ custom_type: zod.z.string().describe("Custom type string for categorizing users.").nullable().optional(),
28
+ profile_url: zod.z.string().describe("URL of the user's profile image.").nullable().optional(),
29
+ last_seen_at: zod.z.number().int().describe("Unix timestamp in milliseconds when user was last online.").nullable().optional(),
30
+ last_update_at: zod.z.number().int().describe("Unix timestamp in milliseconds of the last profile update.").nullable().optional(),
31
+ connection_status: zod.z.string().describe("Current connection status: 'online' or 'offline'.").nullable().optional(),
32
+ favorite_topic_ids: zod.z.array(zod.z.string()).describe("List of topic IDs the user has marked as favorites.").nullable().optional(),
33
+ require_auth_for_profile_image: zod.z.boolean().describe("If true, profile image URL requires authentication to access.").nullable().optional()
34
+ }).describe("Represents a Sendbird user with profile and status information.");
35
+ const SendbirdListUsersOutput = zod.z.object({
36
+ next: zod.z.string().describe("Pagination token to fetch the next page. Pass this as 'token' in the next request. Null if no more pages.").nullable().optional(),
37
+ users: zod.z.array(SendbirdListUsers_SendbirdUserSchema).describe("Array of user objects matching the query criteria."),
38
+ total_count: zod.z.number().int().describe("Total number of users matching the filters. Only returned on the first page of results.").nullable().optional()
39
+ }).describe("Response containing a paginated list of Sendbird users.");
40
+ const sendbirdListUsers = require_action.action("SENDBIRD_LIST_USERS", {
41
+ slug: "sendbird-list-users",
42
+ name: "List Sendbird Users",
43
+ description: "Retrieves a paginated list of users from your Sendbird application. Use this tool to: - Browse all users in your application - Search for users by nickname or user IDs - Filter users by metadata, custom type, or activity status - Paginate through large user lists using the 'next' token Returns user details including profile info, connection status, and metadata. Results are paginated; use the 'next' token from the response to fetch additional pages.",
44
+ input: SendbirdListUsersInput,
45
+ output: SendbirdListUsersOutput
46
+ });
47
+ //#endregion
48
+ exports.sendbirdListUsers = sendbirdListUsers;
49
+
50
+ //# sourceMappingURL=list-users.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListUsersInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of users to return per page (1-100). Defaults to 10 if not specified.\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"created_at\", \"user_id_alphabetical\"]).describe(\"Sort order for results. Options: 'nickname_alphabetical' (A-Z by nickname), 'created_at' (newest first), 'user_id_alphabetical' (A-Z by user ID).\").optional(),\n token: z.string().describe(\"Pagination token from the 'next' field of a previous response. Omit for the first page.\").optional(),\n nickname: z.string().describe(\"Filter users by exact nickname match (case-insensitive).\").optional(),\n user_ids: z.array(z.string()).describe(\"Filter to only return specific users by their IDs. Provide as a list of user ID strings.\").optional(),\n is_active: z.boolean().describe(\"Filter by account status. Set to true for active users, false for deactivated users.\").optional(),\n custom_type: z.string().describe(\"Filter users by their custom type classification.\").optional(),\n metatag_key: z.string().describe(\"Filter users who have this metadata key set. Use with metatag_values for key-value filtering.\").optional(),\n metatag_values: z.array(z.string()).describe(\"Filter users by metadata values for the specified metatag_key. Requires metatag_key to be set.\").optional(),\n nickname_contains: z.string().describe(\"Filter users whose nickname contains this substring (case-insensitive partial match).\").optional(),\n has_ever_logged_in: z.boolean().describe(\"Filter by login history. Set to true for users who have logged in, false for never logged in.\").optional(),\n}).describe(\"Request parameters for listing Sendbird users with filtering and pagination options.\");\nconst SendbirdListUsers_SendbirdUserSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique identifier for the user in Sendbird.\"),\n metadata: z.object({}).describe(\"Custom key-value metadata associated with the user.\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active (not deactivated).\").nullable().optional(),\n issued_at: z.number().int().describe(\"Unix timestamp in milliseconds when the user was created.\").nullable().optional(),\n custom_type: z.string().describe(\"Custom type string for categorizing users.\").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(\"Unix timestamp in milliseconds when user was last online.\").nullable().optional(),\n last_update_at: z.number().int().describe(\"Unix timestamp in milliseconds of the last profile update.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status: 'online' or 'offline'.\").nullable().optional(),\n favorite_topic_ids: z.array(z.string()).describe(\"List of topic IDs the user has marked as favorites.\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"If true, profile image URL requires authentication to access.\").nullable().optional(),\n}).describe(\"Represents a Sendbird user with profile and status information.\");\nexport const SendbirdListUsersOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token to fetch the next page. Pass this as 'token' in the next request. Null if no more pages.\").nullable().optional(),\n users: z.array(SendbirdListUsers_SendbirdUserSchema).describe(\"Array of user objects matching the query criteria.\"),\n total_count: z.number().int().describe(\"Total number of users matching the filters. Only returned on the first page of results.\").nullable().optional(),\n}).describe(\"Response containing a paginated list of Sendbird users.\");\n\nexport const sendbirdListUsers = action(\"SENDBIRD_LIST_USERS\", {\n slug: \"sendbird-list-users\",\n name: \"List Sendbird Users\",\n description: \"Retrieves a paginated list of users from your Sendbird application. Use this tool to: - Browse all users in your application - Search for users by nickname or user IDs - Filter users by metadata, custom type, or activity status - Paginate through large user lists using the 'next' token Returns user details including profile info, connection status, and metadata. Results are paginated; use the 'next' token from the response to fetch additional pages.\",\n input: SendbirdListUsersInput,\n output: SendbirdListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAyB;EAAc;CAAsB,CAAC,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CACtP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAA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