@keystrokehq/sendbird 0.1.0 → 0.1.3

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 (305) 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 +3 -3
  4. package/dist/actions/add-members-group-channel.cjs.map +1 -1
  5. package/dist/actions/add-members-group-channel.d.cts +28 -3
  6. package/dist/actions/add-members-group-channel.d.cts.map +1 -1
  7. package/dist/actions/add-members-group-channel.d.mts +28 -3
  8. package/dist/actions/add-members-group-channel.d.mts.map +1 -1
  9. package/dist/actions/add-members-group-channel.mjs +3 -3
  10. package/dist/actions/add-members-group-channel.mjs.map +1 -1
  11. package/dist/actions/ban-user-from-group-channel.cjs +3 -3
  12. package/dist/actions/ban-user-from-group-channel.cjs.map +1 -1
  13. package/dist/actions/ban-user-from-group-channel.d.cts +25 -3
  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 +25 -3
  16. package/dist/actions/ban-user-from-group-channel.d.mts.map +1 -1
  17. package/dist/actions/ban-user-from-group-channel.mjs +3 -3
  18. package/dist/actions/ban-user-from-group-channel.mjs.map +1 -1
  19. package/dist/actions/create-channel.cjs +23 -23
  20. package/dist/actions/create-channel.cjs.map +1 -1
  21. package/dist/actions/create-channel.d.cts +90 -3
  22. package/dist/actions/create-channel.d.cts.map +1 -1
  23. package/dist/actions/create-channel.d.mts +90 -3
  24. package/dist/actions/create-channel.d.mts.map +1 -1
  25. package/dist/actions/create-channel.mjs +23 -23
  26. package/dist/actions/create-channel.mjs.map +1 -1
  27. package/dist/actions/create-user.cjs +5 -5
  28. package/dist/actions/create-user.cjs.map +1 -1
  29. package/dist/actions/create-user.d.cts +40 -3
  30. package/dist/actions/create-user.d.cts.map +1 -1
  31. package/dist/actions/create-user.d.mts +40 -3
  32. package/dist/actions/create-user.d.mts.map +1 -1
  33. package/dist/actions/create-user.mjs +5 -5
  34. package/dist/actions/create-user.mjs.map +1 -1
  35. package/dist/actions/delete-channel.cjs +1 -1
  36. package/dist/actions/delete-channel.cjs.map +1 -1
  37. package/dist/actions/delete-channel.d.cts +9 -3
  38. package/dist/actions/delete-channel.d.cts.map +1 -1
  39. package/dist/actions/delete-channel.d.mts +9 -3
  40. package/dist/actions/delete-channel.d.mts.map +1 -1
  41. package/dist/actions/delete-channel.mjs +1 -1
  42. package/dist/actions/delete-channel.mjs.map +1 -1
  43. package/dist/actions/delete-message.cjs +1 -1
  44. package/dist/actions/delete-message.cjs.map +1 -1
  45. package/dist/actions/delete-message.d.cts +11 -3
  46. package/dist/actions/delete-message.d.cts.map +1 -1
  47. package/dist/actions/delete-message.d.mts +11 -3
  48. package/dist/actions/delete-message.d.mts.map +1 -1
  49. package/dist/actions/delete-message.mjs +1 -1
  50. package/dist/actions/delete-message.mjs.map +1 -1
  51. package/dist/actions/delete-user.cjs +1 -1
  52. package/dist/actions/delete-user.cjs.map +1 -1
  53. package/dist/actions/delete-user.d.cts +9 -3
  54. package/dist/actions/delete-user.d.cts.map +1 -1
  55. package/dist/actions/delete-user.d.mts +9 -3
  56. package/dist/actions/delete-user.d.mts.map +1 -1
  57. package/dist/actions/delete-user.mjs +1 -1
  58. package/dist/actions/delete-user.mjs.map +1 -1
  59. package/dist/actions/get-count-preference-of-channel.cjs +3 -3
  60. package/dist/actions/get-count-preference-of-channel.cjs.map +1 -1
  61. package/dist/actions/get-count-preference-of-channel.d.cts +16 -3
  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 +16 -3
  64. package/dist/actions/get-count-preference-of-channel.d.mts.map +1 -1
  65. package/dist/actions/get-count-preference-of-channel.mjs +3 -3
  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 +2 -2
  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 +33 -3
  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 +33 -3
  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 +2 -2
  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 -1
  76. package/dist/actions/get-number-of-unread-items.cjs.map +1 -1
  77. package/dist/actions/get-number-of-unread-items.d.cts +21 -3
  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 +21 -3
  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 -1
  82. package/dist/actions/get-number-of-unread-items.mjs.map +1 -1
  83. package/dist/actions/issue-session-token.cjs +3 -3
  84. package/dist/actions/issue-session-token.cjs.map +1 -1
  85. package/dist/actions/issue-session-token.d.cts +13 -3
  86. package/dist/actions/issue-session-token.d.cts.map +1 -1
  87. package/dist/actions/issue-session-token.d.mts +13 -3
  88. package/dist/actions/issue-session-token.d.mts.map +1 -1
  89. package/dist/actions/issue-session-token.mjs +3 -3
  90. package/dist/actions/issue-session-token.mjs.map +1 -1
  91. package/dist/actions/leave-group-channels.cjs +1 -1
  92. package/dist/actions/leave-group-channels.cjs.map +1 -1
  93. package/dist/actions/leave-group-channels.d.cts +15 -3
  94. package/dist/actions/leave-group-channels.d.cts.map +1 -1
  95. package/dist/actions/leave-group-channels.d.mts +15 -3
  96. package/dist/actions/leave-group-channels.d.mts.map +1 -1
  97. package/dist/actions/leave-group-channels.mjs +1 -1
  98. package/dist/actions/leave-group-channels.mjs.map +1 -1
  99. package/dist/actions/list-banned-members.cjs +5 -5
  100. package/dist/actions/list-banned-members.cjs.map +1 -1
  101. package/dist/actions/list-banned-members.d.cts +21 -3
  102. package/dist/actions/list-banned-members.d.cts.map +1 -1
  103. package/dist/actions/list-banned-members.d.mts +21 -3
  104. package/dist/actions/list-banned-members.d.mts.map +1 -1
  105. package/dist/actions/list-banned-members.mjs +5 -5
  106. package/dist/actions/list-banned-members.mjs.map +1 -1
  107. package/dist/actions/list-group-channel-messages.cjs +16 -16
  108. package/dist/actions/list-group-channel-messages.cjs.map +1 -1
  109. package/dist/actions/list-group-channel-messages.d.cts +99 -3
  110. package/dist/actions/list-group-channel-messages.d.cts.map +1 -1
  111. package/dist/actions/list-group-channel-messages.d.mts +99 -3
  112. package/dist/actions/list-group-channel-messages.d.mts.map +1 -1
  113. package/dist/actions/list-group-channel-messages.mjs +16 -16
  114. package/dist/actions/list-group-channel-messages.mjs.map +1 -1
  115. package/dist/actions/list-group-channels.cjs +12 -12
  116. package/dist/actions/list-group-channels.cjs.map +1 -1
  117. package/dist/actions/list-group-channels.d.cts +117 -3
  118. package/dist/actions/list-group-channels.d.cts.map +1 -1
  119. package/dist/actions/list-group-channels.d.mts +117 -3
  120. package/dist/actions/list-group-channels.d.mts.map +1 -1
  121. package/dist/actions/list-group-channels.mjs +12 -12
  122. package/dist/actions/list-group-channels.mjs.map +1 -1
  123. package/dist/actions/list-members-group-channel.cjs +8 -8
  124. package/dist/actions/list-members-group-channel.cjs.map +1 -1
  125. package/dist/actions/list-members-group-channel.d.cts +52 -3
  126. package/dist/actions/list-members-group-channel.d.cts.map +1 -1
  127. package/dist/actions/list-members-group-channel.d.mts +52 -3
  128. package/dist/actions/list-members-group-channel.d.mts.map +1 -1
  129. package/dist/actions/list-members-group-channel.mjs +8 -8
  130. package/dist/actions/list-members-group-channel.mjs.map +1 -1
  131. package/dist/actions/list-operators-custom-channel-type.cjs +4 -4
  132. package/dist/actions/list-operators-custom-channel-type.cjs.map +1 -1
  133. package/dist/actions/list-operators-custom-channel-type.d.cts +19 -3
  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 +19 -3
  136. package/dist/actions/list-operators-custom-channel-type.d.mts.map +1 -1
  137. package/dist/actions/list-operators-custom-channel-type.mjs +4 -4
  138. package/dist/actions/list-operators-custom-channel-type.mjs.map +1 -1
  139. package/dist/actions/list-operators-group-channel.cjs +3 -3
  140. package/dist/actions/list-operators-group-channel.cjs.map +1 -1
  141. package/dist/actions/list-operators-group-channel.d.cts +18 -3
  142. package/dist/actions/list-operators-group-channel.d.cts.map +1 -1
  143. package/dist/actions/list-operators-group-channel.d.mts +18 -3
  144. package/dist/actions/list-operators-group-channel.d.mts.map +1 -1
  145. package/dist/actions/list-operators-group-channel.mjs +3 -3
  146. package/dist/actions/list-operators-group-channel.mjs.map +1 -1
  147. package/dist/actions/list-operators-open-channel.cjs +4 -4
  148. package/dist/actions/list-operators-open-channel.cjs.map +1 -1
  149. package/dist/actions/list-operators-open-channel.d.cts +19 -3
  150. package/dist/actions/list-operators-open-channel.d.cts.map +1 -1
  151. package/dist/actions/list-operators-open-channel.d.mts +19 -3
  152. package/dist/actions/list-operators-open-channel.d.mts.map +1 -1
  153. package/dist/actions/list-operators-open-channel.mjs +4 -4
  154. package/dist/actions/list-operators-open-channel.mjs.map +1 -1
  155. package/dist/actions/list-users.cjs +4 -4
  156. package/dist/actions/list-users.cjs.map +1 -1
  157. package/dist/actions/list-users.d.cts +48 -3
  158. package/dist/actions/list-users.d.cts.map +1 -1
  159. package/dist/actions/list-users.d.mts +48 -3
  160. package/dist/actions/list-users.d.mts.map +1 -1
  161. package/dist/actions/list-users.mjs +4 -4
  162. package/dist/actions/list-users.mjs.map +1 -1
  163. package/dist/actions/mark-all-user-messages-as-read.cjs +1 -1
  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 +9 -3
  166. package/dist/actions/mark-all-user-messages-as-read.d.cts.map +1 -1
  167. package/dist/actions/mark-all-user-messages-as-read.d.mts +9 -3
  168. package/dist/actions/mark-all-user-messages-as-read.d.mts.map +1 -1
  169. package/dist/actions/mark-all-user-messages-as-read.mjs +1 -1
  170. package/dist/actions/mark-all-user-messages-as-read.mjs.map +1 -1
  171. package/dist/actions/mute-user.cjs +1 -1
  172. package/dist/actions/mute-user.cjs.map +1 -1
  173. package/dist/actions/mute-user.d.cts +13 -3
  174. package/dist/actions/mute-user.d.cts.map +1 -1
  175. package/dist/actions/mute-user.d.mts +13 -3
  176. package/dist/actions/mute-user.d.mts.map +1 -1
  177. package/dist/actions/mute-user.mjs +1 -1
  178. package/dist/actions/mute-user.mjs.map +1 -1
  179. package/dist/actions/register-operators-custom-channel-type.cjs +4 -4
  180. package/dist/actions/register-operators-custom-channel-type.cjs.map +1 -1
  181. package/dist/actions/register-operators-custom-channel-type.d.cts +16 -3
  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 +16 -3
  184. package/dist/actions/register-operators-custom-channel-type.d.mts.map +1 -1
  185. package/dist/actions/register-operators-custom-channel-type.mjs +4 -4
  186. package/dist/actions/register-operators-custom-channel-type.mjs.map +1 -1
  187. package/dist/actions/register-operators-group-channel.cjs +4 -4
  188. package/dist/actions/register-operators-group-channel.cjs.map +1 -1
  189. package/dist/actions/register-operators-group-channel.d.cts +17 -3
  190. package/dist/actions/register-operators-group-channel.d.cts.map +1 -1
  191. package/dist/actions/register-operators-group-channel.d.mts +17 -3
  192. package/dist/actions/register-operators-group-channel.d.mts.map +1 -1
  193. package/dist/actions/register-operators-group-channel.mjs +4 -4
  194. package/dist/actions/register-operators-group-channel.mjs.map +1 -1
  195. package/dist/actions/register-operators-open-channel.cjs +3 -3
  196. package/dist/actions/register-operators-open-channel.cjs.map +1 -1
  197. package/dist/actions/register-operators-open-channel.d.cts +16 -3
  198. package/dist/actions/register-operators-open-channel.d.cts.map +1 -1
  199. package/dist/actions/register-operators-open-channel.d.mts +16 -3
  200. package/dist/actions/register-operators-open-channel.d.mts.map +1 -1
  201. package/dist/actions/register-operators-open-channel.mjs +3 -3
  202. package/dist/actions/register-operators-open-channel.mjs.map +1 -1
  203. package/dist/actions/revoke-all-session-tokens.cjs +1 -1
  204. package/dist/actions/revoke-all-session-tokens.cjs.map +1 -1
  205. package/dist/actions/revoke-all-session-tokens.d.cts +10 -3
  206. package/dist/actions/revoke-all-session-tokens.d.cts.map +1 -1
  207. package/dist/actions/revoke-all-session-tokens.d.mts +10 -3
  208. package/dist/actions/revoke-all-session-tokens.d.mts.map +1 -1
  209. package/dist/actions/revoke-all-session-tokens.mjs +1 -1
  210. package/dist/actions/revoke-all-session-tokens.mjs.map +1 -1
  211. package/dist/actions/send-message.cjs +14 -14
  212. package/dist/actions/send-message.cjs.map +1 -1
  213. package/dist/actions/send-message.d.cts +90 -3
  214. package/dist/actions/send-message.d.cts.map +1 -1
  215. package/dist/actions/send-message.d.mts +90 -3
  216. package/dist/actions/send-message.d.mts.map +1 -1
  217. package/dist/actions/send-message.mjs +14 -14
  218. package/dist/actions/send-message.mjs.map +1 -1
  219. package/dist/actions/unban-user.cjs +1 -1
  220. package/dist/actions/unban-user.cjs.map +1 -1
  221. package/dist/actions/unban-user.d.cts +9 -3
  222. package/dist/actions/unban-user.d.cts.map +1 -1
  223. package/dist/actions/unban-user.d.mts +9 -3
  224. package/dist/actions/unban-user.d.mts.map +1 -1
  225. package/dist/actions/unban-user.mjs +1 -1
  226. package/dist/actions/unban-user.mjs.map +1 -1
  227. package/dist/actions/unmute-user.cjs +1 -1
  228. package/dist/actions/unmute-user.cjs.map +1 -1
  229. package/dist/actions/unmute-user.d.cts +16 -3
  230. package/dist/actions/unmute-user.d.cts.map +1 -1
  231. package/dist/actions/unmute-user.d.mts +16 -3
  232. package/dist/actions/unmute-user.d.mts.map +1 -1
  233. package/dist/actions/unmute-user.mjs +1 -1
  234. package/dist/actions/unmute-user.mjs.map +1 -1
  235. package/dist/actions/unregister-operators-custom-channel-type.cjs +3 -3
  236. package/dist/actions/unregister-operators-custom-channel-type.cjs.map +1 -1
  237. package/dist/actions/unregister-operators-custom-channel-type.d.cts +14 -3
  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 +14 -3
  240. package/dist/actions/unregister-operators-custom-channel-type.d.mts.map +1 -1
  241. package/dist/actions/unregister-operators-custom-channel-type.mjs +3 -3
  242. package/dist/actions/unregister-operators-custom-channel-type.mjs.map +1 -1
  243. package/dist/actions/update-count-preference-of-channel.cjs +3 -3
  244. package/dist/actions/update-count-preference-of-channel.cjs.map +1 -1
  245. package/dist/actions/update-count-preference-of-channel.d.cts +19 -3
  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 +19 -3
  248. package/dist/actions/update-count-preference-of-channel.d.mts.map +1 -1
  249. package/dist/actions/update-count-preference-of-channel.mjs +3 -3
  250. package/dist/actions/update-count-preference-of-channel.mjs.map +1 -1
  251. package/dist/actions/update-group-channel.cjs +5 -5
  252. package/dist/actions/update-group-channel.cjs.map +1 -1
  253. package/dist/actions/update-group-channel.d.cts +45 -3
  254. package/dist/actions/update-group-channel.d.cts.map +1 -1
  255. package/dist/actions/update-group-channel.d.mts +45 -3
  256. package/dist/actions/update-group-channel.d.mts.map +1 -1
  257. package/dist/actions/update-group-channel.mjs +5 -5
  258. package/dist/actions/update-group-channel.mjs.map +1 -1
  259. package/dist/actions/update-message.cjs +6 -6
  260. package/dist/actions/update-message.cjs.map +1 -1
  261. package/dist/actions/update-message.d.cts +56 -3
  262. package/dist/actions/update-message.d.cts.map +1 -1
  263. package/dist/actions/update-message.d.mts +56 -3
  264. package/dist/actions/update-message.d.mts.map +1 -1
  265. package/dist/actions/update-message.mjs +6 -6
  266. package/dist/actions/update-message.mjs.map +1 -1
  267. package/dist/actions/update-user.cjs +2 -2
  268. package/dist/actions/update-user.cjs.map +1 -1
  269. package/dist/actions/update-user.d.cts +34 -3
  270. package/dist/actions/update-user.d.cts.map +1 -1
  271. package/dist/actions/update-user.d.mts +34 -3
  272. package/dist/actions/update-user.d.mts.map +1 -1
  273. package/dist/actions/update-user.mjs +2 -2
  274. package/dist/actions/update-user.mjs.map +1 -1
  275. package/dist/actions/view-group-channel.cjs +12 -12
  276. package/dist/actions/view-group-channel.cjs.map +1 -1
  277. package/dist/actions/view-group-channel.d.cts +52 -3
  278. package/dist/actions/view-group-channel.d.cts.map +1 -1
  279. package/dist/actions/view-group-channel.d.mts +52 -3
  280. package/dist/actions/view-group-channel.d.mts.map +1 -1
  281. package/dist/actions/view-group-channel.mjs +12 -12
  282. package/dist/actions/view-group-channel.mjs.map +1 -1
  283. package/dist/actions/view-message.cjs +23 -23
  284. package/dist/actions/view-message.cjs.map +1 -1
  285. package/dist/actions/view-message.d.cts +60 -3
  286. package/dist/actions/view-message.d.cts.map +1 -1
  287. package/dist/actions/view-message.d.mts +60 -3
  288. package/dist/actions/view-message.d.mts.map +1 -1
  289. package/dist/actions/view-message.mjs +23 -23
  290. package/dist/actions/view-message.mjs.map +1 -1
  291. package/dist/actions/view-user.cjs +2 -2
  292. package/dist/actions/view-user.cjs.map +1 -1
  293. package/dist/actions/view-user.d.cts +22 -3
  294. package/dist/actions/view-user.d.cts.map +1 -1
  295. package/dist/actions/view-user.d.mts +22 -3
  296. package/dist/actions/view-user.d.mts.map +1 -1
  297. package/dist/actions/view-user.mjs +2 -2
  298. package/dist/actions/view-user.mjs.map +1 -1
  299. package/dist/catalog.cjs +13 -1
  300. package/dist/catalog.cjs.map +1 -1
  301. package/dist/catalog.d.cts +12 -0
  302. package/dist/catalog.d.mts +12 -0
  303. package/dist/catalog.mjs +13 -1
  304. package/dist/catalog.mjs.map +1 -1
  305. package/package.json +2 -2
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of group channels associated with the user (sum of joined and invited channels).\"),\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}).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,OAnBwE,EAAE,OAAO;EACjF,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,QAbyE,EAAE,OAAO;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F;EAChI,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,SAAS,6HAOF;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 { 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"}
@@ -16,7 +16,7 @@ const SendbirdGetNumberOfUnreadItemsOutput = zod.z.object({
16
16
  super_group_channel_unread_message_count: zod.z.number().int().describe("Count of unread messages in super group channels.").nullable().optional(),
17
17
  non_super_group_channel_unread_mention_count: zod.z.number().int().describe("Count of unread mentions in non-super group channels.").nullable().optional(),
18
18
  non_super_group_channel_unread_message_count: zod.z.number().int().describe("Count of unread messages in non-super group channels.").nullable().optional()
19
- }).describe("Response model for Sendbird unread item counts.\nReturns various counts for unread messages, mentions, and invitations\nacross different channel types.");
19
+ }).passthrough().describe("Response model for Sendbird unread item counts.\nReturns various counts for unread messages, mentions, and invitations\nacross different channel types.");
20
20
  const sendbirdGetNumberOfUnreadItems = require_action.action("SENDBIRD_GET_NUMBER_OF_UNREAD_ITEMS", {
21
21
  slug: "sendbird-get-number-of-unread-items",
22
22
  name: "Sendbird Get Unread Item Count",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,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,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,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,SAAS,yJAAyJ;AAErK,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 { 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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-number-of-unread-items.d.ts
4
- declare const SendbirdGetNumberOfUnreadItemsInput: z.ZodTypeAny;
5
- declare const SendbirdGetNumberOfUnreadItemsOutput: z.ZodTypeAny;
6
- declare const sendbirdGetNumberOfUnreadItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdGetNumberOfUnreadItemsInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ item_keys: z.ZodOptional<z.ZodString>;
7
+ custom_types: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const SendbirdGetNumberOfUnreadItemsOutput: z.ZodObject<{
10
+ group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ super_group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ non_super_group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ super_group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ super_group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ non_super_group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ non_super_group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { sendbirdGetNumberOfUnreadItems };
9
27
  //# 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,EAAqC,CAAA,CAAE,UAI8G;AAAA,cACrJ,oCAAA,EAAsC,CAAA,CAAE,UAUiH;AAAA,cAEzJ,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-number-of-unread-items.d.ts
4
- declare const SendbirdGetNumberOfUnreadItemsInput: z.ZodTypeAny;
5
- declare const SendbirdGetNumberOfUnreadItemsOutput: z.ZodTypeAny;
6
- declare const sendbirdGetNumberOfUnreadItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdGetNumberOfUnreadItemsInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ item_keys: z.ZodOptional<z.ZodString>;
7
+ custom_types: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const SendbirdGetNumberOfUnreadItemsOutput: z.ZodObject<{
10
+ group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ super_group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ non_super_group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ super_group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ super_group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ non_super_group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ non_super_group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { sendbirdGetNumberOfUnreadItems };
9
27
  //# 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,EAAqC,CAAA,CAAE,UAI8G;AAAA,cACrJ,oCAAA,EAAsC,CAAA,CAAE,UAUiH;AAAA,cAEzJ,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -19,7 +19,7 @@ const sendbirdGetNumberOfUnreadItems = action("SENDBIRD_GET_NUMBER_OF_UNREAD_ITE
19
19
  super_group_channel_unread_message_count: z.number().int().describe("Count of unread messages in super group channels.").nullable().optional(),
20
20
  non_super_group_channel_unread_mention_count: z.number().int().describe("Count of unread mentions in non-super group channels.").nullable().optional(),
21
21
  non_super_group_channel_unread_message_count: z.number().int().describe("Count of unread messages in non-super group channels.").nullable().optional()
22
- }).describe("Response model for Sendbird unread item counts.\nReturns various counts for unread messages, mentions, and invitations\nacross different channel types.")
22
+ }).passthrough().describe("Response model for Sendbird unread item counts.\nReturns various counts for unread messages, mentions, and invitations\nacross different channel types.")
23
23
  });
