@keystrokehq/sendbird 0.1.4 → 0.1.6

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 (309) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-members-group-channel.cjs +1 -0
  4. package/dist/actions/add-members-group-channel.cjs.map +1 -1
  5. package/dist/actions/add-members-group-channel.d.cts +3 -6
  6. package/dist/actions/add-members-group-channel.d.cts.map +1 -1
  7. package/dist/actions/add-members-group-channel.d.mts +3 -6
  8. package/dist/actions/add-members-group-channel.d.mts.map +1 -1
  9. package/dist/actions/add-members-group-channel.mjs +1 -0
  10. package/dist/actions/add-members-group-channel.mjs.map +1 -1
  11. package/dist/actions/ban-user-from-group-channel.cjs +1 -0
  12. package/dist/actions/ban-user-from-group-channel.cjs.map +1 -1
  13. package/dist/actions/ban-user-from-group-channel.d.cts +3 -7
  14. package/dist/actions/ban-user-from-group-channel.d.cts.map +1 -1
  15. package/dist/actions/ban-user-from-group-channel.d.mts +3 -7
  16. package/dist/actions/ban-user-from-group-channel.d.mts.map +1 -1
  17. package/dist/actions/ban-user-from-group-channel.mjs +1 -0
  18. package/dist/actions/ban-user-from-group-channel.mjs.map +1 -1
  19. package/dist/actions/create-channel.cjs +1 -0
  20. package/dist/actions/create-channel.cjs.map +1 -1
  21. package/dist/actions/create-channel.d.cts +3 -20
  22. package/dist/actions/create-channel.d.cts.map +1 -1
  23. package/dist/actions/create-channel.d.mts +3 -20
  24. package/dist/actions/create-channel.d.mts.map +1 -1
  25. package/dist/actions/create-channel.mjs +1 -0
  26. package/dist/actions/create-channel.mjs.map +1 -1
  27. package/dist/actions/create-user.cjs +1 -0
  28. package/dist/actions/create-user.cjs.map +1 -1
  29. package/dist/actions/create-user.d.cts +3 -13
  30. package/dist/actions/create-user.d.cts.map +1 -1
  31. package/dist/actions/create-user.d.mts +3 -13
  32. package/dist/actions/create-user.d.mts.map +1 -1
  33. package/dist/actions/create-user.mjs +1 -0
  34. package/dist/actions/create-user.mjs.map +1 -1
  35. package/dist/actions/delete-channel.cjs +1 -0
  36. package/dist/actions/delete-channel.cjs.map +1 -1
  37. package/dist/actions/delete-channel.d.cts +3 -3
  38. package/dist/actions/delete-channel.d.cts.map +1 -1
  39. package/dist/actions/delete-channel.d.mts +3 -3
  40. package/dist/actions/delete-channel.d.mts.map +1 -1
  41. package/dist/actions/delete-channel.mjs +1 -0
  42. package/dist/actions/delete-channel.mjs.map +1 -1
  43. package/dist/actions/delete-message.cjs +1 -0
  44. package/dist/actions/delete-message.cjs.map +1 -1
  45. package/dist/actions/delete-message.d.cts +3 -4
  46. package/dist/actions/delete-message.d.cts.map +1 -1
  47. package/dist/actions/delete-message.d.mts +3 -4
  48. package/dist/actions/delete-message.d.mts.map +1 -1
  49. package/dist/actions/delete-message.mjs +1 -0
  50. package/dist/actions/delete-message.mjs.map +1 -1
  51. package/dist/actions/delete-user.cjs +1 -0
  52. package/dist/actions/delete-user.cjs.map +1 -1
  53. package/dist/actions/delete-user.d.cts +3 -4
  54. package/dist/actions/delete-user.d.cts.map +1 -1
  55. package/dist/actions/delete-user.d.mts +3 -4
  56. package/dist/actions/delete-user.d.mts.map +1 -1
  57. package/dist/actions/delete-user.mjs +1 -0
  58. package/dist/actions/delete-user.mjs.map +1 -1
  59. package/dist/actions/get-count-preference-of-channel.cjs +1 -0
  60. package/dist/actions/get-count-preference-of-channel.cjs.map +1 -1
  61. package/dist/actions/get-count-preference-of-channel.d.cts +4 -5
  62. package/dist/actions/get-count-preference-of-channel.d.cts.map +1 -1
  63. package/dist/actions/get-count-preference-of-channel.d.mts +4 -5
  64. package/dist/actions/get-count-preference-of-channel.d.mts.map +1 -1
  65. package/dist/actions/get-count-preference-of-channel.mjs +1 -0
  66. package/dist/actions/get-count-preference-of-channel.mjs.map +1 -1
  67. package/dist/actions/get-number-of-channels-by-join-status.cjs +1 -0
  68. package/dist/actions/get-number-of-channels-by-join-status.cjs.map +1 -1
  69. package/dist/actions/get-number-of-channels-by-join-status.d.cts +3 -7
  70. package/dist/actions/get-number-of-channels-by-join-status.d.cts.map +1 -1
  71. package/dist/actions/get-number-of-channels-by-join-status.d.mts +3 -7
  72. package/dist/actions/get-number-of-channels-by-join-status.d.mts.map +1 -1
  73. package/dist/actions/get-number-of-channels-by-join-status.mjs +1 -0
  74. package/dist/actions/get-number-of-channels-by-join-status.mjs.map +1 -1
  75. package/dist/actions/get-number-of-unread-items.cjs +1 -0
  76. package/dist/actions/get-number-of-unread-items.cjs.map +1 -1
  77. package/dist/actions/get-number-of-unread-items.d.cts +3 -5
  78. package/dist/actions/get-number-of-unread-items.d.cts.map +1 -1
  79. package/dist/actions/get-number-of-unread-items.d.mts +3 -5
  80. package/dist/actions/get-number-of-unread-items.d.mts.map +1 -1
  81. package/dist/actions/get-number-of-unread-items.mjs +1 -0
  82. package/dist/actions/get-number-of-unread-items.mjs.map +1 -1
  83. package/dist/actions/issue-session-token.cjs +1 -0
  84. package/dist/actions/issue-session-token.cjs.map +1 -1
  85. package/dist/actions/issue-session-token.d.cts +3 -4
  86. package/dist/actions/issue-session-token.d.cts.map +1 -1
  87. package/dist/actions/issue-session-token.d.mts +3 -4
  88. package/dist/actions/issue-session-token.d.mts.map +1 -1
  89. package/dist/actions/issue-session-token.mjs +1 -0
  90. package/dist/actions/issue-session-token.mjs.map +1 -1
  91. package/dist/actions/leave-group-channels.cjs +1 -0
  92. package/dist/actions/leave-group-channels.cjs.map +1 -1
  93. package/dist/actions/leave-group-channels.d.cts +3 -6
  94. package/dist/actions/leave-group-channels.d.cts.map +1 -1
  95. package/dist/actions/leave-group-channels.d.mts +3 -6
  96. package/dist/actions/leave-group-channels.d.mts.map +1 -1
  97. package/dist/actions/leave-group-channels.mjs +1 -0
  98. package/dist/actions/leave-group-channels.mjs.map +1 -1
  99. package/dist/actions/list-banned-members.cjs +1 -0
  100. package/dist/actions/list-banned-members.cjs.map +1 -1
  101. package/dist/actions/list-banned-members.d.cts +3 -5
  102. package/dist/actions/list-banned-members.d.cts.map +1 -1
  103. package/dist/actions/list-banned-members.d.mts +3 -5
  104. package/dist/actions/list-banned-members.d.mts.map +1 -1
  105. package/dist/actions/list-banned-members.mjs +1 -0
  106. package/dist/actions/list-banned-members.mjs.map +1 -1
  107. package/dist/actions/list-group-channel-messages.cjs +1 -0
  108. package/dist/actions/list-group-channel-messages.cjs.map +1 -1
  109. package/dist/actions/list-group-channel-messages.d.cts +3 -21
  110. package/dist/actions/list-group-channel-messages.d.cts.map +1 -1
  111. package/dist/actions/list-group-channel-messages.d.mts +3 -21
  112. package/dist/actions/list-group-channel-messages.d.mts.map +1 -1
  113. package/dist/actions/list-group-channel-messages.mjs +1 -0
  114. package/dist/actions/list-group-channel-messages.mjs.map +1 -1
  115. package/dist/actions/list-group-channels.cjs +1 -0
  116. package/dist/actions/list-group-channels.cjs.map +1 -1
  117. package/dist/actions/list-group-channels.d.cts +3 -23
  118. package/dist/actions/list-group-channels.d.cts.map +1 -1
  119. package/dist/actions/list-group-channels.d.mts +3 -23
  120. package/dist/actions/list-group-channels.d.mts.map +1 -1
  121. package/dist/actions/list-group-channels.mjs +1 -0
  122. package/dist/actions/list-group-channels.mjs.map +1 -1
  123. package/dist/actions/list-members-group-channel.cjs +1 -0
  124. package/dist/actions/list-members-group-channel.cjs.map +1 -1
  125. package/dist/actions/list-members-group-channel.d.cts +3 -11
  126. package/dist/actions/list-members-group-channel.d.cts.map +1 -1
  127. package/dist/actions/list-members-group-channel.d.mts +3 -11
  128. package/dist/actions/list-members-group-channel.d.mts.map +1 -1
  129. package/dist/actions/list-members-group-channel.mjs +1 -0
  130. package/dist/actions/list-members-group-channel.mjs.map +1 -1
  131. package/dist/actions/list-operators-custom-channel-type.cjs +1 -0
  132. package/dist/actions/list-operators-custom-channel-type.cjs.map +1 -1
  133. package/dist/actions/list-operators-custom-channel-type.d.cts +3 -5
  134. package/dist/actions/list-operators-custom-channel-type.d.cts.map +1 -1
  135. package/dist/actions/list-operators-custom-channel-type.d.mts +3 -5
  136. package/dist/actions/list-operators-custom-channel-type.d.mts.map +1 -1
  137. package/dist/actions/list-operators-custom-channel-type.mjs +1 -0
  138. package/dist/actions/list-operators-custom-channel-type.mjs.map +1 -1
  139. package/dist/actions/list-operators-group-channel.cjs +1 -0
  140. package/dist/actions/list-operators-group-channel.cjs.map +1 -1
  141. package/dist/actions/list-operators-group-channel.d.cts +3 -5
  142. package/dist/actions/list-operators-group-channel.d.cts.map +1 -1
  143. package/dist/actions/list-operators-group-channel.d.mts +3 -5
  144. package/dist/actions/list-operators-group-channel.d.mts.map +1 -1
  145. package/dist/actions/list-operators-group-channel.mjs +1 -0
  146. package/dist/actions/list-operators-group-channel.mjs.map +1 -1
  147. package/dist/actions/list-operators-open-channel.cjs +1 -0
  148. package/dist/actions/list-operators-open-channel.cjs.map +1 -1
  149. package/dist/actions/list-operators-open-channel.d.cts +3 -5
  150. package/dist/actions/list-operators-open-channel.d.cts.map +1 -1
  151. package/dist/actions/list-operators-open-channel.d.mts +3 -5
  152. package/dist/actions/list-operators-open-channel.d.mts.map +1 -1
  153. package/dist/actions/list-operators-open-channel.mjs +1 -0
  154. package/dist/actions/list-operators-open-channel.mjs.map +1 -1
  155. package/dist/actions/list-users.cjs +1 -0
  156. package/dist/actions/list-users.cjs.map +1 -1
  157. package/dist/actions/list-users.d.cts +3 -13
  158. package/dist/actions/list-users.d.cts.map +1 -1
  159. package/dist/actions/list-users.d.mts +3 -13
  160. package/dist/actions/list-users.d.mts.map +1 -1
  161. package/dist/actions/list-users.mjs +1 -0
  162. package/dist/actions/list-users.mjs.map +1 -1
  163. package/dist/actions/mark-all-user-messages-as-read.cjs +1 -0
  164. package/dist/actions/mark-all-user-messages-as-read.cjs.map +1 -1
  165. package/dist/actions/mark-all-user-messages-as-read.d.cts +3 -3
  166. package/dist/actions/mark-all-user-messages-as-read.d.cts.map +1 -1
  167. package/dist/actions/mark-all-user-messages-as-read.d.mts +3 -3
  168. package/dist/actions/mark-all-user-messages-as-read.d.mts.map +1 -1
  169. package/dist/actions/mark-all-user-messages-as-read.mjs +1 -0
  170. package/dist/actions/mark-all-user-messages-as-read.mjs.map +1 -1
  171. package/dist/actions/mute-user.cjs +1 -0
  172. package/dist/actions/mute-user.cjs.map +1 -1
  173. package/dist/actions/mute-user.d.cts +3 -6
  174. package/dist/actions/mute-user.d.cts.map +1 -1
  175. package/dist/actions/mute-user.d.mts +3 -6
  176. package/dist/actions/mute-user.d.mts.map +1 -1
  177. package/dist/actions/mute-user.mjs +1 -0
  178. package/dist/actions/mute-user.mjs.map +1 -1
  179. package/dist/actions/register-operators-custom-channel-type.cjs +1 -0
  180. package/dist/actions/register-operators-custom-channel-type.cjs.map +1 -1
  181. package/dist/actions/register-operators-custom-channel-type.d.cts +3 -4
  182. package/dist/actions/register-operators-custom-channel-type.d.cts.map +1 -1
  183. package/dist/actions/register-operators-custom-channel-type.d.mts +3 -4
  184. package/dist/actions/register-operators-custom-channel-type.d.mts.map +1 -1
  185. package/dist/actions/register-operators-custom-channel-type.mjs +1 -0
  186. package/dist/actions/register-operators-custom-channel-type.mjs.map +1 -1
  187. package/dist/actions/register-operators-group-channel.cjs +1 -0
  188. package/dist/actions/register-operators-group-channel.cjs.map +1 -1
  189. package/dist/actions/register-operators-group-channel.d.cts +3 -4
  190. package/dist/actions/register-operators-group-channel.d.cts.map +1 -1
  191. package/dist/actions/register-operators-group-channel.d.mts +3 -4
  192. package/dist/actions/register-operators-group-channel.d.mts.map +1 -1
  193. package/dist/actions/register-operators-group-channel.mjs +1 -0
  194. package/dist/actions/register-operators-group-channel.mjs.map +1 -1
  195. package/dist/actions/register-operators-open-channel.cjs +1 -0
  196. package/dist/actions/register-operators-open-channel.cjs.map +1 -1
  197. package/dist/actions/register-operators-open-channel.d.cts +3 -4
  198. package/dist/actions/register-operators-open-channel.d.cts.map +1 -1
  199. package/dist/actions/register-operators-open-channel.d.mts +3 -4
  200. package/dist/actions/register-operators-open-channel.d.mts.map +1 -1
  201. package/dist/actions/register-operators-open-channel.mjs +1 -0
  202. package/dist/actions/register-operators-open-channel.mjs.map +1 -1
  203. package/dist/actions/revoke-all-session-tokens.cjs +1 -0
  204. package/dist/actions/revoke-all-session-tokens.cjs.map +1 -1
  205. package/dist/actions/revoke-all-session-tokens.d.cts +3 -3
  206. package/dist/actions/revoke-all-session-tokens.d.cts.map +1 -1
  207. package/dist/actions/revoke-all-session-tokens.d.mts +3 -3
  208. package/dist/actions/revoke-all-session-tokens.d.mts.map +1 -1
  209. package/dist/actions/revoke-all-session-tokens.mjs +1 -0
  210. package/dist/actions/revoke-all-session-tokens.mjs.map +1 -1
  211. package/dist/actions/send-message.cjs +1 -0
  212. package/dist/actions/send-message.cjs.map +1 -1
  213. package/dist/actions/send-message.d.cts +3 -22
  214. package/dist/actions/send-message.d.cts.map +1 -1
  215. package/dist/actions/send-message.d.mts +3 -22
  216. package/dist/actions/send-message.d.mts.map +1 -1
  217. package/dist/actions/send-message.mjs +1 -0
  218. package/dist/actions/send-message.mjs.map +1 -1
  219. package/dist/actions/unban-user.cjs +1 -0
  220. package/dist/actions/unban-user.cjs.map +1 -1
  221. package/dist/actions/unban-user.d.cts +3 -4
  222. package/dist/actions/unban-user.d.cts.map +1 -1
  223. package/dist/actions/unban-user.d.mts +3 -4
  224. package/dist/actions/unban-user.d.mts.map +1 -1
  225. package/dist/actions/unban-user.mjs +1 -0
  226. package/dist/actions/unban-user.mjs.map +1 -1
  227. package/dist/actions/unmute-user.cjs +1 -0
  228. package/dist/actions/unmute-user.cjs.map +1 -1
  229. package/dist/actions/unmute-user.d.cts +3 -4
  230. package/dist/actions/unmute-user.d.cts.map +1 -1
  231. package/dist/actions/unmute-user.d.mts +3 -4
  232. package/dist/actions/unmute-user.d.mts.map +1 -1
  233. package/dist/actions/unmute-user.mjs +1 -0
  234. package/dist/actions/unmute-user.mjs.map +1 -1
  235. package/dist/actions/unregister-operators-custom-channel-type.cjs +1 -0
  236. package/dist/actions/unregister-operators-custom-channel-type.cjs.map +1 -1
  237. package/dist/actions/unregister-operators-custom-channel-type.d.cts +3 -4
  238. package/dist/actions/unregister-operators-custom-channel-type.d.cts.map +1 -1
  239. package/dist/actions/unregister-operators-custom-channel-type.d.mts +3 -4
  240. package/dist/actions/unregister-operators-custom-channel-type.d.mts.map +1 -1
  241. package/dist/actions/unregister-operators-custom-channel-type.mjs +1 -0
  242. package/dist/actions/unregister-operators-custom-channel-type.mjs.map +1 -1
  243. package/dist/actions/update-count-preference-of-channel.cjs +1 -0
  244. package/dist/actions/update-count-preference-of-channel.cjs.map +1 -1
  245. package/dist/actions/update-count-preference-of-channel.d.cts +3 -5
  246. package/dist/actions/update-count-preference-of-channel.d.cts.map +1 -1
  247. package/dist/actions/update-count-preference-of-channel.d.mts +3 -5
  248. package/dist/actions/update-count-preference-of-channel.d.mts.map +1 -1
  249. package/dist/actions/update-count-preference-of-channel.mjs +1 -0
  250. package/dist/actions/update-count-preference-of-channel.mjs.map +1 -1
  251. package/dist/actions/update-group-channel.cjs +1 -0
  252. package/dist/actions/update-group-channel.cjs.map +1 -1
  253. package/dist/actions/update-group-channel.d.cts +3 -14
  254. package/dist/actions/update-group-channel.d.cts.map +1 -1
  255. package/dist/actions/update-group-channel.d.mts +3 -14
  256. package/dist/actions/update-group-channel.d.mts.map +1 -1
  257. package/dist/actions/update-group-channel.mjs +1 -0
  258. package/dist/actions/update-group-channel.mjs.map +1 -1
  259. package/dist/actions/update-message.cjs +1 -0
  260. package/dist/actions/update-message.cjs.map +1 -1
  261. package/dist/actions/update-message.d.cts +3 -16
  262. package/dist/actions/update-message.d.cts.map +1 -1
  263. package/dist/actions/update-message.d.mts +3 -16
  264. package/dist/actions/update-message.d.mts.map +1 -1
  265. package/dist/actions/update-message.mjs +1 -0
  266. package/dist/actions/update-message.mjs.map +1 -1
  267. package/dist/actions/update-user.cjs +1 -0
  268. package/dist/actions/update-user.cjs.map +1 -1
  269. package/dist/actions/update-user.d.cts +3 -9
  270. package/dist/actions/update-user.d.cts.map +1 -1
  271. package/dist/actions/update-user.d.mts +3 -9
  272. package/dist/actions/update-user.d.mts.map +1 -1
  273. package/dist/actions/update-user.mjs +1 -0
  274. package/dist/actions/update-user.mjs.map +1 -1
  275. package/dist/actions/view-group-channel.cjs +1 -0
  276. package/dist/actions/view-group-channel.cjs.map +1 -1
  277. package/dist/actions/view-group-channel.d.cts +3 -8
  278. package/dist/actions/view-group-channel.d.cts.map +1 -1
  279. package/dist/actions/view-group-channel.d.mts +3 -8
  280. package/dist/actions/view-group-channel.d.mts.map +1 -1
  281. package/dist/actions/view-group-channel.mjs +1 -0
  282. package/dist/actions/view-group-channel.mjs.map +1 -1
  283. package/dist/actions/view-message.cjs +1 -0
  284. package/dist/actions/view-message.cjs.map +1 -1
  285. package/dist/actions/view-message.d.cts +3 -5
  286. package/dist/actions/view-message.d.cts.map +1 -1
  287. package/dist/actions/view-message.d.mts +3 -5
  288. package/dist/actions/view-message.d.mts.map +1 -1
  289. package/dist/actions/view-message.mjs +1 -0
  290. package/dist/actions/view-message.mjs.map +1 -1
  291. package/dist/actions/view-user.cjs +1 -0
  292. package/dist/actions/view-user.cjs.map +1 -1
  293. package/dist/actions/view-user.d.cts +3 -3
  294. package/dist/actions/view-user.d.cts.map +1 -1
  295. package/dist/actions/view-user.d.mts +3 -3
  296. package/dist/actions/view-user.d.mts.map +1 -1
  297. package/dist/actions/view-user.mjs +1 -0
  298. package/dist/actions/view-user.mjs.map +1 -1
  299. package/dist/app.cjs +9 -2
  300. package/dist/app.cjs.map +1 -1
  301. package/dist/app.d.cts +8 -1
  302. package/dist/app.d.cts.map +1 -1
  303. package/dist/app.d.mts +8 -1
  304. package/dist/app.d.mts.map +1 -1
  305. package/dist/app.mjs +6 -2
  306. package/dist/app.mjs.map +1 -1
  307. package/dist/index.d.cts +1 -1
  308. package/dist/index.d.mts +1 -1
  309. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-group-channels.cjs","names":["z","action"],"sources":["../../src/actions/list-group-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListGroupChannelsInput = 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.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\").nullable(),\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}).passthrough();\nconst SendbirdListGroupChannels_LastMessageSchema = 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)\").nullable(),\n message_id: z.string().describe(\"Message ID of the last message\").nullable(),\n updated_at: z.number().int().describe(\"Timestamp when message was last updated (ms)\").nullable(),\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)\").nullable(),\n}).passthrough();\nconst SendbirdListGroupChannels_GroupChannelSchema = 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\").nullable(),\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.record(z.string(), z.unknown()).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.record(z.string(), z.unknown()).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}).passthrough();\nexport const SendbirdListGroupChannelsOutput = 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}).passthrough();\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,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF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ction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdListGroupChannelsInput = 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.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\").nullable(),\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}).passthrough();\nconst SendbirdListGroupChannels_LastMessageSchema = 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)\").nullable(),\n message_id: z.string().describe(\"Message ID of the last message\").nullable(),\n updated_at: z.number().int().describe(\"Timestamp when message was last updated (ms)\").nullable(),\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)\").nullable(),\n}).passthrough();\nconst SendbirdListGroupChannels_GroupChannelSchema = 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\").nullable(),\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.record(z.string(), z.unknown()).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.record(z.string(), z.unknown()).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}).passthrough();\nexport const SendbirdListGroupChannelsOutput = 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}).passthrough();\n\nexport const sendbirdListGroupChannels: AppAction<\n typeof SendbirdListGroupChannelsInput,\n typeof SendbirdListGroupChannelsOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAA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
