@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
@@ -19,8 +19,8 @@ const SendbirdListUsersInput = zod.z.object({
19
19
  has_ever_logged_in: zod.z.boolean().describe("Filter by login history. Set to true for users who have logged in, false for never logged in.").optional()
20
20
  }).describe("Request parameters for listing Sendbird users with filtering and pagination options.");
21
21
  const SendbirdListUsers_SendbirdUserSchema = zod.z.object({
22
- user_id: zod.z.string().describe("Unique identifier for the user in Sendbird."),
23
- metadata: zod.z.object({}).describe("Custom key-value metadata associated with the user.").nullable().optional(),
22
+ user_id: zod.z.string().describe("Unique identifier for the user in Sendbird.").nullable(),
23
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value metadata associated with the user.").nullable().optional(),
24
24
  nickname: zod.z.string().describe("Display name of the user.").nullable().optional(),
25
25
  is_active: zod.z.boolean().describe("Whether the user account is active (not deactivated).").nullable().optional(),
26
26
  issued_at: zod.z.number().int().describe("Unix timestamp in milliseconds when the user was created.").nullable().optional(),
@@ -31,12 +31,12 @@ const SendbirdListUsers_SendbirdUserSchema = zod.z.object({
31
31
  connection_status: zod.z.string().describe("Current connection status: 'online' or 'offline'.").nullable().optional(),
32
32
  favorite_topic_ids: zod.z.array(zod.z.string()).describe("List of topic IDs the user has marked as favorites.").nullable().optional(),
33
33
  require_auth_for_profile_image: zod.z.boolean().describe("If true, profile image URL requires authentication to access.").nullable().optional()
34
- }).describe("Represents a Sendbird user with profile and status information.");
34
+ }).passthrough().describe("Represents a Sendbird user with profile and status information.");
35
35
  const SendbirdListUsersOutput = zod.z.object({
36
36
  next: zod.z.string().describe("Pagination token to fetch the next page. Pass this as 'token' in the next request. Null if no more pages.").nullable().optional(),
37
37
  users: zod.z.array(SendbirdListUsers_SendbirdUserSchema).describe("Array of user objects matching the query criteria."),
38
38
  total_count: zod.z.number().int().describe("Total number of users matching the filters. Only returned on the first page of results.").nullable().optional()
39
- }).describe("Response containing a paginated list of Sendbird users.");
39
+ }).passthrough().describe("Response containing a paginated list of Sendbird users.");
40
40
  const sendbirdListUsers = require_action.action("SENDBIRD_LIST_USERS", {
41
41
  slug: "sendbird-list-users",
42
42
  name: "List Sendbird Users",
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListUsersInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of users to return per page (1-100). Defaults to 10 if not specified.\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"created_at\", \"user_id_alphabetical\"]).describe(\"Sort order for results. Options: 'nickname_alphabetical' (A-Z by nickname), 'created_at' (newest first), 'user_id_alphabetical' (A-Z by user ID).\").optional(),\n token: z.string().describe(\"Pagination token from the 'next' field of a previous response. Omit for the first page.\").optional(),\n nickname: z.string().describe(\"Filter users by exact nickname match (case-insensitive).\").optional(),\n user_ids: z.array(z.string()).describe(\"Filter to only return specific users by their IDs. Provide as a list of user ID strings.\").optional(),\n is_active: z.boolean().describe(\"Filter by account status. Set to true for active users, false for deactivated users.\").optional(),\n custom_type: z.string().describe(\"Filter users by their custom type classification.\").optional(),\n metatag_key: z.string().describe(\"Filter users who have this metadata key set. Use with metatag_values for key-value filtering.\").optional(),\n metatag_values: z.array(z.string()).describe(\"Filter users by metadata values for the specified metatag_key. Requires metatag_key to be set.\").optional(),\n nickname_contains: z.string().describe(\"Filter users whose nickname contains this substring (case-insensitive partial match).\").optional(),\n has_ever_logged_in: z.boolean().describe(\"Filter by login history. Set to true for users who have logged in, false for never logged in.\").optional(),\n}).describe(\"Request parameters for listing Sendbird users with filtering and pagination options.\");\nconst SendbirdListUsers_SendbirdUserSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique identifier for the user in Sendbird.\"),\n metadata: z.object({}).describe(\"Custom key-value metadata associated with the user.\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active (not deactivated).\").nullable().optional(),\n issued_at: z.number().int().describe(\"Unix timestamp in milliseconds when the user was created.\").nullable().optional(),\n custom_type: z.string().describe(\"Custom type string for categorizing users.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp in milliseconds when user was last online.\").nullable().optional(),\n last_update_at: z.number().int().describe(\"Unix timestamp in milliseconds of the last profile update.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status: 'online' or 'offline'.\").nullable().optional(),\n favorite_topic_ids: z.array(z.string()).describe(\"List of topic IDs the user has marked as favorites.\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"If true, profile image URL requires authentication to access.\").nullable().optional(),\n}).describe(\"Represents a Sendbird user with profile and status information.\");\nexport const SendbirdListUsersOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token to fetch the next page. Pass this as 'token' in the next request. Null if no more pages.\").nullable().optional(),\n users: z.array(SendbirdListUsers_SendbirdUserSchema).describe(\"Array of user objects matching the query criteria.\"),\n total_count: z.number().int().describe(\"Total number of users matching the filters. Only returned on the first page of results.\").nullable().optional(),\n}).describe(\"Response containing a paginated list of Sendbird users.\");\n\nexport const sendbirdListUsers = action(\"SENDBIRD_LIST_USERS\", {\n slug: \"sendbird-list-users\",\n name: \"List Sendbird Users\",\n description: \"Retrieves a paginated list of users from your Sendbird application. Use this tool to: - Browse all users in your application - Search for users by nickname or user IDs - Filter users by metadata, custom type, or activity status - Paginate through large user lists using the 'next' token Returns user details including profile info, connection status, and metadata. Results are paginated; use the 'next' token from the response to fetch additional pages.\",\n input: SendbirdListUsersInput,\n output: SendbirdListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAyB;EAAc;CAAsB,CAAC,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CACtP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,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P,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListUsersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of users to return per page (1-100). Defaults to 10 if not specified.\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"created_at\", \"user_id_alphabetical\"]).describe(\"Sort order for results. Options: 'nickname_alphabetical' (A-Z by nickname), 'created_at' (newest first), 'user_id_alphabetical' (A-Z by user ID).\").optional(),\n token: z.string().describe(\"Pagination token from the 'next' field of a previous response. Omit for the first page.\").optional(),\n nickname: z.string().describe(\"Filter users by exact nickname match (case-insensitive).\").optional(),\n user_ids: z.array(z.string()).describe(\"Filter to only return specific users by their IDs. Provide as a list of user ID strings.\").optional(),\n is_active: z.boolean().describe(\"Filter by account status. Set to true for active users, false for deactivated users.\").optional(),\n custom_type: z.string().describe(\"Filter users by their custom type classification.\").optional(),\n metatag_key: z.string().describe(\"Filter users who have this metadata key set. Use with metatag_values for key-value filtering.\").optional(),\n metatag_values: z.array(z.string()).describe(\"Filter users by metadata values for the specified metatag_key. Requires metatag_key to be set.\").optional(),\n nickname_contains: z.string().describe(\"Filter users whose nickname contains this substring (case-insensitive partial match).\").optional(),\n has_ever_logged_in: z.boolean().describe(\"Filter by login history. Set to true for users who have logged in, false for never logged in.\").optional(),\n}).describe(\"Request parameters for listing Sendbird users with filtering and pagination options.\");\nconst SendbirdListUsers_SendbirdUserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier for the user in Sendbird.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the user.\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active (not deactivated).\").nullable().optional(),\n issued_at: z.number().int().describe(\"Unix timestamp in milliseconds when the user was created.\").nullable().optional(),\n custom_type: z.string().describe(\"Custom type string for categorizing users.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp in milliseconds when user was last online.\").nullable().optional(),\n last_update_at: z.number().int().describe(\"Unix timestamp in milliseconds of the last profile update.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status: 'online' or 'offline'.\").nullable().optional(),\n favorite_topic_ids: z.array(z.string()).describe(\"List of topic IDs the user has marked as favorites.\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"If true, profile image URL requires authentication to access.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Sendbird user with profile and status information.\");\nexport const SendbirdListUsersOutput = z.object({\n next: z.string().describe(\"Pagination token to fetch the next page. Pass this as 'token' in the next request. Null if no more pages.\").nullable().optional(),\n users: z.array(SendbirdListUsers_SendbirdUserSchema).describe(\"Array of user objects matching the query criteria.\"),\n total_count: z.number().int().describe(\"Total number of users matching the filters. Only returned on the first page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response containing a paginated list of Sendbird users.\");\n\nexport const sendbirdListUsers = action(\"SENDBIRD_LIST_USERS\", {\n slug: \"sendbird-list-users\",\n name: \"List Sendbird Users\",\n description: \"Retrieves a paginated list of users from your Sendbird application. Use this tool to: - Browse all users in your application - Search for users by nickname or user IDs - Filter users by metadata, custom type, or activity status - Paginate through large user lists using the 'next' token Returns user details including profile info, connection status, and metadata. Results are paginated; use the 'next' token from the response to fetch additional pages.\",\n input: SendbirdListUsersInput,\n output: SendbirdListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAyB;EAAc;CAAsB,CAAC,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CACtP,OAAO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CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,54 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-users.d.ts
4
- declare const SendbirdListUsersInput: z.ZodTypeAny;
5
- declare const SendbirdListUsersOutput: z.ZodTypeAny;
6
- declare const sendbirdListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdListUsersInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ order: z.ZodOptional<z.ZodEnum<{
7
+ created_at: "created_at";
8
+ nickname_alphabetical: "nickname_alphabetical";
9
+ user_id_alphabetical: "user_id_alphabetical";
10
+ }>>;
11
+ token: z.ZodOptional<z.ZodString>;
12
+ nickname: z.ZodOptional<z.ZodString>;
13
+ user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ is_active: z.ZodOptional<z.ZodBoolean>;
15
+ custom_type: z.ZodOptional<z.ZodString>;
16
+ metatag_key: z.ZodOptional<z.ZodString>;
17
+ metatag_values: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
+ nickname_contains: z.ZodOptional<z.ZodString>;
19
+ has_ever_logged_in: z.ZodOptional<z.ZodBoolean>;
20
+ }, z.core.$strip>;
21
+ declare const SendbirdListUsersOutput: z.ZodObject<{
22
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ users: z.ZodArray<z.ZodObject<{
24
+ user_id: z.ZodNullable<z.ZodString>;
25
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ issued_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ custom_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ last_update_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ favorite_topic_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
35
+ require_auth_for_profile_image: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ }, z.core.$loose>>;
37
+ total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ }, z.core.$loose>;
39
+ declare const sendbirdListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ limit?: number | undefined;
41
+ order?: "created_at" | "nickname_alphabetical" | "user_id_alphabetical" | undefined;
42
+ token?: string | undefined;
43
+ nickname?: string | undefined;
44
+ user_ids?: string[] | undefined;
45
+ is_active?: boolean | undefined;
46
+ custom_type?: string | undefined;
47
+ metatag_key?: string | undefined;
48
+ metatag_values?: string[] | undefined;
49
+ nickname_contains?: string | undefined;
50
+ has_ever_logged_in?: boolean | undefined;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
52
  //#endregion
8
53
  export { sendbirdListUsers };
9
54
  //# sourceMappingURL=list-users.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAY4D;AAAA,cAetF,uBAAA,EAAyB,CAAA,CAAE,UAI8B;AAAA,cAEzD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA2BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,54 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-users.d.ts
4
- declare const SendbirdListUsersInput: z.ZodTypeAny;
5
- declare const SendbirdListUsersOutput: z.ZodTypeAny;
6
- declare const sendbirdListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdListUsersInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ order: z.ZodOptional<z.ZodEnum<{
7
+ created_at: "created_at";
8
+ nickname_alphabetical: "nickname_alphabetical";
9
+ user_id_alphabetical: "user_id_alphabetical";
10
+ }>>;
11
+ token: z.ZodOptional<z.ZodString>;
12
+ nickname: z.ZodOptional<z.ZodString>;
13
+ user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ is_active: z.ZodOptional<z.ZodBoolean>;
15
+ custom_type: z.ZodOptional<z.ZodString>;
16
+ metatag_key: z.ZodOptional<z.ZodString>;
17
+ metatag_values: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
+ nickname_contains: z.ZodOptional<z.ZodString>;
19
+ has_ever_logged_in: z.ZodOptional<z.ZodBoolean>;
20
+ }, z.core.$strip>;
21
+ declare const SendbirdListUsersOutput: z.ZodObject<{
22
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ users: z.ZodArray<z.ZodObject<{
24
+ user_id: z.ZodNullable<z.ZodString>;
25
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ issued_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ custom_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ last_update_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ favorite_topic_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
35
+ require_auth_for_profile_image: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ }, z.core.$loose>>;
37
+ total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ }, z.core.$loose>;
39
+ declare const sendbirdListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ limit?: number | undefined;
41
+ order?: "created_at" | "nickname_alphabetical" | "user_id_alphabetical" | undefined;
42
+ token?: string | undefined;
43
+ nickname?: string | undefined;
44
+ user_ids?: string[] | undefined;
45
+ is_active?: boolean | undefined;
46
+ custom_type?: string | undefined;
47
+ metatag_key?: string | undefined;
48
+ metatag_values?: string[] | undefined;
49
+ nickname_contains?: string | undefined;
50
+ has_ever_logged_in?: boolean | undefined;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
52
  //#endregion