24
24
  //#endregion
25
25
  export { sendbirdGetNumberOfUnreadItems };
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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,OArB+D,EAAE,OAAO;EACxE,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,QAjBgE,EAAE,OAAO;EACzE,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,SAAS,yJAOF;AACV,CAAC"}
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"}
@@ -6,10 +6,10 @@ const SendbirdIssueSessionTokenInput = zod.z.object({
6
6
  expires_at: zod.z.number().int().describe("Optional token expiration timestamp in Unix milliseconds. If omitted, the default token lifetime is used.").optional()
7
7
  }).describe("Request model for issuing a session token to a Sendbird user.");
8
8
  const SendbirdIssueSessionTokenOutput = zod.z.object({
9
- token: zod.z.string().describe("The session token issued for the user."),
9
+ token: zod.z.string().describe("The session token issued for the user.").nullable(),
10
10
  user_id: zod.z.string().describe("The ID of the user the token was issued for.").nullable().optional(),
11
- expires_at: zod.z.number().int().describe("Expiration timestamp of the session token in Unix milliseconds.")
12
- }).describe("Response model for the issued session token.");
11
+ expires_at: zod.z.number().int().describe("Expiration timestamp of the session token in Unix milliseconds.").nullable()
12
+ }).passthrough().describe("Response model for the issued session token.");
13
13
  const sendbirdIssueSessionToken = require_action.action("SENDBIRD_ISSUE_SESSION_TOKEN", {
14
14
  slug: "sendbird-issue-session-token",
15
15
  name: "Issue Session Token",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n token: z.string().describe(\"The session token issued for the user.\"),\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.\"),\n}).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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACnE,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;AACzG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,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 { 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,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/issue-session-token.d.ts
4
- declare const SendbirdIssueSessionTokenInput: z.ZodTypeAny;
5
- declare const SendbirdIssueSessionTokenOutput: z.ZodTypeAny;
6
- declare const sendbirdIssueSessionToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdIssueSessionTokenInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ expires_at: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdIssueSessionTokenOutput: z.ZodObject<{
9
+ token: z.ZodNullable<z.ZodString>;
10
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ expires_at: z.ZodNullable<z.ZodNumber>;
12
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { sendbirdIssueSessionToken };
9
19
  //# 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,EAAgC,CAAA,CAAE,UAG6B;AAAA,cAC/D,+BAAA,EAAiC,CAAA,CAAE,UAIW;AAAA,cAE9C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/issue-session-token.d.ts
4
- declare const SendbirdIssueSessionTokenInput: z.ZodTypeAny;
5
- declare const SendbirdIssueSessionTokenOutput: z.ZodTypeAny;
6
- declare const sendbirdIssueSessionToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdIssueSessionTokenInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ expires_at: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdIssueSessionTokenOutput: z.ZodObject<{
9
+ token: z.ZodNullable<z.ZodString>;
10
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ expires_at: z.ZodNullable<z.ZodNumber>;
12
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { sendbirdIssueSessionToken };
9
19
  //# 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,EAAgC,CAAA,CAAE,UAG6B;AAAA,cAC/D,+BAAA,EAAiC,CAAA,CAAE,UAIW;AAAA,cAE9C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -9,10 +9,10 @@ const sendbirdIssueSessionToken = action("SENDBIRD_ISSUE_SESSION_TOKEN", {
9
9
  expires_at: z.number().int().describe("Optional token expiration timestamp in Unix milliseconds. If omitted, the default token lifetime is used.").optional()
10
10
  }).describe("Request model for issuing a session token to a Sendbird user."),
11
11
  output: z.object({
12
- token: z.string().describe("The session token issued for the user."),
12
+ token: z.string().describe("The session token issued for the user.").nullable(),
13
13
  user_id: z.string().describe("The ID of the user the token was issued for.").nullable().optional(),
14
- expires_at: z.number().int().describe("Expiration timestamp of the session token in Unix milliseconds.")
15
- }).describe("Response model for the issued session token.")
14
+ expires_at: z.number().int().describe("Expiration timestamp of the session token in Unix milliseconds.").nullable()
15
+ }).passthrough().describe("Response model for the issued session token.")
16
16
  });
