@keystrokehq/sendbird 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-members-group-channel.cjs +3 -3
  4. package/dist/actions/add-members-group-channel.cjs.map +1 -1
  5. package/dist/actions/add-members-group-channel.d.cts +28 -3
  6. package/dist/actions/add-members-group-channel.d.cts.map +1 -1
  7. package/dist/actions/add-members-group-channel.d.mts +28 -3
  8. package/dist/actions/add-members-group-channel.d.mts.map +1 -1
  9. package/dist/actions/add-members-group-channel.mjs +3 -3
  10. package/dist/actions/add-members-group-channel.mjs.map +1 -1
  11. package/dist/actions/ban-user-from-group-channel.cjs +3 -3
  12. package/dist/actions/ban-user-from-group-channel.cjs.map +1 -1
  13. package/dist/actions/ban-user-from-group-channel.d.cts +25 -3
  14. package/dist/actions/ban-user-from-group-channel.d.cts.map +1 -1
  15. package/dist/actions/ban-user-from-group-channel.d.mts +25 -3
  16. package/dist/actions/ban-user-from-group-channel.d.mts.map +1 -1
  17. package/dist/actions/ban-user-from-group-channel.mjs +3 -3
  18. package/dist/actions/ban-user-from-group-channel.mjs.map +1 -1
  19. package/dist/actions/create-channel.cjs +23 -23
  20. package/dist/actions/create-channel.cjs.map +1 -1
  21. package/dist/actions/create-channel.d.cts +90 -3
  22. package/dist/actions/create-channel.d.cts.map +1 -1
  23. package/dist/actions/create-channel.d.mts +90 -3
  24. package/dist/actions/create-channel.d.mts.map +1 -1
  25. package/dist/actions/create-channel.mjs +23 -23
  26. package/dist/actions/create-channel.mjs.map +1 -1
  27. package/dist/actions/create-user.cjs +5 -5
  28. package/dist/actions/create-user.cjs.map +1 -1
  29. package/dist/actions/create-user.d.cts +40 -3
  30. package/dist/actions/create-user.d.cts.map +1 -1
  31. package/dist/actions/create-user.d.mts +40 -3
  32. package/dist/actions/create-user.d.mts.map +1 -1
  33. package/dist/actions/create-user.mjs +5 -5
  34. package/dist/actions/create-user.mjs.map +1 -1
  35. package/dist/actions/delete-channel.cjs +1 -1
  36. package/dist/actions/delete-channel.cjs.map +1 -1
  37. package/dist/actions/delete-channel.d.cts +9 -3
  38. package/dist/actions/delete-channel.d.cts.map +1 -1
  39. package/dist/actions/delete-channel.d.mts +9 -3
  40. package/dist/actions/delete-channel.d.mts.map +1 -1
  41. package/dist/actions/delete-channel.mjs +1 -1
  42. package/dist/actions/delete-channel.mjs.map +1 -1
  43. package/dist/actions/delete-message.cjs +1 -1
  44. package/dist/actions/delete-message.cjs.map +1 -1
  45. package/dist/actions/delete-message.d.cts +11 -3
  46. package/dist/actions/delete-message.d.cts.map +1 -1
  47. package/dist/actions/delete-message.d.mts +11 -3
  48. package/dist/actions/delete-message.d.mts.map +1 -1
  49. package/dist/actions/delete-message.mjs +1 -1
  50. package/dist/actions/delete-message.mjs.map +1 -1
  51. package/dist/actions/delete-user.cjs +1 -1
  52. package/dist/actions/delete-user.cjs.map +1 -1
  53. package/dist/actions/delete-user.d.cts +9 -3
  54. package/dist/actions/delete-user.d.cts.map +1 -1
  55. package/dist/actions/delete-user.d.mts +9 -3
  56. package/dist/actions/delete-user.d.mts.map +1 -1
  57. package/dist/actions/delete-user.mjs +1 -1
  58. package/dist/actions/delete-user.mjs.map +1 -1
  59. package/dist/actions/get-count-preference-of-channel.cjs +3 -3
  60. package/dist/actions/get-count-preference-of-channel.cjs.map +1 -1
  61. package/dist/actions/get-count-preference-of-channel.d.cts +16 -3
  62. package/dist/actions/get-count-preference-of-channel.d.cts.map +1 -1
  63. package/dist/actions/get-count-preference-of-channel.d.mts +16 -3
  64. package/dist/actions/get-count-preference-of-channel.d.mts.map +1 -1
  65. package/dist/actions/get-count-preference-of-channel.mjs +3 -3
  66. package/dist/actions/get-count-preference-of-channel.mjs.map +1 -1
  67. package/dist/actions/get-number-of-channels-by-join-status.cjs +2 -2
  68. package/dist/actions/get-number-of-channels-by-join-status.cjs.map +1 -1
  69. package/dist/actions/get-number-of-channels-by-join-status.d.cts +33 -3
  70. package/dist/actions/get-number-of-channels-by-join-status.d.cts.map +1 -1
  71. package/dist/actions/get-number-of-channels-by-join-status.d.mts +33 -3
  72. package/dist/actions/get-number-of-channels-by-join-status.d.mts.map +1 -1
  73. package/dist/actions/get-number-of-channels-by-join-status.mjs +2 -2
  74. package/dist/actions/get-number-of-channels-by-join-status.mjs.map +1 -1
  75. package/dist/actions/get-number-of-unread-items.cjs +1 -1
  76. package/dist/actions/get-number-of-unread-items.cjs.map +1 -1
  77. package/dist/actions/get-number-of-unread-items.d.cts +21 -3
  78. package/dist/actions/get-number-of-unread-items.d.cts.map +1 -1
  79. package/dist/actions/get-number-of-unread-items.d.mts +21 -3
  80. package/dist/actions/get-number-of-unread-items.d.mts.map +1 -1
  81. package/dist/actions/get-number-of-unread-items.mjs +1 -1
  82. package/dist/actions/get-number-of-unread-items.mjs.map +1 -1
  83. package/dist/actions/issue-session-token.cjs +3 -3
  84. package/dist/actions/issue-session-token.cjs.map +1 -1
  85. package/dist/actions/issue-session-token.d.cts +13 -3
  86. package/dist/actions/issue-session-token.d.cts.map +1 -1
  87. package/dist/actions/issue-session-token.d.mts +13 -3
  88. package/dist/actions/issue-session-token.d.mts.map +1 -1
  89. package/dist/actions/issue-session-token.mjs +3 -3
  90. package/dist/actions/issue-session-token.mjs.map +1 -1
  91. package/dist/actions/leave-group-channels.cjs +1 -1
  92. package/dist/actions/leave-group-channels.cjs.map +1 -1
  93. package/dist/actions/leave-group-channels.d.cts +15 -3
  94. package/dist/actions/leave-group-channels.d.cts.map +1 -1
  95. package/dist/actions/leave-group-channels.d.mts +15 -3
  96. package/dist/actions/leave-group-channels.d.mts.map +1 -1
  97. package/dist/actions/leave-group-channels.mjs +1 -1
  98. package/dist/actions/leave-group-channels.mjs.map +1 -1
  99. package/dist/actions/list-banned-members.cjs +5 -5
  100. package/dist/actions/list-banned-members.cjs.map +1 -1
  101. package/dist/actions/list-banned-members.d.cts +21 -3
  102. package/dist/actions/list-banned-members.d.cts.map +1 -1
  103. package/dist/actions/list-banned-members.d.mts +21 -3
  104. package/dist/actions/list-banned-members.d.mts.map +1 -1
  105. package/dist/actions/list-banned-members.mjs +5 -5
  106. package/dist/actions/list-banned-members.mjs.map +1 -1
  107. package/dist/actions/list-group-channel-messages.cjs +16 -16
  108. package/dist/actions/list-group-channel-messages.cjs.map +1 -1
  109. package/dist/actions/list-group-channel-messages.d.cts +99 -3
  110. package/dist/actions/list-group-channel-messages.d.cts.map +1 -1
  111. package/dist/actions/list-group-channel-messages.d.mts +99 -3
  112. package/dist/actions/list-group-channel-messages.d.mts.map +1 -1
  113. package/dist/actions/list-group-channel-messages.mjs +16 -16
  114. package/dist/actions/list-group-channel-messages.mjs.map +1 -1
  115. package/dist/actions/list-group-channels.cjs +12 -12
  116. package/dist/actions/list-group-channels.cjs.map +1 -1
  117. package/dist/actions/list-group-channels.d.cts +117 -3
  118. package/dist/actions/list-group-channels.d.cts.map +1 -1
  119. package/dist/actions/list-group-channels.d.mts +117 -3
  120. package/dist/actions/list-group-channels.d.mts.map +1 -1
  121. package/dist/actions/list-group-channels.mjs +12 -12
  122. package/dist/actions/list-group-channels.mjs.map +1 -1
  123. package/dist/actions/list-members-group-channel.cjs +8 -8
  124. package/dist/actions/list-members-group-channel.cjs.map +1 -1
  125. package/dist/actions/list-members-group-channel.d.cts +52 -3
  126. package/dist/actions/list-members-group-channel.d.cts.map +1 -1
  127. package/dist/actions/list-members-group-channel.d.mts +52 -3
  128. package/dist/actions/list-members-group-channel.d.mts.map +1 -1
  129. package/dist/actions/list-members-group-channel.mjs +8 -8
  130. package/dist/actions/list-members-group-channel.mjs.map +1 -1
  131. package/dist/actions/list-operators-custom-channel-type.cjs +4 -4
  132. package/dist/actions/list-operators-custom-channel-type.cjs.map +1 -1
  133. package/dist/actions/list-operators-custom-channel-type.d.cts +19 -3
  134. package/dist/actions/list-operators-custom-channel-type.d.cts.map +1 -1
  135. package/dist/actions/list-operators-custom-channel-type.d.mts +19 -3
  136. package/dist/actions/list-operators-custom-channel-type.d.mts.map +1 -1
  137. package/dist/actions/list-operators-custom-channel-type.mjs +4 -4
  138. package/dist/actions/list-operators-custom-channel-type.mjs.map +1 -1
  139. package/dist/actions/list-operators-group-channel.cjs +3 -3
  140. package/dist/actions/list-operators-group-channel.cjs.map +1 -1
  141. package/dist/actions/list-operators-group-channel.d.cts +18 -3
  142. package/dist/actions/list-operators-group-channel.d.cts.map +1 -1
  143. package/dist/actions/list-operators-group-channel.d.mts +18 -3
  144. package/dist/actions/list-operators-group-channel.d.mts.map +1 -1
  145. package/dist/actions/list-operators-group-channel.mjs +3 -3
  146. package/dist/actions/list-operators-group-channel.mjs.map +1 -1
  147. package/dist/actions/list-operators-open-channel.cjs +4 -4
  148. package/dist/actions/list-operators-open-channel.cjs.map +1 -1
  149. package/dist/actions/list-operators-open-channel.d.cts +19 -3
  150. package/dist/actions/list-operators-open-channel.d.cts.map +1 -1
  151. package/dist/actions/list-operators-open-channel.d.mts +19 -3
  152. package/dist/actions/list-operators-open-channel.d.mts.map +1 -1
  153. package/dist/actions/list-operators-open-channel.mjs +4 -4
  154. package/dist/actions/list-operators-open-channel.mjs.map +1 -1
  155. package/dist/actions/list-users.cjs +4 -4
  156. package/dist/actions/list-users.cjs.map +1 -1
  157. package/dist/actions/list-users.d.cts +48 -3
  158. package/dist/actions/list-users.d.cts.map +1 -1
  159. package/dist/actions/list-users.d.mts +48 -3
  160. package/dist/actions/list-users.d.mts.map +1 -1
  161. package/dist/actions/list-users.mjs +4 -4
  162. package/dist/actions/list-users.mjs.map +1 -1
  163. package/dist/actions/mark-all-user-messages-as-read.cjs +1 -1
  164. package/dist/actions/mark-all-user-messages-as-read.cjs.map +1 -1
  165. package/dist/actions/mark-all-user-messages-as-read.d.cts +9 -3
  166. package/dist/actions/mark-all-user-messages-as-read.d.cts.map +1 -1
  167. package/dist/actions/mark-all-user-messages-as-read.d.mts +9 -3
  168. package/dist/actions/mark-all-user-messages-as-read.d.mts.map +1 -1
  169. package/dist/actions/mark-all-user-messages-as-read.mjs +1 -1
  170. package/dist/actions/mark-all-user-messages-as-read.mjs.map +1 -1
  171. package/dist/actions/mute-user.cjs +1 -1
  172. package/dist/actions/mute-user.cjs.map +1 -1
  173. package/dist/actions/mute-user.d.cts +13 -3
  174. package/dist/actions/mute-user.d.cts.map +1 -1
  175. package/dist/actions/mute-user.d.mts +13 -3
  176. package/dist/actions/mute-user.d.mts.map +1 -1
  177. package/dist/actions/mute-user.mjs +1 -1
  178. package/dist/actions/mute-user.mjs.map +1 -1
  179. package/dist/actions/register-operators-custom-channel-type.cjs +4 -4
  180. package/dist/actions/register-operators-custom-channel-type.cjs.map +1 -1
  181. package/dist/actions/register-operators-custom-channel-type.d.cts +16 -3
  182. package/dist/actions/register-operators-custom-channel-type.d.cts.map +1 -1
  183. package/dist/actions/register-operators-custom-channel-type.d.mts +16 -3
  184. package/dist/actions/register-operators-custom-channel-type.d.mts.map +1 -1
  185. package/dist/actions/register-operators-custom-channel-type.mjs +4 -4
  186. package/dist/actions/register-operators-custom-channel-type.mjs.map +1 -1
  187. package/dist/actions/register-operators-group-channel.cjs +4 -4
  188. package/dist/actions/register-operators-group-channel.cjs.map +1 -1
  189. package/dist/actions/register-operators-group-channel.d.cts +17 -3
  190. package/dist/actions/register-operators-group-channel.d.cts.map +1 -1
  191. package/dist/actions/register-operators-group-channel.d.mts +17 -3
  192. package/dist/actions/register-operators-group-channel.d.mts.map +1 -1
  193. package/dist/actions/register-operators-group-channel.mjs +4 -4
  194. package/dist/actions/register-operators-group-channel.mjs.map +1 -1
  195. package/dist/actions/register-operators-open-channel.cjs +3 -3
  196. package/dist/actions/register-operators-open-channel.cjs.map +1 -1
  197. package/dist/actions/register-operators-open-channel.d.cts +16 -3
  198. package/dist/actions/register-operators-open-channel.d.cts.map +1 -1
  199. package/dist/actions/register-operators-open-channel.d.mts +16 -3
  200. package/dist/actions/register-operators-open-channel.d.mts.map +1 -1
  201. package/dist/actions/register-operators-open-channel.mjs +3 -3
  202. package/dist/actions/register-operators-open-channel.mjs.map +1 -1
  203. package/dist/actions/revoke-all-session-tokens.cjs +1 -1
  204. package/dist/actions/revoke-all-session-tokens.cjs.map +1 -1
  205. package/dist/actions/revoke-all-session-tokens.d.cts +10 -3
  206. package/dist/actions/revoke-all-session-tokens.d.cts.map +1 -1
  207. package/dist/actions/revoke-all-session-tokens.d.mts +10 -3
  208. package/dist/actions/revoke-all-session-tokens.d.mts.map +1 -1
  209. package/dist/actions/revoke-all-session-tokens.mjs +1 -1
  210. package/dist/actions/revoke-all-session-tokens.mjs.map +1 -1
  211. package/dist/actions/send-message.cjs +14 -14
  212. package/dist/actions/send-message.cjs.map +1 -1
  213. package/dist/actions/send-message.d.cts +90 -3
  214. package/dist/actions/send-message.d.cts.map +1 -1
  215. package/dist/actions/send-message.d.mts +90 -3
  216. package/dist/actions/send-message.d.mts.map +1 -1
  217. package/dist/actions/send-message.mjs +14 -14
  218. package/dist/actions/send-message.mjs.map +1 -1
  219. package/dist/actions/unban-user.cjs +1 -1
  220. package/dist/actions/unban-user.cjs.map +1 -1
  221. package/dist/actions/unban-user.d.cts +9 -3
  222. package/dist/actions/unban-user.d.cts.map +1 -1
  223. package/dist/actions/unban-user.d.mts +9 -3
  224. package/dist/actions/unban-user.d.mts.map +1 -1
  225. package/dist/actions/unban-user.mjs +1 -1
  226. package/dist/actions/unban-user.mjs.map +1 -1
  227. package/dist/actions/unmute-user.cjs +1 -1
  228. package/dist/actions/unmute-user.cjs.map +1 -1
  229. package/dist/actions/unmute-user.d.cts +16 -3
  230. package/dist/actions/unmute-user.d.cts.map +1 -1
  231. package/dist/actions/unmute-user.d.mts +16 -3
  232. package/dist/actions/unmute-user.d.mts.map +1 -1
  233. package/dist/actions/unmute-user.mjs +1 -1
  234. package/dist/actions/unmute-user.mjs.map +1 -1
  235. package/dist/actions/unregister-operators-custom-channel-type.cjs +3 -3
  236. package/dist/actions/unregister-operators-custom-channel-type.cjs.map +1 -1
  237. package/dist/actions/unregister-operators-custom-channel-type.d.cts +14 -3
  238. package/dist/actions/unregister-operators-custom-channel-type.d.cts.map +1 -1
  239. package/dist/actions/unregister-operators-custom-channel-type.d.mts +14 -3
  240. package/dist/actions/unregister-operators-custom-channel-type.d.mts.map +1 -1
  241. package/dist/actions/unregister-operators-custom-channel-type.mjs +3 -3
  242. package/dist/actions/unregister-operators-custom-channel-type.mjs.map +1 -1
  243. package/dist/actions/update-count-preference-of-channel.cjs +3 -3
  244. package/dist/actions/update-count-preference-of-channel.cjs.map +1 -1
  245. package/dist/actions/update-count-preference-of-channel.d.cts +19 -3
  246. package/dist/actions/update-count-preference-of-channel.d.cts.map +1 -1
  247. package/dist/actions/update-count-preference-of-channel.d.mts +19 -3
  248. package/dist/actions/update-count-preference-of-channel.d.mts.map +1 -1
  249. package/dist/actions/update-count-preference-of-channel.mjs +3 -3
  250. package/dist/actions/update-count-preference-of-channel.mjs.map +1 -1
  251. package/dist/actions/update-group-channel.cjs +5 -5
  252. package/dist/actions/update-group-channel.cjs.map +1 -1
  253. package/dist/actions/update-group-channel.d.cts +45 -3
  254. package/dist/actions/update-group-channel.d.cts.map +1 -1
  255. package/dist/actions/update-group-channel.d.mts +45 -3
  256. package/dist/actions/update-group-channel.d.mts.map +1 -1
  257. package/dist/actions/update-group-channel.mjs +5 -5
  258. package/dist/actions/update-group-channel.mjs.map +1 -1
  259. package/dist/actions/update-message.cjs +6 -6
  260. package/dist/actions/update-message.cjs.map +1 -1
  261. package/dist/actions/update-message.d.cts +56 -3
  262. package/dist/actions/update-message.d.cts.map +1 -1
  263. package/dist/actions/update-message.d.mts +56 -3
  264. package/dist/actions/update-message.d.mts.map +1 -1
  265. package/dist/actions/update-message.mjs +6 -6
  266. package/dist/actions/update-message.mjs.map +1 -1
  267. package/dist/actions/update-user.cjs +2 -2
  268. package/dist/actions/update-user.cjs.map +1 -1
  269. package/dist/actions/update-user.d.cts +34 -3
  270. package/dist/actions/update-user.d.cts.map +1 -1
  271. package/dist/actions/update-user.d.mts +34 -3
  272. package/dist/actions/update-user.d.mts.map +1 -1
  273. package/dist/actions/update-user.mjs +2 -2
  274. package/dist/actions/update-user.mjs.map +1 -1
  275. package/dist/actions/view-group-channel.cjs +12 -12
  276. package/dist/actions/view-group-channel.cjs.map +1 -1
  277. package/dist/actions/view-group-channel.d.cts +52 -3
  278. package/dist/actions/view-group-channel.d.cts.map +1 -1
  279. package/dist/actions/view-group-channel.d.mts +52 -3
  280. package/dist/actions/view-group-channel.d.mts.map +1 -1
  281. package/dist/actions/view-group-channel.mjs +12 -12
  282. package/dist/actions/view-group-channel.mjs.map +1 -1
  283. package/dist/actions/view-message.cjs +23 -23
  284. package/dist/actions/view-message.cjs.map +1 -1
  285. package/dist/actions/view-message.d.cts +60 -3
  286. package/dist/actions/view-message.d.cts.map +1 -1
  287. package/dist/actions/view-message.d.mts +60 -3
  288. package/dist/actions/view-message.d.mts.map +1 -1
  289. package/dist/actions/view-message.mjs +23 -23
  290. package/dist/actions/view-message.mjs.map +1 -1
  291. package/dist/actions/view-user.cjs +2 -2
  292. package/dist/actions/view-user.cjs.map +1 -1
  293. package/dist/actions/view-user.d.cts +22 -3
  294. package/dist/actions/view-user.d.cts.map +1 -1
  295. package/dist/actions/view-user.d.mts +22 -3
  296. package/dist/actions/view-user.d.mts.map +1 -1
  297. package/dist/actions/view-user.mjs +2 -2
  298. package/dist/actions/view-user.mjs.map +1 -1
  299. package/dist/catalog.cjs +13 -1
  300. package/dist/catalog.cjs.map +1 -1
  301. package/dist/catalog.d.cts +12 -0
  302. package/dist/catalog.d.mts +12 -0
  303. package/dist/catalog.mjs +13 -1
  304. package/dist/catalog.mjs.map +1 -1
  305. package/package.json +2 -2
