@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,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/unregister-operators-custom-channel-type.d.ts
4
- declare const SendbirdUnregisterOperatorsCustomChannelTypeInput: z.ZodTypeAny;
5
- declare const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodTypeAny;
6
- declare const sendbirdUnregisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdUnregisterOperatorsCustomChannelTypeInput: z.ZodObject<{
5
+ user_ids: z.ZodArray<z.ZodString>;
6
+ custom_type: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
9
+ affected_channels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ channel_url: z.ZodNullable<z.ZodString>;
11
+ operator_ids: z.ZodArray<z.ZodString>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
+ declare const sendbirdUnregisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ user_ids: string[];
16
+ custom_type: string;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { sendbirdUnregisterOperatorsCustomChannelType };
9
20
  //# sourceMappingURL=unregister-operators-custom-channel-type.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unregister-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"mappings":";;;cAIa,iDAAA,EAAmD,CAAA,CAAE,UAG4B;AAAA,cAKjF,kDAAA,EAAoD,CAAA,CAAE,UAEc;AAAA,cAEpE,4CAAA,gCAA4C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"unregister-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"mappings":";;;cAIa,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;cAQjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;cAIlD,4CAAA,gCAA4C,wBAAA"}
@@ -6,15 +6,15 @@ const SendbirdUnregisterOperatorsCustomChannelTypeInput = z.object({
6
6
  custom_type: z.string().describe("Custom channel type to target. Example: 'my_custom_type'")
7
7
  }).describe("Request model for unregistering operators from channels by custom channel type.");
8
8
  const SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema = z.object({
9
- channel_url: z.string().describe("URL-encoded channel URL where operators were removed"),
9
+ channel_url: z.string().describe("URL-encoded channel URL where operators were removed").nullable(),
10
10
  operator_ids: z.array(z.string()).describe("List of current operator IDs in the channel after removal")
11
- }).describe("Model representing a channel where operators were unregistered.");
11
+ }).passthrough().describe("Model representing a channel where operators were unregistered.");
12
12
  const sendbirdUnregisterOperatorsCustomChannelType = action("SENDBIRD_UNREGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE", {
13
13
  slug: "sendbird-unregister-operators-custom-channel-type",
14
14
  name: "Unregister Operators Custom Channel Type",
15
15
  description: "Tool to unregister operators from channels by custom channel type. Use when you need to remove operator roles from users across channels of a specific custom type.",
16
16
  input: SendbirdUnregisterOperatorsCustomChannelTypeInput,
17
- output: z.object({ affected_channels: z.array(SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema).describe("Channels impacted and their remaining operators").nullable().optional() }).describe("Response model for unregistering operators by custom channel type.")
17
+ output: z.object({ affected_channels: z.array(SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema).describe("Channels impacted and their remaining operators").nullable().optional() }).passthrough().describe("Response model for unregistering operators by custom channel type.")
18
18
  });
19
19
  //#endregion
20
20
  export { sendbirdUnregisterOperatorsCustomChannelType };
@@ -1 +1 @@
1
- {"version":3,"file":"unregister-operators-custom-channel-type.mjs","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnregisterOperatorsCustomChannelTypeInput: z.ZodTypeAny = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to unregister as operators.\"),\n custom_type: z.string().describe(\"Custom channel type to target. Example: 'my_custom_type'\"),\n}).describe(\"Request model for unregistering operators from channels by custom channel type.\");\nconst SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"URL-encoded channel URL where operators were removed\"),\n operator_ids: z.array(z.string()).describe(\"List of current operator IDs in the channel after removal\"),\n}).describe(\"Model representing a channel where operators were unregistered.\");\nexport const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodTypeAny = z.object({\n affected_channels: z.array(SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema).describe(\"Channels impacted and their remaining operators\").nullable().optional(),\n}).describe(\"Response model for unregistering operators by custom channel type.\");\n\nexport const sendbirdUnregisterOperatorsCustomChannelType = action(\"SENDBIRD_UNREGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-unregister-operators-custom-channel-type\",\n name: \"Unregister Operators Custom Channel Type\",\n description: \"Tool to unregister operators from channels by custom channel type. Use when you need to remove operator roles from users across channels of a specific custom type.\",\n input: SendbirdUnregisterOperatorsCustomChannelTypeInput,\n output: SendbirdUnregisterOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAkE,EAAE,OAAO;CACtF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC7F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,qEAAmF,EAAE,OAAO;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACxG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAK7E,MAAa,+CAA+C,OAAO,qDAAqD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8E,EAAE,OAAO,EACvF,mBAAmB,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjL,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"unregister-operators-custom-channel-type.mjs","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnregisterOperatorsCustomChannelTypeInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to unregister as operators.\"),\n custom_type: z.string().describe(\"Custom channel type to target. Example: 'my_custom_type'\"),\n}).describe(\"Request model for unregistering operators from channels by custom channel type.\");\nconst SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema = z.object({\n channel_url: z.string().describe(\"URL-encoded channel URL where operators were removed\").nullable(),\n operator_ids: z.array(z.string()).describe(\"List of current operator IDs in the channel after removal\"),\n}).passthrough().describe(\"Model representing a channel where operators were unregistered.\");\nexport const SendbirdUnregisterOperatorsCustomChannelTypeOutput = z.object({\n affected_channels: z.array(SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema).describe(\"Channels impacted and their remaining operators\").nullable().optional(),\n}).passthrough().describe(\"Response model for unregistering operators by custom channel type.\");\n\nexport const sendbirdUnregisterOperatorsCustomChannelType = action(\"SENDBIRD_UNREGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-unregister-operators-custom-channel-type\",\n name: \"Unregister Operators Custom Channel Type\",\n description: \"Tool to unregister operators from channels by custom channel type. Use when you need to remove operator roles from users across channels of a specific custom type.\",\n input: SendbirdUnregisterOperatorsCustomChannelTypeInput,\n output: SendbirdUnregisterOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAoD,EAAE,OAAO;CACxE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC7F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,qEAAqE,EAAE,OAAO;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAK3F,MAAa,+CAA+C,OAAO,qDAAqD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgE,EAAE,OAAO,EACzE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
@@ -12,9 +12,9 @@ const SendbirdUpdateCountPreferenceOfChannelInput = zod.z.object({
12
12
  ]).describe("The user's count preference for the channel: one of 'all', 'unread_message_count_only', 'mention_count_only', or 'none'.")
13
13
  }).describe("Request model for updating a user's unread count preference for a specific group channel.");