8
53
  export { sendbirdListUsers };
9
54
  //# sourceMappingURL=list-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAY4D;AAAA,cAetF,uBAAA,EAAyB,CAAA,CAAE,UAI8B;AAAA,cAEzD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA2BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,gCAAiB,wBAAA"}
@@ -19,8 +19,8 @@ const SendbirdListUsersInput = z.object({
19
19
  has_ever_logged_in: z.boolean().describe("Filter by login history. Set to true for users who have logged in, false for never logged in.").optional()
20
20
  }).describe("Request parameters for listing Sendbird users with filtering and pagination options.");
21
21
  const SendbirdListUsers_SendbirdUserSchema = z.object({
22
- user_id: z.string().describe("Unique identifier for the user in Sendbird."),
23
- metadata: z.object({}).describe("Custom key-value metadata associated with the user.").nullable().optional(),
22
+ user_id: z.string().describe("Unique identifier for the user in Sendbird.").nullable(),
23
+ metadata: z.record(z.string(), z.unknown()).describe("Custom key-value metadata associated with the user.").nullable().optional(),
24
24
  nickname: z.string().describe("Display name of the user.").nullable().optional(),
25
25
  is_active: z.boolean().describe("Whether the user account is active (not deactivated).").nullable().optional(),
26
26
  issued_at: z.number().int().describe("Unix timestamp in milliseconds when the user was created.").nullable().optional(),
@@ -31,7 +31,7 @@ const SendbirdListUsers_SendbirdUserSchema = z.object({
31
31
  connection_status: z.string().describe("Current connection status: 'online' or 'offline'.").nullable().optional(),
32
32
  favorite_topic_ids: z.array(z.string()).describe("List of topic IDs the user has marked as favorites.").nullable().optional(),
33
33
  require_auth_for_profile_image: z.boolean().describe("If true, profile image URL requires authentication to access.").nullable().optional()
34
- }).describe("Represents a Sendbird user with profile and status information.");
34
+ }).passthrough().describe("Represents a Sendbird user with profile and status information.");
35
35
  const sendbirdListUsers = action("SENDBIRD_LIST_USERS", {
36
36
  slug: "sendbird-list-users",
37
37
  name: "List Sendbird Users",
@@ -41,7 +41,7 @@ const sendbirdListUsers = action("SENDBIRD_LIST_USERS", {
41
41
  next: z.string().describe("Pagination token to fetch the next page. Pass this as 'token' in the next request. Null if no more pages.").nullable().optional(),
42
42
  users: z.array(SendbirdListUsers_SendbirdUserSchema).describe("Array of user objects matching the query criteria."),
43
43
  total_count: z.number().int().describe("Total number of users matching the filters. Only returned on the first page of results.").nullable().optional()
44
- }).describe("Response containing a paginated list of Sendbird users.")
44
+ }).passthrough().describe("Response containing a paginated list of Sendbird users.")
45
45
  });
