@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,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-channel.d.ts
4
- declare const SendbirdDeleteChannelInput: z.ZodTypeAny;
5
- declare const SendbirdDeleteChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdDeleteChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdDeleteChannelInput: z.ZodObject<{
5
+ channel_url: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendbirdDeleteChannelOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ }, z.core.$loose>;
10
+ declare const sendbirdDeleteChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ channel_url: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { sendbirdDeleteChannel };
9
15
  //# sourceMappingURL=delete-channel.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-channel.d.cts","names":[],"sources":["../../src/actions/delete-channel.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEwB;AAAA,cACtD,2BAAA,EAA6B,CAAA,CAAE,UAEkB;AAAA,cAEjD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-channel.d.cts","names":[],"sources":["../../src/actions/delete-channel.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-channel.d.ts
4
- declare const SendbirdDeleteChannelInput: z.ZodTypeAny;
5
- declare const SendbirdDeleteChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdDeleteChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdDeleteChannelInput: z.ZodObject<{
5
+ channel_url: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendbirdDeleteChannelOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ }, z.core.$loose>;
10
+ declare const sendbirdDeleteChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ channel_url: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { sendbirdDeleteChannel };
9
15
  //# sourceMappingURL=delete-channel.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-channel.d.mts","names":[],"sources":["../../src/actions/delete-channel.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEwB;AAAA,cACtD,2BAAA,EAA6B,CAAA,CAAE,UAEkB;AAAA,cAEjD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-channel.d.mts","names":[],"sources":["../../src/actions/delete-channel.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -5,7 +5,7 @@ const sendbirdDeleteChannel = action("SENDBIRD_DELETE_CHANNEL", {
5
5
  name: "Delete Group Channel",
6
6
  description: "Permanently deletes a Sendbird group channel. Use this tool when you need to remove a group channel and all its associated data (messages, members, etc.). WARNING: This action is irreversible. Requires the channel_url identifier of the channel to delete.",
7
7
  input: z.object({ channel_url: z.string().describe("The unique URL identifier of the group channel to delete. This is the channel's unique ID, typically in format like 'sendbird_group_channel_123456' or a custom URL set during channel creation.") }).describe("Request model for deleting a Sendbird group channel."),
8
- output: z.object({ success: z.boolean().describe("True if the channel was successfully deleted. The deletion is permanent and cannot be undone.") }).describe("Response model for deletion of a group channel.")
8
+ output: z.object({ success: z.boolean().describe("True if the channel was successfully deleted. The deletion is permanent and cannot be undone.").nullable() }).passthrough().describe("Response model for deletion of a group channel.")
9
9
  });
10
10
  //#endregion
11
11
  export { sendbirdDeleteChannel };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-channel.mjs","names":[],"sources":["../../src/actions/delete-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteChannelInput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"The unique URL identifier of the group channel to delete. This is the channel's unique ID, typically in format like 'sendbird_group_channel_123456' or a custom URL set during channel creation.\"),\n}).describe(\"Request model for deleting a Sendbird group channel.\");\nexport const SendbirdDeleteChannelOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"True if the channel was successfully deleted. The deletion is permanent and cannot be undone.\"),\n}).describe(\"Response model for deletion of a group channel.\");\n\nexport const sendbirdDeleteChannel = action(\"SENDBIRD_DELETE_CHANNEL\", {\n slug: \"sendbird-delete-channel\",\n name: \"Delete Group Channel\",\n description: \"Permanently deletes a Sendbird group channel. Use this tool when you need to remove a group channel and all its associated data (messages, members, etc.). WARNING: This action is irreversible. Requires the channel_url identifier of the channel to delete.\",\n input: SendbirdDeleteChannelInput,\n output: SendbirdDeleteChannelOutput,\n});\n"],"mappings":";;AAWA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXsD,EAAE,OAAO,EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kMAAkM,EACrO,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,EAC/H,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-channel.mjs","names":[],"sources":["../../src/actions/delete-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteChannelInput = z.object({\n channel_url: z.string().describe(\"The unique URL identifier of the group channel to delete. This is the channel's unique ID, typically in format like 'sendbird_group_channel_123456' or a custom URL set during channel creation.\"),\n}).describe(\"Request model for deleting a Sendbird group channel.\");\nexport const SendbirdDeleteChannelOutput = z.object({\n success: z.boolean().describe(\"True if the channel was successfully deleted. The deletion is permanent and cannot be undone.\").nullable(),\n}).passthrough().describe(\"Response model for deletion of a group channel.\");\n\nexport const sendbirdDeleteChannel = action(\"SENDBIRD_DELETE_CHANNEL\", {\n slug: \"sendbird-delete-channel\",\n name: \"Delete Group Channel\",\n description: \"Permanently deletes a Sendbird group channel. Use this tool when you need to remove a group channel and all its associated data (messages, members, etc.). WARNING: This action is irreversible. Requires the channel_url identifier of the channel to delete.\",\n input: SendbirdDeleteChannelInput,\n output: SendbirdDeleteChannelOutput,\n});\n"],"mappings":";;AAWA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwC,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kMAAkM,EACrO,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SendbirdDeleteMessageInput = zod.z.object({
