@keystrokehq/sendbird 0.1.2 → 0.1.4

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 (223) hide show
  1. package/dist/actions/add-members-group-channel.cjs +2 -2
  2. package/dist/actions/add-members-group-channel.cjs.map +1 -1
  3. package/dist/actions/add-members-group-channel.d.cts +2 -2
  4. package/dist/actions/add-members-group-channel.d.mts +2 -2
  5. package/dist/actions/add-members-group-channel.mjs +2 -2
  6. package/dist/actions/add-members-group-channel.mjs.map +1 -1
  7. package/dist/actions/ban-user-from-group-channel.cjs +2 -2
  8. package/dist/actions/ban-user-from-group-channel.cjs.map +1 -1
  9. package/dist/actions/ban-user-from-group-channel.d.cts +2 -2
  10. package/dist/actions/ban-user-from-group-channel.d.mts +2 -2
  11. package/dist/actions/ban-user-from-group-channel.mjs +2 -2
  12. package/dist/actions/ban-user-from-group-channel.mjs.map +1 -1
  13. package/dist/actions/create-channel.cjs +6 -6
  14. package/dist/actions/create-channel.cjs.map +1 -1
  15. package/dist/actions/create-channel.d.cts +7 -7
  16. package/dist/actions/create-channel.d.mts +7 -7
  17. package/dist/actions/create-channel.mjs +6 -6
  18. package/dist/actions/create-channel.mjs.map +1 -1
  19. package/dist/actions/create-user.cjs +3 -3
  20. package/dist/actions/create-user.cjs.map +1 -1
  21. package/dist/actions/create-user.d.cts +4 -4
  22. package/dist/actions/create-user.d.mts +4 -4
  23. package/dist/actions/create-user.mjs +3 -3
  24. package/dist/actions/create-user.mjs.map +1 -1
  25. package/dist/actions/delete-channel.cjs +1 -1
  26. package/dist/actions/delete-channel.cjs.map +1 -1
  27. package/dist/actions/delete-channel.d.cts +1 -1
  28. package/dist/actions/delete-channel.d.mts +1 -1
  29. package/dist/actions/delete-channel.mjs +1 -1
  30. package/dist/actions/delete-channel.mjs.map +1 -1
  31. package/dist/actions/delete-message.cjs +1 -1
  32. package/dist/actions/delete-message.cjs.map +1 -1
  33. package/dist/actions/delete-message.d.cts +1 -1
  34. package/dist/actions/delete-message.d.mts +1 -1
  35. package/dist/actions/delete-message.mjs +1 -1
  36. package/dist/actions/delete-message.mjs.map +1 -1
  37. package/dist/actions/delete-user.cjs +1 -1
  38. package/dist/actions/delete-user.cjs.map +1 -1
  39. package/dist/actions/delete-user.d.cts +1 -1
  40. package/dist/actions/delete-user.d.cts.map +1 -1
  41. package/dist/actions/delete-user.d.mts +1 -1
  42. package/dist/actions/delete-user.d.mts.map +1 -1
  43. package/dist/actions/delete-user.mjs +1 -1
  44. package/dist/actions/delete-user.mjs.map +1 -1
  45. package/dist/actions/get-count-preference-of-channel.cjs +1 -1
  46. package/dist/actions/get-count-preference-of-channel.cjs.map +1 -1
  47. package/dist/actions/get-count-preference-of-channel.d.cts +2 -2
  48. package/dist/actions/get-count-preference-of-channel.d.mts +2 -2
  49. package/dist/actions/get-count-preference-of-channel.mjs +1 -1
  50. package/dist/actions/get-count-preference-of-channel.mjs.map +1 -1
  51. package/dist/actions/get-number-of-channels-by-join-status.cjs +1 -1
  52. package/dist/actions/get-number-of-channels-by-join-status.cjs.map +1 -1
  53. package/dist/actions/get-number-of-channels-by-join-status.d.cts +1 -1
  54. package/dist/actions/get-number-of-channels-by-join-status.d.mts +1 -1
  55. package/dist/actions/get-number-of-channels-by-join-status.mjs +1 -1
  56. package/dist/actions/get-number-of-channels-by-join-status.mjs.map +1 -1
  57. package/dist/actions/get-number-of-unread-items.cjs +1 -1
  58. package/dist/actions/get-number-of-unread-items.cjs.map +1 -1
  59. package/dist/actions/get-number-of-unread-items.d.cts +1 -1
  60. package/dist/actions/get-number-of-unread-items.d.mts +1 -1
  61. package/dist/actions/get-number-of-unread-items.mjs +1 -1
  62. package/dist/actions/get-number-of-unread-items.mjs.map +1 -1
  63. package/dist/actions/issue-session-token.cjs +1 -1
  64. package/dist/actions/issue-session-token.cjs.map +1 -1
  65. package/dist/actions/issue-session-token.d.cts +1 -1
  66. package/dist/actions/issue-session-token.d.mts +1 -1
  67. package/dist/actions/issue-session-token.mjs +1 -1
  68. package/dist/actions/issue-session-token.mjs.map +1 -1
  69. package/dist/actions/leave-group-channels.cjs +1 -1
  70. package/dist/actions/leave-group-channels.cjs.map +1 -1
  71. package/dist/actions/leave-group-channels.d.cts +1 -1
  72. package/dist/actions/leave-group-channels.d.mts +1 -1
  73. package/dist/actions/leave-group-channels.mjs +1 -1
  74. package/dist/actions/leave-group-channels.mjs.map +1 -1
  75. package/dist/actions/list-banned-members.cjs +2 -2
  76. package/dist/actions/list-banned-members.cjs.map +1 -1
  77. package/dist/actions/list-banned-members.d.cts +2 -2
  78. package/dist/actions/list-banned-members.d.mts +2 -2
  79. package/dist/actions/list-banned-members.mjs +2 -2
  80. package/dist/actions/list-banned-members.mjs.map +1 -1
  81. package/dist/actions/list-group-channel-messages.cjs +9 -9
  82. package/dist/actions/list-group-channel-messages.cjs.map +1 -1
  83. package/dist/actions/list-group-channel-messages.d.cts +11 -11
  84. package/dist/actions/list-group-channel-messages.d.mts +11 -11
  85. package/dist/actions/list-group-channel-messages.mjs +9 -9
  86. package/dist/actions/list-group-channel-messages.mjs.map +1 -1
  87. package/dist/actions/list-group-channels.cjs +6 -6
  88. package/dist/actions/list-group-channels.cjs.map +1 -1
  89. package/dist/actions/list-group-channels.d.cts +7 -7
  90. package/dist/actions/list-group-channels.d.mts +7 -7
  91. package/dist/actions/list-group-channels.mjs +6 -6
  92. package/dist/actions/list-group-channels.mjs.map +1 -1
  93. package/dist/actions/list-members-group-channel.cjs +2 -2
  94. package/dist/actions/list-members-group-channel.cjs.map +1 -1
  95. package/dist/actions/list-members-group-channel.d.cts +2 -2
  96. package/dist/actions/list-members-group-channel.d.mts +2 -2
  97. package/dist/actions/list-members-group-channel.mjs +2 -2
  98. package/dist/actions/list-members-group-channel.mjs.map +1 -1
  99. package/dist/actions/list-operators-custom-channel-type.cjs +3 -3
  100. package/dist/actions/list-operators-custom-channel-type.cjs.map +1 -1
  101. package/dist/actions/list-operators-custom-channel-type.d.cts +3 -3
  102. package/dist/actions/list-operators-custom-channel-type.d.mts +3 -3
  103. package/dist/actions/list-operators-custom-channel-type.mjs +3 -3
  104. package/dist/actions/list-operators-custom-channel-type.mjs.map +1 -1
  105. package/dist/actions/list-operators-group-channel.cjs +2 -2
  106. package/dist/actions/list-operators-group-channel.cjs.map +1 -1
  107. package/dist/actions/list-operators-group-channel.d.cts +2 -2
  108. package/dist/actions/list-operators-group-channel.d.mts +2 -2
  109. package/dist/actions/list-operators-group-channel.mjs +2 -2
  110. package/dist/actions/list-operators-group-channel.mjs.map +1 -1
  111. package/dist/actions/list-operators-open-channel.cjs +3 -3
  112. package/dist/actions/list-operators-open-channel.cjs.map +1 -1
  113. package/dist/actions/list-operators-open-channel.d.cts +3 -3
  114. package/dist/actions/list-operators-open-channel.d.mts +3 -3
  115. package/dist/actions/list-operators-open-channel.mjs +3 -3
  116. package/dist/actions/list-operators-open-channel.mjs.map +1 -1
  117. package/dist/actions/list-users.cjs +3 -3
  118. package/dist/actions/list-users.cjs.map +1 -1
  119. package/dist/actions/list-users.d.cts +3 -3
  120. package/dist/actions/list-users.d.mts +3 -3
  121. package/dist/actions/list-users.mjs +3 -3
  122. package/dist/actions/list-users.mjs.map +1 -1
  123. package/dist/actions/mark-all-user-messages-as-read.cjs +1 -1
  124. package/dist/actions/mark-all-user-messages-as-read.cjs.map +1 -1
  125. package/dist/actions/mark-all-user-messages-as-read.d.cts +1 -1
  126. package/dist/actions/mark-all-user-messages-as-read.d.mts +1 -1
  127. package/dist/actions/mark-all-user-messages-as-read.mjs +1 -1
  128. package/dist/actions/mark-all-user-messages-as-read.mjs.map +1 -1
  129. package/dist/actions/mute-user.cjs +1 -1
  130. package/dist/actions/mute-user.cjs.map +1 -1
  131. package/dist/actions/mute-user.d.cts +1 -1
  132. package/dist/actions/mute-user.d.cts.map +1 -1
  133. package/dist/actions/mute-user.d.mts +1 -1
  134. package/dist/actions/mute-user.d.mts.map +1 -1
  135. package/dist/actions/mute-user.mjs +1 -1
  136. package/dist/actions/mute-user.mjs.map +1 -1
  137. package/dist/actions/register-operators-custom-channel-type.cjs +3 -3
  138. package/dist/actions/register-operators-custom-channel-type.cjs.map +1 -1
  139. package/dist/actions/register-operators-custom-channel-type.d.cts +3 -3
  140. package/dist/actions/register-operators-custom-channel-type.d.mts +3 -3
  141. package/dist/actions/register-operators-custom-channel-type.mjs +3 -3
  142. package/dist/actions/register-operators-custom-channel-type.mjs.map +1 -1
  143. package/dist/actions/register-operators-group-channel.cjs +2 -2
  144. package/dist/actions/register-operators-group-channel.cjs.map +1 -1
  145. package/dist/actions/register-operators-group-channel.d.cts +2 -2
  146. package/dist/actions/register-operators-group-channel.d.mts +2 -2
  147. package/dist/actions/register-operators-group-channel.mjs +2 -2
  148. package/dist/actions/register-operators-group-channel.mjs.map +1 -1
  149. package/dist/actions/register-operators-open-channel.cjs +2 -2
  150. package/dist/actions/register-operators-open-channel.cjs.map +1 -1
  151. package/dist/actions/register-operators-open-channel.d.cts +2 -2
  152. package/dist/actions/register-operators-open-channel.d.mts +2 -2
  153. package/dist/actions/register-operators-open-channel.mjs +2 -2
  154. package/dist/actions/register-operators-open-channel.mjs.map +1 -1
  155. package/dist/actions/revoke-all-session-tokens.cjs +1 -1
  156. package/dist/actions/revoke-all-session-tokens.cjs.map +1 -1
  157. package/dist/actions/revoke-all-session-tokens.d.cts +1 -1
  158. package/dist/actions/revoke-all-session-tokens.d.mts +1 -1
  159. package/dist/actions/revoke-all-session-tokens.mjs +1 -1
  160. package/dist/actions/revoke-all-session-tokens.mjs.map +1 -1
  161. package/dist/actions/send-message.cjs +5 -5
  162. package/dist/actions/send-message.cjs.map +1 -1
  163. package/dist/actions/send-message.d.cts +6 -5
  164. package/dist/actions/send-message.d.mts +6 -5
  165. package/dist/actions/send-message.mjs +5 -5
  166. package/dist/actions/send-message.mjs.map +1 -1
  167. package/dist/actions/unban-user.cjs +1 -1
  168. package/dist/actions/unban-user.cjs.map +1 -1
  169. package/dist/actions/unban-user.d.cts +1 -1
  170. package/dist/actions/unban-user.d.cts.map +1 -1
  171. package/dist/actions/unban-user.d.mts +1 -1
  172. package/dist/actions/unban-user.d.mts.map +1 -1
  173. package/dist/actions/unban-user.mjs +1 -1
  174. package/dist/actions/unban-user.mjs.map +1 -1
  175. package/dist/actions/unmute-user.cjs +1 -1
  176. package/dist/actions/unmute-user.cjs.map +1 -1
  177. package/dist/actions/unmute-user.d.cts +1 -1
  178. package/dist/actions/unmute-user.d.mts +1 -1
  179. package/dist/actions/unmute-user.mjs +1 -1
  180. package/dist/actions/unmute-user.mjs.map +1 -1
  181. package/dist/actions/unregister-operators-custom-channel-type.cjs +2 -2
  182. package/dist/actions/unregister-operators-custom-channel-type.cjs.map +1 -1
  183. package/dist/actions/unregister-operators-custom-channel-type.d.cts +2 -2
  184. package/dist/actions/unregister-operators-custom-channel-type.d.mts +2 -2
  185. package/dist/actions/unregister-operators-custom-channel-type.mjs +2 -2
  186. package/dist/actions/unregister-operators-custom-channel-type.mjs.map +1 -1
  187. package/dist/actions/update-count-preference-of-channel.cjs +1 -1
  188. package/dist/actions/update-count-preference-of-channel.cjs.map +1 -1
  189. package/dist/actions/update-count-preference-of-channel.d.cts +1 -1
  190. package/dist/actions/update-count-preference-of-channel.d.mts +1 -1
  191. package/dist/actions/update-count-preference-of-channel.mjs +1 -1
  192. package/dist/actions/update-count-preference-of-channel.mjs.map +1 -1
  193. package/dist/actions/update-user.cjs +1 -1
  194. package/dist/actions/update-user.cjs.map +1 -1
  195. package/dist/actions/update-user.d.cts +2 -2
  196. package/dist/actions/update-user.d.mts +2 -2
  197. package/dist/actions/update-user.mjs +1 -1
  198. package/dist/actions/update-user.mjs.map +1 -1
  199. package/dist/actions/view-group-channel.cjs +6 -6
  200. package/dist/actions/view-group-channel.cjs.map +1 -1
  201. package/dist/actions/view-group-channel.d.cts +6 -6
  202. package/dist/actions/view-group-channel.d.mts +6 -6
  203. package/dist/actions/view-group-channel.mjs +6 -6
  204. package/dist/actions/view-group-channel.mjs.map +1 -1
  205. package/dist/actions/view-message.cjs +8 -8
  206. package/dist/actions/view-message.cjs.map +1 -1
  207. package/dist/actions/view-message.d.cts +10 -10
  208. package/dist/actions/view-message.d.mts +10 -10
  209. package/dist/actions/view-message.mjs +8 -8
  210. package/dist/actions/view-message.mjs.map +1 -1
  211. package/dist/actions/view-user.cjs +1 -1
  212. package/dist/actions/view-user.cjs.map +1 -1
  213. package/dist/actions/view-user.d.cts +1 -1
  214. package/dist/actions/view-user.d.mts +1 -1
  215. package/dist/actions/view-user.mjs +1 -1
  216. package/dist/actions/view-user.mjs.map +1 -1
  217. package/dist/catalog.cjs +1 -1
  218. package/dist/catalog.cjs.map +1 -1
  219. package/dist/catalog.d.cts +1 -1
  220. package/dist/catalog.d.mts +1 -1
  221. package/dist/catalog.mjs +1 -1
  222. package/dist/catalog.mjs.map +1 -1
  223. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"unban-user.cjs","names":["z","action"],"sources":["../../src/actions/unban-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnbanUserInput = z.object({\n channel_url: z.string().describe(\"The URL of the group channel from which to unban the user.\"),\n banned_user_id: z.string().describe(\"The unique ID of the banned user to unban.\"),\n}).describe(\"Request model for unbanning a user from a Sendbird group channel.\");\nexport const SendbirdUnbanUserOutput = z.object({}).describe(\"Response model for unbanning a user (empty on success).\");\n\nexport const sendbirdUnbanUser = action(\"SENDBIRD_UNBAN_USER\", {\n slug: \"sendbird-unban-user\",\n name: \"Unban User from Group Channel\",\n description: \"Tool to unban a user from a group channel. Use when reinstating a previously banned user. Execute after confirming the user is currently banned.\",\n input: SendbirdUnbanUserInput,\n output: SendbirdUnbanUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC7F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAClF,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAEtH,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unban-user.cjs","names":["z","action"],"sources":["../../src/actions/unban-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnbanUserInput = z.object({\n channel_url: z.string().describe(\"The URL of the group channel from which to unban the user.\"),\n banned_user_id: z.string().describe(\"The unique ID of the banned user to unban.\"),\n}).describe(\"Request model for unbanning a user from a Sendbird group channel.\");\nexport const SendbirdUnbanUserOutput = z.record(z.string(), z.unknown()).describe(\"Response model for unbanning a user (empty on success).\");\n\nexport const sendbirdUnbanUser = action(\"SENDBIRD_UNBAN_USER\", {\n slug: \"sendbird-unban-user\",\n name: \"Unban User from Group Channel\",\n description: \"Tool to unban a user from a group channel. Use when reinstating a previously banned user. Execute after confirming the user is currently banned.\",\n input: SendbirdUnbanUserInput,\n output: SendbirdUnbanUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC7F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAClF,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,0BAA0BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAE3I,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,7 +5,7 @@ declare const SendbirdUnbanUserInput: z.ZodObject<{
5
5
  channel_url: z.ZodString;
6
6
  banned_user_id: z.ZodString;
7
7
  }, z.core.$strip>;
8
- declare const SendbirdUnbanUserOutput: z.ZodObject<{}, z.core.$strip>;
8
+ declare const SendbirdUnbanUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
9
  declare const sendbirdUnbanUser: import("@keystrokehq/action").WorkflowActionDefinition<{
10
10
  channel_url: string;
11
11
  banned_user_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"unban-user.d.cts","names":[],"sources":["../../src/actions/unban-user.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"unban-user.d.cts","names":[],"sources":["../../src/actions/unban-user.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
@@ -5,7 +5,7 @@ declare const SendbirdUnbanUserInput: z.ZodObject<{
5
5
  channel_url: z.ZodString;
6
6
  banned_user_id: z.ZodString;
7
7
  }, z.core.$strip>;
8
- declare const SendbirdUnbanUserOutput: z.ZodObject<{}, z.core.$strip>;
8
+ declare const SendbirdUnbanUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
9
  declare const sendbirdUnbanUser: import("@keystrokehq/action").WorkflowActionDefinition<{
10
10
  channel_url: string;
11
11
  banned_user_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"unban-user.d.mts","names":[],"sources":["../../src/actions/unban-user.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"unban-user.d.mts","names":[],"sources":["../../src/actions/unban-user.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
@@ -8,7 +8,7 @@ const sendbirdUnbanUser = action("SENDBIRD_UNBAN_USER", {
8
8
  channel_url: z.string().describe("The URL of the group channel from which to unban the user."),
9
9
  banned_user_id: z.string().describe("The unique ID of the banned user to unban.")
10
10
  }).describe("Request model for unbanning a user from a Sendbird group channel."),
11
- output: z.object({}).describe("Response model for unbanning a user (empty on success).")
11
+ output: z.record(z.string(), z.unknown()).describe("Response model for unbanning a user (empty on success).")
12
12
  });
13
13
  //#endregion
14
14
  export { sendbirdUnbanUser };
@@ -1 +1 @@
1
- {"version":3,"file":"unban-user.mjs","names":[],"sources":["../../src/actions/unban-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnbanUserInput = z.object({\n channel_url: z.string().describe(\"The URL of the group channel from which to unban the user.\"),\n banned_user_id: z.string().describe(\"The unique ID of the banned user to unban.\"),\n}).describe(\"Request model for unbanning a user from a Sendbird group channel.\");\nexport const SendbirdUnbanUserOutput = z.object({}).describe(\"Response model for unbanning a user (empty on success).\");\n\nexport const sendbirdUnbanUser = action(\"SENDBIRD_UNBAN_USER\", {\n slug: \"sendbird-unban-user\",\n name: \"Unban User from Group Channel\",\n description: \"Tool to unban a user from a group channel. Use when reinstating a previously banned user. Execute after confirming the user is currently banned.\",\n input: SendbirdUnbanUserInput,\n output: SendbirdUnbanUserOutput,\n});\n"],"mappings":";;AAUA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVoC,EAAE,OAAO;EAC7C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EAC7F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAClF,CAAC,CAAC,CAAC,SAAS,mEAOH;CACP,QAPqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAOnD;AACV,CAAC"}
1
+ {"version":3,"file":"unban-user.mjs","names":[],"sources":["../../src/actions/unban-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnbanUserInput = z.object({\n channel_url: z.string().describe(\"The URL of the group channel from which to unban the user.\"),\n banned_user_id: z.string().describe(\"The unique ID of the banned user to unban.\"),\n}).describe(\"Request model for unbanning a user from a Sendbird group channel.\");\nexport const SendbirdUnbanUserOutput = z.record(z.string(), z.unknown()).describe(\"Response model for unbanning a user (empty on success).\");\n\nexport const sendbirdUnbanUser = action(\"SENDBIRD_UNBAN_USER\", {\n slug: \"sendbird-unban-user\",\n name: \"Unban User from Group Channel\",\n description: \"Tool to unban a user from a group channel. Use when reinstating a previously banned user. Execute after confirming the user is currently banned.\",\n input: SendbirdUnbanUserInput,\n output: SendbirdUnbanUserOutput,\n});\n"],"mappings":";;AAUA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVoC,EAAE,OAAO;EAC7C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EAC7F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAClF,CAAC,CAAC,CAAC,SAAS,mEAOH;CACP,QAPqC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAOxE;AACV,CAAC"}
@@ -12,7 +12,7 @@ const SendbirdUnmuteUserOutput = zod.z.object({
12
12
  profile_url: zod.z.string().describe("URL of the user's profile image.").nullable().optional(),
13
13
  last_seen_at: zod.z.number().int().describe("Timestamp (ms) when the user was last seen.").nullable().optional(),
14
14
  is_blocked_by_me: zod.z.boolean().describe("Indicates if the user is blocked by the requester.").nullable().optional()
15
- }).describe("Response model for unmuting a user in a group channel.");
15
+ }).passthrough().describe("Response model for unmuting a user in a group channel.");
16
16
  const sendbirdUnmuteUser = require_action.action("SENDBIRD_UNMUTE_USER", {
17
17
  slug: "sendbird-unmute-user",
18
18
  name: "Unmute User",
@@ -1 +1 @@
1
- {"version":3,"file":"unmute-user.cjs","names":["z","action"],"sources":["../../src/actions/unmute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnmuteUserInput = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to unmute the user in.\"),\n muted_user_id: z.string().describe(\"User ID to unmute from the channel.\"),\n}).describe(\"Request model for unmuting a user in a Sendbird group channel.\");\nexport const SendbirdUnmuteUserOutput = z.object({\n user_id: z.string().describe(\"ID of the user being unmuted.\").nullable().optional(),\n nickname: z.string().describe(\"User's nickname.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user is currently active in Sendbird.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen.\").nullable().optional(),\n is_blocked_by_me: z.boolean().describe(\"Indicates if the user is blocked by the requester.\").nullable().optional(),\n}).describe(\"Response model for unmuting a user in a group channel.\");\n\nexport const sendbirdUnmuteUser = action(\"SENDBIRD_UNMUTE_USER\", {\n slug: \"sendbird-unmute-user\",\n name: \"Unmute User\",\n description: \"Tool to unmute a user in a group channel. Use when you want to restore a muted user's ability to send messages after confirming they are muted.\",\n input: SendbirdUnmuteUserInput,\n output: SendbirdUnmuteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AAC1E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unmute-user.cjs","names":["z","action"],"sources":["../../src/actions/unmute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnmuteUserInput = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to unmute the user in.\"),\n muted_user_id: z.string().describe(\"User ID to unmute from the channel.\"),\n}).describe(\"Request model for unmuting a user in a Sendbird group channel.\");\nexport const SendbirdUnmuteUserOutput = z.object({\n user_id: z.string().describe(\"ID of the user being unmuted.\").nullable().optional(),\n nickname: z.string().describe(\"User's nickname.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user is currently active in Sendbird.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen.\").nullable().optional(),\n is_blocked_by_me: z.boolean().describe(\"Indicates if the user is blocked by the requester.\").nullable().optional(),\n}).passthrough().describe(\"Response model for unmuting a user in a group channel.\");\n\nexport const sendbirdUnmuteUser = action(\"SENDBIRD_UNMUTE_USER\", {\n slug: \"sendbird-unmute-user\",\n name: \"Unmute User\",\n description: \"Tool to unmute a user in a group channel. Use when you want to restore a muted user's ability to send messages after confirming they are muted.\",\n input: SendbirdUnmuteUserInput,\n output: SendbirdUnmuteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AAC1E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const SendbirdUnmuteUserOutput: z.ZodObject<{
12
12
  profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  is_blocked_by_me: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const sendbirdUnmuteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  channel_url: string;
18
18
  muted_user_id: string;
@@ -12,7 +12,7 @@ declare const SendbirdUnmuteUserOutput: z.ZodObject<{
12
12
  profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  is_blocked_by_me: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const sendbirdUnmuteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  channel_url: string;
18
18
  muted_user_id: string;
@@ -15,7 +15,7 @@ const sendbirdUnmuteUser = action("SENDBIRD_UNMUTE_USER", {
15
15
  profile_url: z.string().describe("URL of the user's profile image.").nullable().optional(),
16
16
  last_seen_at: z.number().int().describe("Timestamp (ms) when the user was last seen.").nullable().optional(),
17
17
  is_blocked_by_me: z.boolean().describe("Indicates if the user is blocked by the requester.").nullable().optional()
18
- }).describe("Response model for unmuting a user in a group channel.")
18
+ }).passthrough().describe("Response model for unmuting a user in a group channel.")
19
19
  });
20
20
  //#endregion
21
21
  export { sendbirdUnmuteUser };
@@ -1 +1 @@
1
- {"version":3,"file":"unmute-user.mjs","names":[],"sources":["../../src/actions/unmute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnmuteUserInput = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to unmute the user in.\"),\n muted_user_id: z.string().describe(\"User ID to unmute from the channel.\"),\n}).describe(\"Request model for unmuting a user in a Sendbird group channel.\");\nexport const SendbirdUnmuteUserOutput = z.object({\n user_id: z.string().describe(\"ID of the user being unmuted.\").nullable().optional(),\n nickname: z.string().describe(\"User's nickname.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user is currently active in Sendbird.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen.\").nullable().optional(),\n is_blocked_by_me: z.boolean().describe(\"Indicates if the user is blocked by the requester.\").nullable().optional(),\n}).describe(\"Response model for unmuting a user in a group channel.\");\n\nexport const sendbirdUnmuteUser = action(\"SENDBIRD_UNMUTE_USER\", {\n slug: \"sendbird-unmute-user\",\n name: \"Unmute User\",\n description: \"Tool to unmute a user in a group channel. Use when you want to restore a muted user's ability to send messages after confirming they are muted.\",\n input: SendbirdUnmuteUserInput,\n output: SendbirdUnmuteUserOutput,\n});\n"],"mappings":";;AAiBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBqC,EAAE,OAAO;EAC9C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACrG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC1E,CAAC,CAAC,CAAC,SAAS,gEAcH;CACP,QAdsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"unmute-user.mjs","names":[],"sources":["../../src/actions/unmute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUnmuteUserInput = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to unmute the user in.\"),\n muted_user_id: z.string().describe(\"User ID to unmute from the channel.\"),\n}).describe(\"Request model for unmuting a user in a Sendbird group channel.\");\nexport const SendbirdUnmuteUserOutput = z.object({\n user_id: z.string().describe(\"ID of the user being unmuted.\").nullable().optional(),\n nickname: z.string().describe(\"User's nickname.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user is currently active in Sendbird.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen.\").nullable().optional(),\n is_blocked_by_me: z.boolean().describe(\"Indicates if the user is blocked by the requester.\").nullable().optional(),\n}).passthrough().describe(\"Response model for unmuting a user in a group channel.\");\n\nexport const sendbirdUnmuteUser = action(\"SENDBIRD_UNMUTE_USER\", {\n slug: \"sendbird-unmute-user\",\n name: \"Unmute User\",\n description: \"Tool to unmute a user in a group channel. Use when you want to restore a muted user's ability to send messages after confirming they are muted.\",\n input: SendbirdUnmuteUserInput,\n output: SendbirdUnmuteUserOutput,\n});\n"],"mappings":";;AAiBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBqC,EAAE,OAAO;EAC9C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACrG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC1E,CAAC,CAAC,CAAC,SAAS,gEAcH;CACP,QAdsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -8,8 +8,8 @@ const SendbirdUnregisterOperatorsCustomChannelTypeInput = zod.z.object({
8
8
  const SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema = zod.z.object({
9
9
  channel_url: zod.z.string().describe("URL-encoded channel URL where operators were removed").nullable(),
10
10
  operator_ids: zod.z.array(zod.z.string()).describe("List of current operator IDs in the channel after removal")
11
- }).describe("Model representing a channel where operators were unregistered.");
12
- const SendbirdUnregisterOperatorsCustomChannelTypeOutput = zod.z.object({ affected_channels: zod.z.array(SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema).describe("Channels impacted and their remaining operators").nullable().optional() }).describe("Response model for unregistering operators by custom channel type.");
11
+ }).passthrough().describe("Model representing a channel where operators were unregistered.");
12
+ const SendbirdUnregisterOperatorsCustomChannelTypeOutput = zod.z.object({ affected_channels: zod.z.array(SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema).describe("Channels impacted and their remaining operators").nullable().optional() }).passthrough().describe("Response model for unregistering operators by custom channel type.");
13
13
  const sendbirdUnregisterOperatorsCustomChannelType = require_action.action("SENDBIRD_UNREGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE", {
14
14
  slug: "sendbird-unregister-operators-custom-channel-type",
15
15
  name: "Unregister Operators Custom Channel Type",
@@ -1 +1 @@
1
- {"version":3,"file":"unregister-operators-custom-channel-type.cjs","names":["z","action"],"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}).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}).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,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC7F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,qEAAqEA,IAAAA,EAAE,OAAO;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACxG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,qDAAqDA,IAAAA,EAAE,OAAO,EACzE,mBAAmBA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjL,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,+CAA+CC,eAAAA,OAAO,qDAAqD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unregister-operators-custom-channel-type.cjs","names":["z","action"],"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,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC7F,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,qEAAqEA,IAAAA,EAAE,OAAO;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,qDAAqDA,IAAAA,EAAE,OAAO,EACzE,mBAAmBA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,+CAA+CC,eAAAA,OAAO,qDAAqD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,8 +9,8 @@ declare const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
9
9
  affected_channels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
10
  channel_url: z.ZodNullable<z.ZodString>;
11
11
  operator_ids: z.ZodArray<z.ZodString>;
12
- }, z.core.$strip>>>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
14
  declare const sendbirdUnregisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  user_ids: string[];
16
16
  custom_type: string;
@@ -9,8 +9,8 @@ declare const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
9
9
  affected_channels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
10
  channel_url: z.ZodNullable<z.ZodString>;
11
11
  operator_ids: z.ZodArray<z.ZodString>;
12
- }, z.core.$strip>>>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>>>;
13
+ }, z.core.$loose>;
14
14
  declare const sendbirdUnregisterOperatorsCustomChannelType: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  user_ids: string[];
16
16
  custom_type: string;
@@ -8,13 +8,13 @@ const SendbirdUnregisterOperatorsCustomChannelTypeInput = z.object({
8
8
  const SendbirdUnregisterOperatorsCustomChannelType_AffectedChannelSchema = z.object({
9
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.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}).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}).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,SAAS,iEAAiE;AAK7E,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,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"}
@@ -14,7 +14,7 @@ const SendbirdUpdateCountPreferenceOfChannelInput = zod.z.object({
14
14
  const SendbirdUpdateCountPreferenceOfChannelOutput = zod.z.object({
15
15
  channel_url: zod.z.string().describe("URL identifier of the group channel.").nullable(),
16
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
- }).describe("Response model for updating a user's unread count preference.");
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.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}).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,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"}
@@ -14,7 +14,7 @@ declare const SendbirdUpdateCountPreferenceOfChannelInput: z.ZodObject<{
14
14
  declare const SendbirdUpdateCountPreferenceOfChannelOutput: z.ZodObject<{
15
15
  channel_url: z.ZodNullable<z.ZodString>;
16
16
  count_preference: z.ZodNullable<z.ZodString>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const sendbirdUpdateCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  user_id: string;
20
20
  channel_url: string;
@@ -14,7 +14,7 @@ declare const SendbirdUpdateCountPreferenceOfChannelInput: z.ZodObject<{
14
14
  declare const SendbirdUpdateCountPreferenceOfChannelOutput: z.ZodObject<{
15
15
  channel_url: z.ZodNullable<z.ZodString>;
16
16
  count_preference: z.ZodNullable<z.ZodString>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const sendbirdUpdateCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  user_id: string;
20
20
  channel_url: string;
@@ -17,7 +17,7 @@ const sendbirdUpdateCountPreferenceOfChannel = action("SENDBIRD_UPDATE_COUNT_PRE
17
17
  output: z.object({
18
18
  channel_url: z.string().describe("URL identifier of the group channel.").nullable(),
19
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
- }).describe("Response model for updating a user's unread count preference.")
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.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}).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,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"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/update-user.ts
4
4
  const SendbirdUpdateUserInput = zod.z.object({
5
5
  user_id: zod.z.string().describe("Unique ID of the user to update"),
6
- metadata: zod.z.object({}).describe("Custom key-value store for user metadata").optional(),
6
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value store for user metadata").optional(),
7
7
  nickname: zod.z.string().describe("New display name for the user").optional(),
8
8
  is_active: zod.z.boolean().describe("Set to false to deactivate the user account").optional(),
9
9
  profile_url: zod.z.string().describe("URL of the new profile image").optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to update\"),\n metadata: z.object({}).describe(\"Custom key-value store for user metadata\").optional(),\n nickname: z.string().describe(\"New display name for the user\").optional(),\n is_active: z.boolean().describe(\"Set to false to deactivate the user account\").optional(),\n profile_url: z.string().describe(\"URL of the new profile image\").optional(),\n issue_access_token: z.boolean().describe(\"Whether to issue a new access token for the user\").optional(),\n preferred_languages: z.array(z.string()).describe(\"List of language tags for localization\").optional(),\n}).describe(\"Request model for updating a Sendbird user.\");\nexport const SendbirdUpdateUserOutput = z.object({\n user_id: z.string().describe(\"Unique ID of the user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata of the user\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) of when the user was created\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the user\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, returned if issue_access_token was true\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has ever logged in\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a Sendbird user.\");\n\nexport const sendbirdUpdateUser = action(\"SENDBIRD_UPDATE_USER\", {\n slug: \"sendbird-update-user\",\n name: \"Update Sendbird User\",\n description: \"Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.\",\n input: SendbirdUpdateUserInput,\n output: SendbirdUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAA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SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gCAAgCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to update\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value store for user metadata\").optional(),\n nickname: z.string().describe(\"New display name for the user\").optional(),\n is_active: z.boolean().describe(\"Set to false to deactivate the user account\").optional(),\n profile_url: z.string().describe(\"URL of the new profile image\").optional(),\n issue_access_token: z.boolean().describe(\"Whether to issue a new access token for the user\").optional(),\n preferred_languages: z.array(z.string()).describe(\"List of language tags for localization\").optional(),\n}).describe(\"Request model for updating a Sendbird user.\");\nexport const SendbirdUpdateUserOutput = z.object({\n user_id: z.string().describe(\"Unique ID of the user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata of the user\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) of when the user was created\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the user\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, returned if issue_access_token was true\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has ever logged in\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a Sendbird user.\");\n\nexport const sendbirdUpdateUser = action(\"SENDBIRD_UPDATE_USER\", {\n slug: \"sendbird-update-user\",\n name: \"Update Sendbird User\",\n description: \"Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.\",\n input: SendbirdUpdateUserInput,\n output: SendbirdUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0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ject<{
5
5
  user_id: z.ZodString;
6
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
6
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  nickname: z.ZodOptional<z.ZodString>;
8
8
  is_active: z.ZodOptional<z.ZodBoolean>;
9
9
  profile_url: z.ZodOptional<z.ZodString>;
@@ -28,7 +28,7 @@ declare const SendbirdUpdateUserOutput: z.ZodObject<{
28
28
  }, z.core.$loose>;
29
29
  declare const sendbirdUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  user_id: string;
31
- metadata?: Record<string, never> | undefined;
31
+ metadata?: Record<string, unknown> | undefined;
32
32
  nickname?: string | undefined;
33
33
  is_active?: boolean | undefined;
34
34
  profile_url?: string | undefined;
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/update-user.d.ts
4
4
  declare const SendbirdUpdateUserInput: z.ZodObject<{
5
5
  user_id: z.ZodString;
6
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
6
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  nickname: z.ZodOptional<z.ZodString>;
8
8
  is_active: z.ZodOptional<z.ZodBoolean>;
9
9
  profile_url: z.ZodOptional<z.ZodString>;
@@ -28,7 +28,7 @@ declare const SendbirdUpdateUserOutput: z.ZodObject<{
28
28
  }, z.core.$loose>;
29
29
  declare const sendbirdUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  user_id: string;
31
- metadata?: Record<string, never> | undefined;
31
+ metadata?: Record<string, unknown> | undefined;
32
32
  nickname?: string | undefined;
33
33
  is_active?: boolean | undefined;
34
34
  profile_url?: string | undefined;
@@ -6,7 +6,7 @@ const sendbirdUpdateUser = action("SENDBIRD_UPDATE_USER", {
6
6
  description: "Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.",
7
7
  input: z.object({
8
8
  user_id: z.string().describe("Unique ID of the user to update"),
9
- metadata: z.object({}).describe("Custom key-value store for user metadata").optional(),
9
+ metadata: z.record(z.string(), z.unknown()).describe("Custom key-value store for user metadata").optional(),
10
10
  nickname: z.string().describe("New display name for the user").optional(),
11
11
  is_active: z.boolean().describe("Set to false to deactivate the user account").optional(),
12
12
  profile_url: z.string().describe("URL of the new profile image").optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to update\"),\n metadata: z.object({}).describe(\"Custom key-value store for user metadata\").optional(),\n nickname: z.string().describe(\"New display name for the user\").optional(),\n is_active: z.boolean().describe(\"Set to false to deactivate the user account\").optional(),\n profile_url: z.string().describe(\"URL of the new profile image\").optional(),\n issue_access_token: z.boolean().describe(\"Whether to issue a new access token for the user\").optional(),\n preferred_languages: z.array(z.string()).describe(\"List of language tags for localization\").optional(),\n}).describe(\"Request model for updating a Sendbird user.\");\nexport const SendbirdUpdateUserOutput = z.object({\n user_id: z.string().describe(\"Unique ID of the user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata of the user\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) of when the user was created\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the user\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, returned if issue_access_token was true\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has ever logged in\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a Sendbird user.\");\n\nexport const sendbirdUpdateUser = action(\"SENDBIRD_UPDATE_USER\", {\n slug: \"sendbird-update-user\",\n name: \"Update Sendbird User\",\n description: \"Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.\",\n input: SendbirdUpdateUserInput,\n output: SendbirdUpdateUserOutput,\n});\n"],"mappings":";;AA8BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BqC,EAAE,OAAO;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtG,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,6CAsBH;CACP,QAtBsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC/D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAA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-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to update\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value store for user metadata\").optional(),\n nickname: z.string().describe(\"New display name for the user\").optional(),\n is_active: z.boolean().describe(\"Set to false to deactivate the user account\").optional(),\n profile_url: z.string().describe(\"URL of the new profile image\").optional(),\n issue_access_token: z.boolean().describe(\"Whether to issue a new access token for the user\").optional(),\n preferred_languages: z.array(z.string()).describe(\"List of language tags for localization\").optional(),\n}).describe(\"Request model for updating a Sendbird user.\");\nexport const SendbirdUpdateUserOutput = z.object({\n user_id: z.string().describe(\"Unique ID of the user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata of the user\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) of when the user was created\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the user\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, returned if issue_access_token was true\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has ever logged in\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a Sendbird user.\");\n\nexport const sendbirdUpdateUser = action(\"SENDBIRD_UPDATE_USER\", {\n slug: \"sendbird-update-user\",\n name: \"Update Sendbird User\",\n description: \"Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.\",\n input: SendbirdUpdateUserInput,\n output: SendbirdUpdateUserOutput,\n});\n"],"mappings":";;AA8BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BqC,EAAE,OAAO;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC9D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtG,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,6CAsBH;CACP,QAtBsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC/D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -12,21 +12,21 @@ const SendbirdViewGroupChannelInput = zod.z.object({
12
12
  const SendbirdViewGroupChannel_MemberSchema = zod.z.object({
13
13
  role: zod.z.string().describe("Role of the member in the channel (operator or member).").nullable().optional(),
14
14
  user_id: zod.z.string().describe("User ID of the channel member.").nullable(),
15
- metadata: zod.z.object({}).describe("Custom metadata for the member.").nullable().optional(),
15
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata for the member.").nullable().optional(),
16
16
  nickname: zod.z.string().describe("Nickname of the channel member.").nullable().optional(),
17
17
  joined_at: zod.z.number().int().describe("Timestamp when the member joined the channel.").nullable().optional(),
18
18
  profile_url: zod.z.string().describe("Profile image URL of the channel member.").nullable().optional(),
19
19
  last_seen_at: zod.z.number().int().describe("Timestamp when the member was last seen.").nullable().optional(),
20
20
  connection_status: zod.z.string().describe("Connection status of the member.").nullable().optional(),
21
21
  preferred_languages: zod.z.array(zod.z.string()).describe("Preferred languages of the member.").nullable().optional()
22
- });
22
+ }).passthrough();
23
23
  const SendbirdViewGroupChannelOutput = zod.z.object({
24
24
  data: zod.z.string().describe("Custom data of the channel.").nullable().optional(),
25
25
  name: zod.z.string().describe("Name of the channel.").nullable().optional(),
26
26
  freeze: zod.z.boolean().describe("Whether the channel is frozen. In a frozen channel, normal members can't send messages.").nullable().optional(),
27
27
  members: zod.z.array(SendbirdViewGroupChannel_MemberSchema).describe("List of members if show_member=true.").nullable().optional(),
28
28
  is_super: zod.z.boolean().describe("Whether the channel is a super group.").nullable(),
29
- metadata: zod.z.object({}).describe("Channel metadata if show_metadata=true.").nullable().optional(),
29
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Channel metadata if show_metadata=true.").nullable().optional(),
30
30
  cover_url: zod.z.string().describe("Cover image URL of the channel.").nullable().optional(),
31
31
  is_public: zod.z.boolean().describe("Whether the channel is public.").nullable(),
32
32
  created_at: zod.z.number().int().describe("Timestamp (Unix, milliseconds) when the channel was created.").nullable().optional(),
@@ -37,15 +37,15 @@ const SendbirdViewGroupChannelOutput = zod.z.object({
37
37
  is_ephemeral: zod.z.boolean().describe("Whether the channel is ephemeral.").nullable().optional(),
38
38
  last_message: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The last message in the channel if available.").nullable().optional(),
39
39
  member_count: zod.z.number().int().describe("Total number of members in the channel.").nullable().optional(),
40
- read_receipt: zod.z.object({}).describe("Read receipt mapping (user_id to timestamp) if requested.").nullable().optional(),
40
+ read_receipt: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Read receipt mapping (user_id to timestamp) if requested.").nullable().optional(),
41
41
  migration_info: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Migration information if show_migration_info=true.").nullable().optional(),
42
42
  is_discoverable: zod.z.boolean().describe("Whether the channel is discoverable in search.").nullable().optional(),
43
- delivery_receipt: zod.z.object({}).describe("Delivery receipt mapping (user_id to count) if requested.").nullable().optional(),
43
+ delivery_receipt: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Delivery receipt mapping (user_id to count) if requested.").nullable().optional(),
44
44
  max_length_message: zod.z.number().int().describe("Maximum allowed message length in the channel.").nullable().optional(),
45
45
  joined_member_count: zod.z.number().int().describe("Number of members who have joined the channel.").nullable().optional(),
46
46
  unread_message_count: zod.z.number().int().describe("Number of unread messages in the channel.").nullable().optional(),
47
47
  is_access_code_required: zod.z.boolean().describe("Whether access code is required to join.").nullable().optional()
48
- });
48
+ }).passthrough();
49
49
  const sendbirdViewGroupChannel = require_action.action("SENDBIRD_VIEW_GROUP_CHANNEL", {
50
50
  slug: "sendbird-view-group-channel",
51
51
  name: "Sendbird View Group Channel",
@@ -1 +1 @@
1
- {"version":3,"file":"view-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/view-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdViewGroupChannelInput = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to retrieve.\"),\n show_member: z.boolean().default(false).describe(\"Whether to include the channel's member list in the response.\").optional(),\n show_metadata: z.boolean().default(false).describe(\"Whether to include channel metadata in the response.\").optional(),\n show_read_receipt: z.boolean().default(false).describe(\"Whether to include read receipt information in the response.\").optional(),\n show_migration_info: z.boolean().default(false).describe(\"Whether to include migration information in the response.\").optional(),\n show_delivery_receipt: z.boolean().default(false).describe(\"Whether to include delivery receipt information in the response.\").optional(),\n});\nconst SendbirdViewGroupChannel_MemberSchema = z.object({\n role: z.string().describe(\"Role of the member in the channel (operator or member).\").nullable().optional(),\n user_id: z.string().describe(\"User ID of the channel member.\").nullable(),\n metadata: z.object({}).describe(\"Custom metadata for the member.\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the channel member.\").nullable().optional(),\n joined_at: z.number().int().describe(\"Timestamp when the member joined the channel.\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the channel member.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp when the member was last seen.\").nullable().optional(),\n connection_status: z.string().describe(\"Connection status of the member.\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"Preferred languages of the member.\").nullable().optional(),\n});\nexport const SendbirdViewGroupChannelOutput = z.object({\n data: z.string().describe(\"Custom data of the channel.\").nullable().optional(),\n name: z.string().describe(\"Name of the channel.\").nullable().optional(),\n freeze: z.boolean().describe(\"Whether the channel is frozen. In a frozen channel, normal members can't send messages.\").nullable().optional(),\n members: z.array(SendbirdViewGroupChannel_MemberSchema).describe(\"List of members if show_member=true.\").nullable().optional(),\n is_super: z.boolean().describe(\"Whether the channel is a super group.\").nullable(),\n metadata: z.object({}).describe(\"Channel metadata if show_metadata=true.\").nullable().optional(),\n cover_url: z.string().describe(\"Cover image URL of the channel.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the channel is public.\").nullable(),\n created_at: z.number().int().describe(\"Timestamp (Unix, milliseconds) when the channel was created.\").nullable().optional(),\n channel_url: z.string().describe(\"URL of the group channel.\").nullable(),\n custom_type: z.string().describe(\"Custom type of the channel.\").nullable().optional(),\n is_distinct: z.boolean().describe(\"Whether the channel is distinct.\").nullable(),\n is_broadcast: z.boolean().describe(\"Whether the channel is a broadcast channel.\").nullable(),\n is_ephemeral: z.boolean().describe(\"Whether the channel is ephemeral.\").nullable().optional(),\n last_message: z.record(z.string(), z.unknown()).describe(\"The last message in the channel if available.\").nullable().optional(),\n member_count: z.number().int().describe(\"Total number of members in the channel.\").nullable().optional(),\n read_receipt: z.object({}).describe(\"Read receipt mapping (user_id to timestamp) if requested.\").nullable().optional(),\n migration_info: z.record(z.string(), z.unknown()).describe(\"Migration information if show_migration_info=true.\").nullable().optional(),\n is_discoverable: z.boolean().describe(\"Whether the channel is discoverable in search.\").nullable().optional(),\n delivery_receipt: z.object({}).describe(\"Delivery receipt mapping (user_id to count) if requested.\").nullable().optional(),\n max_length_message: z.number().int().describe(\"Maximum allowed message length in the channel.\").nullable().optional(),\n joined_member_count: z.number().int().describe(\"Number of members who have joined the channel.\").nullable().optional(),\n unread_message_count: z.number().int().describe(\"Number of unread messages in the channel.\").nullable().optional(),\n is_access_code_required: z.boolean().describe(\"Whether access code is required to join.\").nullable().optional(),\n});\n\nexport const sendbirdViewGroupChannel = action(\"SENDBIRD_VIEW_GROUP_CHANNEL\", {\n slug: \"sendbird-view-group-channel\",\n name: \"Sendbird View Group Channel\",\n description: \"Tool to view information about a specific group channel. Use when you need channel details after confirming the channel_url.\",\n input: SendbirdViewGroupChannelInput,\n output: SendbirdViewGroupChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC3F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAChI,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAA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ACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"view-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/view-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdViewGroupChannelInput = z.object({\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel to retrieve.\"),\n show_member: z.boolean().default(false).describe(\"Whether to include the channel's member list in the response.\").optional(),\n show_metadata: z.boolean().default(false).describe(\"Whether to include channel metadata in the response.\").optional(),\n show_read_receipt: z.boolean().default(false).describe(\"Whether to include read receipt information in the response.\").optional(),\n show_migration_info: z.boolean().default(false).describe(\"Whether to include migration information in the response.\").optional(),\n show_delivery_receipt: z.boolean().default(false).describe(\"Whether to include delivery receipt information in the response.\").optional(),\n});\nconst SendbirdViewGroupChannel_MemberSchema = z.object({\n role: z.string().describe(\"Role of the member in the channel (operator or member).\").nullable().optional(),\n user_id: z.string().describe(\"User ID of the channel member.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the member.\").nullable().optional(),\n nickname: z.string().describe(\"Nickname of the channel member.\").nullable().optional(),\n joined_at: z.number().int().describe(\"Timestamp when the member joined the channel.\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the channel member.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp when the member was last seen.\").nullable().optional(),\n connection_status: z.string().describe(\"Connection status of the member.\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"Preferred languages of the member.\").nullable().optional(),\n}).passthrough();\nexport const SendbirdViewGroupChannelOutput = z.object({\n data: z.string().describe(\"Custom data of the channel.\").nullable().optional(),\n name: z.string().describe(\"Name of the channel.\").nullable().optional(),\n freeze: z.boolean().describe(\"Whether the channel is frozen. In a frozen channel, normal members can't send messages.\").nullable().optional(),\n members: z.array(SendbirdViewGroupChannel_MemberSchema).describe(\"List of members if show_member=true.\").nullable().optional(),\n is_super: z.boolean().describe(\"Whether the channel is a super group.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Channel metadata if show_metadata=true.\").nullable().optional(),\n cover_url: z.string().describe(\"Cover image URL of the channel.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the channel is public.\").nullable(),\n created_at: z.number().int().describe(\"Timestamp (Unix, milliseconds) when the channel was created.\").nullable().optional(),\n channel_url: z.string().describe(\"URL of the group channel.\").nullable(),\n custom_type: z.string().describe(\"Custom type of the channel.\").nullable().optional(),\n is_distinct: z.boolean().describe(\"Whether the channel is distinct.\").nullable(),\n is_broadcast: z.boolean().describe(\"Whether the channel is a broadcast channel.\").nullable(),\n is_ephemeral: z.boolean().describe(\"Whether the channel is ephemeral.\").nullable().optional(),\n last_message: z.record(z.string(), z.unknown()).describe(\"The last message in the channel if available.\").nullable().optional(),\n member_count: z.number().int().describe(\"Total number of members in the channel.\").nullable().optional(),\n read_receipt: z.record(z.string(), z.unknown()).describe(\"Read receipt mapping (user_id to timestamp) if requested.\").nullable().optional(),\n migration_info: z.record(z.string(), z.unknown()).describe(\"Migration information if show_migration_info=true.\").nullable().optional(),\n is_discoverable: z.boolean().describe(\"Whether the channel is discoverable in search.\").nullable().optional(),\n delivery_receipt: z.record(z.string(), z.unknown()).describe(\"Delivery receipt mapping (user_id to count) if requested.\").nullable().optional(),\n max_length_message: z.number().int().describe(\"Maximum allowed message length in the channel.\").nullable().optional(),\n joined_member_count: z.number().int().describe(\"Number of members who have joined the channel.\").nullable().optional(),\n unread_message_count: z.number().int().describe(\"Number of unread messages in the channel.\").nullable().optional(),\n is_access_code_required: z.boolean().describe(\"Whether access code is required to join.\").nullable().optional(),\n}).passthrough();\n\nexport const sendbirdViewGroupChannel = action(\"SENDBIRD_VIEW_GROUP_CHANNEL\", {\n slug: \"sendbird-view-group-channel\",\n name: \"Sendbird View Group Channel\",\n description: \"Tool to view information about a specific group channel. Use when you need channel details after confirming the channel_url.\",\n input: SendbirdViewGroupChannelInput,\n output: SendbirdViewGroupChannelOutput,\n});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C,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,16 +16,16 @@ declare const SendbirdViewGroupChannelOutput: z.ZodObject<{
16
16
  members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
17
  role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  user_id: z.ZodNullable<z.ZodString>;
19
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
19
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
20
  nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  joined_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
22
  profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  preferred_languages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
26
- }, z.core.$strip>>>>;
26
+ }, z.core.$loose>>>>;
27
27
  is_super: z.ZodNullable<z.ZodBoolean>;
28
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
28
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29
29
  cover_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  is_public: z.ZodNullable<z.ZodBoolean>;
31
31
  created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -36,15 +36,15 @@ declare const SendbirdViewGroupChannelOutput: z.ZodObject<{
36
36
  is_ephemeral: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
37
  last_message: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
38
  member_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
- read_receipt: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
39
+ read_receipt: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
40
40
  migration_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
41
41
  is_discoverable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
- delivery_receipt: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
42
+ delivery_receipt: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
43
  max_length_message: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
44
  joined_member_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
45
  unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
46
  is_access_code_required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
- }, z.core.$strip>;
47
+ }, z.core.$loose>;
48
48
  declare const sendbirdViewGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  channel_url: string;
50
50
  show_member?: boolean | undefined;
@@ -16,16 +16,16 @@ declare const SendbirdViewGroupChannelOutput: z.ZodObject<{
16
16
  members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
17
  role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  user_id: z.ZodNullable<z.ZodString>;
19
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
19
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
20
  nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  joined_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
22
  profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  preferred_languages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
26
- }, z.core.$strip>>>>;
26
+ }, z.core.$loose>>>>;
27
27
  is_super: z.ZodNullable<z.ZodBoolean>;
28
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
28
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29
29
  cover_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  is_public: z.ZodNullable<z.ZodBoolean>;
31
31
  created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -36,15 +36,15 @@ declare const SendbirdViewGroupChannelOutput: z.ZodObject<{
36
36
  is_ephemeral: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
37
  last_message: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
38
38
  member_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
- read_receipt: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
39
+ read_receipt: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
40
40
  migration_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
41
41
  is_discoverable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
- delivery_receipt: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
42
+ delivery_receipt: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
43
  max_length_message: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
44
  joined_member_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
45
  unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
46
  is_access_code_required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
- }, z.core.$strip>;
47
+ }, z.core.$loose>;
48
48
  declare const sendbirdViewGroupChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  channel_url: string;
50
50
  show_member?: boolean | undefined;