46
46
  //#endregion
47
47
  export { sendbirdListUsers };
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListUsersInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of users to return per page (1-100). Defaults to 10 if not specified.\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"created_at\", \"user_id_alphabetical\"]).describe(\"Sort order for results. Options: 'nickname_alphabetical' (A-Z by nickname), 'created_at' (newest first), 'user_id_alphabetical' (A-Z by user ID).\").optional(),\n token: z.string().describe(\"Pagination token from the 'next' field of a previous response. Omit for the first page.\").optional(),\n nickname: z.string().describe(\"Filter users by exact nickname match (case-insensitive).\").optional(),\n user_ids: z.array(z.string()).describe(\"Filter to only return specific users by their IDs. Provide as a list of user ID strings.\").optional(),\n is_active: z.boolean().describe(\"Filter by account status. Set to true for active users, false for deactivated users.\").optional(),\n custom_type: z.string().describe(\"Filter users by their custom type classification.\").optional(),\n metatag_key: z.string().describe(\"Filter users who have this metadata key set. Use with metatag_values for key-value filtering.\").optional(),\n metatag_values: z.array(z.string()).describe(\"Filter users by metadata values for the specified metatag_key. Requires metatag_key to be set.\").optional(),\n nickname_contains: z.string().describe(\"Filter users whose nickname contains this substring (case-insensitive partial match).\").optional(),\n has_ever_logged_in: z.boolean().describe(\"Filter by login history. Set to true for users who have logged in, false for never logged in.\").optional(),\n}).describe(\"Request parameters for listing Sendbird users with filtering and pagination options.\");\nconst SendbirdListUsers_SendbirdUserSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique identifier for the user in Sendbird.\"),\n metadata: z.object({}).describe(\"Custom key-value metadata associated with the user.\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active (not deactivated).\").nullable().optional(),\n issued_at: z.number().int().describe(\"Unix timestamp in milliseconds when the user was created.\").nullable().optional(),\n custom_type: z.string().describe(\"Custom type string for categorizing users.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp in milliseconds when user was last online.\").nullable().optional(),\n last_update_at: z.number().int().describe(\"Unix timestamp in milliseconds of the last profile update.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status: 'online' or 'offline'.\").nullable().optional(),\n favorite_topic_ids: z.array(z.string()).describe(\"List of topic IDs the user has marked as favorites.\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"If true, profile image URL requires authentication to access.\").nullable().optional(),\n}).describe(\"Represents a Sendbird user with profile and status information.\");\nexport const SendbirdListUsersOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token to fetch the next page. Pass this as 'token' in the next request. Null if no more pages.\").nullable().optional(),\n users: z.array(SendbirdListUsers_SendbirdUserSchema).describe(\"Array of user objects matching the query criteria.\"),\n total_count: z.number().int().describe(\"Total number of users matching the filters. Only returned on the first page of results.\").nullable().optional(),\n}).describe(\"Response containing a paginated list of Sendbird users.\");\n\nexport const sendbirdListUsers = action(\"SENDBIRD_LIST_USERS\", {\n slug: \"sendbird-list-users\",\n name: \"List Sendbird Users\",\n description: \"Retrieves a paginated list of users from your Sendbird application. Use this tool to: - Browse all users in your application - Search for users by nickname or user IDs - Filter users by metadata, custom type, or activity status - Paginate through large user lists using the 'next' token Returns user details including profile info, connection status, and metadata. Results are paginated; use the 'next' token from the response to fetch additional pages.\",\n input: SendbirdListUsersInput,\n output: SendbirdListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,OAAO,EAAE,KAAK;EAAC;EAAyB;EAAc;CAAsB,CAAC,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CACtP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC5I,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACjI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3I,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACxJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACzI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,uCAAqD,EAAE,OAAO;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SA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AAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListUsersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of users to return per page (1-100). Defaults to 10 if not specified.\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"created_at\", \"user_id_alphabetical\"]).describe(\"Sort order for results. Options: 'nickname_alphabetical' (A-Z by nickname), 'created_at' (newest first), 'user_id_alphabetical' (A-Z by user ID).\").optional(),\n token: z.string().describe(\"Pagination token from the 'next' field of a previous response. Omit for the first page.\").optional(),\n nickname: z.string().describe(\"Filter users by exact nickname match (case-insensitive).\").optional(),\n user_ids: z.array(z.string()).describe(\"Filter to only return specific users by their IDs. Provide as a list of user ID strings.\").optional(),\n is_active: z.boolean().describe(\"Filter by account status. Set to true for active users, false for deactivated users.\").optional(),\n custom_type: z.string().describe(\"Filter users by their custom type classification.\").optional(),\n metatag_key: z.string().describe(\"Filter users who have this metadata key set. Use with metatag_values for key-value filtering.\").optional(),\n metatag_values: z.array(z.string()).describe(\"Filter users by metadata values for the specified metatag_key. Requires metatag_key to be set.\").optional(),\n nickname_contains: z.string().describe(\"Filter users whose nickname contains this substring (case-insensitive partial match).\").optional(),\n has_ever_logged_in: z.boolean().describe(\"Filter by login history. Set to true for users who have logged in, false for never logged in.\").optional(),\n}).describe(\"Request parameters for listing Sendbird users with filtering and pagination options.\");\nconst SendbirdListUsers_SendbirdUserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier for the user in Sendbird.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the user.\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active (not deactivated).\").nullable().optional(),\n issued_at: z.number().int().describe(\"Unix timestamp in milliseconds when the user was created.\").nullable().optional(),\n custom_type: z.string().describe(\"Custom type string for categorizing users.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp in milliseconds when user was last online.\").nullable().optional(),\n last_update_at: z.number().int().describe(\"Unix timestamp in milliseconds of the last profile update.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status: 'online' or 'offline'.\").nullable().optional(),\n favorite_topic_ids: z.array(z.string()).describe(\"List of topic IDs the user has marked as favorites.\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"If true, profile image URL requires authentication to access.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Sendbird user with profile and status information.\");\nexport const SendbirdListUsersOutput = z.object({\n next: z.string().describe(\"Pagination token to fetch the next page. Pass this as 'token' in the next request. Null if no more pages.\").nullable().optional(),\n users: z.array(SendbirdListUsers_SendbirdUserSchema).describe(\"Array of user objects matching the query criteria.\"),\n total_count: z.number().int().describe(\"Total number of users matching the filters. Only returned on the first page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response containing a paginated list of Sendbird users.\");\n\nexport const sendbirdListUsers = action(\"SENDBIRD_LIST_USERS\", {\n slug: \"sendbird-list-users\",\n name: \"List Sendbird Users\",\n description: \"Retrieves a paginated list of users from your Sendbird application. Use this tool to: - Browse all users in your application - Search for users by nickname or user IDs - Filter users by metadata, custom type, or activity status - Paginate through large user lists using the 'next' token Returns user details including profile info, connection status, and metadata. Results are paginated; use the 'next' token from the response to fetch additional pages.\",\n input: SendbirdListUsersInput,\n output: SendbirdListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SA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AAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/mark-all-user-messages-as-read.ts
4
4
  const SendbirdMarkAllUserMessagesAsReadInput = zod.z.object({ user_id: zod.z.string().describe("Unique ID of the user whose messages will be marked as read.") }).describe("Request model for marking all messages as read for a user.");