14
14
  const SendbirdUpdateCountPreferenceOfChannelOutput = zod.z.object({
15
- channel_url: zod.z.string().describe("URL identifier of the group channel."),
16
- count_preference: zod.z.string().describe("The updated user count preference. Possible values: 'all' (track both unread messages and mentions), 'unread_message_count_only' (track only unread messages), 'unread_mention_count_only' (track only mentions), or 'off' (disable tracking).")
17
- }).describe("Response model for updating a user's unread count preference.");
15
+ channel_url: zod.z.string().describe("URL identifier of the group channel.").nullable(),
16
+ count_preference: zod.z.string().describe("The updated user count preference. Possible values: 'all' (track both unread messages and mentions), 'unread_message_count_only' (track only unread messages), 'unread_mention_count_only' (track only mentions), or 'off' (disable tracking).").nullable()
17
+ }).passthrough().describe("Response model for updating a user's unread count preference.");
18
18
  const sendbirdUpdateCountPreferenceOfChannel = require_action.action("SENDBIRD_UPDATE_COUNT_PREFERENCE_OF_CHANNEL", {
19
19
  slug: "sendbird-update-count-preference-of-channel",
20
20
  name: "Update Count Preference Of Channel",
@@ -1 +1 @@
1
- {"version":3,"file":"update-count-preference-of-channel.cjs","names":["z","action"],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateCountPreferenceOfChannelInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"The unique ID of the user.\"),\n channel_url: z.string().describe(\"URL identifier of the group channel.\"),\n count_preference: z.enum([\"all\", \"unread_message_count_only\", \"mention_count_only\", \"none\"]).describe(\"The user's count preference for the channel: one of 'all', 'unread_message_count_only', 'mention_count_only', or 'none'.\"),\n}).describe(\"Request model for updating a user's unread count preference for a specific group channel.\");\nexport const SendbirdUpdateCountPreferenceOfChannelOutput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"URL identifier of the group channel.\"),\n count_preference: z.string().describe(\"The updated user count preference. Possible values: 'all' (track both unread messages and mentions), 'unread_message_count_only' (track only unread messages), 'unread_mention_count_only' (track only mentions), or 'off' (disable tracking).\"),\n}).describe(\"Response model for updating a user's unread count preference.\");\n\nexport const sendbirdUpdateCountPreferenceOfChannel = action(\"SENDBIRD_UPDATE_COUNT_PREFERENCE_OF_CHANNEL\", {\n slug: \"sendbird-update-count-preference-of-channel\",\n name: \"Update Count Preference Of Channel\",\n description: \"Tool to update a user's unread count preference for a specific group channel. Use when you want to include or suppress a channel in the user's unread counts.\",\n input: SendbirdUpdateCountPreferenceOfChannelInput,\n output: SendbirdUpdateCountPreferenceOfChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACvE,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAA6B;EAAsB;CAAM,CAAC,CAAC,CAAC,SAAS,0HAA0H;AAClO,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACvE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gPAAgP;AACxR,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-count-preference-of-channel.cjs","names":["z","action"],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateCountPreferenceOfChannelInput = z.object({\n user_id: z.string().describe(\"The unique ID of the user.\"),\n channel_url: z.string().describe(\"URL identifier of the group channel.\"),\n count_preference: z.enum([\"all\", \"unread_message_count_only\", \"mention_count_only\", \"none\"]).describe(\"The user's count preference for the channel: one of 'all', 'unread_message_count_only', 'mention_count_only', or 'none'.\"),\n}).describe(\"Request model for updating a user's unread count preference for a specific group channel.\");\nexport const SendbirdUpdateCountPreferenceOfChannelOutput = z.object({\n channel_url: z.string().describe(\"URL identifier of the group channel.\").nullable(),\n count_preference: z.string().describe(\"The updated user count preference. Possible values: 'all' (track both unread messages and mentions), 'unread_message_count_only' (track only unread messages), 'unread_mention_count_only' (track only mentions), or 'off' (disable tracking).\").nullable(),\n}).passthrough().describe(\"Response model for updating a user's unread count preference.\");\n\nexport const sendbirdUpdateCountPreferenceOfChannel = action(\"SENDBIRD_UPDATE_COUNT_PREFERENCE_OF_CHANNEL\", {\n slug: \"sendbird-update-count-preference-of-channel\",\n name: \"Update Count Preference Of Channel\",\n description: \"Tool to update a user's unread count preference for a specific group channel. Use when you want to include or suppress a channel in the user's unread counts.\",\n input: SendbirdUpdateCountPreferenceOfChannelInput,\n output: SendbirdUpdateCountPreferenceOfChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACvE,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAA6B;EAAsB;CAAM,CAAC,CAAC,CAAC,SAAS,0HAA0H;AAClO,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gPAAgP,CAAC,CAAC,SAAS;AACnS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-count-preference-of-channel.d.ts
4
- declare const SendbirdUpdateCountPreferenceOfChannelInput: z.ZodTypeAny;
5
- declare const SendbirdUpdateCountPreferenceOfChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdUpdateCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdUpdateCountPreferenceOfChannelInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ channel_url: z.ZodString;
7
+ count_preference: z.ZodEnum<{
8
+ all: "all";
9
+ unread_message_count_only: "unread_message_count_only";
10
+ mention_count_only: "mention_count_only";
11
+ none: "none";
12
+ }>;
13
+ }, z.core.$strip>;
14
+ declare const SendbirdUpdateCountPreferenceOfChannelOutput: z.ZodObject<{
15
+ channel_url: z.ZodNullable<z.ZodString>;
16
+ count_preference: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>;
18
+ declare const sendbirdUpdateCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ user_id: string;
20
+ channel_url: string;
21
+ count_preference: "all" | "unread_message_count_only" | "mention_count_only" | "none";
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { sendbirdUpdateCountPreferenceOfChannel };
9
25
  //# sourceMappingURL=update-count-preference-of-channel.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-count-preference-of-channel.d.cts","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAI4C;AAAA,cAC3F,4CAAA,EAA8C,CAAA,CAAE,UAGe;AAAA,cAE/D,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-count-preference-of-channel.d.cts","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;cAK3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,gCAAsC,wBAAA"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-count-preference-of-channel.d.ts
4
- declare const SendbirdUpdateCountPreferenceOfChannelInput: z.ZodTypeAny;
5
- declare const SendbirdUpdateCountPreferenceOfChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdUpdateCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdUpdateCountPreferenceOfChannelInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ channel_url: z.ZodString;
7
+ count_preference: z.ZodEnum<{
8
+ all: "all";
9
+ unread_message_count_only: "unread_message_count_only";
10
+ mention_count_only: "mention_count_only";
11
+ none: "none";
12
+ }>;
13
+ }, z.core.$strip>;
14
+ declare const SendbirdUpdateCountPreferenceOfChannelOutput: z.ZodObject<{
15
+ channel_url: z.ZodNullable<z.ZodString>;
16
+ count_preference: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>;
18
+ declare const sendbirdUpdateCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ user_id: string;
20
+ channel_url: string;
21
+ count_preference: "all" | "unread_message_count_only" | "mention_count_only" | "none";
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { sendbirdUpdateCountPreferenceOfChannel };
9
25
  //# sourceMappingURL=update-count-preference-of-channel.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-count-preference-of-channel.d.mts","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAI4C;AAAA,cAC3F,4CAAA,EAA8C,CAAA,CAAE,UAGe;AAAA,cAE/D,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-count-preference-of-channel.d.mts","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;cAK3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,gCAAsC,wBAAA"}
@@ -15,9 +15,9 @@ const sendbirdUpdateCountPreferenceOfChannel = action("SENDBIRD_UPDATE_COUNT_PRE
15
15
  ]).describe("The user's count preference for the channel: one of 'all', 'unread_message_count_only', 'mention_count_only', or 'none'.")
16
16
  }).describe("Request model for updating a user's unread count preference for a specific group channel."),
17
17
  output: z.object({
18
- channel_url: z.string().describe("URL identifier of the group channel."),
19
- count_preference: z.string().describe("The updated user count preference. Possible values: 'all' (track both unread messages and mentions), 'unread_message_count_only' (track only unread messages), 'unread_mention_count_only' (track only mentions), or 'off' (disable tracking).")
20
- }).describe("Response model for updating a user's unread count preference.")
18
+ channel_url: z.string().describe("URL identifier of the group channel.").nullable(),
19
+ count_preference: z.string().describe("The updated user count preference. Possible values: 'all' (track both unread messages and mentions), 'unread_message_count_only' (track only unread messages), 'unread_mention_count_only' (track only mentions), or 'off' (disable tracking).").nullable()
20
+ }).passthrough().describe("Response model for updating a user's unread count preference.")
21
21
  });
