@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
@@ -6,17 +6,17 @@ const SendbirdRegisterOperatorsCustomChannelTypeInput = z.object({
6
6
  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.")
7
7
  }).describe("Request model for registering users as operators by custom channel type.");
8
8
  const SendbirdRegisterOperatorsCustomChannelType_OperatorSchema = z.object({
9
- user_id: z.string().describe("Unique identifier of the operator user"),
10
- metadata: z.object({}).describe("Custom metadata key-value pairs associated with the operator").nullable().optional(),
9
+ user_id: z.string().describe("Unique identifier of the operator user").nullable(),
10
+ metadata: z.record(z.string(), z.unknown()).describe("Custom metadata key-value pairs associated with the operator").nullable().optional(),
11
11
  nickname: z.string().describe("Display nickname of the operator").nullable().optional(),
12
12
  profile_url: z.string().describe("URL of the operator's profile image").nullable().optional()
13
- }).describe("Operator user object representing a registered operator.");
13
+ }).passthrough().describe("Operator user object representing a registered operator.");
14
14
  const sendbirdRegisterOperatorsCustomChannelType = action("SENDBIRD_REGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE", {
15
15
  slug: "sendbird-register-operators-custom-channel-type",
16
16
  name: "Register Operators by Custom Channel Type",
17
17
  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.",
18
18
  input: SendbirdRegisterOperatorsCustomChannelTypeInput,
19
- output: z.object({ operators: 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.")
19
+ output: z.object({ operators: 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.")
20
20
  });
21
21
  //#endregion
22
22
  export { sendbirdRegisterOperatorsCustomChannelType };
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-custom-channel-type.mjs","names":[],"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,kDAAgE,EAAE,OAAO;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M;CAC3O,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC7P,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4DAA0E,EAAE,OAAO;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAKtE,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4E,EAAE,OAAO,EACrF,WAAW,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClM,CAAC,CAAC,CAAC,SAAS,2HAOF;AACV,CAAC"}
1
+ {"version":3,"file":"register-operators-custom-channel-type.mjs","names":[],"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,kDAAkD,EAAE,OAAO;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M;CAC3O,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC7P,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4DAA4D,EAAE,OAAO;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAKpF,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,WAAW,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2HAOhB;AACV,CAAC"}
@@ -6,15 +6,15 @@ const SendbirdRegisterOperatorsGroupChannelInput = zod.z.object({
6
6
  channel_url: zod.z.string().describe("URL-encoded identifier of the group channel")
7
7
  }).describe("Request parameters for registering operators to a Sendbird group channel.");
8
8
  const SendbirdRegisterOperatorsGroupChannel_OperatorSchema = zod.z.object({
9
- user_id: zod.z.string().describe("Unique ID of the operator user"),
9
+ user_id: zod.z.string().describe("Unique ID of the operator user").nullable(),
10
10
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata key-value pairs for the operator").nullable().optional(),
11
11
  nickname: zod.z.string().describe("Nickname of the operator").nullable().optional(),
12
12
  profile_url: zod.z.string().describe("Profile image URL of the operator").nullable().optional()
13
- }).describe("Operator object returned by Sendbird after registration.");
13
+ }).passthrough().describe("Operator object returned by Sendbird after registration.");
14
14
  const SendbirdRegisterOperatorsGroupChannelOutput = zod.z.object({
15
15
  operators: zod.z.array(SendbirdRegisterOperatorsGroupChannel_OperatorSchema).describe("List of operator objects after registration"),
16
- total_count: zod.z.number().int().describe("Total number of operators in the group channel")
17
- }).describe("Response schema after registering operators to a group channel.");
16
+ total_count: zod.z.number().int().describe("Total number of operators in the group channel").nullable()
17
+ }).passthrough().describe("Response schema after registering operators to a group channel.");
18
18
  const sendbirdRegisterOperatorsGroupChannel = require_action.action("SENDBIRD_REGISTER_OPERATORS_GROUP_CHANNEL", {
19
19
  slug: "sendbird-register-operators-group-channel",
20
20
  name: "Register Group Channel Operators",
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/register-operators-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsGroupChannelInput: z.ZodTypeAny = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to register as operators\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel\"),\n}).describe(\"Request parameters for registering operators to a Sendbird group channel.\");\nconst SendbirdRegisterOperatorsGroupChannel_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the operator user\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs for the operator\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).describe(\"Operator object returned by Sendbird after registration.\");\nexport const SendbirdRegisterOperatorsGroupChannelOutput: z.ZodTypeAny = z.object({\n operators: z.array(SendbirdRegisterOperatorsGroupChannel_OperatorSchema).describe(\"List of operator objects after registration\"),\n total_count: z.number().int().describe(\"Total number of operators in the group channel\"),\n}).describe(\"Response schema after registering operators to a group channel.\");\n\nexport const sendbirdRegisterOperatorsGroupChannel = action(\"SENDBIRD_REGISTER_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-register-operators-group-channel\",\n name: \"Register Group Channel Operators\",\n description: \"Tool to register one or more users as operators in a Sendbird group channel. Use when elevating permissions of existing channel members.\",\n input: SendbirdRegisterOperatorsGroupChannelInput,\n output: SendbirdRegisterOperatorsGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAChF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,WAAWA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C;CAC/H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACzF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"register-operators-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/register-operators-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsGroupChannelInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to register as operators\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel\"),\n}).describe(\"Request parameters for registering operators to a Sendbird group channel.\");\nconst SendbirdRegisterOperatorsGroupChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique ID of the operator user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs for the operator\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).passthrough().describe(\"Operator object returned by Sendbird after registration.\");\nexport const SendbirdRegisterOperatorsGroupChannelOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsGroupChannel_OperatorSchema).describe(\"List of operator objects after registration\"),\n total_count: z.number().int().describe(\"Total number of operators in the group channel\").nullable(),\n}).passthrough().describe(\"Response schema after registering operators to a group channel.\");\n\nexport const sendbirdRegisterOperatorsGroupChannel = action(\"SENDBIRD_REGISTER_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-register-operators-group-channel\",\n name: \"Register Group Channel Operators\",\n description: \"Tool to register one or more users as operators in a Sendbird group channel. Use when elevating permissions of existing channel members.\",\n input: SendbirdRegisterOperatorsGroupChannelInput,\n output: SendbirdRegisterOperatorsGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAChF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,WAAWA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C;CAC/H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/register-operators-group-channel.d.ts
4
- declare const SendbirdRegisterOperatorsGroupChannelInput: z.ZodTypeAny;
5
- declare const SendbirdRegisterOperatorsGroupChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdRegisterOperatorsGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdRegisterOperatorsGroupChannelInput: z.ZodObject<{
5
+ user_ids: z.ZodArray<z.ZodString>;
6
+ channel_url: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdRegisterOperatorsGroupChannelOutput: z.ZodObject<{
9
+ operators: 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
+ total_count: z.ZodNullable<z.ZodNumber>;
16
+ }, z.core.$loose>;
17
+ declare const sendbirdRegisterOperatorsGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ user_ids: string[];
19
+ channel_url: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { sendbirdRegisterOperatorsGroupChannel };
9
23
  //# sourceMappingURL=register-operators-group-channel.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-group-channel.d.cts","names":[],"sources":["../../src/actions/register-operators-group-channel.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAG6B;AAAA,cAO3E,2CAAA,EAA6C,CAAA,CAAE,UAGkB;AAAA,cAEjE,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"register-operators-group-channel.d.cts","names":[],"sources":["../../src/actions/register-operators-group-channel.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;cAK3C,qCAAA,gCAAqC,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/register-operators-group-channel.d.ts
4
- declare const SendbirdRegisterOperatorsGroupChannelInput: z.ZodTypeAny;
5
- declare const SendbirdRegisterOperatorsGroupChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdRegisterOperatorsGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdRegisterOperatorsGroupChannelInput: z.ZodObject<{
5
+ user_ids: z.ZodArray<z.ZodString>;
6
+ channel_url: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdRegisterOperatorsGroupChannelOutput: z.ZodObject<{
9
+ operators: 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
+ total_count: z.ZodNullable<z.ZodNumber>;
16
+ }, z.core.$loose>;
17
+ declare const sendbirdRegisterOperatorsGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ user_ids: string[];
19
+ channel_url: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { sendbirdRegisterOperatorsGroupChannel };
9
23
  //# sourceMappingURL=register-operators-group-channel.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-group-channel.d.mts","names":[],"sources":["../../src/actions/register-operators-group-channel.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAG6B;AAAA,cAO3E,2CAAA,EAA6C,CAAA,CAAE,UAGkB;AAAA,cAEjE,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"register-operators-group-channel.d.mts","names":[],"sources":["../../src/actions/register-operators-group-channel.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;cAK3C,qCAAA,gCAAqC,wBAAA"}
@@ -6,11 +6,11 @@ const SendbirdRegisterOperatorsGroupChannelInput = z.object({
6
6
  channel_url: z.string().describe("URL-encoded identifier of the group channel")
7
7
  }).describe("Request parameters for registering operators to a Sendbird group channel.");
8
8
  const SendbirdRegisterOperatorsGroupChannel_OperatorSchema = z.object({
9
- user_id: z.string().describe("Unique ID of the operator user"),
9
+ user_id: z.string().describe("Unique ID of the operator user").nullable(),
10
10
  metadata: z.record(z.string(), z.unknown()).describe("Custom metadata key-value pairs for the operator").nullable().optional(),
11
11
  nickname: z.string().describe("Nickname of the operator").nullable().optional(),
12
12
  profile_url: z.string().describe("Profile image URL of the operator").nullable().optional()
13
- }).describe("Operator object returned by Sendbird after registration.");
13
+ }).passthrough().describe("Operator object returned by Sendbird after registration.");
14
14
  const sendbirdRegisterOperatorsGroupChannel = action("SENDBIRD_REGISTER_OPERATORS_GROUP_CHANNEL", {
15
15
  slug: "sendbird-register-operators-group-channel",
16
16
  name: "Register Group Channel Operators",
@@ -18,8 +18,8 @@ const sendbirdRegisterOperatorsGroupChannel = action("SENDBIRD_REGISTER_OPERATOR
18
18
  input: SendbirdRegisterOperatorsGroupChannelInput,
19
19
  output: z.object({
20
20
  operators: z.array(SendbirdRegisterOperatorsGroupChannel_OperatorSchema).describe("List of operator objects after registration"),
21
- total_count: z.number().int().describe("Total number of operators in the group channel")
22
- }).describe("Response schema after registering operators to a group channel.")
21
+ total_count: z.number().int().describe("Total number of operators in the group channel").nullable()
22
+ }).passthrough().describe("Response schema after registering operators to a group channel.")
23
23
  });
24
24
  //#endregion
25
25
  export { sendbirdRegisterOperatorsGroupChannel };
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-group-channel.mjs","names":[],"sources":["../../src/actions/register-operators-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsGroupChannelInput: z.ZodTypeAny = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to register as operators\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel\"),\n}).describe(\"Request parameters for registering operators to a Sendbird group channel.\");\nconst SendbirdRegisterOperatorsGroupChannel_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the operator user\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs for the operator\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).describe(\"Operator object returned by Sendbird after registration.\");\nexport const SendbirdRegisterOperatorsGroupChannelOutput: z.ZodTypeAny = z.object({\n operators: z.array(SendbirdRegisterOperatorsGroupChannel_OperatorSchema).describe(\"List of operator objects after registration\"),\n total_count: z.number().int().describe(\"Total number of operators in the group channel\"),\n}).describe(\"Response schema after registering operators to a group channel.\");\n\nexport const sendbirdRegisterOperatorsGroupChannel = action(\"SENDBIRD_REGISTER_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-register-operators-group-channel\",\n name: \"Register Group Channel Operators\",\n description: \"Tool to register one or more users as operators in a Sendbird group channel. Use when elevating permissions of existing channel members.\",\n input: SendbirdRegisterOperatorsGroupChannelInput,\n output: SendbirdRegisterOperatorsGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2D,EAAE,OAAO;CAC/E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAChF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,uDAAqE,EAAE,OAAO;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAMtE,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuE,EAAE,OAAO;EAChF,WAAW,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C;EAC/H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACzF,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"register-operators-group-channel.mjs","names":[],"sources":["../../src/actions/register-operators-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsGroupChannelInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to register as operators\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel\"),\n}).describe(\"Request parameters for registering operators to a Sendbird group channel.\");\nconst SendbirdRegisterOperatorsGroupChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique ID of the operator user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs for the operator\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).passthrough().describe(\"Operator object returned by Sendbird after registration.\");\nexport const SendbirdRegisterOperatorsGroupChannelOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsGroupChannel_OperatorSchema).describe(\"List of operator objects after registration\"),\n total_count: z.number().int().describe(\"Total number of operators in the group channel\").nullable(),\n}).passthrough().describe(\"Response schema after registering operators to a group channel.\");\n\nexport const sendbirdRegisterOperatorsGroupChannel = action(\"SENDBIRD_REGISTER_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-register-operators-group-channel\",\n name: \"Register Group Channel Operators\",\n description: \"Tool to register one or more users as operators in a Sendbird group channel. Use when elevating permissions of existing channel members.\",\n input: SendbirdRegisterOperatorsGroupChannelInput,\n output: SendbirdRegisterOperatorsGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAChF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,uDAAuD,EAAE,OAAO;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAMpF,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,WAAW,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C;EAC/H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
@@ -6,12 +6,12 @@ const SendbirdRegisterOperatorsOpenChannelInput = zod.z.object({
6
6
  channel_url: zod.z.string().describe("URL-encoded identifier of the open channel")
7
7
  }).describe("Request model for registering operators to an open channel.");
8
8
  const SendbirdRegisterOperatorsOpenChannel_OperatorSchema = zod.z.object({
9
- user_id: zod.z.string().describe("User ID of the operator"),
9
+ user_id: zod.z.string().describe("User ID of the operator").nullable(),
10
10
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata for the operator").nullable().optional(),
11
11
  nickname: zod.z.string().describe("Nickname of the operator").nullable().optional(),
12
12
  profile_url: zod.z.string().describe("Profile image URL of the operator").nullable().optional()
13
- }).describe("Operator information in an open channel.");
14
- const SendbirdRegisterOperatorsOpenChannelOutput = zod.z.object({ operators: zod.z.array(SendbirdRegisterOperatorsOpenChannel_OperatorSchema).describe("List of operators registered to the open channel") }).describe("Response model for registered operators in an open channel.");
13
+ }).passthrough().describe("Operator information in an open channel.");
14
+ const SendbirdRegisterOperatorsOpenChannelOutput = zod.z.object({ operators: zod.z.array(SendbirdRegisterOperatorsOpenChannel_OperatorSchema).describe("List of operators registered to the open channel") }).passthrough().describe("Response model for registered operators in an open channel.");
15
15
  const sendbirdRegisterOperatorsOpenChannel = require_action.action("SENDBIRD_REGISTER_OPERATORS_OPEN_CHANNEL", {
16
16
  slug: "sendbird-register-operators-open-channel",
17
17
  name: "Register Operators to Open Channel",
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-open-channel.cjs","names":["z","action"],"sources":["../../src/actions/register-operators-open-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsOpenChannelInput: z.ZodTypeAny = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to register as operators (at least one)\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the open channel\"),\n}).describe(\"Request model for registering operators to an open channel.\");\nconst SendbirdRegisterOperatorsOpenChannel_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"User ID of the operator\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the operator\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).describe(\"Operator information in an open channel.\");\nexport const SendbirdRegisterOperatorsOpenChannelOutput: z.ZodTypeAny = z.object({\n operators: z.array(SendbirdRegisterOperatorsOpenChannel_OperatorSchema).describe(\"List of operators registered to the open channel\"),\n}).describe(\"Response model for registered operators in an open channel.\");\n\nexport const sendbirdRegisterOperatorsOpenChannel = action(\"SENDBIRD_REGISTER_OPERATORS_OPEN_CHANNEL\", {\n slug: \"sendbird-register-operators-open-channel\",\n name: \"Register Operators to Open Channel\",\n description: \"Tool to register operators to an open channel. Use after creating or updating an open channel when you need to assign operator roles.\",\n input: SendbirdRegisterOperatorsOpenChannelInput,\n output: SendbirdRegisterOperatorsOpenChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACtD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,WAAWA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kDAAkD,EACrI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"register-operators-open-channel.cjs","names":["z","action"],"sources":["../../src/actions/register-operators-open-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsOpenChannelInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to register as operators (at least one)\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the open channel\"),\n}).describe(\"Request model for registering operators to an open channel.\");\nconst SendbirdRegisterOperatorsOpenChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"User ID of the operator\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the operator\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).passthrough().describe(\"Operator information in an open channel.\");\nexport const SendbirdRegisterOperatorsOpenChannelOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsOpenChannel_OperatorSchema).describe(\"List of operators registered to the open channel\"),\n}).passthrough().describe(\"Response model for registered operators in an open channel.\");\n\nexport const sendbirdRegisterOperatorsOpenChannel = action(\"SENDBIRD_REGISTER_OPERATORS_OPEN_CHANNEL\", {\n slug: \"sendbird-register-operators-open-channel\",\n name: \"Register Operators to Open Channel\",\n description: \"Tool to register operators to an open channel. Use after creating or updating an open channel when you need to assign operator roles.\",\n input: SendbirdRegisterOperatorsOpenChannelInput,\n output: SendbirdRegisterOperatorsOpenChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,WAAWA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kDAAkD,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,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-open-channel.d.ts
4
- declare const SendbirdRegisterOperatorsOpenChannelInput: z.ZodTypeAny;
5
- declare const SendbirdRegisterOperatorsOpenChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdRegisterOperatorsOpenChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdRegisterOperatorsOpenChannelInput: z.ZodObject<{
5
+ user_ids: z.ZodArray<z.ZodString>;
6
+ channel_url: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdRegisterOperatorsOpenChannelOutput: z.ZodObject<{
9
+ operators: 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 sendbirdRegisterOperatorsOpenChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ user_ids: string[];
18
+ channel_url: string;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sendbirdRegisterOperatorsOpenChannel };
9
22
  //# sourceMappingURL=register-operators-open-channel.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-open-channel.d.cts","names":[],"sources":["../../src/actions/register-operators-open-channel.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAGgB;AAAA,cAO7D,0CAAA,EAA4C,CAAA,CAAE,UAEe;AAAA,cAE7D,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"register-operators-open-channel.d.cts","names":[],"sources":["../../src/actions/register-operators-open-channel.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAUzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/register-operators-open-channel.d.ts
4
- declare const SendbirdRegisterOperatorsOpenChannelInput: z.ZodTypeAny;
5
- declare const SendbirdRegisterOperatorsOpenChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdRegisterOperatorsOpenChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdRegisterOperatorsOpenChannelInput: z.ZodObject<{
5
+ user_ids: z.ZodArray<z.ZodString>;
6
+ channel_url: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdRegisterOperatorsOpenChannelOutput: z.ZodObject<{
9
+ operators: 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 sendbirdRegisterOperatorsOpenChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ user_ids: string[];
18
+ channel_url: string;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sendbirdRegisterOperatorsOpenChannel };
9
22
  //# sourceMappingURL=register-operators-open-channel.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-open-channel.d.mts","names":[],"sources":["../../src/actions/register-operators-open-channel.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAGgB;AAAA,cAO7D,0CAAA,EAA4C,CAAA,CAAE,UAEe;AAAA,cAE7D,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"register-operators-open-channel.d.mts","names":[],"sources":["../../src/actions/register-operators-open-channel.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAUzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
@@ -6,17 +6,17 @@ const SendbirdRegisterOperatorsOpenChannelInput = z.object({
6
6
  channel_url: z.string().describe("URL-encoded identifier of the open channel")
7
7
  }).describe("Request model for registering operators to an open channel.");
8
8
  const SendbirdRegisterOperatorsOpenChannel_OperatorSchema = z.object({
9
- user_id: z.string().describe("User ID of the operator"),
9
+ user_id: z.string().describe("User ID of the operator").nullable(),
10
10
  metadata: z.record(z.string(), z.unknown()).describe("Custom metadata for the operator").nullable().optional(),
11
11
  nickname: z.string().describe("Nickname of the operator").nullable().optional(),
12
12
  profile_url: z.string().describe("Profile image URL of the operator").nullable().optional()
13
- }).describe("Operator information in an open channel.");
13
+ }).passthrough().describe("Operator information in an open channel.");
14
14
  const sendbirdRegisterOperatorsOpenChannel = action("SENDBIRD_REGISTER_OPERATORS_OPEN_CHANNEL", {
15
15
  slug: "sendbird-register-operators-open-channel",
16
16
  name: "Register Operators to Open Channel",
17
17
  description: "Tool to register operators to an open channel. Use after creating or updating an open channel when you need to assign operator roles.",
18
18
  input: SendbirdRegisterOperatorsOpenChannelInput,
19
- output: z.object({ operators: z.array(SendbirdRegisterOperatorsOpenChannel_OperatorSchema).describe("List of operators registered to the open channel") }).describe("Response model for registered operators in an open channel.")
19
+ output: z.object({ operators: z.array(SendbirdRegisterOperatorsOpenChannel_OperatorSchema).describe("List of operators registered to the open channel") }).passthrough().describe("Response model for registered operators in an open channel.")
20
20
  });
21
21
  //#endregion
22
22
  export { sendbirdRegisterOperatorsOpenChannel };
@@ -1 +1 @@
1
- {"version":3,"file":"register-operators-open-channel.mjs","names":[],"sources":["../../src/actions/register-operators-open-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsOpenChannelInput: z.ZodTypeAny = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to register as operators (at least one)\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the open channel\"),\n}).describe(\"Request model for registering operators to an open channel.\");\nconst SendbirdRegisterOperatorsOpenChannel_OperatorSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"User ID of the operator\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the operator\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).describe(\"Operator information in an open channel.\");\nexport const SendbirdRegisterOperatorsOpenChannelOutput: z.ZodTypeAny = z.object({\n operators: z.array(SendbirdRegisterOperatorsOpenChannel_OperatorSchema).describe(\"List of operators registered to the open channel\"),\n}).describe(\"Response model for registered operators in an open channel.\");\n\nexport const sendbirdRegisterOperatorsOpenChannel = action(\"SENDBIRD_REGISTER_OPERATORS_OPEN_CHANNEL\", {\n slug: \"sendbird-register-operators-open-channel\",\n name: \"Register Operators to Open Channel\",\n description: \"Tool to register operators to an open channel. Use after creating or updating an open channel when you need to assign operator roles.\",\n input: SendbirdRegisterOperatorsOpenChannelInput,\n output: SendbirdRegisterOperatorsOpenChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0D,EAAE,OAAO;CAC9E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sDAAoE,EAAE,OAAO;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACtD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsE,EAAE,OAAO,EAC/E,WAAW,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kDAAkD,EACrI,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"register-operators-open-channel.mjs","names":[],"sources":["../../src/actions/register-operators-open-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsOpenChannelInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to register as operators (at least one)\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the open channel\"),\n}).describe(\"Request model for registering operators to an open channel.\");\nconst SendbirdRegisterOperatorsOpenChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"User ID of the operator\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the operator\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).passthrough().describe(\"Operator information in an open channel.\");\nexport const SendbirdRegisterOperatorsOpenChannelOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsOpenChannel_OperatorSchema).describe(\"List of operators registered to the open channel\"),\n}).passthrough().describe(\"Response model for registered operators in an open channel.\");\n\nexport const sendbirdRegisterOperatorsOpenChannel = action(\"SENDBIRD_REGISTER_OPERATORS_OPEN_CHANNEL\", {\n slug: \"sendbird-register-operators-open-channel\",\n name: \"Register Operators to Open Channel\",\n description: \"Tool to register operators to an open channel. Use after creating or updating an open channel when you need to assign operator roles.\",\n input: SendbirdRegisterOperatorsOpenChannelInput,\n output: SendbirdRegisterOperatorsOpenChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sDAAsD,EAAE,OAAO;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,WAAW,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kDAAkD,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SendbirdRevokeAllSessionTokensInput = zod.z.object({ user_id: zod.z.string
5
5
  const SendbirdRevokeAllSessionTokensOutput = zod.z.object({
6
6
  status: zod.z.string().describe("Status of the revoke operation, e.g., 'success'").nullable().optional(),
7
7
  user_id: zod.z.string().describe("The ID of the user whose tokens were revoked").nullable().optional()
8
- }).describe("Response model for revoking all session tokens of a user.");
8
+ }).passthrough().describe("Response model for revoking all session tokens of a user.");
9
9
  const sendbirdRevokeAllSessionTokens = require_action.action("SENDBIRD_REVOKE_ALL_SESSION_TOKENS", {
10
10
  slug: "sendbird-revoke-all-session-tokens",
11
11
  name: "Revoke All Session Tokens",
@@ -1 +1 @@
1
- {"version":3,"file":"revoke-all-session-tokens.cjs","names":["z","action"],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRevokeAllSessionTokensInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose session tokens will be revoked.\"),\n}).describe(\"Request model for revoking all session and refresh tokens of a Sendbird user.\");\nexport const SendbirdRevokeAllSessionTokensOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the revoke operation, e.g., 'success'\").nullable().optional(),\n user_id: z.string().describe(\"The ID of the user whose tokens were revoked\").nullable().optional(),\n}).describe(\"Response model for revoking all session tokens of a user.\");\n\nexport const sendbirdRevokeAllSessionTokens = action(\"SENDBIRD_REVOKE_ALL_SESSION_TOKENS\", {\n slug: \"sendbird-revoke-all-session-tokens\",\n name: \"Revoke All Session Tokens\",\n description: \"Tool to revoke all session tokens for a user. Use when you need to invalidate all active sessions for security.\",\n input: SendbirdRevokeAllSessionTokensInput,\n output: SendbirdRevokeAllSessionTokensOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"revoke-all-session-tokens.cjs","names":["z","action"],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRevokeAllSessionTokensInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose session tokens will be revoked.\"),\n}).describe(\"Request model for revoking all session and refresh tokens of a Sendbird user.\");\nexport const SendbirdRevokeAllSessionTokensOutput = z.object({\n status: z.string().describe(\"Status of the revoke operation, e.g., 'success'\").nullable().optional(),\n user_id: z.string().describe(\"The ID of the user whose tokens were revoked\").nullable().optional(),\n}).passthrough().describe(\"Response model for revoking all session tokens of a user.\");\n\nexport const sendbirdRevokeAllSessionTokens = action(\"SENDBIRD_REVOKE_ALL_SESSION_TOKENS\", {\n slug: \"sendbird-revoke-all-session-tokens\",\n name: \"Revoke All Session Tokens\",\n description: \"Tool to revoke all session tokens for a user. Use when you need to invalidate all active sessions for security.\",\n input: SendbirdRevokeAllSessionTokensInput,\n output: SendbirdRevokeAllSessionTokensOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/revoke-all-session-tokens.d.ts
4
- declare const SendbirdRevokeAllSessionTokensInput: z.ZodTypeAny;
5
- declare const SendbirdRevokeAllSessionTokensOutput: z.ZodTypeAny;
6
- declare const sendbirdRevokeAllSessionTokens: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdRevokeAllSessionTokensInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendbirdRevokeAllSessionTokensOutput: z.ZodObject<{
8
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
+ declare const sendbirdRevokeAllSessionTokens: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ user_id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { sendbirdRevokeAllSessionTokens };
9
16
  //# sourceMappingURL=revoke-all-session-tokens.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"revoke-all-session-tokens.d.cts","names":[],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEwC;AAAA,cAC/E,oCAAA,EAAsC,CAAA,CAAE,UAGmB;AAAA,cAE3D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"revoke-all-session-tokens.d.cts","names":[],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/revoke-all-session-tokens.d.ts
4
- declare const SendbirdRevokeAllSessionTokensInput: z.ZodTypeAny;
5
- declare const SendbirdRevokeAllSessionTokensOutput: z.ZodTypeAny;
6
- declare const sendbirdRevokeAllSessionTokens: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdRevokeAllSessionTokensInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendbirdRevokeAllSessionTokensOutput: z.ZodObject<{
8
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ }, z.core.$loose>;
11
+ declare const sendbirdRevokeAllSessionTokens: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ user_id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { sendbirdRevokeAllSessionTokens };
9
16
  //# sourceMappingURL=revoke-all-session-tokens.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"revoke-all-session-tokens.d.mts","names":[],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEwC;AAAA,cAC/E,oCAAA,EAAsC,CAAA,CAAE,UAGmB;AAAA,cAE3D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"revoke-all-session-tokens.d.mts","names":[],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
@@ -8,7 +8,7 @@ const sendbirdRevokeAllSessionTokens = action("SENDBIRD_REVOKE_ALL_SESSION_TOKEN
8
8
  output: z.object({
9
9
  status: z.string().describe("Status of the revoke operation, e.g., 'success'").nullable().optional(),
10
10
  user_id: z.string().describe("The ID of the user whose tokens were revoked").nullable().optional()
11
- }).describe("Response model for revoking all session tokens of a user.")
11
+ }).passthrough().describe("Response model for revoking all session tokens of a user.")
12
12
  });
13
13
  //#endregion
14
14
  export { sendbirdRevokeAllSessionTokens };
@@ -1 +1 @@
1
- {"version":3,"file":"revoke-all-session-tokens.mjs","names":[],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRevokeAllSessionTokensInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose session tokens will be revoked.\"),\n}).describe(\"Request model for revoking all session and refresh tokens of a Sendbird user.\");\nexport const SendbirdRevokeAllSessionTokensOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the revoke operation, e.g., 'success'\").nullable().optional(),\n user_id: z.string().describe(\"The ID of the user whose tokens were revoked\").nullable().optional(),\n}).describe(\"Response model for revoking all session tokens of a user.\");\n\nexport const sendbirdRevokeAllSessionTokens = action(\"SENDBIRD_REVOKE_ALL_SESSION_TOKENS\", {\n slug: \"sendbird-revoke-all-session-tokens\",\n name: \"Revoke All Session Tokens\",\n description: \"Tool to revoke all session tokens for a user. Use when you need to invalidate all active sessions for security.\",\n input: SendbirdRevokeAllSessionTokensInput,\n output: SendbirdRevokeAllSessionTokensOutput,\n});\n"],"mappings":";;AAYA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+D,EAAE,OAAO,EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,+EAUH;CACP,QAVgE,EAAE,OAAO;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"revoke-all-session-tokens.mjs","names":[],"sources":["../../src/actions/revoke-all-session-tokens.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRevokeAllSessionTokensInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose session tokens will be revoked.\"),\n}).describe(\"Request model for revoking all session and refresh tokens of a Sendbird user.\");\nexport const SendbirdRevokeAllSessionTokensOutput = z.object({\n status: z.string().describe(\"Status of the revoke operation, e.g., 'success'\").nullable().optional(),\n user_id: z.string().describe(\"The ID of the user whose tokens were revoked\").nullable().optional(),\n}).passthrough().describe(\"Response model for revoking all session tokens of a user.\");\n\nexport const sendbirdRevokeAllSessionTokens = action(\"SENDBIRD_REVOKE_ALL_SESSION_TOKENS\", {\n slug: \"sendbird-revoke-all-session-tokens\",\n name: \"Revoke All Session Tokens\",\n description: \"Tool to revoke all session tokens for a user. Use when you need to invalidate all active sessions for security.\",\n input: SendbirdRevokeAllSessionTokensInput,\n output: SendbirdRevokeAllSessionTokensOutput,\n});\n"],"mappings":";;AAYA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZiD,EAAE,OAAO,EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,+EAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const SendbirdSendMessageInput = zod.z.object({
11
11
  key: zod.z.string().describe("Metadata key"),
12
12
  value: zod.z.string().describe("Metadata value"),
13
13
  user_id: zod.z.string().describe("User ID associated with this metadata").optional()
14
- }).describe("Model for message metadata.")).describe("Array of metadata objects").optional(),
14
+ }).passthrough().describe("Model for message metadata.")).describe("Array of metadata objects").optional(),
15
15
  channel_url: zod.z.string().describe("URL-encoded identifier of the target group channel"),
