@keystrokehq/sendbird 0.1.5 → 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 -20
  6. package/dist/actions/add-members-group-channel.d.cts.map +1 -1
  7. package/dist/actions/add-members-group-channel.d.mts +3 -20
  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 -21
  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 -21
  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 -34
  22. package/dist/actions/create-channel.d.cts.map +1 -1
  23. package/dist/actions/create-channel.d.mts +3 -34
  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 -27
  30. package/dist/actions/create-user.d.cts.map +1 -1
  31. package/dist/actions/create-user.d.mts +3 -27
  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 -17
  38. package/dist/actions/delete-channel.d.cts.map +1 -1
  39. package/dist/actions/delete-channel.d.mts +3 -17
  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 -18
  46. package/dist/actions/delete-message.d.cts.map +1 -1
  47. package/dist/actions/delete-message.d.mts +3 -18
  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 -18
  54. package/dist/actions/delete-user.d.cts.map +1 -1
  55. package/dist/actions/delete-user.d.mts +3 -18
  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 -19
  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 -19
  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 -21
  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 -21
  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 -19
  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 -19
  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 -18
  86. package/dist/actions/issue-session-token.d.cts.map +1 -1
  87. package/dist/actions/issue-session-token.d.mts +3 -18
  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 -20
  94. package/dist/actions/leave-group-channels.d.cts.map +1 -1
  95. package/dist/actions/leave-group-channels.d.mts +3 -20
  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 -19
  102. package/dist/actions/list-banned-members.d.cts.map +1 -1
  103. package/dist/actions/list-banned-members.d.mts +3 -19
  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 -35
  110. package/dist/actions/list-group-channel-messages.d.cts.map +1 -1
  111. package/dist/actions/list-group-channel-messages.d.mts +3 -35
  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 -37
  118. package/dist/actions/list-group-channels.d.cts.map +1 -1
  119. package/dist/actions/list-group-channels.d.mts +3 -37
  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 -25
  126. package/dist/actions/list-members-group-channel.d.cts.map +1 -1
  127. package/dist/actions/list-members-group-channel.d.mts +3 -25
  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 -19
  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 -19
  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 -19
  142. package/dist/actions/list-operators-group-channel.d.cts.map +1 -1
  143. package/dist/actions/list-operators-group-channel.d.mts +3 -19
  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 -19
  150. package/dist/actions/list-operators-open-channel.d.cts.map +1 -1
  151. package/dist/actions/list-operators-open-channel.d.mts +3 -19
  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 -27
  158. package/dist/actions/list-users.d.cts.map +1 -1
  159. package/dist/actions/list-users.d.mts +3 -27
  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 -17
  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 -17
  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 -20
  174. package/dist/actions/mute-user.d.cts.map +1 -1
  175. package/dist/actions/mute-user.d.mts +3 -20
  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 -18
  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 -18
  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 -18
  190. package/dist/actions/register-operators-group-channel.d.cts.map +1 -1
  191. package/dist/actions/register-operators-group-channel.d.mts +3 -18
  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 -18
  198. package/dist/actions/register-operators-open-channel.d.cts.map +1 -1
  199. package/dist/actions/register-operators-open-channel.d.mts +3 -18
  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 -17
  206. package/dist/actions/revoke-all-session-tokens.d.cts.map +1 -1
  207. package/dist/actions/revoke-all-session-tokens.d.mts +3 -17
  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 -36
  214. package/dist/actions/send-message.d.cts.map +1 -1
  215. package/dist/actions/send-message.d.mts +3 -36
  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 -18
  222. package/dist/actions/unban-user.d.cts.map +1 -1
  223. package/dist/actions/unban-user.d.mts +3 -18
  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 -18
  230. package/dist/actions/unmute-user.d.cts.map +1 -1
  231. package/dist/actions/unmute-user.d.mts +3 -18
  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 -18
  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 -18
  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 -19
  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 -19
  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 -28
  254. package/dist/actions/update-group-channel.d.cts.map +1 -1
  255. package/dist/actions/update-group-channel.d.mts +3 -28
  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 -30
  262. package/dist/actions/update-message.d.cts.map +1 -1
  263. package/dist/actions/update-message.d.mts +3 -30
  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 -23
  270. package/dist/actions/update-user.d.cts.map +1 -1
  271. package/dist/actions/update-user.d.mts +3 -23
  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 -22
  278. package/dist/actions/view-group-channel.d.cts.map +1 -1
  279. package/dist/actions/view-group-channel.d.mts +3 -22
  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 -19
  286. package/dist/actions/view-message.d.cts.map +1 -1
  287. package/dist/actions/view-message.d.mts +3 -19
  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 -17
  294. package/dist/actions/view-user.d.cts.map +1 -1
  295. package/dist/actions/view-user.d.mts +3 -17
  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 +5 -4
  300. package/dist/app.cjs.map +1 -1
  301. package/dist/app.d.cts +4 -6
  302. package/dist/app.d.cts.map +1 -1
  303. package/dist/app.d.mts +4 -6
  304. package/dist/app.d.mts.map +1 -1
  305. package/dist/app.mjs +0 -1
  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":"get-number-of-channels-by-join-status.cjs","names":["z","action"],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfChannelsByJoinStatusInput = z.object({\n user_id: z.string().describe(\"The unique ID of the target user whose group channel count will be retrieved.\"),\n super_mode: z.enum([\"all\", \"super\", \"nonsuper\"]).describe(\"Filter by channel type. 'super' channels support up to tens of thousands of members; 'nonsuper' regular channels support up to 100 members. Defaults to 'all'.\").optional(),\n public_mode: z.enum([\"all\", \"public\", \"private\"]).describe(\"Filter by channel visibility. 'public' channels allow users to join without invitation; 'private' channels require an invitation. Defaults to 'all'.\").optional(),\n custom_types: z.array(z.string()).describe(\"Filter by custom channel types. Only channels matching one of the specified custom types will be counted. Pass an empty list or omit to include all custom types.\").optional(),\n distinct_mode: z.enum([\"all\", \"distinct\", \"nondistinct\"]).describe(\"Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.\").optional(),\n}).describe(\"Request model for fetching number of group channels by join status for a user.\");\nexport const SendbirdGetNumberOfChannelsByJoinStatusOutput = z.object({\n total: z.number().int().describe(\"Total number of group channels associated with the user (sum of joined and invited channels).\").nullable(),\n joined: z.number().int().default(0).describe(\"Number of group channels the user is currently a member of (has joined).\").nullable().optional(),\n invited: z.number().int().default(0).describe(\"Number of group channels the user has been invited to but has not yet joined.\").nullable().optional(),\n invited_by_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by a friend (if friend feature is enabled).\").nullable().optional(),\n invited_by_non_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by someone who is not a friend.\").nullable().optional(),\n}).passthrough().describe(\"Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.\");\n\nexport const sendbirdGetNumberOfChannelsByJoinStatus = action(\"SENDBIRD_GET_NUMBER_OF_CHANNELS_BY_JOIN_STATUS\", {\n slug: \"sendbird-get-number-of-channels-by-join-status\",\n name: \"Get User Group Channel Count by Join Status\",\n description: \"Retrieves the number of group channels for a user, categorized by join status (joined, invited, etc.). Use this tool to get channel count statistics for a specific user, optionally filtered by channel properties like visibility (public/private), distinctness, or super mode. Returns counts of joined channels, invited channels (with friend/non-friend breakdown), and total count.\",\n input: SendbirdGetNumberOfChannelsByJoinStatusInput,\n output: SendbirdGetNumberOfChannelsByJoinStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC5G,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;CAAU,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACrO,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5N,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzN,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;AACvQ,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6HAA6H;AAEvJ,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-number-of-channels-by-join-status.cjs","names":["z","action"],"sources":["../../src/actions/get-number-of-channels-by-join-status.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 SendbirdGetNumberOfChannelsByJoinStatusInput = z.object({\n user_id: z.string().describe(\"The unique ID of the target user whose group channel count will be retrieved.\"),\n super_mode: z.enum([\"all\", \"super\", \"nonsuper\"]).describe(\"Filter by channel type. 'super' channels support up to tens of thousands of members; 'nonsuper' regular channels support up to 100 members. Defaults to 'all'.\").optional(),\n public_mode: z.enum([\"all\", \"public\", \"private\"]).describe(\"Filter by channel visibility. 'public' channels allow users to join without invitation; 'private' channels require an invitation. Defaults to 'all'.\").optional(),\n custom_types: z.array(z.string()).describe(\"Filter by custom channel types. Only channels matching one of the specified custom types will be counted. Pass an empty list or omit to include all custom types.\").optional(),\n distinct_mode: z.enum([\"all\", \"distinct\", \"nondistinct\"]).describe(\"Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.\").optional(),\n}).describe(\"Request model for fetching number of group channels by join status for a user.\");\nexport const SendbirdGetNumberOfChannelsByJoinStatusOutput = z.object({\n total: z.number().int().describe(\"Total number of group channels associated with the user (sum of joined and invited channels).\").nullable(),\n joined: z.number().int().default(0).describe(\"Number of group channels the user is currently a member of (has joined).\").nullable().optional(),\n invited: z.number().int().default(0).describe(\"Number of group channels the user has been invited to but has not yet joined.\").nullable().optional(),\n invited_by_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by a friend (if friend feature is enabled).\").nullable().optional(),\n invited_by_non_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by someone who is not a friend.\").nullable().optional(),\n}).passthrough().describe(\"Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.\");\n\nexport const sendbirdGetNumberOfChannelsByJoinStatus: AppAction<\n typeof SendbirdGetNumberOfChannelsByJoinStatusInput,\n typeof SendbirdGetNumberOfChannelsByJoinStatusOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_GET_NUMBER_OF_CHANNELS_BY_JOIN_STATUS\", {\n slug: \"sendbird-get-number-of-channels-by-join-status\",\n name: \"Get User Group Channel Count by Join Status\",\n description: \"Retrieves the number of group channels for a user, categorized by join status (joined, invited, etc.). Use this tool to get channel count statistics for a specific user, optionally filtered by channel properties like visibility (public/private), distinctness, or super mode. Returns counts of joined channels, invited channels (with friend/non-friend breakdown), and total count.\",\n input: SendbirdGetNumberOfChannelsByJoinStatusInput,\n output: SendbirdGetNumberOfChannelsByJoinStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC5G,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;CAAU,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACrO,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5N,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzN,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;AACvQ,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6HAA6H;AAEvJ,MAAa,0CAITC,eAAAA,OAAO,kDAAkD;CAC3D,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/get-number-of-channels-by-join-status.d.ts
@@ -27,27 +29,7 @@ declare const SendbirdGetNumberOfChannelsByJoinStatusOutput: z.ZodObject<{
27
29
  invited_by_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
28
30
  invited_by_non_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
29
31
  }, z.core.$loose>;
30
- declare const sendbirdGetNumberOfChannelsByJoinStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- user_id: string;
32
- super_mode?: "all" | "super" | "nonsuper" | undefined;
33
- public_mode?: "all" | "public" | "private" | undefined;
34
- custom_types?: string[] | undefined;
35
- distinct_mode?: "all" | "distinct" | "nondistinct" | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- subdomain: z.ZodString;
42
- generic_api_key: z.ZodString;
43
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- subdomain: z.ZodString;
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>;
32
+ declare const sendbirdGetNumberOfChannelsByJoinStatus: AppAction<typeof SendbirdGetNumberOfChannelsByJoinStatusInput, typeof SendbirdGetNumberOfChannelsByJoinStatusOutput, typeof sendbird.credential>;
51
33
  //#endregion
52
34
  export { sendbirdGetNumberOfChannelsByJoinStatus };
53
35
  //# sourceMappingURL=get-number-of-channels-by-join-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-number-of-channels-by-join-status.d.cts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAO5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;cAQ7C,uCAAA,gCAAuC,wBAAA"}
1
+ {"version":3,"file":"get-number-of-channels-by-join-status.d.cts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAO5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;cAQ7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,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/get-number-of-channels-by-join-status.d.ts
@@ -27,27 +29,7 @@ declare const SendbirdGetNumberOfChannelsByJoinStatusOutput: z.ZodObject<{
27
29
  invited_by_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
28
30
  invited_by_non_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
29
31
  }, z.core.$loose>;
30
- declare const sendbirdGetNumberOfChannelsByJoinStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- user_id: string;
32
- super_mode?: "all" | "super" | "nonsuper" | undefined;
33
- public_mode?: "all" | "public" | "private" | undefined;
34
- custom_types?: string[] | undefined;
35
- distinct_mode?: "all" | "distinct" | "nondistinct" | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- subdomain: z.ZodString;
42
- generic_api_key: z.ZodString;
43
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- subdomain: z.ZodString;
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>;
32
+ declare const sendbirdGetNumberOfChannelsByJoinStatus: AppAction<typeof SendbirdGetNumberOfChannelsByJoinStatusInput, typeof SendbirdGetNumberOfChannelsByJoinStatusOutput, typeof sendbird.credential>;
51
33
  //#endregion
52
34
  export { sendbirdGetNumberOfChannelsByJoinStatus };
53
35
  //# sourceMappingURL=get-number-of-channels-by-join-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-number-of-channels-by-join-status.d.mts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAO5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;cAQ7C,uCAAA,gCAAuC,wBAAA"}
1
+ {"version":3,"file":"get-number-of-channels-by-join-status.d.mts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAO5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;cAQ7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,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
  const sendbirdGetNumberOfChannelsByJoinStatus = action("SENDBIRD_GET_NUMBER_OF_CHANNELS_BY_JOIN_STATUS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-number-of-channels-by-join-status.mjs","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfChannelsByJoinStatusInput = z.object({\n user_id: z.string().describe(\"The unique ID of the target user whose group channel count will be retrieved.\"),\n super_mode: z.enum([\"all\", \"super\", \"nonsuper\"]).describe(\"Filter by channel type. 'super' channels support up to tens of thousands of members; 'nonsuper' regular channels support up to 100 members. Defaults to 'all'.\").optional(),\n public_mode: z.enum([\"all\", \"public\", \"private\"]).describe(\"Filter by channel visibility. 'public' channels allow users to join without invitation; 'private' channels require an invitation. Defaults to 'all'.\").optional(),\n custom_types: z.array(z.string()).describe(\"Filter by custom channel types. Only channels matching one of the specified custom types will be counted. Pass an empty list or omit to include all custom types.\").optional(),\n distinct_mode: z.enum([\"all\", \"distinct\", \"nondistinct\"]).describe(\"Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.\").optional(),\n}).describe(\"Request model for fetching number of group channels by join status for a user.\");\nexport const SendbirdGetNumberOfChannelsByJoinStatusOutput = z.object({\n total: z.number().int().describe(\"Total number of group channels associated with the user (sum of joined and invited channels).\").nullable(),\n joined: z.number().int().default(0).describe(\"Number of group channels the user is currently a member of (has joined).\").nullable().optional(),\n invited: z.number().int().default(0).describe(\"Number of group channels the user has been invited to but has not yet joined.\").nullable().optional(),\n invited_by_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by a friend (if friend feature is enabled).\").nullable().optional(),\n invited_by_non_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by someone who is not a friend.\").nullable().optional(),\n}).passthrough().describe(\"Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.\");\n\nexport const sendbirdGetNumberOfChannelsByJoinStatus = action(\"SENDBIRD_GET_NUMBER_OF_CHANNELS_BY_JOIN_STATUS\", {\n slug: \"sendbird-get-number-of-channels-by-join-status\",\n name: \"Get User Group Channel Count by Join Status\",\n description: \"Retrieves the number of group channels for a user, categorized by join status (joined, invited, etc.). Use this tool to get channel count statistics for a specific user, optionally filtered by channel properties like visibility (public/private), distinctness, or super mode. Returns counts of joined channels, invited channels (with friend/non-friend breakdown), and total count.\",\n input: SendbirdGetNumberOfChannelsByJoinStatusInput,\n output: SendbirdGetNumberOfChannelsByJoinStatusOutput,\n});\n"],"mappings":";;AAmBA,MAAa,0CAA0C,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB0D,EAAE,OAAO;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EAC5G,YAAY,EAAE,KAAK;GAAC;GAAO;GAAS;EAAU,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;EACrO,aAAa,EAAE,KAAK;GAAC;GAAO;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;EAC5N,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;EACzN,eAAe,EAAE,KAAK;GAAC;GAAO;GAAY;EAAa,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;CACvQ,CAAC,CAAC,CAAC,SAAS,gFAaH;CACP,QAb2D,EAAE,OAAO;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjL,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6HAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-number-of-channels-by-join-status.mjs","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.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 SendbirdGetNumberOfChannelsByJoinStatusInput = z.object({\n user_id: z.string().describe(\"The unique ID of the target user whose group channel count will be retrieved.\"),\n super_mode: z.enum([\"all\", \"super\", \"nonsuper\"]).describe(\"Filter by channel type. 'super' channels support up to tens of thousands of members; 'nonsuper' regular channels support up to 100 members. Defaults to 'all'.\").optional(),\n public_mode: z.enum([\"all\", \"public\", \"private\"]).describe(\"Filter by channel visibility. 'public' channels allow users to join without invitation; 'private' channels require an invitation. Defaults to 'all'.\").optional(),\n custom_types: z.array(z.string()).describe(\"Filter by custom channel types. Only channels matching one of the specified custom types will be counted. Pass an empty list or omit to include all custom types.\").optional(),\n distinct_mode: z.enum([\"all\", \"distinct\", \"nondistinct\"]).describe(\"Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.\").optional(),\n}).describe(\"Request model for fetching number of group channels by join status for a user.\");\nexport const SendbirdGetNumberOfChannelsByJoinStatusOutput = z.object({\n total: z.number().int().describe(\"Total number of group channels associated with the user (sum of joined and invited channels).\").nullable(),\n joined: z.number().int().default(0).describe(\"Number of group channels the user is currently a member of (has joined).\").nullable().optional(),\n invited: z.number().int().default(0).describe(\"Number of group channels the user has been invited to but has not yet joined.\").nullable().optional(),\n invited_by_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by a friend (if friend feature is enabled).\").nullable().optional(),\n invited_by_non_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by someone who is not a friend.\").nullable().optional(),\n}).passthrough().describe(\"Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.\");\n\nexport const sendbirdGetNumberOfChannelsByJoinStatus: AppAction<\n typeof SendbirdGetNumberOfChannelsByJoinStatusInput,\n typeof SendbirdGetNumberOfChannelsByJoinStatusOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_GET_NUMBER_OF_CHANNELS_BY_JOIN_STATUS\", {\n slug: \"sendbird-get-number-of-channels-by-join-status\",\n name: \"Get User Group Channel Count by Join Status\",\n description: \"Retrieves the number of group channels for a user, categorized by join status (joined, invited, etc.). Use this tool to get channel count statistics for a specific user, optionally filtered by channel properties like visibility (public/private), distinctness, or super mode. Returns counts of joined channels, invited channels (with friend/non-friend breakdown), and total count.\",\n input: SendbirdGetNumberOfChannelsByJoinStatusInput,\n output: SendbirdGetNumberOfChannelsByJoinStatusOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,0CAIT,OAAO,kDAAkD;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB0D,EAAE,OAAO;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EAC5G,YAAY,EAAE,KAAK;GAAC;GAAO;GAAS;EAAU,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;EACrO,aAAa,EAAE,KAAK;GAAC;GAAO;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;EAC5N,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;EACzN,eAAe,EAAE,KAAK;GAAC;GAAO;GAAY;EAAa,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;CACvQ,CAAC,CAAC,CAAC,SAAS,gFAiBH;CACP,QAjB2D,EAAE,OAAO;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjL,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6HAWhB;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/get-number-of-unread-items.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-number-of-unread-items.cjs","names":["z","action"],"sources":["../../src/actions/get-number-of-unread-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfUnreadItemsInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose unread item counts are to be retrieved.\"),\n item_keys: z.string().describe(\"Comma-separated list of item keys to retrieve. Options: non_super_group_channel_unread_message_count, super_group_channel_unread_message_count, group_channel_unread_message_count, non_super_group_channel_unread_mention_count, super_group_channel_unread_mention_count, group_channel_unread_mention_count, non_super_group_channel_invitation_count, super_group_channel_invitation_count, group_channel_invitation_count. If not specified, returns all available counts.\").optional(),\n custom_types: z.string().describe(\"Comma-separated list of custom channel types to filter the count by.\").optional(),\n}).describe(\"Request model for retrieving unread item counts for a Sendbird user.\\nRetrieves unread messages, mentions, and invitation counts in group channels.\");\nexport const SendbirdGetNumberOfUnreadItemsOutput = z.object({\n group_channel_invitation_count: z.number().int().describe(\"Total count of pending invitations across all group channels.\").nullable().optional(),\n group_channel_unread_mention_count: z.number().int().describe(\"Total count of unread mentions across all group channels.\").nullable().optional(),\n group_channel_unread_message_count: z.number().int().describe(\"Total count of unread messages across all group channels.\").nullable().optional(),\n super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in super group channels.\").nullable().optional(),\n non_super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in non-super group channels.\").nullable().optional(),\n super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in super group channels.\").nullable().optional(),\n super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in super group channels.\").nullable().optional(),\n non_super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in non-super group channels.\").nullable().optional(),\n non_super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in non-super group channels.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Sendbird unread item counts.\\nReturns various counts for unread messages, mentions, and invitations\\nacross different channel types.\");\n\nexport const sendbirdGetNumberOfUnreadItems = action(\"SENDBIRD_GET_NUMBER_OF_UNREAD_ITEMS\", {\n slug: \"sendbird-get-number-of-unread-items\",\n name: \"Sendbird Get Unread Item Count\",\n description: \"Tool to retrieve a user's unread item counts including unread messages, mentions, and pending invitations across group channels. Use this to display unread counts in the UI for a specific user.\",\n input: SendbirdGetNumberOfUnreadItemsInput,\n output: SendbirdGetNumberOfUnreadItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,idAAid,CAAC,CAAC,SAAS;CAC3f,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,qJAAqJ;AACjK,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,8CAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,8CAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yJAAyJ;AAEnL,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-number-of-unread-items.cjs","names":["z","action"],"sources":["../../src/actions/get-number-of-unread-items.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 SendbirdGetNumberOfUnreadItemsInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose unread item counts are to be retrieved.\"),\n item_keys: z.string().describe(\"Comma-separated list of item keys to retrieve. Options: non_super_group_channel_unread_message_count, super_group_channel_unread_message_count, group_channel_unread_message_count, non_super_group_channel_unread_mention_count, super_group_channel_unread_mention_count, group_channel_unread_mention_count, non_super_group_channel_invitation_count, super_group_channel_invitation_count, group_channel_invitation_count. If not specified, returns all available counts.\").optional(),\n custom_types: z.string().describe(\"Comma-separated list of custom channel types to filter the count by.\").optional(),\n}).describe(\"Request model for retrieving unread item counts for a Sendbird user.\\nRetrieves unread messages, mentions, and invitation counts in group channels.\");\nexport const SendbirdGetNumberOfUnreadItemsOutput = z.object({\n group_channel_invitation_count: z.number().int().describe(\"Total count of pending invitations across all group channels.\").nullable().optional(),\n group_channel_unread_mention_count: z.number().int().describe(\"Total count of unread mentions across all group channels.\").nullable().optional(),\n group_channel_unread_message_count: z.number().int().describe(\"Total count of unread messages across all group channels.\").nullable().optional(),\n super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in super group channels.\").nullable().optional(),\n non_super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in non-super group channels.\").nullable().optional(),\n super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in super group channels.\").nullable().optional(),\n super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in super group channels.\").nullable().optional(),\n non_super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in non-super group channels.\").nullable().optional(),\n non_super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in non-super group channels.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Sendbird unread item counts.\\nReturns various counts for unread messages, mentions, and invitations\\nacross different channel types.\");\n\nexport const sendbirdGetNumberOfUnreadItems: AppAction<\n typeof SendbirdGetNumberOfUnreadItemsInput,\n typeof SendbirdGetNumberOfUnreadItemsOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_GET_NUMBER_OF_UNREAD_ITEMS\", {\n slug: \"sendbird-get-number-of-unread-items\",\n name: \"Sendbird Get Unread Item Count\",\n description: \"Tool to retrieve a user's unread item counts including unread messages, mentions, and pending invitations across group channels. Use this to display unread counts in the UI for a specific user.\",\n input: SendbirdGetNumberOfUnreadItemsInput,\n output: SendbirdGetNumberOfUnreadItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,idAAid,CAAC,CAAC,SAAS;CAC3f,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,qJAAqJ;AACjK,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,8CAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,8CAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yJAAyJ;AAEnL,MAAa,iCAITC,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/get-number-of-unread-items.d.ts
@@ -17,25 +19,7 @@ declare const SendbirdGetNumberOfUnreadItemsOutput: z.ZodObject<{
17
19
  non_super_group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
20
  non_super_group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>;
20
- declare const sendbirdGetNumberOfUnreadItems: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- user_id: string;
22
- item_keys?: string | undefined;
23
- custom_types?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- subdomain: z.ZodString;
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- subdomain: z.ZodString;
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
22
+ declare const sendbirdGetNumberOfUnreadItems: AppAction<typeof SendbirdGetNumberOfUnreadItemsInput, typeof SendbirdGetNumberOfUnreadItemsOutput, typeof sendbird.credential>;
39
23
  //#endregion
40
24
  export { sendbirdGetNumberOfUnreadItems };
41
25
  //# sourceMappingURL=get-number-of-unread-items.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-number-of-unread-items.d.cts","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-number-of-unread-items.d.cts","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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/get-number-of-unread-items.d.ts
@@ -17,25 +19,7 @@ declare const SendbirdGetNumberOfUnreadItemsOutput: z.ZodObject<{
17
19
  non_super_group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
20
  non_super_group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>;
20
- declare const sendbirdGetNumberOfUnreadItems: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- user_id: string;
22
- item_keys?: string | undefined;
23
- custom_types?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- subdomain: z.ZodString;
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- subdomain: z.ZodString;
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
22
+ declare const sendbirdGetNumberOfUnreadItems: AppAction<typeof SendbirdGetNumberOfUnreadItemsInput, typeof SendbirdGetNumberOfUnreadItemsOutput, typeof sendbird.credential>;
39
23
  //#endregion
40
24
  export { sendbirdGetNumberOfUnreadItems };
41
25
  //# sourceMappingURL=get-number-of-unread-items.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-number-of-unread-items.d.mts","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-number-of-unread-items.d.mts","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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
  const sendbirdGetNumberOfUnreadItems = action("SENDBIRD_GET_NUMBER_OF_UNREAD_ITEMS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-number-of-unread-items.mjs","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfUnreadItemsInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose unread item counts are to be retrieved.\"),\n item_keys: z.string().describe(\"Comma-separated list of item keys to retrieve. Options: non_super_group_channel_unread_message_count, super_group_channel_unread_message_count, group_channel_unread_message_count, non_super_group_channel_unread_mention_count, super_group_channel_unread_mention_count, group_channel_unread_mention_count, non_super_group_channel_invitation_count, super_group_channel_invitation_count, group_channel_invitation_count. If not specified, returns all available counts.\").optional(),\n custom_types: z.string().describe(\"Comma-separated list of custom channel types to filter the count by.\").optional(),\n}).describe(\"Request model for retrieving unread item counts for a Sendbird user.\\nRetrieves unread messages, mentions, and invitation counts in group channels.\");\nexport const SendbirdGetNumberOfUnreadItemsOutput = z.object({\n group_channel_invitation_count: z.number().int().describe(\"Total count of pending invitations across all group channels.\").nullable().optional(),\n group_channel_unread_mention_count: z.number().int().describe(\"Total count of unread mentions across all group channels.\").nullable().optional(),\n group_channel_unread_message_count: z.number().int().describe(\"Total count of unread messages across all group channels.\").nullable().optional(),\n super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in super group channels.\").nullable().optional(),\n non_super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in non-super group channels.\").nullable().optional(),\n super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in super group channels.\").nullable().optional(),\n super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in super group channels.\").nullable().optional(),\n non_super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in non-super group channels.\").nullable().optional(),\n non_super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in non-super group channels.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Sendbird unread item counts.\\nReturns various counts for unread messages, mentions, and invitations\\nacross different channel types.\");\n\nexport const sendbirdGetNumberOfUnreadItems = action(\"SENDBIRD_GET_NUMBER_OF_UNREAD_ITEMS\", {\n slug: \"sendbird-get-number-of-unread-items\",\n name: \"Sendbird Get Unread Item Count\",\n description: \"Tool to retrieve a user's unread item counts including unread messages, mentions, and pending invitations across group channels. Use this to display unread counts in the UI for a specific user.\",\n input: SendbirdGetNumberOfUnreadItemsInput,\n output: SendbirdGetNumberOfUnreadItemsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBiD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,idAAid,CAAC,CAAC,SAAS;EAC3f,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,qJAiBH;CACP,QAjBkD,EAAE,OAAO;EAC3D,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,oCAAoC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,oCAAoC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,sCAAsC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,8CAA8C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,8CAA8C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yJAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-number-of-unread-items.mjs","names":[],"sources":["../../src/actions/get-number-of-unread-items.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 SendbirdGetNumberOfUnreadItemsInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose unread item counts are to be retrieved.\"),\n item_keys: z.string().describe(\"Comma-separated list of item keys to retrieve. Options: non_super_group_channel_unread_message_count, super_group_channel_unread_message_count, group_channel_unread_message_count, non_super_group_channel_unread_mention_count, super_group_channel_unread_mention_count, group_channel_unread_mention_count, non_super_group_channel_invitation_count, super_group_channel_invitation_count, group_channel_invitation_count. If not specified, returns all available counts.\").optional(),\n custom_types: z.string().describe(\"Comma-separated list of custom channel types to filter the count by.\").optional(),\n}).describe(\"Request model for retrieving unread item counts for a Sendbird user.\\nRetrieves unread messages, mentions, and invitation counts in group channels.\");\nexport const SendbirdGetNumberOfUnreadItemsOutput = z.object({\n group_channel_invitation_count: z.number().int().describe(\"Total count of pending invitations across all group channels.\").nullable().optional(),\n group_channel_unread_mention_count: z.number().int().describe(\"Total count of unread mentions across all group channels.\").nullable().optional(),\n group_channel_unread_message_count: z.number().int().describe(\"Total count of unread messages across all group channels.\").nullable().optional(),\n super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in super group channels.\").nullable().optional(),\n non_super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in non-super group channels.\").nullable().optional(),\n super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in super group channels.\").nullable().optional(),\n super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in super group channels.\").nullable().optional(),\n non_super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in non-super group channels.\").nullable().optional(),\n non_super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in non-super group channels.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Sendbird unread item counts.\\nReturns various counts for unread messages, mentions, and invitations\\nacross different channel types.\");\n\nexport const sendbirdGetNumberOfUnreadItems: AppAction<\n typeof SendbirdGetNumberOfUnreadItemsInput,\n typeof SendbirdGetNumberOfUnreadItemsOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_GET_NUMBER_OF_UNREAD_ITEMS\", {\n slug: \"sendbird-get-number-of-unread-items\",\n name: \"Sendbird Get Unread Item Count\",\n description: \"Tool to retrieve a user's unread item counts including unread messages, mentions, and pending invitations across group channels. Use this to display unread counts in the UI for a specific user.\",\n input: SendbirdGetNumberOfUnreadItemsInput,\n output: SendbirdGetNumberOfUnreadItemsOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBiD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,idAAid,CAAC,CAAC,SAAS;EAC3f,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,qJAqBH;CACP,QArBkD,EAAE,OAAO;EAC3D,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,oCAAoC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,oCAAoC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,sCAAsC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,8CAA8C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,8CAA8C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yJAWhB;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/issue-session-token.ts
@@ -1 +1 @@
1
- {"version":3,"file":"issue-session-token.cjs","names":["z","action"],"sources":["../../src/actions/issue-session-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdIssueSessionTokenInput = z.object({\n user_id: z.string().describe(\"The unique ID of the user to issue a session token for.\"),\n expires_at: z.number().int().describe(\"Optional token expiration timestamp in Unix milliseconds. If omitted, the default token lifetime is used.\").optional(),\n}).describe(\"Request model for issuing a session token to a Sendbird user.\");\nexport const SendbirdIssueSessionTokenOutput = z.object({\n token: z.string().describe(\"The session token issued for the user.\").nullable(),\n user_id: z.string().describe(\"The ID of the user the token was issued for.\").nullable().optional(),\n expires_at: z.number().int().describe(\"Expiration timestamp of the session token in Unix milliseconds.\").nullable(),\n}).passthrough().describe(\"Response model for the issued session token.\");\n\nexport const sendbirdIssueSessionToken = action(\"SENDBIRD_ISSUE_SESSION_TOKEN\", {\n slug: \"sendbird-issue-session-token\",\n name: \"Issue Session Token\",\n description: \"Issues a session token for authenticating a Sendbird user. Use this tool when you need to: - Generate a new session token for SDK authentication - Refresh an expiring or expired session token - Provide secure access for a user to connect to Sendbird chat The session token has a default expiration of 7 days if expires_at is not specified.\",\n input: SendbirdIssueSessionTokenInput,\n output: SendbirdIssueSessionTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"issue-session-token.cjs","names":["z","action"],"sources":["../../src/actions/issue-session-token.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 SendbirdIssueSessionTokenInput = z.object({\n user_id: z.string().describe(\"The unique ID of the user to issue a session token for.\"),\n expires_at: z.number().int().describe(\"Optional token expiration timestamp in Unix milliseconds. If omitted, the default token lifetime is used.\").optional(),\n}).describe(\"Request model for issuing a session token to a Sendbird user.\");\nexport const SendbirdIssueSessionTokenOutput = z.object({\n token: z.string().describe(\"The session token issued for the user.\").nullable(),\n user_id: z.string().describe(\"The ID of the user the token was issued for.\").nullable().optional(),\n expires_at: z.number().int().describe(\"Expiration timestamp of the session token in Unix milliseconds.\").nullable(),\n}).passthrough().describe(\"Response model for the issued session token.\");\n\nexport const sendbirdIssueSessionToken: AppAction<\n typeof SendbirdIssueSessionTokenInput,\n typeof SendbirdIssueSessionTokenOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_ISSUE_SESSION_TOKEN\", {\n slug: \"sendbird-issue-session-token\",\n name: \"Issue Session Token\",\n description: \"Issues a session token for authenticating a Sendbird user. Use this tool when you need to: - Generate a new session token for SDK authentication - Refresh an expiring or expired session token - Provide secure access for a user to connect to Sendbird chat The session token has a default expiration of 7 days if expires_at is not specified.\",\n input: SendbirdIssueSessionTokenInput,\n output: SendbirdIssueSessionTokenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/issue-session-token.d.ts
@@ -10,24 +12,7 @@ declare const SendbirdIssueSessionTokenOutput: z.ZodObject<{
10
12
  user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  expires_at: z.ZodNullable<z.ZodNumber>;
12
14
  }, z.core.$loose>;
13
- declare const sendbirdIssueSessionToken: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- user_id: string;
15
- expires_at?: number | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- subdomain: z.ZodString;
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- subdomain: z.ZodString;
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
15
+ declare const sendbirdIssueSessionToken: AppAction<typeof SendbirdIssueSessionTokenInput, typeof SendbirdIssueSessionTokenOutput, typeof sendbird.credential>;
31
16
  //#endregion
32
17
  export { sendbirdIssueSessionToken };
33
18
  //# sourceMappingURL=issue-session-token.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"issue-session-token.d.cts","names":[],"sources":["../../src/actions/issue-session-token.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"issue-session-token.d.cts","names":[],"sources":["../../src/actions/issue-session-token.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/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/issue-session-token.d.ts
@@ -10,24 +12,7 @@ declare const SendbirdIssueSessionTokenOutput: z.ZodObject<{
10
12
  user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  expires_at: z.ZodNullable<z.ZodNumber>;
12
14
  }, z.core.$loose>;
13
- declare const sendbirdIssueSessionToken: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- user_id: string;
15
- expires_at?: number | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- subdomain: z.ZodString;
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- subdomain: z.ZodString;
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
15
+ declare const sendbirdIssueSessionToken: AppAction<typeof SendbirdIssueSessionTokenInput, typeof SendbirdIssueSessionTokenOutput, typeof sendbird.credential>;
31
16
  //#endregion
32
17
  export { sendbirdIssueSessionToken };
33
18
  //# sourceMappingURL=issue-session-token.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"issue-session-token.d.mts","names":[],"sources":["../../src/actions/issue-session-token.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"issue-session-token.d.mts","names":[],"sources":["../../src/actions/issue-session-token.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/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
  const sendbirdIssueSessionToken = action("SENDBIRD_ISSUE_SESSION_TOKEN", {
@@ -1 +1 @@
1
- {"version":3,"file":"issue-session-token.mjs","names":[],"sources":["../../src/actions/issue-session-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdIssueSessionTokenInput = z.object({\n user_id: z.string().describe(\"The unique ID of the user to issue a session token for.\"),\n expires_at: z.number().int().describe(\"Optional token expiration timestamp in Unix milliseconds. If omitted, the default token lifetime is used.\").optional(),\n}).describe(\"Request model for issuing a session token to a Sendbird user.\");\nexport const SendbirdIssueSessionTokenOutput = z.object({\n token: z.string().describe(\"The session token issued for the user.\").nullable(),\n user_id: z.string().describe(\"The ID of the user the token was issued for.\").nullable().optional(),\n expires_at: z.number().int().describe(\"Expiration timestamp of the session token in Unix milliseconds.\").nullable(),\n}).passthrough().describe(\"Response model for the issued session token.\");\n\nexport const sendbirdIssueSessionToken = action(\"SENDBIRD_ISSUE_SESSION_TOKEN\", {\n slug: \"sendbird-issue-session-token\",\n name: \"Issue Session Token\",\n description: \"Issues a session token for authenticating a Sendbird user. Use this tool when you need to: - Generate a new session token for SDK authentication - Refresh an expiring or expired session token - Provide secure access for a user to connect to Sendbird chat The session token has a default expiration of 7 days if expires_at is not specified.\",\n input: SendbirdIssueSessionTokenInput,\n output: SendbirdIssueSessionTokenOutput,\n});\n"],"mappings":";;AAcA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAX6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"issue-session-token.mjs","names":[],"sources":["../../src/actions/issue-session-token.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 SendbirdIssueSessionTokenInput = z.object({\n user_id: z.string().describe(\"The unique ID of the user to issue a session token for.\"),\n expires_at: z.number().int().describe(\"Optional token expiration timestamp in Unix milliseconds. If omitted, the default token lifetime is used.\").optional(),\n}).describe(\"Request model for issuing a session token to a Sendbird user.\");\nexport const SendbirdIssueSessionTokenOutput = z.object({\n token: z.string().describe(\"The session token issued for the user.\").nullable(),\n user_id: z.string().describe(\"The ID of the user the token was issued for.\").nullable().optional(),\n expires_at: z.number().int().describe(\"Expiration timestamp of the session token in Unix milliseconds.\").nullable(),\n}).passthrough().describe(\"Response model for the issued session token.\");\n\nexport const sendbirdIssueSessionToken: AppAction<\n typeof SendbirdIssueSessionTokenInput,\n typeof SendbirdIssueSessionTokenOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_ISSUE_SESSION_TOKEN\", {\n slug: \"sendbird-issue-session-token\",\n name: \"Issue Session Token\",\n description: \"Issues a session token for authenticating a Sendbird user. Use this tool when you need to: - Generate a new session token for SDK authentication - Refresh an expiring or expired session token - Provide secure access for a user to connect to Sendbird chat The session token has a default expiration of 7 days if expires_at is not specified.\",\n input: SendbirdIssueSessionTokenInput,\n output: SendbirdIssueSessionTokenOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,+DAeH;CACP,QAf6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;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/leave-group-channels.ts
@@ -1 +1 @@
1
- {"version":3,"file":"leave-group-channels.cjs","names":["z","action"],"sources":["../../src/actions/leave-group-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdLeaveGroupChannelsInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user who will leave group channels.\"),\n custom_type: z.string().describe(\"Custom type to filter which group channels to leave. Only channels with this custom type will be left.\").optional(),\n channel_urls: z.array(z.string()).describe(\"List of group channel URLs to leave. Required unless `should_leave_all` is true or `custom_type` is specified.\").optional(),\n should_leave_all: z.boolean().describe(\"Whether to leave all joined group channels. If true, `channel_urls` is ignored.\").optional(),\n}).describe(\"Request model for leaving one or more group channels for a user.\");\nexport const SendbirdLeaveGroupChannelsOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the user successfully left the group channels.\").nullable().optional(),\n}).passthrough().describe(\"Response model for leaving group channels.\\nThe Sendbird API returns an empty response body on success.\");\n\nexport const sendbirdLeaveGroupChannels = action(\"SENDBIRD_LEAVE_GROUP_CHANNELS\", {\n slug: \"sendbird-leave-group-channels\",\n name: \"Leave Group Channels\",\n description: \"Tool to leave group channels for a user. Use when you need to make a user exit one or more joined group channels.\",\n input: SendbirdLeaveGroupChannelsInput,\n output: SendbirdLeaveGroupChannelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACpJ,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACtK,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAAyG;AAEnI,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"leave-group-channels.cjs","names":["z","action"],"sources":["../../src/actions/leave-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 SendbirdLeaveGroupChannelsInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user who will leave group channels.\"),\n custom_type: z.string().describe(\"Custom type to filter which group channels to leave. Only channels with this custom type will be left.\").optional(),\n channel_urls: z.array(z.string()).describe(\"List of group channel URLs to leave. Required unless `should_leave_all` is true or `custom_type` is specified.\").optional(),\n should_leave_all: z.boolean().describe(\"Whether to leave all joined group channels. If true, `channel_urls` is ignored.\").optional(),\n}).describe(\"Request model for leaving one or more group channels for a user.\");\nexport const SendbirdLeaveGroupChannelsOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the user successfully left the group channels.\").nullable().optional(),\n}).passthrough().describe(\"Response model for leaving group channels.\\nThe Sendbird API returns an empty response body on success.\");\n\nexport const sendbirdLeaveGroupChannels: AppAction<\n typeof SendbirdLeaveGroupChannelsInput,\n typeof SendbirdLeaveGroupChannelsOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LEAVE_GROUP_CHANNELS\", {\n slug: \"sendbird-leave-group-channels\",\n name: \"Leave Group Channels\",\n description: \"Tool to leave group channels for a user. Use when you need to make a user exit one or more joined group channels.\",\n input: SendbirdLeaveGroupChannelsInput,\n output: SendbirdLeaveGroupChannelsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACpJ,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACtK,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAAyG;AAEnI,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/leave-group-channels.d.ts
@@ -10,26 +12,7 @@ declare const SendbirdLeaveGroupChannelsInput: z.ZodObject<{
10
12
  declare const SendbirdLeaveGroupChannelsOutput: z.ZodObject<{
11
13
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
14
  }, z.core.$loose>;
13
- declare const sendbirdLeaveGroupChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- user_id: string;
15
- custom_type?: string | undefined;
16
- channel_urls?: string[] | undefined;
17
- should_leave_all?: boolean | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- subdomain: z.ZodString;
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- subdomain: z.ZodString;
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>;
15
+ declare const sendbirdLeaveGroupChannels: AppAction<typeof SendbirdLeaveGroupChannelsInput, typeof SendbirdLeaveGroupChannelsOutput, typeof sendbird.credential>;
33
16
  //#endregion
34
17
  export { sendbirdLeaveGroupChannels };
35
18
  //# sourceMappingURL=leave-group-channels.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"leave-group-channels.d.cts","names":[],"sources":["../../src/actions/leave-group-channels.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"leave-group-channels.d.cts","names":[],"sources":["../../src/actions/leave-group-channels.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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/leave-group-channels.d.ts
@@ -10,26 +12,7 @@ declare const SendbirdLeaveGroupChannelsInput: z.ZodObject<{
10
12
  declare const SendbirdLeaveGroupChannelsOutput: z.ZodObject<{
11
13
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
14
  }, z.core.$loose>;
13
- declare const sendbirdLeaveGroupChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- user_id: string;
15
- custom_type?: string | undefined;
16
- channel_urls?: string[] | undefined;
17
- should_leave_all?: boolean | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- subdomain: z.ZodString;
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- subdomain: z.ZodString;
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>;
15
+ declare const sendbirdLeaveGroupChannels: AppAction<typeof SendbirdLeaveGroupChannelsInput, typeof SendbirdLeaveGroupChannelsOutput, typeof sendbird.credential>;
33
16
  //#endregion
34
17
  export { sendbirdLeaveGroupChannels };
35
18
  //# sourceMappingURL=leave-group-channels.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"leave-group-channels.d.mts","names":[],"sources":["../../src/actions/leave-group-channels.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"leave-group-channels.d.mts","names":[],"sources":["../../src/actions/leave-group-channels.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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
  const sendbirdLeaveGroupChannels = action("SENDBIRD_LEAVE_GROUP_CHANNELS", {
@@ -1 +1 @@
1
- {"version":3,"file":"leave-group-channels.mjs","names":[],"sources":["../../src/actions/leave-group-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdLeaveGroupChannelsInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user who will leave group channels.\"),\n custom_type: z.string().describe(\"Custom type to filter which group channels to leave. Only channels with this custom type will be left.\").optional(),\n channel_urls: z.array(z.string()).describe(\"List of group channel URLs to leave. Required unless `should_leave_all` is true or `custom_type` is specified.\").optional(),\n should_leave_all: z.boolean().describe(\"Whether to leave all joined group channels. If true, `channel_urls` is ignored.\").optional(),\n}).describe(\"Request model for leaving one or more group channels for a user.\");\nexport const SendbirdLeaveGroupChannelsOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the user successfully left the group channels.\").nullable().optional(),\n}).passthrough().describe(\"Response model for leaving group channels.\\nThe Sendbird API returns an empty response body on success.\");\n\nexport const sendbirdLeaveGroupChannels = action(\"SENDBIRD_LEAVE_GROUP_CHANNELS\", {\n slug: \"sendbird-leave-group-channels\",\n name: \"Leave Group Channels\",\n description: \"Tool to leave group channels for a user. Use when you need to make a user exit one or more joined group channels.\",\n input: SendbirdLeaveGroupChannelsInput,\n output: SendbirdLeaveGroupChannelsOutput,\n});\n"],"mappings":";;AAcA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACpJ,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACtK,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,kEASH;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"leave-group-channels.mjs","names":[],"sources":["../../src/actions/leave-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 SendbirdLeaveGroupChannelsInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user who will leave group channels.\"),\n custom_type: z.string().describe(\"Custom type to filter which group channels to leave. Only channels with this custom type will be left.\").optional(),\n channel_urls: z.array(z.string()).describe(\"List of group channel URLs to leave. Required unless `should_leave_all` is true or `custom_type` is specified.\").optional(),\n should_leave_all: z.boolean().describe(\"Whether to leave all joined group channels. If true, `channel_urls` is ignored.\").optional(),\n}).describe(\"Request model for leaving one or more group channels for a user.\");\nexport const SendbirdLeaveGroupChannelsOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the user successfully left the group channels.\").nullable().optional(),\n}).passthrough().describe(\"Response model for leaving group channels.\\nThe Sendbird API returns an empty response body on success.\");\n\nexport const sendbirdLeaveGroupChannels: AppAction<\n typeof SendbirdLeaveGroupChannelsInput,\n typeof SendbirdLeaveGroupChannelsOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LEAVE_GROUP_CHANNELS\", {\n slug: \"sendbird-leave-group-channels\",\n name: \"Leave Group Channels\",\n description: \"Tool to leave group channels for a user. Use when you need to make a user exit one or more joined group channels.\",\n input: SendbirdLeaveGroupChannelsInput,\n output: SendbirdLeaveGroupChannelsOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACpJ,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACtK,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,kEAaH;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAWhB;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-banned-members.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-banned-members.cjs","names":["z","action"],"sources":["../../src/actions/list-banned-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListBannedMembersInput = z.object({\n limit: z.number().int().describe(\"Number of banned members to return per page (1-100). Default is 10.\").optional(),\n token: z.string().describe(\"Pagination token from previous response; omit for first request.\").optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel to list banned members from.\"),\n}).describe(\"Request parameters for listing banned members in a group channel.\");\nconst SendbirdListBannedMembers_BannedMemberSchema = z.object({\n user_id: z.string().describe(\"User ID of the banned member.\").nullable(),\n nickname: z.string().describe(\"Nickname of the banned user.\").nullable().optional(),\n ban_end_at: z.number().int().describe(\"Unix timestamp in milliseconds when the ban ends.\").nullable(),\n description: z.string().describe(\"Description or reason for the ban.\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the banned user.\").nullable().optional(),\n ban_start_at: z.number().int().describe(\"Unix timestamp in milliseconds when the ban started.\").nullable(),\n}).passthrough();\nexport const SendbirdListBannedMembersOutput = z.object({\n next: z.string().describe(\"Pagination token for fetching the next page of results.\").nullable().optional(),\n banned_list: z.array(SendbirdListBannedMembers_BannedMemberSchema).describe(\"List of banned member objects in the group channel.\"),\n}).passthrough();\n\nexport const sendbirdListBannedMembers = action(\"SENDBIRD_LIST_BANNED_MEMBERS\", {\n slug: \"sendbird-list-banned-members\",\n name: \"List Banned Members\",\n description: \"Tool to list banned members in a group channel. Use when you need to see which users are banned from a specific group channel.\",\n input: SendbirdListBannedMembersInput,\n output: SendbirdListBannedMembersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qDAAqD;AACnI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-banned-members.cjs","names":["z","action"],"sources":["../../src/actions/list-banned-members.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 SendbirdListBannedMembersInput = z.object({\n limit: z.number().int().describe(\"Number of banned members to return per page (1-100). Default is 10.\").optional(),\n token: z.string().describe(\"Pagination token from previous response; omit for first request.\").optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel to list banned members from.\"),\n}).describe(\"Request parameters for listing banned members in a group channel.\");\nconst SendbirdListBannedMembers_BannedMemberSchema = z.object({\n user_id: z.string().describe(\"User ID of the banned member.\").nullable(),\n nickname: z.string().describe(\"Nickname of the banned user.\").nullable().optional(),\n ban_end_at: z.number().int().describe(\"Unix timestamp in milliseconds when the ban ends.\").nullable(),\n description: z.string().describe(\"Description or reason for the ban.\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the banned user.\").nullable().optional(),\n ban_start_at: z.number().int().describe(\"Unix timestamp in milliseconds when the ban started.\").nullable(),\n}).passthrough();\nexport const SendbirdListBannedMembersOutput = z.object({\n next: z.string().describe(\"Pagination token for fetching the next page of results.\").nullable().optional(),\n banned_list: z.array(SendbirdListBannedMembers_BannedMemberSchema).describe(\"List of banned member objects in the group channel.\"),\n}).passthrough();\n\nexport const sendbirdListBannedMembers: AppAction<\n typeof SendbirdListBannedMembersInput,\n typeof SendbirdListBannedMembersOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LIST_BANNED_MEMBERS\", {\n slug: \"sendbird-list-banned-members\",\n name: \"List Banned Members\",\n description: \"Tool to list banned members in a group channel. Use when you need to see which users are banned from a specific group channel.\",\n input: SendbirdListBannedMembersInput,\n output: SendbirdListBannedMembersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qDAAqD;AACnI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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-banned-members.d.ts
@@ -17,25 +19,7 @@ declare const SendbirdListBannedMembersOutput: z.ZodObject<{
17
19
  ban_start_at: z.ZodNullable<z.ZodNumber>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const sendbirdListBannedMembers: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- channel_url: string;
22
- limit?: number | undefined;
23
- token?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- subdomain: z.ZodString;
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- subdomain: z.ZodString;
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
22
+ declare const sendbirdListBannedMembers: AppAction<typeof SendbirdListBannedMembersInput, typeof SendbirdListBannedMembersOutput, typeof sendbird.credential>;
39
23
  //#endregion
40
24
  export { sendbirdListBannedMembers };
41
25
  //# sourceMappingURL=list-banned-members.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-banned-members.d.cts","names":[],"sources":["../../src/actions/list-banned-members.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-banned-members.d.cts","names":[],"sources":["../../src/actions/list-banned-members.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}