@@ -1,9 +1,62 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-message.d.ts
4
- declare const SendbirdUpdateMessageInput: z.ZodTypeAny;
5
- declare const SendbirdUpdateMessageOutput: z.ZodTypeAny;
6
- declare const sendbirdUpdateMessage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdUpdateMessageInput: z.ZodObject<{
5
+ data: z.ZodOptional<z.ZodString>;
6
+ content: z.ZodOptional<z.ZodString>;
7
+ user_id: z.ZodOptional<z.ZodString>;
8
+ dedup_id: z.ZodOptional<z.ZodString>;
9
+ is_silent: z.ZodOptional<z.ZodBoolean>;
10
+ message_id: z.ZodString;
11
+ channel_url: z.ZodString;
12
+ custom_type: z.ZodOptional<z.ZodString>;
13
+ mention_type: z.ZodOptional<z.ZodString>;
14
+ message_type: z.ZodOptional<z.ZodString>;
15
+ apns_bundle_id: z.ZodOptional<z.ZodString>;
16
+ sorted_metaarray: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
+ mentioned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
+ push_notification_delivery_option: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>;
20
+ declare const SendbirdUpdateMessageOutput: z.ZodObject<{
21
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ file: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23
+ type: z.ZodNullable<z.ZodString>;
24
+ user: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25
+ og_tag: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ is_silent: z.ZodNullable<z.ZodBoolean>;
28
+ reactions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
29
+ created_at: z.ZodNullable<z.ZodNumber>;
30
+ message_id: z.ZodNullable<z.ZodString>;
31
+ updated_at: z.ZodNullable<z.ZodNumber>;
32
+ channel_url: z.ZodNullable<z.ZodString>;
33
+ custom_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ thread_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
35
+ mention_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ translations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
37
+ mentioned_users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
38
+ sorted_metaarray: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
39
+ parent_message_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ is_reply_to_channel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
41
+ parent_message_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
42
+ apple_critical_alert_options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
+ }, z.core.$loose>;
44
+ declare const sendbirdUpdateMessage: import("@keystrokehq/action").WorkflowActionDefinition<{
45
+ message_id: string;
46
+ channel_url: string;
47
+ data?: string | undefined;
48
+ content?: string | undefined;
49
+ user_id?: string | undefined;
50
+ dedup_id?: string | undefined;
51
+ is_silent?: boolean | undefined;
52
+ custom_type?: string | undefined;
53
+ mention_type?: string | undefined;
54
+ message_type?: string | undefined;
55
+ apns_bundle_id?: string | undefined;
56
+ sorted_metaarray?: Record<string, unknown>[] | undefined;
57
+ mentioned_user_ids?: string[] | undefined;
58
+ push_notification_delivery_option?: string | undefined;
59
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
60
  //#endregion
8
61
  export { sendbirdUpdateMessage };
9
62
  //# sourceMappingURL=update-message.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-message.d.mts","names":[],"sources":["../../src/actions/update-message.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAeiC;AAAA,cAC/D,2BAAA,EAA6B,CAAA,CAAE,UAuB+C;AAAA,cAE9E,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-message.d.mts","names":[],"sources":["../../src/actions/update-message.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyB3B,qBAAA,gCAAqB,wBAAA;;;;;;;;;;;;qBAMhC,MAAA"}
@@ -23,16 +23,16 @@ const sendbirdUpdateMessage = action("SENDBIRD_UPDATE_MESSAGE", {
23
23
  output: z.object({
24
24
  data: z.string().describe("Additional data in the message").nullable().optional(),
25
25
  file: z.record(z.string(), z.unknown()).describe("File object if the message contains a file").nullable().optional(),
26
- type: z.string().describe("Type of the message"),
26
+ type: z.string().describe("Type of the message").nullable(),
27
27
  user: z.record(z.string(), z.unknown()).describe("User object who sent the message"),
28
28
  og_tag: z.record(z.string(), z.unknown()).describe("Open Graph tag information for the message").nullable().optional(),
29
29
  content: z.string().describe("Content of the message").nullable().optional(),
30
- is_silent: z.boolean().describe("True if the update was silent"),
30
+ is_silent: z.boolean().describe("True if the update was silent").nullable(),
31
31
  reactions: z.array(z.record(z.string(), z.unknown())).describe("List of reaction objects on the message").nullable().optional(),
32
- created_at: z.number().int().describe("Timestamp when the message was created (ms since epoch)"),
33
- message_id: z.string().describe("Unique ID of the updated message"),
34
- updated_at: z.number().int().describe("Timestamp when the message was last updated (ms since epoch)"),
35
- channel_url: z.string().describe("URL of the channel containing the message"),
32
+ created_at: z.number().int().describe("Timestamp when the message was created (ms since epoch)").nullable(),
33
+ message_id: z.string().describe("Unique ID of the updated message").nullable(),
34
+ updated_at: z.number().int().describe("Timestamp when the message was last updated (ms since epoch)").nullable(),
35
+ channel_url: z.string().describe("URL of the channel containing the message").nullable(),
36
36
  custom_type: z.string().describe("Custom type of the message").nullable().optional(),
37
37
  thread_info: z.record(z.string(), z.unknown()).describe("Thread information if part of a thread").nullable().optional(),
38
38
  mention_type: z.string().describe("Mention type in the message").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-message.mjs","names":[],"sources":["../../src/actions/update-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateMessageInput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Additional data for the message as a JSON-encoded string\").optional(),\n content: z.string().describe(\"New text content of the message\").optional(),\n user_id: z.string().describe(\"ID of the user performing the update\").optional(),\n dedup_id: z.string().describe(\"Deduplication ID for the message update\").optional(),\n is_silent: z.boolean().describe(\"Whether the message update should be silent (no push notification)\").optional(),\n message_id: z.string().describe(\"Unique ID of the message to update\"),\n channel_url: z.string().describe(\"URL identifier of the group channel containing the message\"),\n custom_type: z.string().describe(\"Custom type label for the message\").optional(),\n mention_type: z.string().describe(\"Mention type for the message (e.g., 'users' or 'channel')\").optional(),\n message_type: z.string().describe(\"Type of the message (e.g., 'MESG' or 'FILE')\").optional(),\n apns_bundle_id: z.string().describe(\"APNs bundle ID for iOS push notifications\").optional(),\n sorted_metaarray: z.array(z.record(z.string(), z.unknown())).describe(\"Sorted metaarray objects for the message\").optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs to mention in the message\").optional(),\n push_notification_delivery_option: z.string().describe(\"Push notification delivery option ('default', 'suppress')\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel message.\");\nexport const SendbirdUpdateMessageOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Additional data in the message\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"File object if the message contains a file\").nullable().optional(),\n type: z.string().describe(\"Type of the message\"),\n user: z.record(z.string(), z.unknown()).describe(\"User object who sent the message\"),\n og_tag: z.record(z.string(), z.unknown()).describe(\"Open Graph tag information for the message\").nullable().optional(),\n content: z.string().describe(\"Content of the message\").nullable().optional(),\n is_silent: z.boolean().describe(\"True if the update was silent\"),\n reactions: z.array(z.record(z.string(), z.unknown())).describe(\"List of reaction objects on the message\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the message was created (ms since epoch)\"),\n message_id: z.string().describe(\"Unique ID of the updated message\"),\n updated_at: z.number().int().describe(\"Timestamp when the message was last updated (ms since epoch)\"),\n channel_url: z.string().describe(\"URL of the channel containing the message\"),\n custom_type: z.string().describe(\"Custom type of the message\").nullable().optional(),\n thread_info: z.record(z.string(), z.unknown()).describe(\"Thread information if part of a thread\").nullable().optional(),\n mention_type: z.string().describe(\"Mention type in the message\").nullable().optional(),\n translations: z.record(z.string(), z.unknown()).describe(\"Translations available for the message\").nullable().optional(),\n mentioned_users: z.array(z.record(z.string(), z.unknown())).describe(\"List of mentioned user objects\").nullable().optional(),\n sorted_metaarray: z.array(z.record(z.string(), z.unknown())).describe(\"Sorted metaarray objects for the message\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"ID of the parent message if this is a reply\").nullable().optional(),\n is_reply_to_channel: z.boolean().describe(\"True if message is a direct reply to channel\").nullable().optional(),\n parent_message_info: z.record(z.string(), z.unknown()).describe(\"Parent message data if this is a reply\").nullable().optional(),\n apple_critical_alert_options: z.record(z.string(), z.unknown()).describe(\"Apple critical alert options for the message\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel message.\");\n\nexport const sendbirdUpdateMessage = action(\"SENDBIRD_UPDATE_MESSAGE\", {\n slug: \"sendbird-update-message\",\n name: \"Sendbird Update Message\",\n description: \"Tool to update an existing group channel message in Sendbird. Use after you need to modify content or metadata of a sent message.\",\n input: SendbirdUpdateMessageInput,\n output: SendbirdUpdateMessageOutput,\n});\n"],"mappings":";;AA6CA,MAAa,wBAAw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AAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,8BAA8B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-message.mjs","names":[],"sources":["../../src/actions/update-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateMessageInput = z.object({\n data: z.string().describe(\"Additional data for the message as a JSON-encoded string\").optional(),\n content: z.string().describe(\"New text content of the message\").optional(),\n user_id: z.string().describe(\"ID of the user performing the update\").optional(),\n dedup_id: z.string().describe(\"Deduplication ID for the message update\").optional(),\n is_silent: z.boolean().describe(\"Whether the message update should be silent (no push notification)\").optional(),\n message_id: z.string().describe(\"Unique ID of the message to update\"),\n channel_url: z.string().describe(\"URL identifier of the group channel containing the message\"),\n custom_type: z.string().describe(\"Custom type label for the message\").optional(),\n mention_type: z.string().describe(\"Mention type for the message (e.g., 'users' or 'channel')\").optional(),\n message_type: z.string().describe(\"Type of the message (e.g., 'MESG' or 'FILE')\").optional(),\n apns_bundle_id: z.string().describe(\"APNs bundle ID for iOS push notifications\").optional(),\n sorted_metaarray: z.array(z.record(z.string(), z.unknown())).describe(\"Sorted metaarray objects for the message\").optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs to mention in the message\").optional(),\n push_notification_delivery_option: z.string().describe(\"Push notification delivery option ('default', 'suppress')\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel message.\");\nexport const SendbirdUpdateMessageOutput = z.object({\n data: z.string().describe(\"Additional data in the message\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"File object if the message contains a file\").nullable().optional(),\n type: z.string().describe(\"Type of the message\").nullable(),\n user: z.record(z.string(), z.unknown()).describe(\"User object who sent the message\"),\n og_tag: z.record(z.string(), z.unknown()).describe(\"Open Graph tag information for the message\").nullable().optional(),\n content: z.string().describe(\"Content of the message\").nullable().optional(),\n is_silent: z.boolean().describe(\"True if the update was silent\").nullable(),\n reactions: z.array(z.record(z.string(), z.unknown())).describe(\"List of reaction objects on the message\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the message was created (ms since epoch)\").nullable(),\n message_id: z.string().describe(\"Unique ID of the updated message\").nullable(),\n updated_at: z.number().int().describe(\"Timestamp when the message was last updated (ms since epoch)\").nullable(),\n channel_url: z.string().describe(\"URL of the channel containing the message\").nullable(),\n custom_type: z.string().describe(\"Custom type of the message\").nullable().optional(),\n thread_info: z.record(z.string(), z.unknown()).describe(\"Thread information if part of a thread\").nullable().optional(),\n mention_type: z.string().describe(\"Mention type in the message\").nullable().optional(),\n translations: z.record(z.string(), z.unknown()).describe(\"Translations available for the message\").nullable().optional(),\n mentioned_users: z.array(z.record(z.string(), z.unknown())).describe(\"List of mentioned user objects\").nullable().optional(),\n sorted_metaarray: z.array(z.record(z.string(), z.unknown())).describe(\"Sorted metaarray objects for the message\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"ID of the parent message if this is a reply\").nullable().optional(),\n is_reply_to_channel: z.boolean().describe(\"True if message is a direct reply to channel\").nullable().optional(),\n parent_message_info: z.record(z.string(), z.unknown()).describe(\"Parent message data if this is a reply\").nullable().optional(),\n apple_critical_alert_options: z.record(z.string(), z.unknown()).describe(\"Apple critical alert options for the message\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel message.\");\n\nexport const sendbirdUpdateMessage = action(\"SENDBIRD_UPDATE_MESSAGE\", {\n slug: \"sendbird-update-message\",\n name: \"Sendbird Update Message\",\n description: \"Tool to update an existing group channel message in Sendbird. Use after you need to modify content or metadata of a sent message.\",\n input: SendbirdUpdateMessageInput,\n output: SendbirdUpdateMessageOutput,\n});\n"],"mappings":";;AA6CA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7CwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,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AC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,8BAA8B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/update-user.ts
4
4
  const SendbirdUpdateUserInput = zod.z.object({
5
5
  user_id: zod.z.string().describe("Unique ID of the user to update"),
6
- metadata: zod.z.object({}).describe("Custom key-value store for user metadata").optional(),
6
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value store for user metadata").optional(),
7
7
  nickname: zod.z.string().describe("New display name for the user").optional(),
8
8
  is_active: zod.z.boolean().describe("Set to false to deactivate the user account").optional(),
9
9
  profile_url: zod.z.string().describe("URL of the new profile image").optional(),
@@ -11,7 +11,7 @@ const SendbirdUpdateUserInput = zod.z.object({
11
11
  preferred_languages: zod.z.array(zod.z.string()).describe("List of language tags for localization").optional()
12
12
  }).describe("Request model for updating a Sendbird user.");
13
13
  const SendbirdUpdateUserOutput = zod.z.object({
14
- user_id: zod.z.string().describe("Unique ID of the user"),
14
+ user_id: zod.z.string().describe("Unique ID of the user").nullable(),
15
15
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value metadata of the user").nullable().optional(),
16
16
  nickname: zod.z.string().describe("Display name of the user").nullable().optional(),
17
17
  is_active: zod.z.boolean().describe("Whether the user account is active").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user to update\"),\n metadata: z.object({}).describe(\"Custom key-value store for user metadata\").optional(),\n nickname: z.string().describe(\"New display name for the user\").optional(),\n is_active: z.boolean().describe(\"Set to false to deactivate the user account\").optional(),\n profile_url: z.string().describe(\"URL of the new profile image\").optional(),\n issue_access_token: z.boolean().describe(\"Whether to issue a new access token for the user\").optional(),\n preferred_languages: z.array(z.string()).describe(\"List of language tags for localization\").optional(),\n}).describe(\"Request model for updating a Sendbird user.\");\nexport const SendbirdUpdateUserOutput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata of the user\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) of when the user was created\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the user\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, returned if issue_access_token was true\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has ever logged in\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a Sendbird user.\");\n\nexport const sendbirdUpdateUser = action(\"SENDBIRD_UPDATE_USER\", {\n slug: \"sendbird-update-user\",\n name: \"Update Sendbird User\",\n description: \"Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.\",\n input: SendbirdUpdateUserInput,\n output: SendbirdUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtG,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,QAAQ,CAA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M;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to update\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value store for user metadata\").optional(),\n nickname: z.string().describe(\"New display name for the user\").optional(),\n is_active: z.boolean().describe(\"Set to false to deactivate the user account\").optional(),\n profile_url: z.string().describe(\"URL of the new profile image\").optional(),\n issue_access_token: z.boolean().describe(\"Whether to issue a new access token for the user\").optional(),\n preferred_languages: z.array(z.string()).describe(\"List of language tags for localization\").optional(),\n}).describe(\"Request model for updating a Sendbird user.\");\nexport const SendbirdUpdateUserOutput = z.object({\n user_id: z.string().describe(\"Unique ID of the user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata of the user\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) of when the user was created\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the user\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, returned if issue_access_token was true\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has ever logged in\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a Sendbird user.\");\n\nexport const sendbirdUpdateUser = action(\"SENDBIRD_UPDATE_USER\", {\n slug: \"sendbird-update-user\",\n name: \"Update Sendbird User\",\n description: \"Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.\",\n input: SendbirdUpdateUserInput,\n output: SendbirdUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtG,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,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,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,40 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-user.d.ts
4
- declare const SendbirdUpdateUserInput: z.ZodTypeAny;
5
- declare const SendbirdUpdateUserOutput: z.ZodTypeAny;
6
- declare const sendbirdUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdUpdateUserInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ nickname: z.ZodOptional<z.ZodString>;
8
+ is_active: z.ZodOptional<z.ZodBoolean>;
9
+ profile_url: z.ZodOptional<z.ZodString>;
10
+ issue_access_token: z.ZodOptional<z.ZodBoolean>;
11
+ preferred_languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ declare const SendbirdUpdateUserOutput: z.ZodObject<{
14
+ user_id: z.ZodNullable<z.ZodString>;
15
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ is_online: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ discovery_keys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
25
+ has_ever_logged_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ preferred_languages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
27
+ require_auth_for_profile_image: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ }, z.core.$loose>;
29
+ declare const sendbirdUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ user_id: string;
31
+ metadata?: Record<string, unknown> | undefined;
32
+ nickname?: string | undefined;
33
+ is_active?: boolean | undefined;
34
+ profile_url?: string | undefined;
35
+ issue_access_token?: boolean | undefined;
36
+ preferred_languages?: string[] | undefined;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
38
  //#endregion
8
39
  export { sendbirdUpdateUser };
9
40
  //# sourceMappingURL=update-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAQkB;AAAA,cAC7C,wBAAA,EAA0B,CAAA,CAAE,UAe2C;AAAA,cAEvE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,gCAAkB,wBAAA;;aAM7B,MAAA"}
@@ -1,9 +1,40 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-user.d.ts
4
- declare const SendbirdUpdateUserInput: z.ZodTypeAny;
5
- declare const SendbirdUpdateUserOutput: z.ZodTypeAny;
6
- declare const sendbirdUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdUpdateUserInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ nickname: z.ZodOptional<z.ZodString>;
8
+ is_active: z.ZodOptional<z.ZodBoolean>;
9
+ profile_url: z.ZodOptional<z.ZodString>;
10
+ issue_access_token: z.ZodOptional<z.ZodBoolean>;
11
+ preferred_languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ declare const SendbirdUpdateUserOutput: z.ZodObject<{
14
+ user_id: z.ZodNullable<z.ZodString>;
15
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ is_online: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ discovery_keys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
25
+ has_ever_logged_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ preferred_languages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
27
+ require_auth_for_profile_image: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ }, z.core.$loose>;
29
+ declare const sendbirdUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ user_id: string;
31
+ metadata?: Record<string, unknown> | undefined;
32
+ nickname?: string | undefined;
33
+ is_active?: boolean | undefined;
34
+ profile_url?: string | undefined;
35
+ issue_access_token?: boolean | undefined;
36
+ preferred_languages?: string[] | undefined;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
38
  //#endregion
8
39
  export { sendbirdUpdateUser };
9
40
  //# sourceMappingURL=update-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAQkB;AAAA,cAC7C,wBAAA,EAA0B,CAAA,CAAE,UAe2C;AAAA,cAEvE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,gCAAkB,wBAAA;;aAM7B,MAAA"}
@@ -6,7 +6,7 @@ const sendbirdUpdateUser = action("SENDBIRD_UPDATE_USER", {
6
6
  description: "Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.",
7
7
  input: z.object({
8
8
  user_id: z.string().describe("Unique ID of the user to update"),
9
- metadata: z.object({}).describe("Custom key-value store for user metadata").optional(),
9
+ metadata: z.record(z.string(), z.unknown()).describe("Custom key-value store for user metadata").optional(),
10
10
  nickname: z.string().describe("New display name for the user").optional(),
11
11
  is_active: z.boolean().describe("Set to false to deactivate the user account").optional(),
12
12
  profile_url: z.string().describe("URL of the new profile image").optional(),
@@ -14,7 +14,7 @@ const sendbirdUpdateUser = action("SENDBIRD_UPDATE_USER", {
14
14
  preferred_languages: z.array(z.string()).describe("List of language tags for localization").optional()
15
15
  }).describe("Request model for updating a Sendbird user."),
16
16
  output: z.object({
17
- user_id: z.string().describe("Unique ID of the user"),
17
+ user_id: z.string().describe("Unique ID of the user").nullable(),
18
18
  metadata: z.record(z.string(), z.unknown()).describe("Custom key-value metadata of the user").nullable().optional(),
19
19
  nickname: z.string().describe("Display name of the user").nullable().optional(),
20
20
  is_active: z.boolean().describe("Whether the user account is active").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user to update\"),\n metadata: z.object({}).describe(\"Custom key-value store for user metadata\").optional(),\n nickname: z.string().describe(\"New display name for the user\").optional(),\n is_active: z.boolean().describe(\"Set to false to deactivate the user account\").optional(),\n profile_url: z.string().describe(\"URL of the new profile image\").optional(),\n issue_access_token: z.boolean().describe(\"Whether to issue a new access token for the user\").optional(),\n preferred_languages: z.array(z.string()).describe(\"List of language tags for localization\").optional(),\n}).describe(\"Request model for updating a Sendbird user.\");\nexport const SendbirdUpdateUserOutput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata of the user\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) of when the user was created\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the user\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, returned if issue_access_token was true\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has ever logged in\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a Sendbird user.\");\n\nexport const sendbirdUpdateUser = action(\"SENDBIRD_UPDATE_USER\", {\n slug: \"sendbird-update-user\",\n name: \"Update Sendbird User\",\n description: \"Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.\",\n input: SendbirdUpdateUserInput,\n output: SendbirdUpdateUserOutput,\n});\n"],"mappings":";;AA8BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtG,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,6CAsBH;CACP,QAtBoD,EAAE,OAAO;EAC7D,SAAS,EAAE,OAAO,CAAC,CA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,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to update\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value store for user metadata\").optional(),\n nickname: z.string().describe(\"New display name for the user\").optional(),\n is_active: z.boolean().describe(\"Set to false to deactivate the user account\").optional(),\n profile_url: z.string().describe(\"URL of the new profile image\").optional(),\n issue_access_token: z.boolean().describe(\"Whether to issue a new access token for the user\").optional(),\n preferred_languages: z.array(z.string()).describe(\"List of language tags for localization\").optional(),\n}).describe(\"Request model for updating a Sendbird user.\");\nexport const SendbirdUpdateUserOutput = z.object({\n user_id: z.string().describe(\"Unique ID of the user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata of the user\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) of when the user was created\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the user\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, returned if issue_access_token was true\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has ever logged in\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a Sendbird user.\");\n\nexport const sendbirdUpdateUser = action(\"SENDBIRD_UPDATE_USER\", {\n slug: \"sendbird-update-user\",\n name: \"Update Sendbird User\",\n description: \"Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.\",\n input: SendbirdUpdateUserInput,\n output: SendbirdUpdateUserOutput,\n});\n"],"mappings":";;AA8BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BqC,EAAE,OAAO;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC9D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtG,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,6CAsBH;CACP,QAtBsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC/D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SA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od.z.object({
13
13
  role: zod.z.string().describe("Role of the member in the channel (operator or member).").nullable().optional(),
14
- user_id: zod.z.string().describe("User ID of the channel member."),
15
- metadata: zod.z.object({}).describe("Custom metadata for the member.").nullable().optional(),
14
+ user_id: zod.z.string().describe("User ID of the channel member.").nullable(),
15
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata for the member.").nullable().optional(),
16
16
  nickname: zod.z.string().describe("Nickname of the channel member.").nullable().optional(),
17
17
  joined_at: zod.z.number().int().describe("Timestamp when the member joined the channel.").nullable().optional(),
18
18
  profile_url: zod.z.string().describe("Profile image URL of the channel member.").nullable().optional(),
19
19
  last_seen_at: zod.z.number().int().describe("Timestamp when the member was last seen.").nullable().optional(),
20
20
  connection_status: zod.z.string().describe("Connection status of the member.").nullable().optional(),
21
21
  preferred_languages: zod.z.array(zod.z.string()).describe("Preferred languages of the member.").nullable().optional()
22
- });
22
+ }).passthrough();
23
23
  const SendbirdViewGroupChannelOutput = zod.z.object({
24
24
  data: zod.z.string().describe("Custom data of the channel.").nullable().optional(),
25
25
  name: zod.z.string().describe("Name of the channel.").nullable().optional(),
26
26
  freeze: zod.z.boolean().describe("Whether the channel is frozen. In a frozen channel, normal members can't send messages.").nullable().optional(),
27
27
  members: zod.z.array(SendbirdViewGroupChannel_MemberSchema).describe("List of members if show_member=true.").nullable().optional(),
28
- is_super: zod.z.boolean().describe("Whether the channel is a super group."),
29
- metadata: zod.z.object({}).describe("Channel metadata if show_metadata=true.").nullable().optional(),
28
+ is_super: zod.z.boolean().describe("Whether the channel is a super group.").nullable(),
29
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Channel metadata if show_metadata=true.").nullable().optional(),
30
30
  cover_url: zod.z.string().describe("Cover image URL of the channel.").nullable().optional(),
31
- is_public: zod.z.boolean().describe("Whether the channel is public."),
31
+ is_public: zod.z.boolean().describe("Whether the channel is public.").nullable(),
32
32
  created_at: zod.z.number().int().describe("Timestamp (Unix, milliseconds) when the channel was created.").nullable().optional(),
33
- channel_url: zod.z.string().describe("URL of the group channel."),
33
+ channel_url: zod.z.string().describe("URL of the group channel.").nullable(),
34
34
  custom_type: zod.z.string().describe("Custom type of the channel.").nullable().optional(),
35
- is_distinct: zod.z.boolean().describe("Whether the channel is distinct."),
36
- is_broadcast: zod.z.boolean().describe("Whether the channel is a broadcast channel."),
35
+ is_distinct: zod.z.boolean().describe("Whether the channel is distinct.").nullable(),
36
+ is_broadcast: zod.z.boolean().describe("Whether the channel is a broadcast channel.").nullable(),
37
37
  is_ephemeral: zod.z.boolean().describe("Whether the channel is ephemeral.").nullable().optional(),
38
38
  last_message: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The last message in the channel if available.").nullable().optional(),
39
39
  member_count: zod.z.number().int().describe("Total number of members in the channel.").nullable().optional(),
40
- read_receipt: zod.z.object({}).describe("Read receipt mapping (user_id to timestamp) if requested.").nullable().optional(),
40
+ read_receipt: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Read receipt mapping (user_id to timestamp) if requested.").nullable().optional(),
41
41
  migration_info: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Migration information if show_migration_info=true.").nullable().optional(),
42
42
  is_discoverable: zod.z.boolean().describe("Whether the channel is discoverable in search.").nullable().optional(),
43
- delivery_receipt: zod.z.object({}).describe("Delivery receipt mapping (user_id to count) if requested.").nullable().optional(),
43
+ delivery_receipt: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Delivery receipt mapping (user_id to count) if requested.").nullable().optional(),
44
44
  max_length_message: zod.z.number().int().describe("Maximum allowed message length in the channel.").nullable().optional(),
45
45
  joined_member_count: zod.z.number().int().describe("Number of members who have joined the channel.").nullable().optional(),
46
46
  unread_message_count: zod.z.number().int().describe("Number of unread messages in the channel.").nullable().optional(),
47
47
  is_access_code_required: zod.z.boolean().describe("Whether access code is required to join.").nullable().optional()
48
- });
48
+ }).passthrough();
49
49
  const sendbirdViewGroupChannel = require_action.action("SENDBIRD_VIEW_GROUP_CHANNEL", {
50
50
  slug: "sendbird-view-group-channel",
51
51
  name: "Sendbird View Group Channel",
@@ -1 +1 @@
1
- {"version":3,"file":"view-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/view-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdViewGroupChannelInput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to retrieve.\"),\n show_member: z.boolean().default(false).describe(\"Whether to include the channel's member list in the response.\").optional(),\n show_metadata: z.boolean().default(false).describe(\"Whether to include channel metadata in the response.\").optional(),\n show_read_receipt: z.boolean().default(false).describe(\"Whether to include read receipt information in the response.\").optional(),\n show_migration_info: z.boolean().default(false).describe(\"Whether to include migration information in the response.\").optional(),\n show_delivery_receipt: z.boolean().default(false).describe(\"Whether to include delivery receipt information in the response.\").optional(),\n});\nconst SendbirdViewGroupChannel_MemberSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role of the member in the channel (operator or member).\").nullable().optional(),\n user_id: z.string().describe(\"User ID of the channel member.\"),\n metadata: z.object({}).describe(\"Custom metadata for the member.\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the channel member.\").nullable().optional(),\n joined_at: z.number().int().describe(\"Timestamp when the member joined the channel.\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the channel member.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp when the member was last seen.\").nullable().optional(),\n connection_status: z.string().describe(\"Connection status of the member.\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"Preferred languages of the member.\").nullable().optional(),\n});\nexport const SendbirdViewGroupChannelOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom data of the channel.\").nullable().optional(),\n name: z.string().describe(\"Name of the channel.\").nullable().optional(),\n freeze: z.boolean().describe(\"Whether the channel is frozen. In a frozen channel, normal members can't send messages.\").nullable().optional(),\n members: z.array(SendbirdViewGroupChannel_MemberSchema).describe(\"List of members if show_member=true.\").nullable().optional(),\n is_super: z.boolean().describe(\"Whether the channel is a super group.\"),\n metadata: z.object({}).describe(\"Channel metadata if show_metadata=true.\").nullable().optional(),\n cover_url: z.string().describe(\"Cover image URL of the channel.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the channel is public.\"),\n created_at: z.number().int().describe(\"Timestamp (Unix, milliseconds) when the channel was created.\").nullable().optional(),\n channel_url: z.string().describe(\"URL of the group channel.\"),\n custom_type: z.string().describe(\"Custom type of the channel.\").nullable().optional(),\n is_distinct: z.boolean().describe(\"Whether the channel is distinct.\"),\n is_broadcast: z.boolean().describe(\"Whether the channel is a broadcast channel.\"),\n is_ephemeral: z.boolean().describe(\"Whether the channel is ephemeral.\").nullable().optional(),\n last_message: z.record(z.string(), z.unknown()).describe(\"The last message in the channel if available.\").nullable().optional(),\n member_count: z.number().int().describe(\"Total number of members in the channel.\").nullable().optional(),\n read_receipt: z.object({}).describe(\"Read receipt mapping (user_id to timestamp) if requested.\").nullable().optional(),\n migration_info: z.record(z.string(), z.unknown()).describe(\"Migration information if show_migration_info=true.\").nullable().optional(),\n is_discoverable: z.boolean().describe(\"Whether the channel is discoverable in search.\").nullable().optional(),\n delivery_receipt: z.object({}).describe(\"Delivery receipt mapping (user_id to count) if requested.\").nullable().optional(),\n max_length_message: z.number().int().describe(\"Maximum allowed message length in the channel.\").nullable().optional(),\n joined_member_count: z.number().int().describe(\"Number of members who have joined the channel.\").nullable().optional(),\n unread_message_count: z.number().int().describe(\"Number of unread messages in the channel.\").nullable().optional(),\n is_access_code_required: z.boolean().describe(\"Whether access code is required to join.\").nullable().optional(),\n});\n\nexport const sendbirdViewGroupChannel = action(\"SENDBIRD_VIEW_GROUP_CHANNEL\", {\n slug: \"sendbird-view-group-channel\",\n name: \"Sendbird View Group Channel\",\n description: \"Tool to view information about a specific group channel. Use when you need channel details after confirming the channel_url.\",\n input: SendbirdViewGroupChannelInput,\n output: SendbirdViewGroupChannelOutput,\n});\n"],"mappings":";;;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qBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"view-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/view-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdViewGroupChannelInput = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to retrieve.\"),\n show_member: z.boolean().default(false).describe(\"Whether to include the channel's member list in the response.\").optional(),\n show_metadata: z.boolean().default(false).describe(\"Whether to include channel metadata in the response.\").optional(),\n show_read_receipt: z.boolean().default(false).describe(\"Whether to include read receipt information in the response.\").optional(),\n show_migration_info: z.boolean().default(false).describe(\"Whether to include migration information in the response.\").optional(),\n show_delivery_receipt: z.boolean().default(false).describe(\"Whether to include delivery receipt information in the response.\").optional(),\n});\nconst SendbirdViewGroupChannel_MemberSchema = z.object({\n role: z.string().describe(\"Role of the member in the channel (operator or member).\").nullable().optional(),\n user_id: z.string().describe(\"User ID of the channel member.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the member.\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the channel member.\").nullable().optional(),\n joined_at: z.number().int().describe(\"Timestamp when the member joined the channel.\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the channel member.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp when the member was last seen.\").nullable().optional(),\n connection_status: z.string().describe(\"Connection status of the member.\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"Preferred languages of the member.\").nullable().optional(),\n}).passthrough();\nexport const SendbirdViewGroupChannelOutput = z.object({\n data: z.string().describe(\"Custom data of the channel.\").nullable().optional(),\n name: z.string().describe(\"Name of the channel.\").nullable().optional(),\n freeze: z.boolean().describe(\"Whether the channel is frozen. In a frozen channel, normal members can't send messages.\").nullable().optional(),\n members: z.array(SendbirdViewGroupChannel_MemberSchema).describe(\"List of members if show_member=true.\").nullable().optional(),\n is_super: z.boolean().describe(\"Whether the channel is a super group.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Channel metadata if show_metadata=true.\").nullable().optional(),\n cover_url: z.string().describe(\"Cover image URL of the channel.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the channel is public.\").nullable(),\n created_at: z.number().int().describe(\"Timestamp (Unix, milliseconds) when the channel was created.\").nullable().optional(),\n channel_url: z.string().describe(\"URL of the group channel.\").nullable(),\n custom_type: z.string().describe(\"Custom type of the channel.\").nullable().optional(),\n is_distinct: z.boolean().describe(\"Whether the channel is distinct.\").nullable(),\n is_broadcast: z.boolean().describe(\"Whether the channel is a broadcast channel.\").nullable(),\n is_ephemeral: z.boolean().describe(\"Whether the channel is ephemeral.\").nullable().optional(),\n last_message: z.record(z.string(), z.unknown()).describe(\"The last message in the channel if available.\").nullable().optional(),\n member_count: z.number().int().describe(\"Total number of members in the channel.\").nullable().optional(),\n read_receipt: z.record(z.string(), z.unknown()).describe(\"Read receipt mapping (user_id to timestamp) if requested.\").nullable().optional(),\n migration_info: z.record(z.string(), z.unknown()).describe(\"Migration information if show_migration_info=true.\").nullable().optional(),\n is_discoverable: z.boolean().describe(\"Whether the channel is discoverable in search.\").nullable().optional(),\n delivery_receipt: z.record(z.string(), z.unknown()).describe(\"Delivery receipt mapping (user_id to count) if requested.\").nullable().optional(),\n max_length_message: z.number().int().describe(\"Maximum allowed message length in the channel.\").nullable().optional(),\n joined_member_count: z.number().int().describe(\"Number of members who have joined the channel.\").nullable().optional(),\n unread_message_count: z.number().int().describe(\"Number of unread messages in the channel.\").nullable().optional(),\n is_access_code_required: z.boolean().describe(\"Whether access code is required to join.\").nullable().optional(),\n}).passthrough();\n\nexport const sendbirdViewGroupChannel = action(\"SENDBIRD_VIEW_GROUP_CHANNEL\", {\n slug: \"sendbird-view-group-channel\",\n name: \"Sendbird View Group Channel\",\n description: \"Tool to view information about a specific group channel. Use when you need channel details after confirming the channel_url.\",\n input: SendbirdViewGroupChannelInput,\n output: SendbirdViewGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC3F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAChI,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC/H,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,C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3
  //#region src/actions/view-group-channel.d.ts
4
- declare const SendbirdViewGroupChannelInput: z.ZodTypeAny;
5
- declare const SendbirdViewGroupChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdViewGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdViewGroupChannelInput: z.ZodObject<{
5
+ channel_url: z.ZodString;
6
+ show_member: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7
+ show_metadata: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8
+ show_read_receipt: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9
+ show_migration_info: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
10
+ show_delivery_receipt: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11
+ }, z.core.$strip>;
12
+ declare const SendbirdViewGroupChannelOutput: z.ZodObject<{
13
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ freeze: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ user_id: z.ZodNullable<z.ZodString>;
19
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ joined_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ preferred_languages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
26
+ }, z.core.$loose>>>>;
27
+ is_super: z.ZodNullable<z.ZodBoolean>;
28
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29
+ cover_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ is_public: z.ZodNullable<z.ZodBoolean>;
31
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ channel_url: z.ZodNullable<z.ZodString>;
33
+ custom_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ is_distinct: z.ZodNullable<z.ZodBoolean>;
35
+ is_broadcast: z.ZodNullable<z.ZodBoolean>;
36
+ is_ephemeral: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ last_message: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
+ member_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ read_receipt: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
40
+ migration_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
41
+ is_discoverable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
+ delivery_receipt: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
+ max_length_message: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ joined_member_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ is_access_code_required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
+ }, z.core.$loose>;
48
+ declare const sendbirdViewGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
49
+ channel_url: string;
50
+ show_member?: boolean | undefined;
51
+ show_metadata?: boolean | undefined;
52
+ show_read_receipt?: boolean | undefined;
53
+ show_migration_info?: boolean | undefined;
54
+ show_delivery_receipt?: boolean | undefined;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
56
  //#endregion
8
57
  export { sendbirdViewGroupChannel };
9
58
  //# sourceMappingURL=view-group-channel.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-group-channel.d.cts","names":[],"sources":["../../src/actions/view-group-channel.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAO5C;AAAA,cAYW,8BAAA,EAAgC,CAAA,CAAE,UAyB7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"view-group-channel.d.cts","names":[],"sources":["../../src/actions/view-group-channel.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAmB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,58 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/view-group-channel.d.ts
4
- declare const SendbirdViewGroupChannelInput: z.ZodTypeAny;
5
- declare const SendbirdViewGroupChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdViewGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdViewGroupChannelInput: z.ZodObject<{
5
+ channel_url: z.ZodString;
6
+ show_member: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7
+ show_metadata: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8
+ show_read_receipt: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9
+ show_migration_info: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
10
+ show_delivery_receipt: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11
+ }, z.core.$strip>;
12
+ declare const SendbirdViewGroupChannelOutput: z.ZodObject<{
13
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ freeze: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ user_id: z.ZodNullable<z.ZodString>;
19
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ joined_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ preferred_languages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
26
+ }, z.core.$loose>>>>;
27
+ is_super: z.ZodNullable<z.ZodBoolean>;
28
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29
+ cover_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ is_public: z.ZodNullable<z.ZodBoolean>;
31
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ channel_url: z.ZodNullable<z.ZodString>;
33
+ custom_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ is_distinct: z.ZodNullable<z.ZodBoolean>;
35
+ is_broadcast: z.ZodNullable<z.ZodBoolean>;
36
+ is_ephemeral: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ last_message: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
+ member_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ read_receipt: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
40
+ migration_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
41
+ is_discoverable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
+ delivery_receipt: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
+ max_length_message: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ joined_member_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ is_access_code_required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
+ }, z.core.$loose>;
48
+ declare const sendbirdViewGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
49
+ channel_url: string;
50
+ show_member?: boolean | undefined;
51
+ show_metadata?: boolean | undefined;
52
+ show_read_receipt?: boolean | undefined;
53
+ show_migration_info?: boolean | undefined;
54
+ show_delivery_receipt?: boolean | undefined;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
56
  //#endregion
8
57
  export { sendbirdViewGroupChannel };
9
58
  //# sourceMappingURL=view-group-channel.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-group-channel.d.mts","names":[],"sources":["../../src/actions/view-group-channel.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAO5C;AAAA,cAYW,8BAAA,EAAgC,CAAA,CAAE,UAyB7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"view-group-channel.d.mts","names":[],"sources":["../../src/actions/view-group-channel.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAmB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B9B,wBAAA,gCAAwB,wBAAA"}