16
16
  custom_type: zod.z.string().describe("Custom message type for classification").optional(),
17
17
  mention_type: zod.z.enum(["users", "channel"]).describe("Mention scope: 'users' to mention specific users or 'channel' to mention all").optional(),
@@ -31,33 +31,33 @@ const SendbirdSendMessageInput = zod.z.object({
31
31
  ]).describe("Push notification option: 'default', 'suppress', or 'include_offline_user'").optional()
32
32
  }).describe("Request model for sending a message to a group channel.");
33
33
  const SendbirdSendMessage_UserSchema = zod.z.object({
34
- user_id: zod.z.string().describe("Unique ID of the sender user"),
34
+ user_id: zod.z.string().describe("Unique ID of the sender user").nullable(),
35
35
  nickname: zod.z.string().describe("Nickname of the sender user").nullable().optional(),
36
36
  profile_url: zod.z.string().describe("Profile image URL of the sender user").nullable().optional()
37
- }).describe("Sender user information.");
37
+ }).passthrough().describe("Sender user information.");
38
38
  const SendbirdSendMessage_ThreadInfoSchema = zod.z.object({
39
39
  updated_at: zod.z.number().int().describe("Timestamp (ms) when the thread was last updated").nullable().optional(),
40
40
  reply_count: zod.z.number().int().describe("Number of replies in this thread").nullable().optional(),
41
41
  parent_message_id: zod.z.number().int().describe("Parent message ID if this is a thread reply").nullable().optional()
42
- }).describe("Thread details when message has replies.");
42
+ }).passthrough().describe("Thread details when message has replies.");
43
43
  const SendbirdSendMessage_TranslationSchema = zod.z.object({
44
- text: zod.z.string().describe("Translated text content"),
45
- target_lang: zod.z.string().describe("Target language code for translation")
46
- }).describe("Translation result for auto-translated messages.");
44
+ text: zod.z.string().describe("Translated text content").nullable(),
45
+ target_lang: zod.z.string().describe("Target language code for translation").nullable()
46
+ }).passthrough().describe("Translation result for auto-translated messages.");
47
47
  const SendbirdSendMessageOutput = zod.z.object({
48
48
  data: zod.z.string().describe("Custom data payload").nullable().optional(),
49
49
  type: zod.z.enum([
50
50
  "MESG",
51
51
  "FILE",
52
52
  "ADMM"
53
- ]).describe("Type of the message"),
53
+ ]).describe("Type of the message").nullable(),
54
54
  user: SendbirdSendMessage_UserSchema.nullable(),