@@ -1,3 +1,5 @@
1
+ import { sendbird } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-group-channels.d.ts
@@ -95,29 +97,7 @@ declare const SendbirdListGroupChannelsOutput: z.ZodObject<{
95
97
  unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
96
98
  }, z.core.$loose>>;
97
99
  }, z.core.$loose>;
98
- declare const sendbirdListGroupChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
99
- name?: string | undefined;
100
- limit?: number | undefined;
101
- token?: string | undefined;
102
- show_empty?: boolean | undefined;
103
- super_mode?: "all" | "super" | "nonsuper" | undefined;
104
- public_mode?: "all" | "public" | "private" | undefined;
105
- show_frozen?: boolean | undefined;
106
- channel_urls?: string[] | undefined;
107
- custom_types?: string[] | undefined;
108
- url_contains?: string | undefined;
109
- created_after?: number | undefined;
110
- distinct_mode?: "all" | "distinct" | "nondistinct" | undefined;
111
- show_metadata?: boolean | undefined;
112
- created_before?: number | undefined;
113
- my_member_state?: "all" | "invited_by_friend" | "invited_by_non_friend" | "joined_only" | "invited_only" | undefined;
114
- members_nickname?: string | undefined;
115
- show_read_receipt?: boolean | undefined;
116
- members_exactly_in?: string[] | undefined;
117
- members_include_in?: string[] | undefined;
118
- show_delivery_receipt?: boolean | undefined;
119
- custom_type_startswith?: string | undefined;
120
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
100
+ declare const sendbirdListGroupChannels: AppAction<typeof SendbirdListGroupChannelsInput, typeof SendbirdListGroupChannelsOutput, typeof sendbird.credential>;
121
101
  //#endregion