5
5
  message_id: zod.z.number().int().describe("Unique numeric ID of the message to delete. Must be a positive integer obtained from message listing or message sending responses."),
6
6
  channel_url: zod.z.string().describe("URL-encoded identifier of the group channel containing the message to delete. Can be obtained from channel creation responses or channel listing endpoints.")
7
7
  }).describe("Request schema for deleting a Sendbird group channel message.");
8
- const SendbirdDeleteMessageOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.") }).describe("Response schema for successful deletion of a Sendbird message.");
8
+ const SendbirdDeleteMessageOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.").nullable() }).passthrough().describe("Response schema for successful deletion of a Sendbird message.");
9
9
  const sendbirdDeleteMessage = require_action.action("SENDBIRD_DELETE_MESSAGE", {
10
10
  slug: "sendbird-delete-message",
11
11
  name: "Delete Message",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-message.cjs","names":["z","action"],"sources":["../../src/actions/delete-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteMessageInput: z.ZodTypeAny = z.object({\n message_id: z.number().int().describe(\"Unique numeric ID of the message to delete. Must be a positive integer obtained from message listing or message sending responses.\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel containing the message to delete. Can be obtained from channel creation responses or channel listing endpoints.\"),\n}).describe(\"Request schema for deleting a Sendbird group channel message.\");\nexport const SendbirdDeleteMessageOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.\"),\n}).describe(\"Response schema for successful deletion of a Sendbird message.\");\n\nexport const sendbirdDeleteMessage = action(\"SENDBIRD_DELETE_MESSAGE\", {\n slug: \"sendbird-delete-message\",\n name: \"Delete Message\",\n description: \"Permanently deletes a specific message from a Sendbird group channel. This action cannot be undone. Use this when you need to remove a message that was sent by mistake or contains inappropriate content. Requires both channel_url and message_id, which can be obtained from channel/message listing endpoints.\",\n input: SendbirdDeleteMessageInput,\n output: SendbirdDeleteMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI;CAC1K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;AAChM,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,EAC3J,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-message.cjs","names":["z","action"],"sources":["../../src/actions/delete-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteMessageInput = z.object({\n message_id: z.number().int().describe(\"Unique numeric ID of the message to delete. Must be a positive integer obtained from message listing or message sending responses.\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel containing the message to delete. Can be obtained from channel creation responses or channel listing endpoints.\"),\n}).describe(\"Request schema for deleting a Sendbird group channel message.\");\nexport const SendbirdDeleteMessageOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.\").nullable(),\n}).passthrough().describe(\"Response schema for successful deletion of a Sendbird message.\");\n\nexport const sendbirdDeleteMessage = action(\"SENDBIRD_DELETE_MESSAGE\", {\n slug: \"sendbird-delete-message\",\n name: \"Delete Message\",\n description: \"Permanently deletes a specific message from a Sendbird group channel. This action cannot be undone. Use this when you need to remove a message that was sent by mistake or contains inappropriate content. Requires both channel_url and message_id, which can be obtained from channel/message listing endpoints.\",\n input: SendbirdDeleteMessageInput,\n output: SendbirdDeleteMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI;CAC1K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;AAChM,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,EACtK,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,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-message.d.ts
4
- declare const SendbirdDeleteMessageInput: z.ZodTypeAny;
5
- declare const SendbirdDeleteMessageOutput: z.ZodTypeAny;
6
- declare const sendbirdDeleteMessage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdDeleteMessageInput: z.ZodObject<{
5
+ message_id: z.ZodNumber;
6
+ channel_url: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdDeleteMessageOutput: z.ZodObject<{
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$loose>;
11
+ declare const sendbirdDeleteMessage: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ message_id: number;
13
+ channel_url: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { sendbirdDeleteMessage };
9
17
  //# sourceMappingURL=delete-message.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-message.d.cts","names":[],"sources":["../../src/actions/delete-message.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGiC;AAAA,cAC/D,2BAAA,EAA6B,CAAA,CAAE,UAEiC;AAAA,cAEhE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-message.d.cts","names":[],"sources":["../../src/actions/delete-message.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-message.d.ts
4
- declare const SendbirdDeleteMessageInput: z.ZodTypeAny;
5
- declare const SendbirdDeleteMessageOutput: z.ZodTypeAny;
6
- declare const sendbirdDeleteMessage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdDeleteMessageInput: z.ZodObject<{
5
+ message_id: z.ZodNumber;
6
+ channel_url: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdDeleteMessageOutput: z.ZodObject<{
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$loose>;
11
+ declare const sendbirdDeleteMessage: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ message_id: number;
13
+ channel_url: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { sendbirdDeleteMessage };
9
17
  //# sourceMappingURL=delete-message.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-message.d.mts","names":[],"sources":["../../src/actions/delete-message.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGiC;AAAA,cAC/D,2BAAA,EAA6B,CAAA,CAAE,UAEiC;AAAA,cAEhE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-message.d.mts","names":[],"sources":["../../src/actions/delete-message.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -8,7 +8,7 @@ const sendbirdDeleteMessage = action("SENDBIRD_DELETE_MESSAGE", {
8
8
  message_id: z.number().int().describe("Unique numeric ID of the message to delete. Must be a positive integer obtained from message listing or message sending responses."),
9
9
  channel_url: z.string().describe("URL-encoded identifier of the group channel containing the message to delete. Can be obtained from channel creation responses or channel listing endpoints.")
10
10
  }).describe("Request schema for deleting a Sendbird group channel message."),
11
- output: z.object({ success: z.boolean().describe("Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.") }).describe("Response schema for successful deletion of a Sendbird message.")
11
+ output: z.object({ success: z.boolean().describe("Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.").nullable() }).passthrough().describe("Response schema for successful deletion of a Sendbird message.")
12
12
  });
13
13
  //#endregion
14
14
  export { sendbirdDeleteMessage };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-message.mjs","names":[],"sources":["../../src/actions/delete-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteMessageInput: z.ZodTypeAny = z.object({\n message_id: z.number().int().describe(\"Unique numeric ID of the message to delete. Must be a positive integer obtained from message listing or message sending responses.\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel containing the message to delete. Can be obtained from channel creation responses or channel listing endpoints.\"),\n}).describe(\"Request schema for deleting a Sendbird group channel message.\");\nexport const SendbirdDeleteMessageOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.\"),\n}).describe(\"Response schema for successful deletion of a Sendbird message.\");\n\nexport const sendbirdDeleteMessage = action(\"SENDBIRD_DELETE_MESSAGE\", {\n slug: \"sendbird-delete-message\",\n name: \"Delete Message\",\n description: \"Permanently deletes a specific message from a Sendbird group channel. This action cannot be undone. Use this when you need to remove a message that was sent by mistake or contains inappropriate content. Requires both channel_url and message_id, which can be obtained from channel/message listing endpoints.\",\n input: SendbirdDeleteMessageInput,\n output: SendbirdDeleteMessageOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsD,EAAE,OAAO;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI;EAC1K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CAChM,CAAC,CAAC,CAAC,SAAS,+DASH;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,EAC3J,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-message.mjs","names":[],"sources":["../../src/actions/delete-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteMessageInput = z.object({\n message_id: z.number().int().describe(\"Unique numeric ID of the message to delete. Must be a positive integer obtained from message listing or message sending responses.\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel containing the message to delete. Can be obtained from channel creation responses or channel listing endpoints.\"),\n}).describe(\"Request schema for deleting a Sendbird group channel message.\");\nexport const SendbirdDeleteMessageOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.\").nullable(),\n}).passthrough().describe(\"Response schema for successful deletion of a Sendbird message.\");\n\nexport const sendbirdDeleteMessage = action(\"SENDBIRD_DELETE_MESSAGE\", {\n slug: \"sendbird-delete-message\",\n name: \"Delete Message\",\n description: \"Permanently deletes a specific message from a Sendbird group channel. This action cannot be undone. Use this when you need to remove a message that was sent by mistake or contains inappropriate content. Requires both channel_url and message_id, which can be obtained from channel/message listing endpoints.\",\n input: SendbirdDeleteMessageInput,\n output: SendbirdDeleteMessageOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI;EAC1K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CAChM,CAAC,CAAC,CAAC,SAAS,+DASH;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SendbirdDeleteUserInput = zod.z.object({
5
5
  user_id: zod.z.string().describe("Unique ID of the user to delete."),
6
6
  hard_delete: zod.z.boolean().default(false).describe("Whether to permanently delete the user and all associated data.").optional()
7
7
  }).describe("Request parameters for deleting a Sendbird user.");
8
- const SendbirdDeleteUserOutput = zod.z.object({}).describe("Response schema for deleting a Sendbird user (empty on success).");
8
+ const SendbirdDeleteUserOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response schema for deleting a Sendbird user (empty on success).");
9
9
  const sendbirdDeleteUser = require_action.action("SENDBIRD_DELETE_USER", {
10
10
  slug: "sendbird-delete-user",
11
11
  name: "Delete Sendbird User",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user to delete.\"),\n hard_delete: z.boolean().default(false).describe(\"Whether to permanently delete the user and all associated data.\").optional(),\n}).describe(\"Request parameters for deleting a Sendbird user.\");\nexport const SendbirdDeleteUserOutput: z.ZodTypeAny = z.object({}).describe(\"Response schema for deleting a Sendbird user (empty on success).\");\n\nexport const sendbirdDeleteUser = action(\"SENDBIRD_DELETE_USER\", {\n slug: \"sendbird-delete-user\",\n name: \"Delete Sendbird User\",\n description: \"Tool to delete a Sendbird user. Use when you need to remove a user from your Sendbird application, optionally permanently.\",\n input: SendbirdDeleteUserInput,\n output: SendbirdDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC/D,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9I,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to delete.\"),\n hard_delete: z.boolean().default(false).describe(\"Whether to permanently delete the user and all associated data.\").optional(),\n}).describe(\"Request parameters for deleting a Sendbird user.\");\nexport const SendbirdDeleteUserOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Sendbird user (empty on success).\");\n\nexport const sendbirdDeleteUser = action(\"SENDBIRD_DELETE_USER\", {\n slug: \"sendbird-delete-user\",\n name: \"Delete Sendbird User\",\n description: \"Tool to delete a Sendbird user. Use when you need to remove a user from your Sendbird application, optionally permanently.\",\n input: SendbirdDeleteUserInput,\n output: SendbirdDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC/D,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAErJ,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-user.d.ts
4
- declare const SendbirdDeleteUserInput: z.ZodTypeAny;
5
- declare const SendbirdDeleteUserOutput: z.ZodTypeAny;
6
- declare const sendbirdDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdDeleteUserInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ hard_delete: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdDeleteUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ declare const sendbirdDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ user_id: string;
11
+ hard_delete?: boolean | undefined;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { sendbirdDeleteUser };
9
15
  //# sourceMappingURL=delete-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGuB;AAAA,cAClD,wBAAA,EAA0B,CAAA,CAAE,UAAsG;AAAA,cAElI,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-user.d.ts
4
- declare const SendbirdDeleteUserInput: z.ZodTypeAny;
5
- declare const SendbirdDeleteUserOutput: z.ZodTypeAny;
6
- declare const sendbirdDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdDeleteUserInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ hard_delete: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdDeleteUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ declare const sendbirdDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ user_id: string;
11
+ hard_delete?: boolean | undefined;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { sendbirdDeleteUser };
9
15
  //# sourceMappingURL=delete-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGuB;AAAA,cAClD,wBAAA,EAA0B,CAAA,CAAE,UAAsG;AAAA,cAElI,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
@@ -8,7 +8,7 @@ const sendbirdDeleteUser = action("SENDBIRD_DELETE_USER", {
8
8
  user_id: z.string().describe("Unique ID of the user to delete."),
9
9
  hard_delete: z.boolean().default(false).describe("Whether to permanently delete the user and all associated data.").optional()
10
10
  }).describe("Request parameters for deleting a Sendbird user."),
11
- output: z.object({}).describe("Response schema for deleting a Sendbird user (empty on success).")
11
+ output: z.record(z.string(), z.unknown()).describe("Response schema for deleting a Sendbird user (empty on success).")
12
12
  });
13
13
  //#endregion
14
14
  export { sendbirdDeleteUser };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique ID of the user to delete.\"),\n hard_delete: z.boolean().default(false).describe(\"Whether to permanently delete the user and all associated data.\").optional(),\n}).describe(\"Request parameters for deleting a Sendbird user.\");\nexport const SendbirdDeleteUserOutput: z.ZodTypeAny = z.object({}).describe(\"Response schema for deleting a Sendbird user (empty on success).\");\n\nexport const sendbirdDeleteUser = action(\"SENDBIRD_DELETE_USER\", {\n slug: \"sendbird-delete-user\",\n name: \"Delete Sendbird User\",\n description: \"Tool to delete a Sendbird user. Use when you need to remove a user from your Sendbird application, optionally permanently.\",\n input: SendbirdDeleteUserInput,\n output: SendbirdDeleteUserOutput,\n});\n"],"mappings":";;AAUA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC/D,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,kDAOH;CACP,QAPoD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAOlE;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to delete.\"),\n hard_delete: z.boolean().default(false).describe(\"Whether to permanently delete the user and all associated data.\").optional(),\n}).describe(\"Request parameters for deleting a Sendbird user.\");\nexport const SendbirdDeleteUserOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Sendbird user (empty on success).\");\n\nexport const sendbirdDeleteUser = action(\"SENDBIRD_DELETE_USER\", {\n slug: \"sendbird-delete-user\",\n name: \"Delete Sendbird User\",\n description: \"Tool to delete a Sendbird user. Use when you need to remove a user from your Sendbird application, optionally permanently.\",\n input: SendbirdDeleteUserInput,\n output: SendbirdDeleteUserOutput,\n});\n"],"mappings":";;AAUA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVqC,EAAE,OAAO;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC/D,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,kDAOH;CACP,QAPsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAOzE;AACV,CAAC"}
@@ -6,13 +6,13 @@ const SendbirdGetCountPreferenceOfChannelInput = zod.z.object({
6
6
  channel_url: zod.z.string().describe("URL (identifier) of the group channel.")
7
7
  }).describe("Request model for retrieving a user's count preference for a specific group channel.");
8
8
  const SendbirdGetCountPreferenceOfChannelOutput = zod.z.object({
9
- channel_url: zod.z.string().describe("The URL of the group channel."),
9
+ channel_url: zod.z.string().describe("The URL of the group channel.").nullable(),
10
10
  count_preference: zod.z.enum([
11
11
  "all",
12
12
  "unread_message_count",
13
13
  "mention_count"
14
- ]).describe("The user's count preference for the channel.")
15
- }).describe("Response model for a user's count preference of a group channel.");
14
+ ]).describe("The user's count preference for the channel.").nullable()
15
+ }).passthrough().describe("Response model for a user's count preference of a group channel.");
16
16
  const sendbirdGetCountPreferenceOfChannel = require_action.action("SENDBIRD_GET_COUNT_PREFERENCE_OF_CHANNEL", {
17
17
  slug: "sendbird-get-count-preference-of-channel",
18
18
  name: "Get Count Preference Of Channel",
@@ -1 +1 @@
1
- {"version":3,"file":"get-count-preference-of-channel.cjs","names":["z","action"],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetCountPreferenceOfChannelInput: 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}).describe(\"Request model for retrieving a user's count preference for a specific group channel.\");\nexport const SendbirdGetCountPreferenceOfChannelOutput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"The URL of the group channel.\"),\n count_preference: z.enum([\"all\", \"unread_message_count\", \"mention_count\"]).describe(\"The user's count preference for the channel.\"),\n}).describe(\"Response model for a user's count preference of a group channel.\");\n\nexport const sendbirdGetCountPreferenceOfChannel = action(\"SENDBIRD_GET_COUNT_PREFERENCE_OF_CHANNEL\", {\n slug: \"sendbird-get-count-preference-of-channel\",\n name: \"Get Count Preference Of Channel\",\n description: \"Tool to retrieve a user's count preference for a specific group channel. Use after confirming the user and channel exist to determine whether to display all, unread-only, or mention-only counts.\",\n input: SendbirdGetCountPreferenceOfChannelInput,\n output: SendbirdGetCountPreferenceOfChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC3E,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAChE,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAwB;CAAe,CAAC,CAAC,CAAC,SAAS,8CAA8C;AACpI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-count-preference-of-channel.cjs","names":["z","action"],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetCountPreferenceOfChannelInput = 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}).describe(\"Request model for retrieving a user's count preference for a specific group channel.\");\nexport const SendbirdGetCountPreferenceOfChannelOutput = z.object({\n channel_url: z.string().describe(\"The URL of the group channel.\").nullable(),\n count_preference: z.enum([\"all\", \"unread_message_count\", \"mention_count\"]).describe(\"The user's count preference for the channel.\").nullable(),\n}).passthrough().describe(\"Response model for a user's count preference of a group channel.\");\n\nexport const sendbirdGetCountPreferenceOfChannel = action(\"SENDBIRD_GET_COUNT_PREFERENCE_OF_CHANNEL\", {\n slug: \"sendbird-get-count-preference-of-channel\",\n name: \"Get Count Preference Of Channel\",\n description: \"Tool to retrieve a user's count preference for a specific group channel. Use after confirming the user and channel exist to determine whether to display all, unread-only, or mention-only counts.\",\n input: SendbirdGetCountPreferenceOfChannelInput,\n output: SendbirdGetCountPreferenceOfChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC3E,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAwB;CAAe,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-count-preference-of-channel.d.ts
4
- declare const SendbirdGetCountPreferenceOfChannelInput: z.ZodTypeAny;
5
- declare const SendbirdGetCountPreferenceOfChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdGetCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdGetCountPreferenceOfChannelInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ channel_url: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdGetCountPreferenceOfChannelOutput: z.ZodObject<{
9
+ channel_url: z.ZodNullable<z.ZodString>;
10
+ count_preference: z.ZodNullable<z.ZodEnum<{
11
+ all: "all";
12
+ unread_message_count: "unread_message_count";
13
+ mention_count: "mention_count";
14
+ }>>;
15
+ }, z.core.$loose>;
16
+ declare const sendbirdGetCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ user_id: string;
18
+ channel_url: string;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sendbirdGetCountPreferenceOfChannel };
9
22
  //# sourceMappingURL=get-count-preference-of-channel.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-count-preference-of-channel.d.cts","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAG0C;AAAA,cACtF,yCAAA,EAA2C,CAAA,CAAE,UAGqB;AAAA,cAElE,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-count-preference-of-channel.d.cts","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAIxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-count-preference-of-channel.d.ts
4
- declare const SendbirdGetCountPreferenceOfChannelInput: z.ZodTypeAny;
5
- declare const SendbirdGetCountPreferenceOfChannelOutput: z.ZodTypeAny;
6
- declare const sendbirdGetCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdGetCountPreferenceOfChannelInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ channel_url: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SendbirdGetCountPreferenceOfChannelOutput: z.ZodObject<{
9
+ channel_url: z.ZodNullable<z.ZodString>;
10
+ count_preference: z.ZodNullable<z.ZodEnum<{
11
+ all: "all";
12
+ unread_message_count: "unread_message_count";
13
+ mention_count: "mention_count";
14
+ }>>;
15
+ }, z.core.$loose>;
16
+ declare const sendbirdGetCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ user_id: string;
18
+ channel_url: string;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sendbirdGetCountPreferenceOfChannel };
9
22
  //# sourceMappingURL=get-count-preference-of-channel.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-count-preference-of-channel.d.mts","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAG0C;AAAA,cACtF,yCAAA,EAA2C,CAAA,CAAE,UAGqB;AAAA,cAElE,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-count-preference-of-channel.d.mts","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAIxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA"}