5
- const SendbirdMarkAllUserMessagesAsReadOutput = zod.z.object({ ts: zod.z.number().int().describe("Timestamp when messages were marked as read.") }).describe("Response model for marking all messages as read.");
5
+ const SendbirdMarkAllUserMessagesAsReadOutput = zod.z.object({ ts: zod.z.number().int().describe("Timestamp when messages were marked as read.").nullable() }).passthrough().describe("Response model for marking all messages as read.");
6
6
  const sendbirdMarkAllUserMessagesAsRead = require_action.action("SENDBIRD_MARK_ALL_USER_MESSAGES_AS_READ", {
7
7
  slug: "sendbird-mark-all-user-messages-as-read",
8
8
  name: "Mark All User Messages As Read",
@@ -1 +1 @@
1
- {"version":3,"file":"mark-all-user-messages-as-read.cjs","names":["z","action"],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMarkAllUserMessagesAsReadInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose messages will be marked as read.\"),\n}).describe(\"Request model for marking all messages as read for a user.\");\nexport const SendbirdMarkAllUserMessagesAsReadOutput: z.ZodTypeAny = z.object({\n ts: z.number().int().describe(\"Timestamp when messages were marked as read.\"),\n}).describe(\"Response model for marking all messages as read.\");\n\nexport const sendbirdMarkAllUserMessagesAsRead = action(\"SENDBIRD_MARK_ALL_USER_MESSAGES_AS_READ\", {\n slug: \"sendbird-mark-all-user-messages-as-read\",\n name: \"Mark All User Messages As Read\",\n description: \"Tool to mark all of a user's messages as read in group channels. Use when resetting unread message counts after a user has viewed all messages.\",\n input: SendbirdMarkAllUserMessagesAsReadInput,\n output: SendbirdMarkAllUserMessagesAsReadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,0CAAwDA,IAAAA,EAAE,OAAO,EAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAC9E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"mark-all-user-messages-as-read.cjs","names":["z","action"],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMarkAllUserMessagesAsReadInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose messages will be marked as read.\"),\n}).describe(\"Request model for marking all messages as read for a user.\");\nexport const SendbirdMarkAllUserMessagesAsReadOutput = z.object({\n ts: z.number().int().describe(\"Timestamp when messages were marked as read.\").nullable(),\n}).passthrough().describe(\"Response model for marking all messages as read.\");\n\nexport const sendbirdMarkAllUserMessagesAsRead = action(\"SENDBIRD_MARK_ALL_USER_MESSAGES_AS_READ\", {\n slug: \"sendbird-mark-all-user-messages-as-read\",\n name: \"Mark All User Messages As Read\",\n description: \"Tool to mark all of a user's messages as read in group channels. Use when resetting unread message counts after a user has viewed all messages.\",\n input: SendbirdMarkAllUserMessagesAsReadInput,\n output: SendbirdMarkAllUserMessagesAsReadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/mark-all-user-messages-as-read.d.ts
4
- declare const SendbirdMarkAllUserMessagesAsReadInput: z.ZodTypeAny;
5
- declare const SendbirdMarkAllUserMessagesAsReadOutput: z.ZodTypeAny;
6
- declare const sendbirdMarkAllUserMessagesAsRead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdMarkAllUserMessagesAsReadInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendbirdMarkAllUserMessagesAsReadOutput: z.ZodObject<{
8
+ ts: z.ZodNullable<z.ZodNumber>;
9
+ }, z.core.$loose>;
10
+ declare const sendbirdMarkAllUserMessagesAsRead: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ user_id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { sendbirdMarkAllUserMessagesAsRead };
9
15
  //# sourceMappingURL=mark-all-user-messages-as-read.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mark-all-user-messages-as-read.d.cts","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAEkB;AAAA,cAC5D,uCAAA,EAAyC,CAAA,CAAE,UAEO;AAAA,cAElD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"mark-all-user-messages-as-read.d.cts","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,gCAAiC,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/mark-all-user-messages-as-read.d.ts
4
- declare const SendbirdMarkAllUserMessagesAsReadInput: z.ZodTypeAny;
5
- declare const SendbirdMarkAllUserMessagesAsReadOutput: z.ZodTypeAny;
6
- declare const sendbirdMarkAllUserMessagesAsRead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdMarkAllUserMessagesAsReadInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendbirdMarkAllUserMessagesAsReadOutput: z.ZodObject<{
8
+ ts: z.ZodNullable<z.ZodNumber>;
9
+ }, z.core.$loose>;
10
+ declare const sendbirdMarkAllUserMessagesAsRead: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ user_id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { sendbirdMarkAllUserMessagesAsRead };
9
15
  //# sourceMappingURL=mark-all-user-messages-as-read.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mark-all-user-messages-as-read.d.mts","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAEkB;AAAA,cAC5D,uCAAA,EAAyC,CAAA,CAAE,UAEO;AAAA,cAElD,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"mark-all-user-messages-as-read.d.mts","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,gCAAiC,wBAAA"}
@@ -5,7 +5,7 @@ const sendbirdMarkAllUserMessagesAsRead = action("SENDBIRD_MARK_ALL_USER_MESSAGE
5
5
  name: "Mark All User Messages As Read",
6
6
  description: "Tool to mark all of a user's messages as read in group channels. Use when resetting unread message counts after a user has viewed all messages.",
7
7
  input: z.object({ user_id: z.string().describe("Unique ID of the user whose messages will be marked as read.") }).describe("Request model for marking all messages as read for a user."),
8
- output: z.object({ ts: z.number().int().describe("Timestamp when messages were marked as read.") }).describe("Response model for marking all messages as read.")
8
+ output: z.object({ ts: z.number().int().describe("Timestamp when messages were marked as read.").nullable() }).passthrough().describe("Response model for marking all messages as read.")
9
9
  });
10
10
  //#endregion
11
11
  export { sendbirdMarkAllUserMessagesAsRead };
@@ -1 +1 @@
1
- {"version":3,"file":"mark-all-user-messages-as-read.mjs","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMarkAllUserMessagesAsReadInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose messages will be marked as read.\"),\n}).describe(\"Request model for marking all messages as read for a user.\");\nexport const SendbirdMarkAllUserMessagesAsReadOutput: z.ZodTypeAny = z.object({\n ts: z.number().int().describe(\"Timestamp when messages were marked as read.\"),\n}).describe(\"Response model for marking all messages as read.\");\n\nexport const sendbirdMarkAllUserMessagesAsRead = action(\"SENDBIRD_MARK_ALL_USER_MESSAGES_AS_READ\", {\n slug: \"sendbird-mark-all-user-messages-as-read\",\n name: \"Mark All User Messages As Read\",\n description: \"Tool to mark all of a user's messages as read in group channels. Use when resetting unread message counts after a user has viewed all messages.\",\n input: SendbirdMarkAllUserMessagesAsReadInput,\n output: SendbirdMarkAllUserMessagesAsReadOutput,\n});\n"],"mappings":";;AAWA,MAAa,oCAAoC,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXkE,EAAE,OAAO,EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QATmE,EAAE,OAAO,EAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAC9E,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"mark-all-user-messages-as-read.mjs","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMarkAllUserMessagesAsReadInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose messages will be marked as read.\"),\n}).describe(\"Request model for marking all messages as read for a user.\");\nexport const SendbirdMarkAllUserMessagesAsReadOutput = z.object({\n ts: z.number().int().describe(\"Timestamp when messages were marked as read.\").nullable(),\n}).passthrough().describe(\"Response model for marking all messages as read.\");\n\nexport const sendbirdMarkAllUserMessagesAsRead = action(\"SENDBIRD_MARK_ALL_USER_MESSAGES_AS_READ\", {\n slug: \"sendbird-mark-all-user-messages-as-read\",\n name: \"Mark All User Messages As Read\",\n description: \"Tool to mark all of a user's messages as read in group channels. Use when resetting unread message counts after a user has viewed all messages.\",\n input: SendbirdMarkAllUserMessagesAsReadInput,\n output: SendbirdMarkAllUserMessagesAsReadOutput,\n});\n"],"mappings":";;AAWA,MAAa,oCAAoC,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoD,EAAE,OAAO,EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,4DASH;CACP,QATqD,EAAE,OAAO,EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -7,7 +7,7 @@ const SendbirdMuteUserInput = zod.z.object({
7
7
  channel_url: zod.z.string().describe("URL-encoded identifier of the target group channel"),
8
8
  description: zod.z.string().describe("Custom description for the mute action").optional()
9
9
  }).describe("Request model for muting a user in a group channel.");