122
102
  export { sendbirdListGroupChannels };
123
103
  //# sourceMappingURL=list-group-channels.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-group-channels.d.cts","names":[],"sources":["../../src/actions/list-group-channels.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-group-channels.d.cts","names":[],"sources":["../../src/actions/list-group-channels.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendbird } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-group-channels.d.ts
@@ -95,29 +97,7 @@ declare const SendbirdListGroupChannelsOutput: z.ZodObject<{
95
97
  unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
96
98
  }, z.core.$loose>>;
97
99
  }, z.core.$loose>;
98
- declare const sendbirdListGroupChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
99
- name?: string | undefined;
100
- limit?: number | undefined;
101
- token?: string | undefined;
102
- show_empty?: boolean | undefined;
103
- super_mode?: "all" | "super" | "nonsuper" | undefined;
104
- public_mode?: "all" | "public" | "private" | undefined;
105
- show_frozen?: boolean | undefined;
106
- channel_urls?: string[] | undefined;
107
- custom_types?: string[] | undefined;
108
- url_contains?: string | undefined;
109
- created_after?: number | undefined;
110
- distinct_mode?: "all" | "distinct" | "nondistinct" | undefined;
111
- show_metadata?: boolean | undefined;
112
- created_before?: number | undefined;
113
- my_member_state?: "all" | "invited_by_friend" | "invited_by_non_friend" | "joined_only" | "invited_only" | undefined;
114
- members_nickname?: string | undefined;
115
- show_read_receipt?: boolean | undefined;
116
- members_exactly_in?: string[] | undefined;
117
- members_include_in?: string[] | undefined;
118
- show_delivery_receipt?: boolean | undefined;
119
- custom_type_startswith?: string | undefined;
120
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
100
+ declare const sendbirdListGroupChannels: AppAction<typeof SendbirdListGroupChannelsInput, typeof SendbirdListGroupChannelsOutput, typeof sendbird.credential>;
121
101
  //#endregion