17
17
  //#endregion
18
18
  export { sendbirdIssueSessionToken };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n token: z.string().describe(\"The session token issued for the user.\"),\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.\"),\n}).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,OAd0D,EAAE,OAAO;EACnE,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,QAX2D,EAAE,OAAO;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;CACzG,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
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"}
@@ -7,7 +7,7 @@ const SendbirdLeaveGroupChannelsInput = zod.z.object({
7
7
  channel_urls: zod.z.array(zod.z.string()).describe("List of group channel URLs to leave. Required unless `should_leave_all` is true or `custom_type` is specified.").optional(),
8
8
  should_leave_all: zod.z.boolean().describe("Whether to leave all joined group channels. If true, `channel_urls` is ignored.").optional()
9
9
  }).describe("Request model for leaving one or more group channels for a user.");
10
- const SendbirdLeaveGroupChannelsOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the user successfully left the group channels.").nullable().optional() }).describe("Response model for leaving group channels.\nThe Sendbird API returns an empty response body on success.");
10
+ const SendbirdLeaveGroupChannelsOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the user successfully left the group channels.").nullable().optional() }).passthrough().describe("Response model for leaving group channels.\nThe Sendbird API returns an empty response body on success.");
11
11
  const sendbirdLeaveGroupChannels = require_action.action("SENDBIRD_LEAVE_GROUP_CHANNELS", {
12
12
  slug: "sendbird-leave-group-channels",
13
13
  name: "Leave Group Channels",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the user successfully left the group channels.\").nullable().optional(),\n}).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,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,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,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC,CAAC,CAAC,SAAS,yGAAyG;AAErH,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 { 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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/leave-group-channels.d.ts
4
- declare const SendbirdLeaveGroupChannelsInput: z.ZodTypeAny;
5
- declare const SendbirdLeaveGroupChannelsOutput: z.ZodTypeAny;
6
- declare const sendbirdLeaveGroupChannels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdLeaveGroupChannelsInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ custom_type: z.ZodOptional<z.ZodString>;
7
+ channel_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ should_leave_all: z.ZodOptional<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const SendbirdLeaveGroupChannelsOutput: z.ZodObject<{
11
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { sendbirdLeaveGroupChannels };
9
21
  //# 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,EAAiC,CAAA,CAAE,UAK+B;AAAA,cAClE,gCAAA,EAAkC,CAAA,CAAE,UAEqE;AAAA,cAEzG,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/leave-group-channels.d.ts
4
- declare const SendbirdLeaveGroupChannelsInput: z.ZodTypeAny;
5
- declare const SendbirdLeaveGroupChannelsOutput: z.ZodTypeAny;
6
- declare const sendbirdLeaveGroupChannels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdLeaveGroupChannelsInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ custom_type: z.ZodOptional<z.ZodString>;
7
+ channel_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ should_leave_all: z.ZodOptional<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const SendbirdLeaveGroupChannelsOutput: z.ZodObject<{
11
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { sendbirdLeaveGroupChannels };
9
21
  //# 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,EAAiC,CAAA,CAAE,UAK+B;AAAA,cAClE,gCAAA,EAAkC,CAAA,CAAE,UAEqE;AAAA,cAEzG,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -10,7 +10,7 @@ const sendbirdLeaveGroupChannels = action("SENDBIRD_LEAVE_GROUP_CHANNELS", {
10
10
  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(),
11
11
  should_leave_all: z.boolean().describe("Whether to leave all joined group channels. If true, `channel_urls` is ignored.").optional()
12
12
  }).describe("Request model for leaving one or more group channels for a user."),
13
- output: z.object({ success: z.boolean().default(true).describe("Indicates whether the user successfully left the group channels.").nullable().optional() }).describe("Response model for leaving group channels.\nThe Sendbird API returns an empty response body on success.")
13
+ output: z.object({ success: z.boolean().default(true).describe("Indicates whether the user successfully left the group channels.").nullable().optional() }).passthrough().describe("Response model for leaving group channels.\nThe Sendbird API returns an empty response body on success.")
14
14
  });
15
15
  //#endregion
16
16
  export { sendbirdLeaveGroupChannels };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the user successfully left the group channels.\").nullable().optional(),\n}).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,OAd2D,EAAE,OAAO;EACpE,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,QAT4D,EAAE,OAAO,EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC,CAAC,CAAC,SAAS,yGAOF;AACV,CAAC"}
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"}
@@ -7,17 +7,17 @@ const SendbirdListBannedMembersInput = zod.z.object({
7
7
  channel_url: zod.z.string().describe("Unique URL of the group channel to list banned members from.")
8
8
  }).describe("Request parameters for listing banned members in a group channel.");