22
22
  //#endregion
23
23
  export { sendbirdUpdateCountPreferenceOfChannel };
@@ -1 +1 @@
1
- {"version":3,"file":"update-count-preference-of-channel.mjs","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateCountPreferenceOfChannelInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"The unique ID of the user.\"),\n channel_url: z.string().describe(\"URL identifier of the group channel.\"),\n count_preference: z.enum([\"all\", \"unread_message_count_only\", \"mention_count_only\", \"none\"]).describe(\"The user's count preference for the channel: one of 'all', 'unread_message_count_only', 'mention_count_only', or 'none'.\"),\n}).describe(\"Request model for updating a user's unread count preference for a specific group channel.\");\nexport const SendbirdUpdateCountPreferenceOfChannelOutput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"URL identifier of the group channel.\"),\n count_preference: z.string().describe(\"The updated user count preference. Possible values: 'all' (track both unread messages and mentions), 'unread_message_count_only' (track only unread messages), 'unread_mention_count_only' (track only mentions), or 'off' (disable tracking).\"),\n}).describe(\"Response model for updating a user's unread count preference.\");\n\nexport const sendbirdUpdateCountPreferenceOfChannel = action(\"SENDBIRD_UPDATE_COUNT_PREFERENCE_OF_CHANNEL\", {\n slug: \"sendbird-update-count-preference-of-channel\",\n name: \"Update Count Preference Of Channel\",\n description: \"Tool to update a user's unread count preference for a specific group channel. Use when you want to include or suppress a channel in the user's unread counts.\",\n input: SendbirdUpdateCountPreferenceOfChannelInput,\n output: SendbirdUpdateCountPreferenceOfChannelOutput,\n});\n"],"mappings":";;AAcA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduE,EAAE,OAAO;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACvE,kBAAkB,EAAE,KAAK;GAAC;GAAO;GAA6B;GAAsB;EAAM,CAAC,CAAC,CAAC,SAAS,0HAA0H;CAClO,CAAC,CAAC,CAAC,SAAS,2FAUH;CACP,QAVwE,EAAE,OAAO;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACvE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gPAAgP;CACxR,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-count-preference-of-channel.mjs","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateCountPreferenceOfChannelInput = z.object({\n user_id: z.string().describe(\"The unique ID of the user.\"),\n channel_url: z.string().describe(\"URL identifier of the group channel.\"),\n count_preference: z.enum([\"all\", \"unread_message_count_only\", \"mention_count_only\", \"none\"]).describe(\"The user's count preference for the channel: one of 'all', 'unread_message_count_only', 'mention_count_only', or 'none'.\"),\n}).describe(\"Request model for updating a user's unread count preference for a specific group channel.\");\nexport const SendbirdUpdateCountPreferenceOfChannelOutput = z.object({\n channel_url: z.string().describe(\"URL identifier of the group channel.\").nullable(),\n count_preference: z.string().describe(\"The updated user count preference. Possible values: 'all' (track both unread messages and mentions), 'unread_message_count_only' (track only unread messages), 'unread_mention_count_only' (track only mentions), or 'off' (disable tracking).\").nullable(),\n}).passthrough().describe(\"Response model for updating a user's unread count preference.\");\n\nexport const sendbirdUpdateCountPreferenceOfChannel = action(\"SENDBIRD_UPDATE_COUNT_PREFERENCE_OF_CHANNEL\", {\n slug: \"sendbird-update-count-preference-of-channel\",\n name: \"Update Count Preference Of Channel\",\n description: \"Tool to update a user's unread count preference for a specific group channel. Use when you want to include or suppress a channel in the user's unread counts.\",\n input: SendbirdUpdateCountPreferenceOfChannelInput,\n output: SendbirdUpdateCountPreferenceOfChannelOutput,\n});\n"],"mappings":";;AAcA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACvE,kBAAkB,EAAE,KAAK;GAAC;GAAO;GAA6B;GAAsB;EAAM,CAAC,CAAC,CAAC,SAAS,0HAA0H;CAClO,CAAC,CAAC,CAAC,SAAS,2FAUH;CACP,QAV0D,EAAE,OAAO;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAClF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gPAAgP,CAAC,CAAC,SAAS;CACnS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
@@ -18,15 +18,15 @@ const SendbirdUpdateGroupChannelInput = zod.z.object({
18
18
  const SendbirdUpdateGroupChannelOutput = zod.z.object({
19
19
  data: zod.z.string().describe("Custom data string for the channel").nullable().optional(),
20
20
  name: zod.z.string().describe("Name of the channel").nullable().optional(),
21
- is_super: zod.z.boolean().describe("True if channel is a supergroup"),
21
+ is_super: zod.z.boolean().describe("True if channel is a supergroup").nullable(),
22
22
  cover_url: zod.z.string().describe("Cover image URL").nullable().optional(),
23
- is_public: zod.z.boolean().describe("True if channel is public"),
23
+ is_public: zod.z.boolean().describe("True if channel is public").nullable(),
24
24
  operators: zod.z.array(zod.z.string()).describe("User IDs of channel operators").nullable().optional(),
25
25
  access_code: zod.z.string().describe("Access code for channel joining").nullable().optional(),
26
- channel_url: zod.z.string().describe("Unique URL of the group channel"),
26
+ channel_url: zod.z.string().describe("Unique URL of the group channel").nullable(),
27
27
  custom_type: zod.z.string().describe("Custom type of the channel").nullable().optional(),
28
- is_distinct: zod.z.boolean().describe("True if channel is distinct"),
29
- is_ephemeral: zod.z.boolean().describe("True if channel is ephemeral"),
28
+ is_distinct: zod.z.boolean().describe("True if channel is distinct").nullable(),
29
+ is_ephemeral: zod.z.boolean().describe("True if channel is ephemeral").nullable(),
30
30
  my_count_preference: zod.z.string().describe("Unread count setting").nullable().optional()
31
31
  }).passthrough().describe("Response schema for an updated Sendbird group channel.");
32
32
  const sendbirdUpdateGroupChannel = require_action.action("SENDBIRD_UPDATE_GROUP_CHANNEL", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/update-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateGroupChannelInput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom channel data as a JSON-encoded string\").optional(),\n name: z.string().describe(\"New name for the channel\").optional(),\n is_super: z.boolean().describe(\"Whether this is a supergroup channel\").optional(),\n cover_url: z.string().describe(\"HTTPS URL for the channel's cover image\").optional(),\n is_public: z.boolean().describe(\"Whether this channel is publicly joinable\").optional(),\n operators: z.array(z.string()).describe(\"List of user IDs to assign as channel operators\").optional(),\n access_code: z.string().describe(\"Access code required for joining this channel\").optional(),\n channel_url: z.string().describe(\"URL identifier of the group channel to update\"),\n custom_type: z.string().describe(\"Custom type label for the channel\").optional(),\n is_distinct: z.boolean().describe(\"Whether this is a distinct channel\").optional(),\n is_ephemeral: z.boolean().describe(\"Whether this channel is ephemeral\").optional(),\n my_count_preference: z.enum([\"unread_message_count_only\", \"all_count\"]).describe(\"Unread count preference (\\\"unread_message_count_only\\\" or \\\"all_count\\\")\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel.\");\nexport const SendbirdUpdateGroupChannelOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom data string for the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n is_super: z.boolean().describe(\"True if channel is a supergroup\"),\n cover_url: z.string().describe(\"Cover image URL\").nullable().optional(),\n is_public: z.boolean().describe(\"True if channel is public\"),\n operators: z.array(z.string()).describe(\"User IDs of channel operators\").nullable().optional(),\n access_code: z.string().describe(\"Access code for channel joining\").nullable().optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\"),\n custom_type: z.string().describe(\"Custom type of the channel\").nullable().optional(),\n is_distinct: z.boolean().describe(\"True if channel is distinct\"),\n is_ephemeral: z.boolean().describe(\"True if channel is ephemeral\"),\n my_count_preference: z.string().describe(\"Unread count setting\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel.\");\n\nexport const sendbirdUpdateGroupChannel = action(\"SENDBIRD_UPDATE_GROUP_CHANNEL\", {\n slug: \"sendbird-update-group-channel\",\n name: \"Update Group Channel\",\n description: \"Tool to update group channel information. Use when you need to modify channel attributes such as name, cover image, privacy settings, or operator list after channel creation.\",\n input: SendbirdUpdateGroupChannelInput,\n output: Sendbird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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B;CAC3D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;CAC/D,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;CACjE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/update-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateGroupChannelInput = z.object({\n data: z.string().describe(\"Custom channel data as a JSON-encoded string\").optional(),\n name: z.string().describe(\"New name for the channel\").optional(),\n is_super: z.boolean().describe(\"Whether this is a supergroup channel\").optional(),\n cover_url: z.string().describe(\"HTTPS URL for the channel's cover image\").optional(),\n is_public: z.boolean().describe(\"Whether this channel is publicly joinable\").optional(),\n operators: z.array(z.string()).describe(\"List of user IDs to assign as channel operators\").optional(),\n access_code: z.string().describe(\"Access code required for joining this channel\").optional(),\n channel_url: z.string().describe(\"URL identifier of the group channel to update\"),\n custom_type: z.string().describe(\"Custom type label for the channel\").optional(),\n is_distinct: z.boolean().describe(\"Whether this is a distinct channel\").optional(),\n is_ephemeral: z.boolean().describe(\"Whether this channel is ephemeral\").optional(),\n my_count_preference: z.enum([\"unread_message_count_only\", \"all_count\"]).describe(\"Unread count preference (\\\"unread_message_count_only\\\" or \\\"all_count\\\")\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel.\");\nexport const SendbirdUpdateGroupChannelOutput = z.object({\n data: z.string().describe(\"Custom data string for the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n is_super: z.boolean().describe(\"True if channel is a supergroup\").nullable(),\n cover_url: z.string().describe(\"Cover image URL\").nullable().optional(),\n is_public: z.boolean().describe(\"True if channel is public\").nullable(),\n operators: z.array(z.string()).describe(\"User IDs of channel operators\").nullable().optional(),\n access_code: z.string().describe(\"Access code for channel joining\").nullable().optional(),\n channel_url: z.string().describe(\"Unique 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(\"True if channel is distinct\").nullable(),\n is_ephemeral: z.boolean().describe(\"True if channel is ephemeral\").nullable(),\n my_count_preference: z.string().describe(\"Unread count setting\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel.\");\n\nexport const sendbirdUpdateGroupChannel = action(\"SENDBIRD_UPDATE_GROUP_CHANNEL\", {\n slug: \"sendbird-update-group-channel\",\n name: \"Update Group Channel\",\n description: \"Tool to update group channel information. Use when you need to modify channel attributes such as name, cover image, privacy settings, or operator list after channel creation.\",\n input: SendbirdUpdateGroupChannelInput,\n output: SendbirdUpdateGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,6BAA6B,WAAW,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IA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ACV,CAAC"}
@@ -1,9 +1,51 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-group-channel.d.ts
4
- declare const SendbirdUpdateGroupChannelInput: z.ZodTypeAny;
5
- declare const SendbirdUpdateGroupChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdUpdateGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdUpdateGroupChannelInput: z.ZodObject<{
5
+ data: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ is_super: z.ZodOptional<z.ZodBoolean>;
8
+ cover_url: z.ZodOptional<z.ZodString>;
9
+ is_public: z.ZodOptional<z.ZodBoolean>;
10
+ operators: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ access_code: z.ZodOptional<z.ZodString>;
12
+ channel_url: z.ZodString;
13
+ custom_type: z.ZodOptional<z.ZodString>;
14
+ is_distinct: z.ZodOptional<z.ZodBoolean>;
15
+ is_ephemeral: z.ZodOptional<z.ZodBoolean>;
16
+ my_count_preference: z.ZodOptional<z.ZodEnum<{
17
+ unread_message_count_only: "unread_message_count_only";
18
+ all_count: "all_count";
19
+ }>>;
20
+ }, z.core.$strip>;
21
+ declare const SendbirdUpdateGroupChannelOutput: z.ZodObject<{
22
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ is_super: z.ZodNullable<z.ZodBoolean>;
25
+ cover_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ is_public: z.ZodNullable<z.ZodBoolean>;
27
+ operators: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
28
+ access_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ channel_url: z.ZodNullable<z.ZodString>;
30
+ custom_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ is_distinct: z.ZodNullable<z.ZodBoolean>;
32
+ is_ephemeral: z.ZodNullable<z.ZodBoolean>;
33
+ my_count_preference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>;
35
+ declare const sendbirdUpdateGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ channel_url: string;
37
+ data?: string | undefined;
38
+ name?: string | undefined;
39
+ is_super?: boolean | undefined;
40
+ cover_url?: string | undefined;
41
+ is_public?: boolean | undefined;
42
+ operators?: string[] | undefined;
43
+ access_code?: string | undefined;
44
+ custom_type?: string | undefined;
45
+ is_distinct?: boolean | undefined;
46
+ is_ephemeral?: boolean | undefined;
47
+ my_count_preference?: "unread_message_count_only" | "all_count" | undefined;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
49
  //#endregion
8
50
  export { sendbirdUpdateGroupChannel };
9
51
  //# sourceMappingURL=update-group-channel.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-group-channel.d.cts","names":[],"sources":["../../src/actions/update-group-channel.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAaoB;AAAA,cACvD,gCAAA,EAAkC,CAAA,CAAE,UAakC;AAAA,cAEtE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-group-channel.d.cts","names":[],"sources":["../../src/actions/update-group-channel.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAehC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,51 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-group-channel.d.ts
4
- declare const SendbirdUpdateGroupChannelInput: z.ZodTypeAny;
5
- declare const SendbirdUpdateGroupChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdUpdateGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdUpdateGroupChannelInput: z.ZodObject<{
5
+ data: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ is_super: z.ZodOptional<z.ZodBoolean>;
8
+ cover_url: z.ZodOptional<z.ZodString>;
9
+ is_public: z.ZodOptional<z.ZodBoolean>;
10
+ operators: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ access_code: z.ZodOptional<z.ZodString>;
12
+ channel_url: z.ZodString;
13
+ custom_type: z.ZodOptional<z.ZodString>;
14
+ is_distinct: z.ZodOptional<z.ZodBoolean>;
15
+ is_ephemeral: z.ZodOptional<z.ZodBoolean>;
16
+ my_count_preference: z.ZodOptional<z.ZodEnum<{
17
+ unread_message_count_only: "unread_message_count_only";
18
+ all_count: "all_count";
19
+ }>>;
20
+ }, z.core.$strip>;
21
+ declare const SendbirdUpdateGroupChannelOutput: z.ZodObject<{
22
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ is_super: z.ZodNullable<z.ZodBoolean>;
25
+ cover_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ is_public: z.ZodNullable<z.ZodBoolean>;
27
+ operators: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
28
+ access_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ channel_url: z.ZodNullable<z.ZodString>;
30
+ custom_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ is_distinct: z.ZodNullable<z.ZodBoolean>;
32
+ is_ephemeral: z.ZodNullable<z.ZodBoolean>;
33
+ my_count_preference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>;
35
+ declare const sendbirdUpdateGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ channel_url: string;
37
+ data?: string | undefined;
38
+ name?: string | undefined;
39
+ is_super?: boolean | undefined;
40
+ cover_url?: string | undefined;
41
+ is_public?: boolean | undefined;
42
+ operators?: string[] | undefined;
43
+ access_code?: string | undefined;
44
+ custom_type?: string | undefined;
45
+ is_distinct?: boolean | undefined;
46
+ is_ephemeral?: boolean | undefined;
47
+ my_count_preference?: "unread_message_count_only" | "all_count" | undefined;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
49
  //#endregion
8
50
  export { sendbirdUpdateGroupChannel };
9
51
  //# sourceMappingURL=update-group-channel.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-group-channel.d.mts","names":[],"sources":["../../src/actions/update-group-channel.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAaoB;AAAA,cACvD,gCAAA,EAAkC,CAAA,CAAE,UAakC;AAAA,cAEtE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-group-channel.d.mts","names":[],"sources":["../../src/actions/update-group-channel.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAehC,0BAAA,gCAA0B,wBAAA"}
@@ -21,15 +21,15 @@ const sendbirdUpdateGroupChannel = action("SENDBIRD_UPDATE_GROUP_CHANNEL", {
21
21
  output: z.object({
22
22
  data: z.string().describe("Custom data string for the channel").nullable().optional(),
23
23
  name: z.string().describe("Name of the channel").nullable().optional(),
24
- is_super: z.boolean().describe("True if channel is a supergroup"),
24
+ is_super: z.boolean().describe("True if channel is a supergroup").nullable(),
25
25
  cover_url: z.string().describe("Cover image URL").nullable().optional(),
26
- is_public: z.boolean().describe("True if channel is public"),
26
+ is_public: z.boolean().describe("True if channel is public").nullable(),
27
27
  operators: z.array(z.string()).describe("User IDs of channel operators").nullable().optional(),
28
28
  access_code: z.string().describe("Access code for channel joining").nullable().optional(),
29
- channel_url: z.string().describe("Unique URL of the group channel"),
29
+ channel_url: z.string().describe("Unique URL of the group channel").nullable(),
30
30
  custom_type: z.string().describe("Custom type of the channel").nullable().optional(),
31
- is_distinct: z.boolean().describe("True if channel is distinct"),
32
- is_ephemeral: z.boolean().describe("True if channel is ephemeral"),
31
+ is_distinct: z.boolean().describe("True if channel is distinct").nullable(),
32
+ is_ephemeral: z.boolean().describe("True if channel is ephemeral").nullable(),
33
33
  my_count_preference: z.string().describe("Unread count setting").nullable().optional()
34
34
  }).passthrough().describe("Response schema for an updated Sendbird group channel.")
35
35
  });
@@ -1 +1 @@
1
- {"version":3,"file":"update-group-channel.mjs","names":[],"sources":["../../src/actions/update-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateGroupChannelInput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom channel data as a JSON-encoded string\").optional(),\n name: z.string().describe(\"New name for the channel\").optional(),\n is_super: z.boolean().describe(\"Whether this is a supergroup channel\").optional(),\n cover_url: z.string().describe(\"HTTPS URL for the channel's cover image\").optional(),\n is_public: z.boolean().describe(\"Whether this channel is publicly joinable\").optional(),\n operators: z.array(z.string()).describe(\"List of user IDs to assign as channel operators\").optional(),\n access_code: z.string().describe(\"Access code required for joining this channel\").optional(),\n channel_url: z.string().describe(\"URL identifier of the group channel to update\"),\n custom_type: z.string().describe(\"Custom type label for the channel\").optional(),\n is_distinct: z.boolean().describe(\"Whether this is a distinct channel\").optional(),\n is_ephemeral: z.boolean().describe(\"Whether this channel is ephemeral\").optional(),\n my_count_preference: z.enum([\"unread_message_count_only\", \"all_count\"]).describe(\"Unread count preference (\\\"unread_message_count_only\\\" or \\\"all_count\\\")\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel.\");\nexport const SendbirdUpdateGroupChannelOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom data string for the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n is_super: z.boolean().describe(\"True if channel is a supergroup\"),\n cover_url: z.string().describe(\"Cover image URL\").nullable().optional(),\n is_public: z.boolean().describe(\"True if channel is public\"),\n operators: z.array(z.string()).describe(\"User IDs of channel operators\").nullable().optional(),\n access_code: z.string().describe(\"Access code for channel joining\").nullable().optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\"),\n custom_type: z.string().describe(\"Custom type of the channel\").nullable().optional(),\n is_distinct: z.boolean().describe(\"True if channel is distinct\"),\n is_ephemeral: z.boolean().describe(\"True if channel is ephemeral\"),\n my_count_preference: z.string().describe(\"Unread count setting\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel.\");\n\nexport const sendbirdUpdateGroupChannel = action(\"SENDBIRD_UPDATE_GROUP_CHANNEL\", {\n slug: \"sendbird-update-group-channel\",\n name: \"Update Group Channel\",\n description: \"Tool to update group channel information. Use when you need to modify channel attributes such as name, cover image, privacy settings, or operator list after channel creation.\",\n input: SendbirdUpdateGroupChannelInput,\n output: SendbirdUpdateGroupChannelOutput,\n});\n"],"mappings":";;AAiCA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjC2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC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AAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;EAC/D,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;EACjE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-group-channel.mjs","names":[],"sources":["../../src/actions/update-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateGroupChannelInput = z.object({\n data: z.string().describe(\"Custom channel data as a JSON-encoded string\").optional(),\n name: z.string().describe(\"New name for the channel\").optional(),\n is_super: z.boolean().describe(\"Whether this is a supergroup channel\").optional(),\n cover_url: z.string().describe(\"HTTPS URL for the channel's cover image\").optional(),\n is_public: z.boolean().describe(\"Whether this channel is publicly joinable\").optional(),\n operators: z.array(z.string()).describe(\"List of user IDs to assign as channel operators\").optional(),\n access_code: z.string().describe(\"Access code required for joining this channel\").optional(),\n channel_url: z.string().describe(\"URL identifier of the group channel to update\"),\n custom_type: z.string().describe(\"Custom type label for the channel\").optional(),\n is_distinct: z.boolean().describe(\"Whether this is a distinct channel\").optional(),\n is_ephemeral: z.boolean().describe(\"Whether this channel is ephemeral\").optional(),\n my_count_preference: z.enum([\"unread_message_count_only\", \"all_count\"]).describe(\"Unread count preference (\\\"unread_message_count_only\\\" or \\\"all_count\\\")\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel.\");\nexport const SendbirdUpdateGroupChannelOutput = z.object({\n data: z.string().describe(\"Custom data string for the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n is_super: z.boolean().describe(\"True if channel is a supergroup\").nullable(),\n cover_url: z.string().describe(\"Cover image URL\").nullable().optional(),\n is_public: z.boolean().describe(\"True if channel is public\").nullable(),\n operators: z.array(z.string()).describe(\"User IDs of channel operators\").nullable().optional(),\n access_code: z.string().describe(\"Access code for channel joining\").nullable().optional(),\n channel_url: z.string().describe(\"Unique 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(\"True if channel is distinct\").nullable(),\n is_ephemeral: z.boolean().describe(\"True if channel is ephemeral\").nullable(),\n my_count_preference: z.string().describe(\"Unread count setting\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel.\");\n\nexport const sendbirdUpdateGroupChannel = action(\"SENDBIRD_UPDATE_GROUP_CHANNEL\", {\n slug: \"sendbird-update-group-channel\",\n name: \"Update Group Channel\",\n description: \"Tool to update group channel information. Use when you need to modify channel attributes such as name, cover image, privacy settings, or operator list after channel creation.\",\n input: SendbirdUpdateGroupChannelInput,\n output: SendbirdUpdateGroupChannelOutput,\n});\n"],"mappings":";;AAiCA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjC6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACpG,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;EACnF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC1E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC5E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -20,16 +20,16 @@ const SendbirdUpdateMessageInput = zod.z.object({
20
20
  const SendbirdUpdateMessageOutput = zod.z.object({
21
21
  data: zod.z.string().describe("Additional data in the message").nullable().optional(),
22
22
  file: zod.z.record(zod.z.string(), zod.z.unknown()).describe("File object if the message contains a file").nullable().optional(),
23
- type: zod.z.string().describe("Type of the message"),
23
+ type: zod.z.string().describe("Type of the message").nullable(),
24
24
  user: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User object who sent the message"),
25
25
  og_tag: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Open Graph tag information for the message").nullable().optional(),
26
26
  content: zod.z.string().describe("Content of the message").nullable().optional(),
27
- is_silent: zod.z.boolean().describe("True if the update was silent"),
27
+ is_silent: zod.z.boolean().describe("True if the update was silent").nullable(),
28
28
  reactions: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of reaction objects on the message").nullable().optional(),
29
- created_at: zod.z.number().int().describe("Timestamp when the message was created (ms since epoch)"),
30
- message_id: zod.z.string().describe("Unique ID of the updated message"),
31
- updated_at: zod.z.number().int().describe("Timestamp when the message was last updated (ms since epoch)"),
32
- channel_url: zod.z.string().describe("URL of the channel containing the message"),
29
+ created_at: zod.z.number().int().describe("Timestamp when the message was created (ms since epoch)").nullable(),
30
+ message_id: zod.z.string().describe("Unique ID of the updated message").nullable(),
31
+ updated_at: zod.z.number().int().describe("Timestamp when the message was last updated (ms since epoch)").nullable(),
32
+ channel_url: zod.z.string().describe("URL of the channel containing the message").nullable(),
33
33
  custom_type: zod.z.string().describe("Custom type of the message").nullable().optional(),
34
34
  thread_info: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Thread information if part of a thread").nullable().optional(),
35
35
  mention_type: zod.z.string().describe("Mention type in the message").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-message.cjs","names":["z","action"],"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":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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AA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-message.cjs","names":["z","action"],"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":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAA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,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,8BAA8BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -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.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-message.d.cts","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.cts","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"}