10
- const SendbirdMuteUserOutput = zod.z.object({}).describe("Response model for muting a user in a group channel.\nThe Sendbird API returns an empty response body on success (HTTP 200).");
10
+ const SendbirdMuteUserOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response model for muting a user in a group channel.\nThe Sendbird API returns an empty response body on success (HTTP 200).");
11
11
  const sendbirdMuteUser = require_action.action("SENDBIRD_MUTE_USER", {
12
12
  slug: "sendbird-mute-user",
13
13
  name: "Mute User",
@@ -1 +1 @@
1
- {"version":3,"file":"mute-user.cjs","names":["z","action"],"sources":["../../src/actions/mute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMuteUserInput: z.ZodTypeAny = z.object({\n seconds: z.number().int().describe(\"Mute duration in seconds (0 = indefinite)\").optional(),\n user_id: z.string().describe(\"ID of the user to mute\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n description: z.string().describe(\"Custom description for the mute action\").optional(),\n}).describe(\"Request model for muting a user in a group channel.\");\nexport const SendbirdMuteUserOutput: z.ZodTypeAny = z.object({}).describe(\"Response model for muting a user in a group channel.\\nThe Sendbird API returns an empty response body on success (HTTP 200).\");\n\nexport const sendbirdMuteUser = action(\"SENDBIRD_MUTE_USER\", {\n slug: \"sendbird-mute-user\",\n name: \"Mute User\",\n description: \"Tool to mute a user in a group channel. Use when you need to prevent a user from sending messages for a specified duration.\",\n input: SendbirdMuteUserInput,\n output: SendbirdMuteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H;AAExM,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"mute-user.cjs","names":["z","action"],"sources":["../../src/actions/mute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMuteUserInput = z.object({\n seconds: z.number().int().describe(\"Mute duration in seconds (0 = indefinite)\").optional(),\n user_id: z.string().describe(\"ID of the user to mute\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n description: z.string().describe(\"Custom description for the mute action\").optional(),\n}).describe(\"Request model for muting a user in a group channel.\");\nexport const SendbirdMuteUserOutput = z.record(z.string(), z.unknown()).describe(\"Response model for muting a user in a group channel.\\nThe Sendbird API returns an empty response body on success (HTTP 200).\");\n\nexport const sendbirdMuteUser = action(\"SENDBIRD_MUTE_USER\", {\n slug: \"sendbird-mute-user\",\n name: \"Mute User\",\n description: \"Tool to mute a user in a group channel. Use when you need to prevent a user from sending messages for a specified duration.\",\n input: SendbirdMuteUserInput,\n output: SendbirdMuteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,yBAAyBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAA8H;AAE/M,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,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/mute-user.d.ts
4
- declare const SendbirdMuteUserInput: z.ZodTypeAny;
5
- declare const SendbirdMuteUserOutput: z.ZodTypeAny;
6
- declare const sendbirdMuteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdMuteUserInput: z.ZodObject<{
5
+ seconds: z.ZodOptional<z.ZodNumber>;
6
+ user_id: z.ZodString;
7
+ channel_url: z.ZodString;
8
+ description: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const SendbirdMuteUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
+ declare const sendbirdMuteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ user_id: string;
13
+ channel_url: string;
14
+ seconds?: number | undefined;
15
+ description?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { sendbirdMuteUser };
9
19
  //# sourceMappingURL=mute-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mute-user.d.cts","names":[],"sources":["../../src/actions/mute-user.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAK4B;AAAA,cACrD,sBAAA,EAAwB,CAAA,CAAE,UAAkK;AAAA,cAE5L,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"mute-user.d.cts","names":[],"sources":["../../src/actions/mute-user.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/mute-user.d.ts
4
- declare const SendbirdMuteUserInput: z.ZodTypeAny;
5
- declare const SendbirdMuteUserOutput: z.ZodTypeAny;
6
- declare const sendbirdMuteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdMuteUserInput: z.ZodObject<{
5
+ seconds: z.ZodOptional<z.ZodNumber>;
6
+ user_id: z.ZodString;
7
+ channel_url: z.ZodString;
8
+ description: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const SendbirdMuteUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
+ declare const sendbirdMuteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ user_id: string;
13
+ channel_url: string;
14
+ seconds?: number | undefined;
15
+ description?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { sendbirdMuteUser };
9
19
  //# sourceMappingURL=mute-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mute-user.d.mts","names":[],"sources":["../../src/actions/mute-user.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAK4B;AAAA,cACrD,sBAAA,EAAwB,CAAA,CAAE,UAAkK;AAAA,cAE5L,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"mute-user.d.mts","names":[],"sources":["../../src/actions/mute-user.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEtB,gBAAA,gCAAgB,wBAAA"}
@@ -10,7 +10,7 @@ const sendbirdMuteUser = action("SENDBIRD_MUTE_USER", {
10
10
  channel_url: z.string().describe("URL-encoded identifier of the target group channel"),
11
11
  description: z.string().describe("Custom description for the mute action").optional()
12
12
  }).describe("Request model for muting a user in a group channel."),
13
- output: z.object({}).describe("Response model for muting a user in a group channel.\nThe Sendbird API returns an empty response body on success (HTTP 200).")
13
+ output: z.record(z.string(), z.unknown()).describe("Response model for muting a user in a group channel.\nThe Sendbird API returns an empty response body on success (HTTP 200).")
14
14
  });
15
15
  //#endregion
16
16
  export { sendbirdMuteUser };
@@ -1 +1 @@
1
- {"version":3,"file":"mute-user.mjs","names":[],"sources":["../../src/actions/mute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMuteUserInput: z.ZodTypeAny = z.object({\n seconds: z.number().int().describe(\"Mute duration in seconds (0 = indefinite)\").optional(),\n user_id: z.string().describe(\"ID of the user to mute\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n description: z.string().describe(\"Custom description for the mute action\").optional(),\n}).describe(\"Request model for muting a user in a group channel.\");\nexport const SendbirdMuteUserOutput: z.ZodTypeAny = z.object({}).describe(\"Response model for muting a user in a group channel.\\nThe Sendbird API returns an empty response body on success (HTTP 200).\");\n\nexport const sendbirdMuteUser = action(\"SENDBIRD_MUTE_USER\", {\n slug: \"sendbird-mute-user\",\n name: \"Mute User\",\n description: \"Tool to mute a user in a group channel. Use when you need to prevent a user from sending messages for a specified duration.\",\n input: SendbirdMuteUserInput,\n output: SendbirdMuteUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZiD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,qDAOH;CACP,QAPkD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8HAOhE;AACV,CAAC"}
1
+ {"version":3,"file":"mute-user.mjs","names":[],"sources":["../../src/actions/mute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMuteUserInput = z.object({\n seconds: z.number().int().describe(\"Mute duration in seconds (0 = indefinite)\").optional(),\n user_id: z.string().describe(\"ID of the user to mute\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n description: z.string().describe(\"Custom description for the mute action\").optional(),\n}).describe(\"Request model for muting a user in a group channel.\");\nexport const SendbirdMuteUserOutput = z.record(z.string(), z.unknown()).describe(\"Response model for muting a user in a group channel.\\nThe Sendbird API returns an empty response body on success (HTTP 200).\");\n\nexport const sendbirdMuteUser = action(\"SENDBIRD_MUTE_USER\", {\n slug: \"sendbird-mute-user\",\n name: \"Mute User\",\n description: \"Tool to mute a user in a group channel. Use when you need to prevent a user from sending messages for a specified duration.\",\n input: SendbirdMuteUserInput,\n output: SendbirdMuteUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZmC,EAAE,OAAO;EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,qDAOH;CACP,QAPoC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAOvE;AACV,CAAC"}
@@ -6,12 +6,12 @@ const SendbirdRegisterOperatorsCustomChannelTypeInput = zod.z.object({
6
6
  operator_ids: zod.z.array(zod.z.string()).describe("List of existing Sendbird user IDs to register as operators. At least one user ID is required. Operators have elevated privileges like muting/banning users, deleting messages, and managing channel settings.")
7
7
  }).describe("Request model for registering users as operators by custom channel type.");
8
8
  const SendbirdRegisterOperatorsCustomChannelType_OperatorSchema = zod.z.object({
9
- user_id: zod.z.string().describe("Unique identifier of the operator user"),
10
- metadata: zod.z.object({}).describe("Custom metadata key-value pairs associated with the operator").nullable().optional(),
9
+ user_id: zod.z.string().describe("Unique identifier of the operator user").nullable(),
10
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata key-value pairs associated with the operator").nullable().optional(),
11
11
  nickname: zod.z.string().describe("Display nickname of the operator").nullable().optional(),
12
12
  profile_url: zod.z.string().describe("URL of the operator's profile image").nullable().optional()
13
- }).describe("Operator user object representing a registered operator.");
14
- const SendbirdRegisterOperatorsCustomChannelTypeOutput = zod.z.object({ operators: zod.z.array(SendbirdRegisterOperatorsCustomChannelType_OperatorSchema).describe("List of operator user objects successfully registered for the custom channel type").nullable().optional() }).describe("Response schema for registering operators by custom channel type.\nReturns the list of successfully registered operators.");
13
+ }).passthrough().describe("Operator user object representing a registered operator.");
14
+ const SendbirdRegisterOperatorsCustomChannelTypeOutput = zod.z.object({ operators: zod.z.array(SendbirdRegisterOperatorsCustomChannelType_OperatorSchema).describe("List of operator user objects successfully registered for the custom channel type").nullable().optional() }).passthrough().describe("Response schema for registering operators by custom channel type.\nReturns the list of successfully registered operators.");
15
15
  const sendbirdRegisterOperatorsCustomChannelType = require_action.action("SENDBIRD_REGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE", {
16
16
  slug: "sendbird-register-operators-custom-channel-type",
17
17
  name: "Register Operators by Custom Channel Type",
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-custom-channel-type.cjs","names":["z","action"],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsCustomChannelTypeInput: z.ZodTypeAny = z.object({\n custom_type: z.string().describe(\"The custom channel type identifier. This assigns operator privileges to specified users for all channels that have this custom type. The custom_type must match an existing channel's custom_type value.\"),\n operator_ids: z.array(z.string()).describe(\"List of existing Sendbird user IDs to register as operators. At least one user ID is required. Operators have elevated privileges like muting/banning users, deleting messages, and managing channel settings.\"),\n}).describe(\"Request model for registering users as operators by custom channel type.\");\nconst SendbirdRegisterOperatorsCustomChannelType_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique identifier of the operator user\"),\n metadata: z.object({}).describe(\"Custom metadata key-value pairs associated with the operator\").nullable().optional(),\n nickname: z.string().describe(\"Display nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image\").nullable().optional(),\n}).describe(\"Operator user object representing a registered operator.\");\nexport const SendbirdRegisterOperatorsCustomChannelTypeOutput: z.ZodTypeAny = z.object({\n operators: z.array(SendbirdRegisterOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects successfully registered for the custom channel type\").nullable().optional(),\n}).describe(\"Response schema for registering operators by custom channel type.\\nReturns the list of successfully registered operators.\");\n\nexport const sendbirdRegisterOperatorsCustomChannelType = action(\"SENDBIRD_REGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-register-operators-custom-channel-type\",\n name: \"Register Operators by Custom Channel Type\",\n description: \"Registers one or more users as operators for all channels with a specified custom channel type. Use this tool when you need to grant operator privileges to users across all channels that share the same custom_type. Operators have elevated permissions including: - Muting and banning users from channels - Deleting messages in channels - Freezing/unfreezing channels - Managing channel settings Prerequisites: - The user IDs must belong to existing Sendbird users - The custom_type should match channels you want to manage Note: This affects all channels with the specified custom_type, not just a single channel.\",\n input: SendbirdRegisterOperatorsCustomChannelTypeInput,\n output: SendbirdRegisterOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAgEA,IAAAA,EAAE,OAAO;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M;CAC3O,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC7P,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,mDAAiEA,IAAAA,EAAE,OAAO,EACrF,WAAWA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClM,CAAC,CAAC,CAAC,SAAS,2HAA2H;AAEvI,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"register-operators-custom-channel-type.cjs","names":["z","action"],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsCustomChannelTypeInput = z.object({\n custom_type: z.string().describe(\"The custom channel type identifier. This assigns operator privileges to specified users for all channels that have this custom type. The custom_type must match an existing channel's custom_type value.\"),\n operator_ids: z.array(z.string()).describe(\"List of existing Sendbird user IDs to register as operators. At least one user ID is required. Operators have elevated privileges like muting/banning users, deleting messages, and managing channel settings.\"),\n}).describe(\"Request model for registering users as operators by custom channel type.\");\nconst SendbirdRegisterOperatorsCustomChannelType_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the operator user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs associated with the operator\").nullable().optional(),\n nickname: z.string().describe(\"Display nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image\").nullable().optional(),\n}).passthrough().describe(\"Operator user object representing a registered operator.\");\nexport const SendbirdRegisterOperatorsCustomChannelTypeOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects successfully registered for the custom channel type\").nullable().optional(),\n}).passthrough().describe(\"Response schema for registering operators by custom channel type.\\nReturns the list of successfully registered operators.\");\n\nexport const sendbirdRegisterOperatorsCustomChannelType = action(\"SENDBIRD_REGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-register-operators-custom-channel-type\",\n name: \"Register Operators by Custom Channel Type\",\n description: \"Registers one or more users as operators for all channels with a specified custom channel type. Use this tool when you need to grant operator privileges to users across all channels that share the same custom_type. Operators have elevated permissions including: - Muting and banning users from channels - Deleting messages in channels - Freezing/unfreezing channels - Managing channel settings Prerequisites: - The user IDs must belong to existing Sendbird users - The custom_type should match channels you want to manage Note: This affects all channels with the specified custom_type, not just a single channel.\",\n input: SendbirdRegisterOperatorsCustomChannelTypeInput,\n output: SendbirdRegisterOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M;CAC3O,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC7P,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,EACvE,WAAWA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2HAA2H;AAErJ,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/register-operators-custom-channel-type.d.ts
4
- declare const SendbirdRegisterOperatorsCustomChannelTypeInput: z.ZodTypeAny;
5
- declare const SendbirdRegisterOperatorsCustomChannelTypeOutput: z.ZodTypeAny;
6
- declare const sendbirdRegisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdRegisterOperatorsCustomChannelTypeInput: z.ZodObject<{
5
+ custom_type: z.ZodString;
6
+ operator_ids: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdRegisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
9
+ operators: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ user_id: z.ZodNullable<z.ZodString>;
11
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>>>;
15
+ }, z.core.$loose>;
16
+ declare const sendbirdRegisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ custom_type: string;
18
+ operator_ids: string[];
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sendbirdRegisterOperatorsCustomChannelType };
9
22
  //# sourceMappingURL=register-operators-custom-channel-type.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"mappings":";;;cAIa,+CAAA,EAAiD,CAAA,CAAE,UAGuB;AAAA,cAO1E,gDAAA,EAAkD,CAAA,CAAE,UAEuE;AAAA,cAE3H,0CAAA,gCAA0C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"register-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;cAU/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;cAIhD,0CAAA,gCAA0C,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/register-operators-custom-channel-type.d.ts
4
- declare const SendbirdRegisterOperatorsCustomChannelTypeInput: z.ZodTypeAny;
5
- declare const SendbirdRegisterOperatorsCustomChannelTypeOutput: z.ZodTypeAny;
6
- declare const sendbirdRegisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdRegisterOperatorsCustomChannelTypeInput: z.ZodObject<{
5
+ custom_type: z.ZodString;
6
+ operator_ids: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdRegisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
9
+ operators: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ user_id: z.ZodNullable<z.ZodString>;
11
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$loose>>>>;
15
+ }, z.core.$loose>;
16
+ declare const sendbirdRegisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ custom_type: string;
18
+ operator_ids: string[];
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sendbirdRegisterOperatorsCustomChannelType };
9
22
  //# sourceMappingURL=register-operators-custom-channel-type.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"mappings":";;;cAIa,+CAAA,EAAiD,CAAA,CAAE,UAGuB;AAAA,cAO1E,gDAAA,EAAkD,CAAA,CAAE,UAEuE;AAAA,cAE3H,0CAAA,gCAA0C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"register-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;cAU/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;cAIhD,0CAAA,gCAA0C,wBAAA"}