55
- silent: zod.z.boolean().describe("Whether the message is silent"),
55
+ silent: zod.z.boolean().describe("Whether the message is silent").nullable(),
56
56
  message: zod.z.string().describe("Text content of the message").nullable().optional(),
57
- created_at: zod.z.number().int().describe("Timestamp (ms) when message was created"),
58
- message_id: zod.z.string().describe("Unique message ID"),
59
- updated_at: zod.z.number().int().describe("Timestamp (ms) when message was last updated"),
60
- channel_url: zod.z.string().describe("URL of the group channel where message was sent"),
57
+ created_at: zod.z.number().int().describe("Timestamp (ms) when message was created").nullable(),
58
+ message_id: zod.z.string().describe("Unique message ID").nullable(),
59
+ updated_at: zod.z.number().int().describe("Timestamp (ms) when message was last updated").nullable(),
60
+ channel_url: zod.z.string().describe("URL of the group channel where message was sent").nullable(),
61
61
  custom_type: zod.z.string().describe("Custom message type").nullable().optional(),
62
62
  thread_info: SendbirdSendMessage_ThreadInfoSchema.nullable().optional(),
63
63
  mention_type: zod.z.enum(["users", "channel"]).describe("Mention type used in the message").nullable().optional(),
@@ -65,7 +65,7 @@ const SendbirdSendMessageOutput = zod.z.object({
65
65
  operator_message: zod.z.boolean().describe("Whether this is an operator message").nullable().optional(),
66
66
  parent_message_id: zod.z.number().int().describe("Parent message ID if it's a reply").nullable().optional(),
67
67
  mentioned_user_ids: zod.z.array(zod.z.string()).describe("List of user IDs mentioned in the message").nullable().optional()
68
- }).describe("Response model for sending a message in a group channel.");
68
+ }).passthrough().describe("Response model for sending a message in a group channel.");
69
69
  const sendbirdSendMessage = require_action.action("SENDBIRD_SEND_MESSAGE", {
70
70
  slug: "sendbird-send-message",
71
71
  name: "Send Message",
@@ -1 +1 @@
1
- {"version":3,"file":"send-message.cjs","names":["z","action"],"sources":["../../src/actions/send-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdSendMessageInput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Free-form custom data string (often JSON)\").optional(),\n message: z.string().describe(\"Text content of the message. Required when message_type is 'MESG'\").optional(),\n poll_id: z.number().int().describe(\"Attach an existing poll by its ID\").optional(),\n user_id: z.string().describe(\"Sender's user ID. Required unless using API token as acting user\").optional(),\n is_silent: z.boolean().default(false).describe(\"Send as silent message (no push notifications)\").optional(),\n metaarray: z.array(z.object({\n key: z.string().describe(\"Metadata key\"),\n value: z.string().describe(\"Metadata value\"),\n user_id: z.string().describe(\"User ID associated with this metadata\").optional(),\n}).describe(\"Model for message metadata.\")).describe(\"Array of metadata objects\").optional(),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n custom_type: z.string().describe(\"Custom message type for classification\").optional(),\n mention_type: z.enum([\"users\", \"channel\"]).describe(\"Mention scope: 'users' to mention specific users or 'channel' to mention all\").optional(),\n message_type: z.enum([\"MESG\", \"FILE\", \"ADMM\"]).describe(\"Type of message: 'MESG' for text, 'FILE' for file, 'ADMM' for admin message\"),\n parent_message_id: z.number().int().describe(\"Reply in a thread to the message with this ID\").optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs to mention when mention_type is 'users'\").optional(),\n is_operator_message: z.boolean().default(false).describe(\"Mark as operator (moderator) message\").optional(),\n translation_target_languages: z.array(z.string()).describe(\"List of language codes for auto-translation, e.g., ['en', 'es']\").optional(),\n push_notification_delivery_option: z.enum([\"default\", \"suppress\", \"include_offline_user\"]).describe(\"Push notification option: 'default', 'suppress', or 'include_offline_user'\").optional(),\n}).describe(\"Request model for sending a message to a group channel.\");\nconst SendbirdSendMessage_UserSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the sender user\"),\n nickname: z.string().describe(\"Nickname of the sender user\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the sender user\").nullable().optional(),\n}).describe(\"Sender user information.\");\nconst SendbirdSendMessage_ThreadInfoSchema: z.ZodTypeAny = z.object({\n updated_at: z.number().int().describe(\"Timestamp (ms) when the thread was last updated\").nullable().optional(),\n reply_count: z.number().int().describe(\"Number of replies in this thread\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"Parent message ID if this is a thread reply\").nullable().optional(),\n}).describe(\"Thread details when message has replies.\");\nconst SendbirdSendMessage_TranslationSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Translated text content\"),\n target_lang: z.string().describe(\"Target language code for translation\"),\n}).describe(\"Translation result for auto-translated messages.\");\nexport const SendbirdSendMessageOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom data payload\").nullable().optional(),\n type: z.enum([\"MESG\", \"FILE\", \"ADMM\"]).describe(\"Type of the message\"),\n user: SendbirdSendMessage_UserSchema.nullable(),\n silent: z.boolean().describe(\"Whether the message is silent\"),\n message: z.string().describe(\"Text content of the message\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp (ms) when message was created\"),\n message_id: z.string().describe(\"Unique message ID\"),\n updated_at: z.number().int().describe(\"Timestamp (ms) when message was last updated\"),\n channel_url: z.string().describe(\"URL of the group channel where message was sent\"),\n custom_type: z.string().describe(\"Custom message type\").nullable().optional(),\n thread_info: SendbirdSendMessage_ThreadInfoSchema.nullable().optional(),\n mention_type: z.enum([\"users\", \"channel\"]).describe(\"Mention type used in the message\").nullable().optional(),\n translations: z.array(SendbirdSendMessage_TranslationSchema).describe(\"Auto-translation results for this message\").nullable().optional(),\n operator_message: z.boolean().describe(\"Whether this is an operator message\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"Parent message ID if it's a reply\").nullable().optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs mentioned in the message\").nullable().optional(),\n}).describe(\"Response model for sending a message in a group channel.\");\n\nexport const sendbirdSendMessage = action(\"SENDBIRD_SEND_MESSAGE\", {\n slug: \"sendbird-send-message\",\n name: \"Send Message\",\n description: \"Tool to send a message to a group channel. Use when you need to post a text, file, or admin message to an existing group channel.\",\n input: SendbirdSendMessageInput,\n output: SendbirdSendMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAA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AMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"send-message.cjs","names":["z","action"],"sources":["../../src/actions/send-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdSendMessageInput = z.object({\n data: z.string().describe(\"Free-form custom data string (often JSON)\").optional(),\n message: z.string().describe(\"Text content of the message. Required when message_type is 'MESG'\").optional(),\n poll_id: z.number().int().describe(\"Attach an existing poll by its ID\").optional(),\n user_id: z.string().describe(\"Sender's user ID. Required unless using API token as acting user\").optional(),\n is_silent: z.boolean().default(false).describe(\"Send as silent message (no push notifications)\").optional(),\n metaarray: z.array(z.object({\n key: z.string().describe(\"Metadata key\"),\n value: z.string().describe(\"Metadata value\"),\n user_id: z.string().describe(\"User ID associated with this metadata\").optional(),\n}).passthrough().describe(\"Model for message metadata.\")).describe(\"Array of metadata objects\").optional(),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n custom_type: z.string().describe(\"Custom message type for classification\").optional(),\n mention_type: z.enum([\"users\", \"channel\"]).describe(\"Mention scope: 'users' to mention specific users or 'channel' to mention all\").optional(),\n message_type: z.enum([\"MESG\", \"FILE\", \"ADMM\"]).describe(\"Type of message: 'MESG' for text, 'FILE' for file, 'ADMM' for admin message\"),\n parent_message_id: z.number().int().describe(\"Reply in a thread to the message with this ID\").optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs to mention when mention_type is 'users'\").optional(),\n is_operator_message: z.boolean().default(false).describe(\"Mark as operator (moderator) message\").optional(),\n translation_target_languages: z.array(z.string()).describe(\"List of language codes for auto-translation, e.g., ['en', 'es']\").optional(),\n push_notification_delivery_option: z.enum([\"default\", \"suppress\", \"include_offline_user\"]).describe(\"Push notification option: 'default', 'suppress', or 'include_offline_user'\").optional(),\n}).describe(\"Request model for sending a message to a group channel.\");\nconst SendbirdSendMessage_UserSchema = z.object({\n user_id: z.string().describe(\"Unique ID of the sender user\").nullable(),\n nickname: z.string().describe(\"Nickname of the sender user\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the sender user\").nullable().optional(),\n}).passthrough().describe(\"Sender user information.\");\nconst SendbirdSendMessage_ThreadInfoSchema = z.object({\n updated_at: z.number().int().describe(\"Timestamp (ms) when the thread was last updated\").nullable().optional(),\n reply_count: z.number().int().describe(\"Number of replies in this thread\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"Parent message ID if this is a thread reply\").nullable().optional(),\n}).passthrough().describe(\"Thread details when message has replies.\");\nconst SendbirdSendMessage_TranslationSchema = z.object({\n text: z.string().describe(\"Translated text content\").nullable(),\n target_lang: z.string().describe(\"Target language code for translation\").nullable(),\n}).passthrough().describe(\"Translation result for auto-translated messages.\");\nexport const SendbirdSendMessageOutput = z.object({\n data: z.string().describe(\"Custom data payload\").nullable().optional(),\n type: z.enum([\"MESG\", \"FILE\", \"ADMM\"]).describe(\"Type of the message\").nullable(),\n user: SendbirdSendMessage_UserSchema.nullable(),\n silent: z.boolean().describe(\"Whether the message is silent\").nullable(),\n message: z.string().describe(\"Text content of the message\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp (ms) when message was created\").nullable(),\n message_id: z.string().describe(\"Unique message ID\").nullable(),\n updated_at: z.number().int().describe(\"Timestamp (ms) when message was last updated\").nullable(),\n channel_url: z.string().describe(\"URL of the group channel where message was sent\").nullable(),\n custom_type: z.string().describe(\"Custom message type\").nullable().optional(),\n thread_info: SendbirdSendMessage_ThreadInfoSchema.nullable().optional(),\n mention_type: z.enum([\"users\", \"channel\"]).describe(\"Mention type used in the message\").nullable().optional(),\n translations: z.array(SendbirdSendMessage_TranslationSchema).describe(\"Auto-translation results for this message\").nullable().optional(),\n operator_message: z.boolean().describe(\"Whether this is an operator message\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"Parent message ID if it's a reply\").nullable().optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs mentioned in the message\").nullable().optional(),\n}).passthrough().describe(\"Response model for sending a message in a group channel.\");\n\nexport const sendbirdSendMessage = action(\"SENDBIRD_SEND_MESSAGE\", {\n slug: \"sendbird-send-message\",\n name: \"Send Message\",\n description: \"Tool to send a message to a group channel. Use when you need to post a text, file, or admin message to an existing group channel.\",\n input: SendbirdSendMessageInput,\n output: SendbirdSendMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACvC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CA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