122
102
  export { sendbirdListGroupChannels };
123
103
  //# sourceMappingURL=list-group-channels.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-group-channels.d.mts","names":[],"sources":["../../src/actions/list-group-channels.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-group-channels.d.mts","names":[],"sources":["../../src/actions/list-group-channels.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-group-channels.ts
@@ -1 +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.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.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\").nullable(),\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}).passthrough();\nconst SendbirdListGroupChannels_LastMessageSchema = 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)\").nullable(),\n message_id: z.string().describe(\"Message ID of the last message\").nullable(),\n updated_at: z.number().int().describe(\"Timestamp when message was last updated (ms)\").nullable(),\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)\").nullable(),\n}).passthrough();\nconst SendbirdListGroupChannels_GroupChannelSchema = 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\").nullable(),\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.record(z.string(), z.unknown()).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.record(z.string(), z.unknown()).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}).passthrough();\nexport const SendbirdListGroupChannelsOutput = 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}).passthrough();\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,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC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ClJ,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,CAAC,CAAC,YAAY;AAMf,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,wBAAwB;CACnG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-group-channels.mjs","names":[],"sources":["../../src/actions/list-group-channels.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdListGroupChannelsInput = 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.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\").nullable(),\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}).passthrough();\nconst SendbirdListGroupChannels_LastMessageSchema = 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)\").nullable(),\n message_id: z.string().describe(\"Message ID of the last message\").nullable(),\n updated_at: z.number().int().describe(\"Timestamp when message was last updated (ms)\").nullable(),\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)\").nullable(),\n}).passthrough();\nconst SendbirdListGroupChannels_GroupChannelSchema = 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\").nullable(),\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.record(z.string(), z.unknown()).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.record(z.string(), z.unknown()).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}).passthrough();\nexport const SendbirdListGroupChannelsOutput = 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}).passthrough();\n\nexport const sendbirdListGroupChannels: AppAction<\n typeof SendbirdListGroupChannelsInput,\n typeof SendbirdListGroupChannelsOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,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,SA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 require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-members-group-channel.ts
@@ -1 +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.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.object({\n state: z.string().describe(\"Membership state, e.g., joined, invited\").nullable(),\n user_id: z.string().describe(\"The user's unique ID\").nullable(),\n is_muted: z.boolean().describe(\"If the user is muted in the channel\").nullable(),\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\").nullable(),\n is_operator: z.boolean().describe(\"Whether the member is an operator\").nullable(),\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\").nullable(),\n}).passthrough();\nexport const SendbirdListMembersGroupChannelOutput = 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}).passthrough();\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,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,SA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C7G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-members-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-members-group-channel.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdListMembersGroupChannelInput = 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.object({\n state: z.string().describe(\"Membership state, e.g., joined, invited\").nullable(),\n user_id: z.string().describe(\"The user's unique ID\").nullable(),\n is_muted: z.boolean().describe(\"If the user is muted in the channel\").nullable(),\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\").nullable(),\n is_operator: z.boolean().describe(\"Whether the member is an operator\").nullable(),\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\").nullable(),\n}).passthrough();\nexport const SendbirdListMembersGroupChannelOutput = 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}).passthrough();\n\nexport const sendbirdListMembersGroupChannel: AppAction<\n typeof SendbirdListMembersGroupChannelInput,\n typeof SendbirdListMembersGroupChannelOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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;C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;CAC/F,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendbird } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-members-group-channel.d.ts
@@ -42,17 +44,7 @@ declare const SendbirdListMembersGroupChannelOutput: z.ZodObject<{
42
44
  }, z.core.$loose>>;
43
45
  total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
46
  }, z.core.$loose>;
45
- declare const sendbirdListMembersGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
46
- channel_url: string;
47
- limit?: number | undefined;
48
- order?: "nickname_alphabetical" | "operator_alphabetical" | undefined;
49
- token?: string | undefined;
50
- offset?: number | undefined;
51
- operator_filter?: "all" | "operator" | "nonoperator" | undefined;
52
- member_state_filter?: "all" | "joined_only" | "invited_only" | undefined;
53
- muted_member_filter?: "all" | "muted" | "unmuted" | undefined;
54
- nickname_startswith?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ declare const sendbirdListMembersGroupChannel: AppAction<typeof SendbirdListMembersGroupChannelInput, typeof SendbirdListMembersGroupChannelOutput, typeof sendbird.credential>;
56
48
  //#endregion
57
49
  export { sendbirdListMembersGroupChannel };
58
50
  //# sourceMappingURL=list-members-group-channel.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-members-group-channel.d.cts","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"list-members-group-channel.d.cts","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendbird } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-members-group-channel.d.ts
@@ -42,17 +44,7 @@ declare const SendbirdListMembersGroupChannelOutput: z.ZodObject<{
42
44
  }, z.core.$loose>>;
43
45
  total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
46
  }, z.core.$loose>;
45
- declare const sendbirdListMembersGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
46
- channel_url: string;
47
- limit?: number | undefined;
48
- order?: "nickname_alphabetical" | "operator_alphabetical" | undefined;
49
- token?: string | undefined;
50
- offset?: number | undefined;
51
- operator_filter?: "all" | "operator" | "nonoperator" | undefined;
52
- member_state_filter?: "all" | "joined_only" | "invited_only" | undefined;
53
- muted_member_filter?: "all" | "muted" | "unmuted" | undefined;
54
- nickname_startswith?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ declare const sendbirdListMembersGroupChannel: AppAction<typeof SendbirdListMembersGroupChannelInput, typeof SendbirdListMembersGroupChannelOutput, typeof sendbird.credential>;
56
48
  //#endregion
57
49
  export { sendbirdListMembersGroupChannel };
58
50
  //# sourceMappingURL=list-members-group-channel.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-members-group-channel.d.mts","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"list-members-group-channel.d.mts","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-members-group-channel.ts
@@ -1 +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.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.object({\n state: z.string().describe(\"Membership state, e.g., joined, invited\").nullable(),\n user_id: z.string().describe(\"The user's unique ID\").nullable(),\n is_muted: z.boolean().describe(\"If the user is muted in the channel\").nullable(),\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\").nullable(),\n is_operator: z.boolean().describe(\"Whether the member is an operator\").nullable(),\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\").nullable(),\n}).passthrough();\nexport const SendbirdListMembersGroupChannelOutput = 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}).passthrough();\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,uCAAuC,EAAE,OAAO;CAC3D,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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CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXmD,EAAE,OAAO;EAC5D,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-members-group-channel.mjs","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdListMembersGroupChannelInput = 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.object({\n state: z.string().describe(\"Membership state, e.g., joined, invited\").nullable(),\n user_id: z.string().describe(\"The user's unique ID\").nullable(),\n is_muted: z.boolean().describe(\"If the user is muted in the channel\").nullable(),\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\").nullable(),\n is_operator: z.boolean().describe(\"Whether the member is an operator\").nullable(),\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\").nullable(),\n}).passthrough();\nexport const SendbirdListMembersGroupChannelOutput = 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}).passthrough();\n\nexport const sendbirdListMembersGroupChannel: AppAction<\n typeof SendbirdListMembersGroupChannelInput,\n typeof SendbirdListMembersGroupChannelOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,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,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AAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfmD,EAAE,OAAO;EAC5D,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,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-operators-custom-channel-type.ts
@@ -1 +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.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.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).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}).passthrough().describe(\"Representation of an operator user.\");\nexport const SendbirdListOperatorsCustomChannelTypeOutput = 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}).passthrough().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,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,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,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,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,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,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,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-operators-custom-channel-type.cjs","names":["z","action"],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdListOperatorsCustomChannelTypeInput = 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.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).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}).passthrough().describe(\"Representation of an operator user.\");\nexport const SendbirdListOperatorsCustomChannelTypeOutput = 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}).passthrough().describe(\"Response model for listing operators by custom channel type.\");\n\nexport const sendbirdListOperatorsCustomChannelType: AppAction<\n typeof SendbirdListOperatorsCustomChannelTypeInput,\n typeof SendbirdListOperatorsCustomChannelTypeOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,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,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,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,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,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,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,yCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendbird } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-operators-custom-channel-type.d.ts
@@ -15,11 +17,7 @@ declare const SendbirdListOperatorsCustomChannelTypeOutput: z.ZodObject<{
15
17
  profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const sendbirdListOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- custom_type: string;
20
- limit?: number | undefined;
21
- token?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const sendbirdListOperatorsCustomChannelType: AppAction<typeof SendbirdListOperatorsCustomChannelTypeInput, typeof SendbirdListOperatorsCustomChannelTypeOutput, typeof sendbird.credential>;
23
21
  //#endregion
24
22
  export { sendbirdListOperatorsCustomChannelType };
25
23
  //# sourceMappingURL=list-operators-custom-channel-type.d.cts.map
@@ -1 +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,EAA2C,CAAA,CAAA,SAAA;;;;;cAW3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;cAK5C,sCAAA,gCAAsC,wBAAA"}
1
+ {"version":3,"file":"list-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cAW3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendbird } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-operators-custom-channel-type.d.ts
@@ -15,11 +17,7 @@ declare const SendbirdListOperatorsCustomChannelTypeOutput: z.ZodObject<{
15
17
  profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const sendbirdListOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- custom_type: string;
20
- limit?: number | undefined;
21
- token?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const sendbirdListOperatorsCustomChannelType: AppAction<typeof SendbirdListOperatorsCustomChannelTypeInput, typeof SendbirdListOperatorsCustomChannelTypeOutput, typeof sendbird.credential>;
23
21
  //#endregion
24
22
  export { sendbirdListOperatorsCustomChannelType };
25
23
  //# sourceMappingURL=list-operators-custom-channel-type.d.mts.map
@@ -1 +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,EAA2C,CAAA,CAAA,SAAA;;;;;cAW3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;cAK5C,sCAAA,gCAAsC,wBAAA"}
1
+ {"version":3,"file":"list-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cAW3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-operators-custom-channel-type.ts
@@ -1 +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.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.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).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}).passthrough().describe(\"Representation of an operator user.\");\nexport const SendbirdListOperatorsCustomChannelTypeOutput = 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}).passthrough().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,8CAA8C,EAAE,OAAO;CAClE,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,wDAAwD,EAAE,OAAO;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,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,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAM/D,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,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,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-operators-custom-channel-type.mjs","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdListOperatorsCustomChannelTypeInput = 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.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).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}).passthrough().describe(\"Representation of an operator user.\");\nexport const SendbirdListOperatorsCustomChannelTypeOutput = 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}).passthrough().describe(\"Response model for listing operators by custom channel type.\");\n\nexport const sendbirdListOperatorsCustomChannelType: AppAction<\n typeof SendbirdListOperatorsCustomChannelTypeInput,\n typeof SendbirdListOperatorsCustomChannelTypeOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,MAAa,8CAA8C,EAAE,OAAO;CAClE,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,wDAAwD,EAAE,OAAO;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,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,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAM/D,MAAa,yCAIT,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0D,EAAE,OAAO;EACnE,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,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-operators-group-channel.ts
@@ -1 +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.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.object({\n user_id: z.string().describe(\"Unique user ID of the operator\").nullable(),\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}).passthrough();\nexport const SendbirdListOperatorsGroupChannelOutput = 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}).passthrough();\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,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,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,CAAC,CAAC,YAAY;AACf,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,CAAC,CAAC,YAAY;AAEf,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-operators-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-operators-group-channel.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdListOperatorsGroupChannelInput = 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.object({\n user_id: z.string().describe(\"Unique user ID of the operator\").nullable(),\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}).passthrough();\nexport const SendbirdListOperatorsGroupChannelOutput = 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}).passthrough();\n\nexport const sendbirdListOperatorsGroupChannel: AppAction<\n typeof SendbirdListOperatorsGroupChannelInput,\n typeof SendbirdListOperatorsGroupChannelOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,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,CAAC,CAAC,YAAY;AACf,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,CAAC,CAAC,YAAY;AAEf,MAAa,oCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendbird } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-operators-group-channel.d.ts
@@ -14,11 +16,7 @@ declare const SendbirdListOperatorsGroupChannelOutput: z.ZodObject<{
14
16
  profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const sendbirdListOperatorsGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- channel_url: string;
19
- limit?: number | undefined;
20
- token?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const sendbirdListOperatorsGroupChannel: AppAction<typeof SendbirdListOperatorsGroupChannelInput, typeof SendbirdListOperatorsGroupChannelOutput, typeof sendbird.credential>;
22
20
  //#endregion
23
21
  export { sendbirdListOperatorsGroupChannel };
24
22
  //# sourceMappingURL=list-operators-group-channel.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-operators-group-channel.d.cts","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAUtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAKvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"list-operators-group-channel.d.cts","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAUtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendbird } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-operators-group-channel.d.ts
@@ -14,11 +16,7 @@ declare const SendbirdListOperatorsGroupChannelOutput: z.ZodObject<{
14
16
  profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const sendbirdListOperatorsGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- channel_url: string;
19
- limit?: number | undefined;
20
- token?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const sendbirdListOperatorsGroupChannel: AppAction<typeof SendbirdListOperatorsGroupChannelInput, typeof SendbirdListOperatorsGroupChannelOutput, typeof sendbird.credential>;
22
20
  //#endregion
23
21
  export { sendbirdListOperatorsGroupChannel };
24
22
  //# sourceMappingURL=list-operators-group-channel.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-operators-group-channel.d.mts","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAUtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAKvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"list-operators-group-channel.d.mts","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAUtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-operators-group-channel.ts
@@ -1 +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.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.object({\n user_id: z.string().describe(\"Unique user ID of the operator\").nullable(),\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}).passthrough();\nexport const SendbirdListOperatorsGroupChannelOutput = 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}).passthrough();\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,yCAAyC,EAAE,OAAO;CAC7D,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,mDAAmD,EAAE,OAAO;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,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,CAAC,CAAC,YAAY;AAMf,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-operators-group-channel.mjs","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdListOperatorsGroupChannelInput = 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.object({\n user_id: z.string().describe(\"Unique user ID of the operator\").nullable(),\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}).passthrough();\nexport const SendbirdListOperatorsGroupChannelOutput = 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}).passthrough();\n\nexport const sendbirdListOperatorsGroupChannel: AppAction<\n typeof SendbirdListOperatorsGroupChannelInput,\n typeof SendbirdListOperatorsGroupChannelOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,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,mDAAmD,EAAE,OAAO;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,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,CAAC,CAAC,YAAY;AAMf,MAAa,oCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqD,EAAE,OAAO;EAC9D,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,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-operators-open-channel.ts
@@ -1 +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.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.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).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}).passthrough().describe(\"Representation of an operator in an open channel.\");\nexport const SendbirdListOperatorsOpenChannelOutput = 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}).passthrough().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,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D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ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdListOperatorsOpenChannelInput = 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.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).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}).passthrough().describe(\"Representation of an operator in an open channel.\");\nexport const SendbirdListOperatorsOpenChannelOutput = 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}).passthrough().describe(\"Response model for listing operators of an open channel.\");\n\nexport const sendbirdListOperatorsOpenChannel: AppAction<\n typeof SendbirdListOperatorsOpenChannelInput,\n typeof SendbirdListOperatorsOpenChannelOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,C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