@@ -9,13 +9,13 @@ const sendbirdGetCountPreferenceOfChannel = action("SENDBIRD_GET_COUNT_PREFERENC
9
9
  channel_url: z.string().describe("URL (identifier) of the group channel.")
10
10
  }).describe("Request model for retrieving a user's count preference for a specific group channel."),
11
11
  output: z.object({
12
- channel_url: z.string().describe("The URL of the group channel."),
12
+ channel_url: z.string().describe("The URL of the group channel.").nullable(),
13
13
  count_preference: z.enum([
14
14
  "all",
15
15
  "unread_message_count",
16
16
  "mention_count"
17
- ]).describe("The user's count preference for the channel.")
18
- }).describe("Response model for a user's count preference of a group channel.")
17
+ ]).describe("The user's count preference for the channel.").nullable()
18
+ }).passthrough().describe("Response model for a user's count preference of a group channel.")
19
19
  });
20
20
  //#endregion
21
21
  export { sendbirdGetCountPreferenceOfChannel };
@@ -1 +1 @@
1
- {"version":3,"file":"get-count-preference-of-channel.mjs","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetCountPreferenceOfChannelInput: 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}).describe(\"Request model for retrieving a user's count preference for a specific group channel.\");\nexport const SendbirdGetCountPreferenceOfChannelOutput: z.ZodTypeAny = z.object({\n channel_url: z.string().describe(\"The URL of the group channel.\"),\n count_preference: z.enum([\"all\", \"unread_message_count\", \"mention_count\"]).describe(\"The user's count preference for the channel.\"),\n}).describe(\"Response model for a user's count preference of a group channel.\");\n\nexport const sendbirdGetCountPreferenceOfChannel = action(\"SENDBIRD_GET_COUNT_PREFERENCE_OF_CHANNEL\", {\n slug: \"sendbird-get-count-preference-of-channel\",\n name: \"Get Count Preference Of Channel\",\n description: \"Tool to retrieve a user's count preference for a specific group channel. Use after confirming the user and channel exist to determine whether to display all, unread-only, or mention-only counts.\",\n input: SendbirdGetCountPreferenceOfChannelInput,\n output: SendbirdGetCountPreferenceOfChannelOutput,\n});\n"],"mappings":";;AAaA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAboE,EAAE,OAAO;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAC3E,CAAC,CAAC,CAAC,SAAS,sFAUH;CACP,QAVqE,EAAE,OAAO;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAChE,kBAAkB,EAAE,KAAK;GAAC;GAAO;GAAwB;EAAe,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACpI,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-count-preference-of-channel.mjs","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetCountPreferenceOfChannelInput = 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}).describe(\"Request model for retrieving a user's count preference for a specific group channel.\");\nexport const SendbirdGetCountPreferenceOfChannelOutput = z.object({\n channel_url: z.string().describe(\"The URL of the group channel.\").nullable(),\n count_preference: z.enum([\"all\", \"unread_message_count\", \"mention_count\"]).describe(\"The user's count preference for the channel.\").nullable(),\n}).passthrough().describe(\"Response model for a user's count preference of a group channel.\");\n\nexport const sendbirdGetCountPreferenceOfChannel = action(\"SENDBIRD_GET_COUNT_PREFERENCE_OF_CHANNEL\", {\n slug: \"sendbird-get-count-preference-of-channel\",\n name: \"Get Count Preference Of Channel\",\n description: \"Tool to retrieve a user's count preference for a specific group channel. Use after confirming the user and channel exist to determine whether to display all, unread-only, or mention-only counts.\",\n input: SendbirdGetCountPreferenceOfChannelInput,\n output: SendbirdGetCountPreferenceOfChannelOutput,\n});\n"],"mappings":";;AAaA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAC3E,CAAC,CAAC,CAAC,SAAS,sFAUH;CACP,QAVuD,EAAE,OAAO;EAChE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC3E,kBAAkB,EAAE,KAAK;GAAC;GAAO;GAAwB;EAAe,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
@@ -21,12 +21,12 @@ const SendbirdGetNumberOfChannelsByJoinStatusInput = zod.z.object({
21
21
  ]).describe("Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.").optional()