9
9
  const SendbirdListBannedMembers_BannedMemberSchema = zod.z.object({
10
- user_id: zod.z.string().describe("User ID of the banned member."),
10
+ user_id: zod.z.string().describe("User ID of the banned member.").nullable(),
11
11
  nickname: zod.z.string().describe("Nickname of the banned user.").nullable().optional(),
12
- ban_end_at: zod.z.number().int().describe("Unix timestamp in milliseconds when the ban ends."),
12
+ ban_end_at: zod.z.number().int().describe("Unix timestamp in milliseconds when the ban ends.").nullable(),
13
13
  description: zod.z.string().describe("Description or reason for the ban.").nullable().optional(),
14
14
  profile_url: zod.z.string().describe("Profile image URL of the banned user.").nullable().optional(),
15
- ban_start_at: zod.z.number().int().describe("Unix timestamp in milliseconds when the ban started.")
16
- });
15
+ ban_start_at: zod.z.number().int().describe("Unix timestamp in milliseconds when the ban started.").nullable()
16
+ }).passthrough();
17
17
  const SendbirdListBannedMembersOutput = zod.z.object({
18
18
  next: zod.z.string().describe("Pagination token for fetching the next page of results.").nullable().optional(),
19
19
  banned_list: zod.z.array(SendbirdListBannedMembers_BannedMemberSchema).describe("List of banned member objects in the group channel.")
20
- });
20
+ }).passthrough();
21
21
  const sendbirdListBannedMembers = require_action.action("SENDBIRD_LIST_BANNED_MEMBERS", {
22
22
  slug: "sendbird-list-banned-members",
23
23
  name: "List Banned Members",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n user_id: z.string().describe(\"User ID of the banned member.\"),\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.\"),\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.\"),\n});\nexport const SendbirdListBannedMembersOutput: z.ZodTypeAny = 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});\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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC5D,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;CACzF,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;AAChG,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,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;AAED,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 { 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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-banned-members.d.ts
4
- declare const SendbirdListBannedMembersInput: z.ZodTypeAny;
5
- declare const SendbirdListBannedMembersOutput: z.ZodTypeAny;
6
- declare const sendbirdListBannedMembers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdListBannedMembersInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ token: z.ZodOptional<z.ZodString>;
7
+ channel_url: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SendbirdListBannedMembersOutput: z.ZodObject<{
10
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ banned_list: z.ZodArray<z.ZodObject<{
12
+ user_id: z.ZodNullable<z.ZodString>;
13
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ ban_end_at: z.ZodNullable<z.ZodNumber>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ ban_start_at: z.ZodNullable<z.ZodNumber>;
18
+ }, z.core.$loose>>;
19
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { sendbirdListBannedMembers };
9
27
  //# 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,EAAgC,CAAA,CAAE,UAIiC;AAAA,cASnE,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-banned-members.d.ts
4
- declare const SendbirdListBannedMembersInput: z.ZodTypeAny;
5
- declare const SendbirdListBannedMembersOutput: z.ZodTypeAny;
6
- declare const sendbirdListBannedMembers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdListBannedMembersInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ token: z.ZodOptional<z.ZodString>;
7
+ channel_url: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SendbirdListBannedMembersOutput: z.ZodObject<{
10
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ banned_list: z.ZodArray<z.ZodObject<{
12
+ user_id: z.ZodNullable<z.ZodString>;
13
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ ban_end_at: z.ZodNullable<z.ZodNumber>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ ban_start_at: z.ZodNullable<z.ZodNumber>;
18
+ }, z.core.$loose>>;
19
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { sendbirdListBannedMembers };
9
27
  //# sourceMappingURL=list-banned-members.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-banned-members.d.mts","names":[],"sources":["../../src/actions/list-banned-members.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIiC;AAAA,cASnE,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-banned-members.d.mts","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"}
@@ -7,13 +7,13 @@ const SendbirdListBannedMembersInput = z.object({
7
7
  channel_url: z.string().describe("Unique URL of the group channel to list banned members from.")
8
8
  }).describe("Request parameters for listing banned members in a group channel.");
9
9
  const SendbirdListBannedMembers_BannedMemberSchema = z.object({
10
- user_id: z.string().describe("User ID of the banned member."),
10
+ user_id: z.string().describe("User ID of the banned member.").nullable(),
11
11
  nickname: z.string().describe("Nickname of the banned user.").nullable().optional(),
12
- ban_end_at: z.number().int().describe("Unix timestamp in milliseconds when the ban ends."),
12
+ ban_end_at: z.number().int().describe("Unix timestamp in milliseconds when the ban ends.").nullable(),
13
13
  description: z.string().describe("Description or reason for the ban.").nullable().optional(),
14
14
  profile_url: z.string().describe("Profile image URL of the banned user.").nullable().optional(),
15
- ban_start_at: z.number().int().describe("Unix timestamp in milliseconds when the ban started.")
16
- });
15
+ ban_start_at: z.number().int().describe("Unix timestamp in milliseconds when the ban started.").nullable()
16
+ }).passthrough();
17
17
  const sendbirdListBannedMembers = action("SENDBIRD_LIST_BANNED_MEMBERS", {
18
18
  slug: "sendbird-list-banned-members",
19
19
  name: "List Banned Members",
@@ -22,7 +22,7 @@ const sendbirdListBannedMembers = action("SENDBIRD_LIST_BANNED_MEMBERS", {
22
22
  output: z.object({
23
23
  next: z.string().describe("Pagination token for fetching the next page of results.").nullable().optional(),
24
24
  banned_list: z.array(SendbirdListBannedMembers_BannedMemberSchema).describe("List of banned member objects in the group channel.")
25
- })
25
+ }).passthrough()
26
26
  });
27
27
  //#endregion
28
28
  export { sendbirdListBannedMembers };
@@ -1 +1 @@
1
- {"version":3,"file":"list-banned-members.mjs","names":[],"sources":["../../src/actions/list-banned-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListBannedMembersInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n user_id: z.string().describe(\"User ID of the banned member.\"),\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.\"),\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.\"),\n});\nexport const SendbirdListBannedMembersOutput: z.ZodTypeAny = 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});\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,iCAA+C,EAAE,OAAO;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA6D,EAAE,OAAO;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;AAChG,CAAC;AAMD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qDAAqD;CACnI,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-banned-members.mjs","names":[],"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,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qDAAqD;CACnI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}