22
22
  }).describe("Request model for fetching number of group channels by join status for a user.");
23
23
  const SendbirdGetNumberOfChannelsByJoinStatusOutput = zod.z.object({
24
- total: zod.z.number().int().describe("Total number of group channels associated with the user (sum of joined and invited channels)."),
24
+ total: zod.z.number().int().describe("Total number of group channels associated with the user (sum of joined and invited channels).").nullable(),
25
25
  joined: zod.z.number().int().default(0).describe("Number of group channels the user is currently a member of (has joined).").nullable().optional(),
26
26
  invited: zod.z.number().int().default(0).describe("Number of group channels the user has been invited to but has not yet joined.").nullable().optional(),
27
27
  invited_by_friend: zod.z.number().int().default(0).describe("Number of group channels the user has been invited to by a friend (if friend feature is enabled).").nullable().optional(),
28
28
  invited_by_non_friend: zod.z.number().int().default(0).describe("Number of group channels the user has been invited to by someone who is not a friend.").nullable().optional()
29
- }).describe("Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.");
29
+ }).passthrough().describe("Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.");
30
30
  const sendbirdGetNumberOfChannelsByJoinStatus = require_action.action("SENDBIRD_GET_NUMBER_OF_CHANNELS_BY_JOIN_STATUS", {
31
31
  slug: "sendbird-get-number-of-channels-by-join-status",
32
32
  name: "Get User Group Channel Count by Join Status",
@@ -1 +1 @@
1
- {"version":3,"file":"get-number-of-channels-by-join-status.cjs","names":["z","action"],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfChannelsByJoinStatusInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"The unique ID of the target user whose group channel count will be retrieved.\"),\n super_mode: z.enum([\"all\", \"super\", \"nonsuper\"]).describe(\"Filter by channel type. 'super' channels support up to tens of thousands of members; 'nonsuper' regular channels support up to 100 members. Defaults to 'all'.\").optional(),\n public_mode: z.enum([\"all\", \"public\", \"private\"]).describe(\"Filter by channel visibility. 'public' channels allow users to join without invitation; 'private' channels require an invitation. Defaults to 'all'.\").optional(),\n custom_types: z.array(z.string()).describe(\"Filter by custom channel types. Only channels matching one of the specified custom types will be counted. Pass an empty list or omit to include all custom types.\").optional(),\n distinct_mode: z.enum([\"all\", \"distinct\", \"nondistinct\"]).describe(\"Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.\").optional(),\n}).describe(\"Request model for fetching number of group channels by join status for a user.\");\nexport const SendbirdGetNumberOfChannelsByJoinStatusOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of group channels associated with the user (sum of joined and invited channels).\"),\n joined: z.number().int().default(0).describe(\"Number of group channels the user is currently a member of (has joined).\").nullable().optional(),\n invited: z.number().int().default(0).describe(\"Number of group channels the user has been invited to but has not yet joined.\").nullable().optional(),\n invited_by_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by a friend (if friend feature is enabled).\").nullable().optional(),\n invited_by_non_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by someone who is not a friend.\").nullable().optional(),\n}).describe(\"Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.\");\n\nexport const sendbirdGetNumberOfChannelsByJoinStatus = action(\"SENDBIRD_GET_NUMBER_OF_CHANNELS_BY_JOIN_STATUS\", {\n slug: \"sendbird-get-number-of-channels-by-join-status\",\n name: \"Get User Group Channel Count by Join Status\",\n description: \"Retrieves the number of group channels for a user, categorized by join status (joined, invited, etc.). Use this tool to get channel count statistics for a specific user, optionally filtered by channel properties like visibility (public/private), distinctness, or super mode. Returns counts of joined channels, invited channels (with friend/non-friend breakdown), and total count.\",\n input: SendbirdGetNumberOfChannelsByJoinStatusInput,\n output: SendbirdGetNumberOfChannelsByJoinStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC5G,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;CAAU,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACrO,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5N,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzN,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;AACvQ,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,gDAA8DA,IAAAA,EAAE,OAAO;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,6HAA6H;AAEzI,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-number-of-channels-by-join-status.cjs","names":["z","action"],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfChannelsByJoinStatusInput = z.object({\n user_id: z.string().describe(\"The unique ID of the target user whose group channel count will be retrieved.\"),\n super_mode: z.enum([\"all\", \"super\", \"nonsuper\"]).describe(\"Filter by channel type. 'super' channels support up to tens of thousands of members; 'nonsuper' regular channels support up to 100 members. Defaults to 'all'.\").optional(),\n public_mode: z.enum([\"all\", \"public\", \"private\"]).describe(\"Filter by channel visibility. 'public' channels allow users to join without invitation; 'private' channels require an invitation. Defaults to 'all'.\").optional(),\n custom_types: z.array(z.string()).describe(\"Filter by custom channel types. Only channels matching one of the specified custom types will be counted. Pass an empty list or omit to include all custom types.\").optional(),\n distinct_mode: z.enum([\"all\", \"distinct\", \"nondistinct\"]).describe(\"Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.\").optional(),\n}).describe(\"Request model for fetching number of group channels by join status for a user.\");\nexport const SendbirdGetNumberOfChannelsByJoinStatusOutput = z.object({\n total: z.number().int().describe(\"Total number of group channels associated with the user (sum of joined and invited channels).\").nullable(),\n joined: z.number().int().default(0).describe(\"Number of group channels the user is currently a member of (has joined).\").nullable().optional(),\n invited: z.number().int().default(0).describe(\"Number of group channels the user has been invited to but has not yet joined.\").nullable().optional(),\n invited_by_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by a friend (if friend feature is enabled).\").nullable().optional(),\n invited_by_non_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by someone who is not a friend.\").nullable().optional(),\n}).passthrough().describe(\"Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.\");\n\nexport const sendbirdGetNumberOfChannelsByJoinStatus = action(\"SENDBIRD_GET_NUMBER_OF_CHANNELS_BY_JOIN_STATUS\", {\n slug: \"sendbird-get-number-of-channels-by-join-status\",\n name: \"Get User Group Channel Count by Join Status\",\n description: \"Retrieves the number of group channels for a user, categorized by join status (joined, invited, etc.). Use this tool to get channel count statistics for a specific user, optionally filtered by channel properties like visibility (public/private), distinctness, or super mode. Returns counts of joined channels, invited channels (with friend/non-friend breakdown), and total count.\",\n input: SendbirdGetNumberOfChannelsByJoinStatusInput,\n output: SendbirdGetNumberOfChannelsByJoinStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC5G,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;CAAU,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACrO,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5N,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzN,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;AACvQ,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6HAA6H;AAEvJ,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-number-of-channels-by-join-status.d.ts
4
- declare const SendbirdGetNumberOfChannelsByJoinStatusInput: z.ZodTypeAny;
5
- declare const SendbirdGetNumberOfChannelsByJoinStatusOutput: z.ZodTypeAny;
6
- declare const sendbirdGetNumberOfChannelsByJoinStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdGetNumberOfChannelsByJoinStatusInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ super_mode: z.ZodOptional<z.ZodEnum<{
7
+ all: "all";
8
+ super: "super";
9
+ nonsuper: "nonsuper";
10
+ }>>;
11
+ public_mode: z.ZodOptional<z.ZodEnum<{
12
+ all: "all";
13
+ public: "public";
14
+ private: "private";
15
+ }>>;
16
+ custom_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
+ distinct_mode: z.ZodOptional<z.ZodEnum<{
18
+ all: "all";
19
+ distinct: "distinct";
20
+ nondistinct: "nondistinct";
21
+ }>>;
22
+ }, z.core.$strip>;
23
+ declare const SendbirdGetNumberOfChannelsByJoinStatusOutput: z.ZodObject<{
24
+ total: z.ZodNullable<z.ZodNumber>;
25
+ joined: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
26
+ invited: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
27
+ invited_by_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
28
+ invited_by_non_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
29
+ }, z.core.$loose>;
30
+ declare const sendbirdGetNumberOfChannelsByJoinStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
31
+ user_id: string;
32
+ super_mode?: "all" | "super" | "nonsuper" | undefined;
33
+ public_mode?: "all" | "public" | "private" | undefined;
34
+ custom_types?: string[] | undefined;
35
+ distinct_mode?: "all" | "distinct" | "nondistinct" | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { sendbirdGetNumberOfChannelsByJoinStatus };
9
39
  //# sourceMappingURL=get-number-of-channels-by-join-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-number-of-channels-by-join-status.d.cts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;cAIa,4CAAA,EAA8C,CAAA,CAAE,UAMgC;AAAA,cAChF,6CAAA,EAA+C,CAAA,CAAE,UAM4E;AAAA,cAE7H,uCAAA,gCAAuC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-number-of-channels-by-join-status.d.cts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAO5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;cAQ7C,uCAAA,gCAAuC,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-number-of-channels-by-join-status.d.ts
4
- declare const SendbirdGetNumberOfChannelsByJoinStatusInput: z.ZodTypeAny;
5
- declare const SendbirdGetNumberOfChannelsByJoinStatusOutput: z.ZodTypeAny;
6
- declare const sendbirdGetNumberOfChannelsByJoinStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendbirdGetNumberOfChannelsByJoinStatusInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ super_mode: z.ZodOptional<z.ZodEnum<{
7
+ all: "all";
8
+ super: "super";
9
+ nonsuper: "nonsuper";
10
+ }>>;
11
+ public_mode: z.ZodOptional<z.ZodEnum<{
12
+ all: "all";
13
+ public: "public";
14
+ private: "private";
15
+ }>>;
16
+ custom_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
+ distinct_mode: z.ZodOptional<z.ZodEnum<{
18
+ all: "all";
19
+ distinct: "distinct";
20
+ nondistinct: "nondistinct";
21
+ }>>;
22
+ }, z.core.$strip>;
23
+ declare const SendbirdGetNumberOfChannelsByJoinStatusOutput: z.ZodObject<{
24
+ total: z.ZodNullable<z.ZodNumber>;
25
+ joined: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
26
+ invited: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
27
+ invited_by_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
28
+ invited_by_non_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
29
+ }, z.core.$loose>;
30
+ declare const sendbirdGetNumberOfChannelsByJoinStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
31
+ user_id: string;
32
+ super_mode?: "all" | "super" | "nonsuper" | undefined;
33
+ public_mode?: "all" | "public" | "private" | undefined;
34
+ custom_types?: string[] | undefined;
35
+ distinct_mode?: "all" | "distinct" | "nondistinct" | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { sendbirdGetNumberOfChannelsByJoinStatus };
9
39
  //# sourceMappingURL=get-number-of-channels-by-join-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-number-of-channels-by-join-status.d.mts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;cAIa,4CAAA,EAA8C,CAAA,CAAE,UAMgC;AAAA,cAChF,6CAAA,EAA+C,CAAA,CAAE,UAM4E;AAAA,cAE7H,uCAAA,gCAAuC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-number-of-channels-by-join-status.d.mts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAO5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;cAQ7C,uCAAA,gCAAuC,wBAAA"}
@@ -24,12 +24,12 @@ const sendbirdGetNumberOfChannelsByJoinStatus = action("SENDBIRD_GET_NUMBER_OF_C
24
24
  ]).describe("Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.").optional()
25
25
  }).describe("Request model for fetching number of group channels by join status for a user."),
26
26
  output: z.object({
27
- total: z.number().int().describe("Total number of group channels associated with the user (sum of joined and invited channels)."),
27
+ total: z.number().int().describe("Total number of group channels associated with the user (sum of joined and invited channels).").nullable(),
28
28
  joined: z.number().int().default(0).describe("Number of group channels the user is currently a member of (has joined).").nullable().optional(),
29
29
  invited: z.number().int().default(0).describe("Number of group channels the user has been invited to but has not yet joined.").nullable().optional(),
30
30
  invited_by_friend: z.number().int().default(0).describe("Number of group channels the user has been invited to by a friend (if friend feature is enabled).").nullable().optional(),
31
31
  invited_by_non_friend: z.number().int().default(0).describe("Number of group channels the user has been invited to by someone who is not a friend.").nullable().optional()
32
- }).describe("Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.")
32
+ }).passthrough().describe("Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.")
33
33
  });
34
34
  //#endregion
35
35
  export { sendbirdGetNumberOfChannelsByJoinStatus };