@keystrokehq/sendbird 0.1.5 → 0.1.6
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-members-group-channel.cjs +1 -0
- package/dist/actions/add-members-group-channel.cjs.map +1 -1
- package/dist/actions/add-members-group-channel.d.cts +3 -20
- package/dist/actions/add-members-group-channel.d.cts.map +1 -1
- package/dist/actions/add-members-group-channel.d.mts +3 -20
- package/dist/actions/add-members-group-channel.d.mts.map +1 -1
- package/dist/actions/add-members-group-channel.mjs +1 -0
- package/dist/actions/add-members-group-channel.mjs.map +1 -1
- package/dist/actions/ban-user-from-group-channel.cjs +1 -0
- package/dist/actions/ban-user-from-group-channel.cjs.map +1 -1
- package/dist/actions/ban-user-from-group-channel.d.cts +3 -21
- package/dist/actions/ban-user-from-group-channel.d.cts.map +1 -1
- package/dist/actions/ban-user-from-group-channel.d.mts +3 -21
- package/dist/actions/ban-user-from-group-channel.d.mts.map +1 -1
- package/dist/actions/ban-user-from-group-channel.mjs +1 -0
- package/dist/actions/ban-user-from-group-channel.mjs.map +1 -1
- package/dist/actions/create-channel.cjs +1 -0
- package/dist/actions/create-channel.cjs.map +1 -1
- package/dist/actions/create-channel.d.cts +3 -34
- package/dist/actions/create-channel.d.cts.map +1 -1
- package/dist/actions/create-channel.d.mts +3 -34
- package/dist/actions/create-channel.d.mts.map +1 -1
- package/dist/actions/create-channel.mjs +1 -0
- package/dist/actions/create-channel.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -27
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -27
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-channel.cjs +1 -0
- package/dist/actions/delete-channel.cjs.map +1 -1
- package/dist/actions/delete-channel.d.cts +3 -17
- package/dist/actions/delete-channel.d.cts.map +1 -1
- package/dist/actions/delete-channel.d.mts +3 -17
- package/dist/actions/delete-channel.d.mts.map +1 -1
- package/dist/actions/delete-channel.mjs +1 -0
- package/dist/actions/delete-channel.mjs.map +1 -1
- package/dist/actions/delete-message.cjs +1 -0
- package/dist/actions/delete-message.cjs.map +1 -1
- package/dist/actions/delete-message.d.cts +3 -18
- package/dist/actions/delete-message.d.cts.map +1 -1
- package/dist/actions/delete-message.d.mts +3 -18
- package/dist/actions/delete-message.d.mts.map +1 -1
- package/dist/actions/delete-message.mjs +1 -0
- package/dist/actions/delete-message.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -18
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -18
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-count-preference-of-channel.cjs +1 -0
- package/dist/actions/get-count-preference-of-channel.cjs.map +1 -1
- package/dist/actions/get-count-preference-of-channel.d.cts +4 -19
- package/dist/actions/get-count-preference-of-channel.d.cts.map +1 -1
- package/dist/actions/get-count-preference-of-channel.d.mts +4 -19
- package/dist/actions/get-count-preference-of-channel.d.mts.map +1 -1
- package/dist/actions/get-count-preference-of-channel.mjs +1 -0
- package/dist/actions/get-count-preference-of-channel.mjs.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.cjs +1 -0
- package/dist/actions/get-number-of-channels-by-join-status.cjs.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.d.cts +3 -21
- package/dist/actions/get-number-of-channels-by-join-status.d.cts.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.d.mts +3 -21
- package/dist/actions/get-number-of-channels-by-join-status.d.mts.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.mjs +1 -0
- package/dist/actions/get-number-of-channels-by-join-status.mjs.map +1 -1
- package/dist/actions/get-number-of-unread-items.cjs +1 -0
- package/dist/actions/get-number-of-unread-items.cjs.map +1 -1
- package/dist/actions/get-number-of-unread-items.d.cts +3 -19
- package/dist/actions/get-number-of-unread-items.d.cts.map +1 -1
- package/dist/actions/get-number-of-unread-items.d.mts +3 -19
- package/dist/actions/get-number-of-unread-items.d.mts.map +1 -1
- package/dist/actions/get-number-of-unread-items.mjs +1 -0
- package/dist/actions/get-number-of-unread-items.mjs.map +1 -1
- package/dist/actions/issue-session-token.cjs +1 -0
- package/dist/actions/issue-session-token.cjs.map +1 -1
- package/dist/actions/issue-session-token.d.cts +3 -18
- package/dist/actions/issue-session-token.d.cts.map +1 -1
- package/dist/actions/issue-session-token.d.mts +3 -18
- package/dist/actions/issue-session-token.d.mts.map +1 -1
- package/dist/actions/issue-session-token.mjs +1 -0
- package/dist/actions/issue-session-token.mjs.map +1 -1
- package/dist/actions/leave-group-channels.cjs +1 -0
- package/dist/actions/leave-group-channels.cjs.map +1 -1
- package/dist/actions/leave-group-channels.d.cts +3 -20
- package/dist/actions/leave-group-channels.d.cts.map +1 -1
- package/dist/actions/leave-group-channels.d.mts +3 -20
- package/dist/actions/leave-group-channels.d.mts.map +1 -1
- package/dist/actions/leave-group-channels.mjs +1 -0
- package/dist/actions/leave-group-channels.mjs.map +1 -1
- package/dist/actions/list-banned-members.cjs +1 -0
- package/dist/actions/list-banned-members.cjs.map +1 -1
- package/dist/actions/list-banned-members.d.cts +3 -19
- package/dist/actions/list-banned-members.d.cts.map +1 -1
- package/dist/actions/list-banned-members.d.mts +3 -19
- package/dist/actions/list-banned-members.d.mts.map +1 -1
- package/dist/actions/list-banned-members.mjs +1 -0
- package/dist/actions/list-banned-members.mjs.map +1 -1
- package/dist/actions/list-group-channel-messages.cjs +1 -0
- package/dist/actions/list-group-channel-messages.cjs.map +1 -1
- package/dist/actions/list-group-channel-messages.d.cts +3 -35
- package/dist/actions/list-group-channel-messages.d.cts.map +1 -1
- package/dist/actions/list-group-channel-messages.d.mts +3 -35
- package/dist/actions/list-group-channel-messages.d.mts.map +1 -1
- package/dist/actions/list-group-channel-messages.mjs +1 -0
- package/dist/actions/list-group-channel-messages.mjs.map +1 -1
- package/dist/actions/list-group-channels.cjs +1 -0
- package/dist/actions/list-group-channels.cjs.map +1 -1
- package/dist/actions/list-group-channels.d.cts +3 -37
- package/dist/actions/list-group-channels.d.cts.map +1 -1
- package/dist/actions/list-group-channels.d.mts +3 -37
- package/dist/actions/list-group-channels.d.mts.map +1 -1
- package/dist/actions/list-group-channels.mjs +1 -0
- package/dist/actions/list-group-channels.mjs.map +1 -1
- package/dist/actions/list-members-group-channel.cjs +1 -0
- package/dist/actions/list-members-group-channel.cjs.map +1 -1
- package/dist/actions/list-members-group-channel.d.cts +3 -25
- package/dist/actions/list-members-group-channel.d.cts.map +1 -1
- package/dist/actions/list-members-group-channel.d.mts +3 -25
- package/dist/actions/list-members-group-channel.d.mts.map +1 -1
- package/dist/actions/list-members-group-channel.mjs +1 -0
- package/dist/actions/list-members-group-channel.mjs.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.cjs +1 -0
- package/dist/actions/list-operators-custom-channel-type.cjs.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.d.cts +3 -19
- package/dist/actions/list-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.d.mts +3 -19
- package/dist/actions/list-operators-custom-channel-type.d.mts.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.mjs +1 -0
- package/dist/actions/list-operators-custom-channel-type.mjs.map +1 -1
- package/dist/actions/list-operators-group-channel.cjs +1 -0
- package/dist/actions/list-operators-group-channel.cjs.map +1 -1
- package/dist/actions/list-operators-group-channel.d.cts +3 -19
- package/dist/actions/list-operators-group-channel.d.cts.map +1 -1
- package/dist/actions/list-operators-group-channel.d.mts +3 -19
- package/dist/actions/list-operators-group-channel.d.mts.map +1 -1
- package/dist/actions/list-operators-group-channel.mjs +1 -0
- package/dist/actions/list-operators-group-channel.mjs.map +1 -1
- package/dist/actions/list-operators-open-channel.cjs +1 -0
- package/dist/actions/list-operators-open-channel.cjs.map +1 -1
- package/dist/actions/list-operators-open-channel.d.cts +3 -19
- package/dist/actions/list-operators-open-channel.d.cts.map +1 -1
- package/dist/actions/list-operators-open-channel.d.mts +3 -19
- package/dist/actions/list-operators-open-channel.d.mts.map +1 -1
- package/dist/actions/list-operators-open-channel.mjs +1 -0
- package/dist/actions/list-operators-open-channel.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -27
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -27
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.cjs +1 -0
- package/dist/actions/mark-all-user-messages-as-read.cjs.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.d.cts +3 -17
- package/dist/actions/mark-all-user-messages-as-read.d.cts.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.d.mts +3 -17
- package/dist/actions/mark-all-user-messages-as-read.d.mts.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.mjs +1 -0
- package/dist/actions/mark-all-user-messages-as-read.mjs.map +1 -1
- package/dist/actions/mute-user.cjs +1 -0
- package/dist/actions/mute-user.cjs.map +1 -1
- package/dist/actions/mute-user.d.cts +3 -20
- package/dist/actions/mute-user.d.cts.map +1 -1
- package/dist/actions/mute-user.d.mts +3 -20
- package/dist/actions/mute-user.d.mts.map +1 -1
- package/dist/actions/mute-user.mjs +1 -0
- package/dist/actions/mute-user.mjs.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.cjs +1 -0
- package/dist/actions/register-operators-custom-channel-type.cjs.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.d.cts +3 -18
- package/dist/actions/register-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.d.mts +3 -18
- package/dist/actions/register-operators-custom-channel-type.d.mts.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.mjs +1 -0
- package/dist/actions/register-operators-custom-channel-type.mjs.map +1 -1
- package/dist/actions/register-operators-group-channel.cjs +1 -0
- package/dist/actions/register-operators-group-channel.cjs.map +1 -1
- package/dist/actions/register-operators-group-channel.d.cts +3 -18
- package/dist/actions/register-operators-group-channel.d.cts.map +1 -1
- package/dist/actions/register-operators-group-channel.d.mts +3 -18
- package/dist/actions/register-operators-group-channel.d.mts.map +1 -1
- package/dist/actions/register-operators-group-channel.mjs +1 -0
- package/dist/actions/register-operators-group-channel.mjs.map +1 -1
- package/dist/actions/register-operators-open-channel.cjs +1 -0
- package/dist/actions/register-operators-open-channel.cjs.map +1 -1
- package/dist/actions/register-operators-open-channel.d.cts +3 -18
- package/dist/actions/register-operators-open-channel.d.cts.map +1 -1
- package/dist/actions/register-operators-open-channel.d.mts +3 -18
- package/dist/actions/register-operators-open-channel.d.mts.map +1 -1
- package/dist/actions/register-operators-open-channel.mjs +1 -0
- package/dist/actions/register-operators-open-channel.mjs.map +1 -1
- package/dist/actions/revoke-all-session-tokens.cjs +1 -0
- package/dist/actions/revoke-all-session-tokens.cjs.map +1 -1
- package/dist/actions/revoke-all-session-tokens.d.cts +3 -17
- package/dist/actions/revoke-all-session-tokens.d.cts.map +1 -1
- package/dist/actions/revoke-all-session-tokens.d.mts +3 -17
- package/dist/actions/revoke-all-session-tokens.d.mts.map +1 -1
- package/dist/actions/revoke-all-session-tokens.mjs +1 -0
- package/dist/actions/revoke-all-session-tokens.mjs.map +1 -1
- package/dist/actions/send-message.cjs +1 -0
- package/dist/actions/send-message.cjs.map +1 -1
- package/dist/actions/send-message.d.cts +3 -36
- package/dist/actions/send-message.d.cts.map +1 -1
- package/dist/actions/send-message.d.mts +3 -36
- package/dist/actions/send-message.d.mts.map +1 -1
- package/dist/actions/send-message.mjs +1 -0
- package/dist/actions/send-message.mjs.map +1 -1
- package/dist/actions/unban-user.cjs +1 -0
- package/dist/actions/unban-user.cjs.map +1 -1
- package/dist/actions/unban-user.d.cts +3 -18
- package/dist/actions/unban-user.d.cts.map +1 -1
- package/dist/actions/unban-user.d.mts +3 -18
- package/dist/actions/unban-user.d.mts.map +1 -1
- package/dist/actions/unban-user.mjs +1 -0
- package/dist/actions/unban-user.mjs.map +1 -1
- package/dist/actions/unmute-user.cjs +1 -0
- package/dist/actions/unmute-user.cjs.map +1 -1
- package/dist/actions/unmute-user.d.cts +3 -18
- package/dist/actions/unmute-user.d.cts.map +1 -1
- package/dist/actions/unmute-user.d.mts +3 -18
- package/dist/actions/unmute-user.d.mts.map +1 -1
- package/dist/actions/unmute-user.mjs +1 -0
- package/dist/actions/unmute-user.mjs.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.cjs +1 -0
- package/dist/actions/unregister-operators-custom-channel-type.cjs.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.d.cts +3 -18
- package/dist/actions/unregister-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.d.mts +3 -18
- package/dist/actions/unregister-operators-custom-channel-type.d.mts.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.mjs +1 -0
- package/dist/actions/unregister-operators-custom-channel-type.mjs.map +1 -1
- package/dist/actions/update-count-preference-of-channel.cjs +1 -0
- package/dist/actions/update-count-preference-of-channel.cjs.map +1 -1
- package/dist/actions/update-count-preference-of-channel.d.cts +3 -19
- package/dist/actions/update-count-preference-of-channel.d.cts.map +1 -1
- package/dist/actions/update-count-preference-of-channel.d.mts +3 -19
- package/dist/actions/update-count-preference-of-channel.d.mts.map +1 -1
- package/dist/actions/update-count-preference-of-channel.mjs +1 -0
- package/dist/actions/update-count-preference-of-channel.mjs.map +1 -1
- package/dist/actions/update-group-channel.cjs +1 -0
- package/dist/actions/update-group-channel.cjs.map +1 -1
- package/dist/actions/update-group-channel.d.cts +3 -28
- package/dist/actions/update-group-channel.d.cts.map +1 -1
- package/dist/actions/update-group-channel.d.mts +3 -28
- package/dist/actions/update-group-channel.d.mts.map +1 -1
- package/dist/actions/update-group-channel.mjs +1 -0
- package/dist/actions/update-group-channel.mjs.map +1 -1
- package/dist/actions/update-message.cjs +1 -0
- package/dist/actions/update-message.cjs.map +1 -1
- package/dist/actions/update-message.d.cts +3 -30
- package/dist/actions/update-message.d.cts.map +1 -1
- package/dist/actions/update-message.d.mts +3 -30
- package/dist/actions/update-message.d.mts.map +1 -1
- package/dist/actions/update-message.mjs +1 -0
- package/dist/actions/update-message.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -23
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -23
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/actions/view-group-channel.cjs +1 -0
- package/dist/actions/view-group-channel.cjs.map +1 -1
- package/dist/actions/view-group-channel.d.cts +3 -22
- package/dist/actions/view-group-channel.d.cts.map +1 -1
- package/dist/actions/view-group-channel.d.mts +3 -22
- package/dist/actions/view-group-channel.d.mts.map +1 -1
- package/dist/actions/view-group-channel.mjs +1 -0
- package/dist/actions/view-group-channel.mjs.map +1 -1
- package/dist/actions/view-message.cjs +1 -0
- package/dist/actions/view-message.cjs.map +1 -1
- package/dist/actions/view-message.d.cts +3 -19
- package/dist/actions/view-message.d.cts.map +1 -1
- package/dist/actions/view-message.d.mts +3 -19
- package/dist/actions/view-message.d.mts.map +1 -1
- package/dist/actions/view-message.mjs +1 -0
- package/dist/actions/view-message.mjs.map +1 -1
- package/dist/actions/view-user.cjs +1 -0
- package/dist/actions/view-user.cjs.map +1 -1
- package/dist/actions/view-user.d.cts +3 -17
- package/dist/actions/view-user.d.cts.map +1 -1
- package/dist/actions/view-user.d.mts +3 -17
- package/dist/actions/view-user.d.mts.map +1 -1
- package/dist/actions/view-user.mjs +1 -0
- package/dist/actions/view-user.mjs.map +1 -1
- package/dist/app.cjs +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"unmute-user.cjs","names":["z","action"],"sources":["../../src/actions/unmute-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\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: AppAction<\n typeof SendbirdUnmuteUserInput,\n typeof SendbirdUnmuteUserOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendbird } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unmute-user.d.ts
|
|
@@ -13,24 +15,7 @@ declare const SendbirdUnmuteUserOutput: z.ZodObject<{
|
|
|
13
15
|
last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
16
|
is_blocked_by_me: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const sendbirdUnmuteUser:
|
|
17
|
-
channel_url: string;
|
|
18
|
-
muted_user_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
subdomain: z.ZodString;
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
subdomain: z.ZodString;
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const sendbirdUnmuteUser: AppAction<typeof SendbirdUnmuteUserInput, typeof SendbirdUnmuteUserOutput, typeof sendbird.credential>;
|
|
34
19
|
//#endregion
|
|
35
20
|
export { sendbirdUnmuteUser };
|
|
36
21
|
//# sourceMappingURL=unmute-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmute-user.d.cts","names":[],"sources":["../../src/actions/unmute-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unmute-user.d.cts","names":[],"sources":["../../src/actions/unmute-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendbird } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unmute-user.d.ts
|
|
@@ -13,24 +15,7 @@ declare const SendbirdUnmuteUserOutput: z.ZodObject<{
|
|
|
13
15
|
last_seen_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
16
|
is_blocked_by_me: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const sendbirdUnmuteUser:
|
|
17
|
-
channel_url: string;
|
|
18
|
-
muted_user_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
subdomain: z.ZodString;
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
subdomain: z.ZodString;
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const sendbirdUnmuteUser: AppAction<typeof SendbirdUnmuteUserInput, typeof SendbirdUnmuteUserOutput, typeof sendbird.credential>;
|
|
34
19
|
//#endregion
|
|
35
20
|
export { sendbirdUnmuteUser };
|
|
36
21
|
//# sourceMappingURL=unmute-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmute-user.d.mts","names":[],"sources":["../../src/actions/unmute-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unmute-user.d.mts","names":[],"sources":["../../src/actions/unmute-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"unmute-user.mjs","names":[],"sources":["../../src/actions/unmute-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\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: AppAction<\n typeof SendbirdUnmuteUserInput,\n typeof SendbirdUnmuteUserOutput,\n typeof sendbird.credential\n> = 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":";;;AAmBA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBqC,EAAE,OAAO;EAC9C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACrG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC1E,CAAC,CAAC,CAAC,SAAS,gEAkBH;CACP,QAlBsC,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,wDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"unregister-operators-custom-channel-type.cjs","names":["z","action"],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\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: AppAction<\n typeof SendbirdUnregisterOperatorsCustomChannelTypeInput,\n typeof SendbirdUnregisterOperatorsCustomChannelTypeOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,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,+CAITC,eAAAA,OAAO,qDAAqD;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendbird } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unregister-operators-custom-channel-type.d.ts
|
|
@@ -11,24 +13,7 @@ declare const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
|
|
|
11
13
|
operator_ids: z.ZodArray<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const sendbirdUnregisterOperatorsCustomChannelType:
|
|
15
|
-
user_ids: string[];
|
|
16
|
-
custom_type: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
subdomain: z.ZodString;
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
subdomain: z.ZodString;
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const sendbirdUnregisterOperatorsCustomChannelType: AppAction<typeof SendbirdUnregisterOperatorsCustomChannelTypeInput, typeof SendbirdUnregisterOperatorsCustomChannelTypeOutput, typeof sendbird.credential>;
|
|
32
17
|
//#endregion
|
|
33
18
|
export { sendbirdUnregisterOperatorsCustomChannelType };
|
|
34
19
|
//# sourceMappingURL=unregister-operators-custom-channel-type.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unregister-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unregister-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"mappings":";;;;;cAMa,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;cAQjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;cAIlD,4CAAA,EAA8C,SAAA,QAClD,iDAAA,SACA,kDAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendbird } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unregister-operators-custom-channel-type.d.ts
|
|
@@ -11,24 +13,7 @@ declare const SendbirdUnregisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
|
|
|
11
13
|
operator_ids: z.ZodArray<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const sendbirdUnregisterOperatorsCustomChannelType:
|
|
15
|
-
user_ids: string[];
|
|
16
|
-
custom_type: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
subdomain: z.ZodString;
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
subdomain: z.ZodString;
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const sendbirdUnregisterOperatorsCustomChannelType: AppAction<typeof SendbirdUnregisterOperatorsCustomChannelTypeInput, typeof SendbirdUnregisterOperatorsCustomChannelTypeOutput, typeof sendbird.credential>;
|
|
32
17
|
//#endregion
|
|
33
18
|
export { sendbirdUnregisterOperatorsCustomChannelType };
|
|
34
19
|
//# sourceMappingURL=unregister-operators-custom-channel-type.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unregister-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unregister-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"mappings":";;;;;cAMa,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;cAQjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;cAIlD,4CAAA,EAA8C,SAAA,QAClD,iDAAA,SACA,kDAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"unregister-operators-custom-channel-type.mjs","names":[],"sources":["../../src/actions/unregister-operators-custom-channel-type.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\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: AppAction<\n typeof SendbirdUnregisterOperatorsCustomChannelTypeInput,\n typeof SendbirdUnregisterOperatorsCustomChannelTypeOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,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,+CAIT,OAAO,qDAAqD;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbgE,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,oEAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"update-count-preference-of-channel.cjs","names":["z","action"],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\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: AppAction<\n typeof SendbirdUpdateCountPreferenceOfChannelInput,\n typeof SendbirdUpdateCountPreferenceOfChannelOutput,\n typeof sendbird.credential\n> = 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":";;;;AAMA,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,yCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendbird } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-count-preference-of-channel.d.ts
|
|
@@ -15,25 +17,7 @@ declare const SendbirdUpdateCountPreferenceOfChannelOutput: z.ZodObject<{
|
|
|
15
17
|
channel_url: z.ZodNullable<z.ZodString>;
|
|
16
18
|
count_preference: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sendbirdUpdateCountPreferenceOfChannel:
|
|
19
|
-
user_id: string;
|
|
20
|
-
channel_url: string;
|
|
21
|
-
count_preference: "all" | "unread_message_count_only" | "mention_count_only" | "none";
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
subdomain: z.ZodString;
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
subdomain: z.ZodString;
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const sendbirdUpdateCountPreferenceOfChannel: AppAction<typeof SendbirdUpdateCountPreferenceOfChannelInput, typeof SendbirdUpdateCountPreferenceOfChannelOutput, typeof sendbird.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { sendbirdUpdateCountPreferenceOfChannel };
|
|
39
23
|
//# sourceMappingURL=update-count-preference-of-channel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-count-preference-of-channel.d.cts","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-count-preference-of-channel.d.cts","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;cAK3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendbird } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-count-preference-of-channel.d.ts
|
|
@@ -15,25 +17,7 @@ declare const SendbirdUpdateCountPreferenceOfChannelOutput: z.ZodObject<{
|
|
|
15
17
|
channel_url: z.ZodNullable<z.ZodString>;
|
|
16
18
|
count_preference: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sendbirdUpdateCountPreferenceOfChannel:
|
|
19
|
-
user_id: string;
|
|
20
|
-
channel_url: string;
|
|
21
|
-
count_preference: "all" | "unread_message_count_only" | "mention_count_only" | "none";
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
subdomain: z.ZodString;
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
subdomain: z.ZodString;
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const sendbirdUpdateCountPreferenceOfChannel: AppAction<typeof SendbirdUpdateCountPreferenceOfChannelInput, typeof SendbirdUpdateCountPreferenceOfChannelOutput, typeof sendbird.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { sendbirdUpdateCountPreferenceOfChannel };
|
|
39
23
|
//# sourceMappingURL=update-count-preference-of-channel.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-count-preference-of-channel.d.mts","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-count-preference-of-channel.d.mts","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;cAK3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"update-count-preference-of-channel.mjs","names":[],"sources":["../../src/actions/update-count-preference-of-channel.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\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: AppAction<\n typeof SendbirdUpdateCountPreferenceOfChannelInput,\n typeof SendbirdUpdateCountPreferenceOfChannelOutput,\n typeof sendbird.credential\n> = 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":";;;AAgBA,MAAa,yCAIT,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlByD,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,2FAcH;CACP,QAd0D,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,+DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/update-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateGroupChannelInput = z.object({\n data: z.string().describe(\"Custom channel data as a JSON-encoded string\").optional(),\n name: z.string().describe(\"New name for the channel\").optional(),\n is_super: z.boolean().describe(\"Whether this is a supergroup channel\").optional(),\n cover_url: z.string().describe(\"HTTPS URL for the channel's cover image\").optional(),\n is_public: z.boolean().describe(\"Whether this channel is publicly joinable\").optional(),\n operators: z.array(z.string()).describe(\"List of user IDs to assign as channel operators\").optional(),\n access_code: z.string().describe(\"Access code required for joining this channel\").optional(),\n channel_url: z.string().describe(\"URL identifier of the group channel to update\"),\n custom_type: z.string().describe(\"Custom type label for the channel\").optional(),\n is_distinct: z.boolean().describe(\"Whether this is a distinct channel\").optional(),\n is_ephemeral: z.boolean().describe(\"Whether this channel is ephemeral\").optional(),\n my_count_preference: z.enum([\"unread_message_count_only\", \"all_count\"]).describe(\"Unread count preference (\\\"unread_message_count_only\\\" or \\\"all_count\\\")\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel.\");\nexport const SendbirdUpdateGroupChannelOutput = z.object({\n data: z.string().describe(\"Custom data string for the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n is_super: z.boolean().describe(\"True if channel is a supergroup\").nullable(),\n cover_url: z.string().describe(\"Cover image URL\").nullable().optional(),\n is_public: z.boolean().describe(\"True if channel is public\").nullable(),\n operators: z.array(z.string()).describe(\"User IDs of channel operators\").nullable().optional(),\n access_code: z.string().describe(\"Access code for channel joining\").nullable().optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\").nullable(),\n custom_type: z.string().describe(\"Custom type of the channel\").nullable().optional(),\n is_distinct: z.boolean().describe(\"True if channel is distinct\").nullable(),\n is_ephemeral: z.boolean().describe(\"True if channel is ephemeral\").nullable(),\n my_count_preference: z.string().describe(\"Unread count setting\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel.\");\n\nexport const sendbirdUpdateGroupChannel = action(\"SENDBIRD_UPDATE_GROUP_CHANNEL\", {\n slug: \"sendbird-update-group-channel\",\n name: \"Update Group Channel\",\n description: \"Tool to update group channel information. Use when you need to modify channel attributes such as name, cover image, privacy settings, or operator list after channel creation.\",\n input: SendbirdUpdateGroupChannelInput,\n output: SendbirdUpdateGroupChannelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/update-group-channel.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdUpdateGroupChannelInput = z.object({\n data: z.string().describe(\"Custom channel data as a JSON-encoded string\").optional(),\n name: z.string().describe(\"New name for the channel\").optional(),\n is_super: z.boolean().describe(\"Whether this is a supergroup channel\").optional(),\n cover_url: z.string().describe(\"HTTPS URL for the channel's cover image\").optional(),\n is_public: z.boolean().describe(\"Whether this channel is publicly joinable\").optional(),\n operators: z.array(z.string()).describe(\"List of user IDs to assign as channel operators\").optional(),\n access_code: z.string().describe(\"Access code required for joining this channel\").optional(),\n channel_url: z.string().describe(\"URL identifier of the group channel to update\"),\n custom_type: z.string().describe(\"Custom type label for the channel\").optional(),\n is_distinct: z.boolean().describe(\"Whether this is a distinct channel\").optional(),\n is_ephemeral: z.boolean().describe(\"Whether this channel is ephemeral\").optional(),\n my_count_preference: z.enum([\"unread_message_count_only\", \"all_count\"]).describe(\"Unread count preference (\\\"unread_message_count_only\\\" or \\\"all_count\\\")\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel.\");\nexport const SendbirdUpdateGroupChannelOutput = z.object({\n data: z.string().describe(\"Custom data string for the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n is_super: z.boolean().describe(\"True if channel is a supergroup\").nullable(),\n cover_url: z.string().describe(\"Cover image URL\").nullable().optional(),\n is_public: z.boolean().describe(\"True if channel is public\").nullable(),\n operators: z.array(z.string()).describe(\"User IDs of channel operators\").nullable().optional(),\n access_code: z.string().describe(\"Access code for channel joining\").nullable().optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\").nullable(),\n custom_type: z.string().describe(\"Custom type of the channel\").nullable().optional(),\n is_distinct: z.boolean().describe(\"True if channel is distinct\").nullable(),\n is_ephemeral: z.boolean().describe(\"True if channel is ephemeral\").nullable(),\n my_count_preference: z.string().describe(\"Unread count setting\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel.\");\n\nexport const sendbirdUpdateGroupChannel: AppAction<\n typeof SendbirdUpdateGroupChannelInput,\n typeof SendbirdUpdateGroupChannelOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_UPDATE_GROUP_CHANNEL\", {\n slug: \"sendbird-update-group-channel\",\n name: \"Update Group Channel\",\n description: \"Tool to update group channel information. Use when you need to modify channel attributes such as name, cover image, privacy settings, or operator list after channel creation.\",\n input: SendbirdUpdateGroupChannelInput,\n output: SendbirdUpdateGroupChannelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,6BAA6B,WAAW,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC5E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendbird } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-group-channel.d.ts
|
|
@@ -32,34 +34,7 @@ declare const SendbirdUpdateGroupChannelOutput: z.ZodObject<{
|
|
|
32
34
|
is_ephemeral: z.ZodNullable<z.ZodBoolean>;
|
|
33
35
|
my_count_preference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const sendbirdUpdateGroupChannel:
|
|
36
|
-
channel_url: string;
|
|
37
|
-
data?: string | undefined;
|
|
38
|
-
name?: string | undefined;
|
|
39
|
-
is_super?: boolean | undefined;
|
|
40
|
-
cover_url?: string | undefined;
|
|
41
|
-
is_public?: boolean | undefined;
|
|
42
|
-
operators?: string[] | undefined;
|
|
43
|
-
access_code?: string | undefined;
|
|
44
|
-
custom_type?: string | undefined;
|
|
45
|
-
is_distinct?: boolean | undefined;
|
|
46
|
-
is_ephemeral?: boolean | undefined;
|
|
47
|
-
my_count_preference?: "unread_message_count_only" | "all_count" | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
subdomain: z.ZodString;
|
|
54
|
-
generic_api_key: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
subdomain: z.ZodString;
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const sendbirdUpdateGroupChannel: AppAction<typeof SendbirdUpdateGroupChannelInput, typeof SendbirdUpdateGroupChannelOutput, typeof sendbird.credential>;
|
|
63
38
|
//#endregion
|
|
64
39
|
export { sendbirdUpdateGroupChannel };
|
|
65
40
|
//# sourceMappingURL=update-group-channel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group-channel.d.cts","names":[],"sources":["../../src/actions/update-group-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group-channel.d.cts","names":[],"sources":["../../src/actions/update-group-channel.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAehC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendbird } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-group-channel.d.ts
|
|
@@ -32,34 +34,7 @@ declare const SendbirdUpdateGroupChannelOutput: z.ZodObject<{
|
|
|
32
34
|
is_ephemeral: z.ZodNullable<z.ZodBoolean>;
|
|
33
35
|
my_count_preference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const sendbirdUpdateGroupChannel:
|
|
36
|
-
channel_url: string;
|
|
37
|
-
data?: string | undefined;
|
|
38
|
-
name?: string | undefined;
|
|
39
|
-
is_super?: boolean | undefined;
|
|
40
|
-
cover_url?: string | undefined;
|
|
41
|
-
is_public?: boolean | undefined;
|
|
42
|
-
operators?: string[] | undefined;
|
|
43
|
-
access_code?: string | undefined;
|
|
44
|
-
custom_type?: string | undefined;
|
|
45
|
-
is_distinct?: boolean | undefined;
|
|
46
|
-
is_ephemeral?: boolean | undefined;
|
|
47
|
-
my_count_preference?: "unread_message_count_only" | "all_count" | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
subdomain: z.ZodString;
|
|
54
|
-
generic_api_key: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
subdomain: z.ZodString;
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const sendbirdUpdateGroupChannel: AppAction<typeof SendbirdUpdateGroupChannelInput, typeof SendbirdUpdateGroupChannelOutput, typeof sendbird.credential>;
|
|
63
38
|
//#endregion
|
|
64
39
|
export { sendbirdUpdateGroupChannel };
|
|
65
40
|
//# sourceMappingURL=update-group-channel.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group-channel.d.mts","names":[],"sources":["../../src/actions/update-group-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group-channel.d.mts","names":[],"sources":["../../src/actions/update-group-channel.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAehC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group-channel.mjs","names":[],"sources":["../../src/actions/update-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateGroupChannelInput = z.object({\n data: z.string().describe(\"Custom channel data as a JSON-encoded string\").optional(),\n name: z.string().describe(\"New name for the channel\").optional(),\n is_super: z.boolean().describe(\"Whether this is a supergroup channel\").optional(),\n cover_url: z.string().describe(\"HTTPS URL for the channel's cover image\").optional(),\n is_public: z.boolean().describe(\"Whether this channel is publicly joinable\").optional(),\n operators: z.array(z.string()).describe(\"List of user IDs to assign as channel operators\").optional(),\n access_code: z.string().describe(\"Access code required for joining this channel\").optional(),\n channel_url: z.string().describe(\"URL identifier of the group channel to update\"),\n custom_type: z.string().describe(\"Custom type label for the channel\").optional(),\n is_distinct: z.boolean().describe(\"Whether this is a distinct channel\").optional(),\n is_ephemeral: z.boolean().describe(\"Whether this channel is ephemeral\").optional(),\n my_count_preference: z.enum([\"unread_message_count_only\", \"all_count\"]).describe(\"Unread count preference (\\\"unread_message_count_only\\\" or \\\"all_count\\\")\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel.\");\nexport const SendbirdUpdateGroupChannelOutput = z.object({\n data: z.string().describe(\"Custom data string for the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n is_super: z.boolean().describe(\"True if channel is a supergroup\").nullable(),\n cover_url: z.string().describe(\"Cover image URL\").nullable().optional(),\n is_public: z.boolean().describe(\"True if channel is public\").nullable(),\n operators: z.array(z.string()).describe(\"User IDs of channel operators\").nullable().optional(),\n access_code: z.string().describe(\"Access code for channel joining\").nullable().optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\").nullable(),\n custom_type: z.string().describe(\"Custom type of the channel\").nullable().optional(),\n is_distinct: z.boolean().describe(\"True if channel is distinct\").nullable(),\n is_ephemeral: z.boolean().describe(\"True if channel is ephemeral\").nullable(),\n my_count_preference: z.string().describe(\"Unread count setting\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel.\");\n\nexport const sendbirdUpdateGroupChannel = action(\"SENDBIRD_UPDATE_GROUP_CHANNEL\", {\n slug: \"sendbird-update-group-channel\",\n name: \"Update Group Channel\",\n description: \"Tool to update group channel information. Use when you need to modify channel attributes such as name, cover image, privacy settings, or operator list after channel creation.\",\n input: SendbirdUpdateGroupChannelInput,\n output: SendbirdUpdateGroupChannelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group-channel.mjs","names":[],"sources":["../../src/actions/update-group-channel.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdUpdateGroupChannelInput = z.object({\n data: z.string().describe(\"Custom channel data as a JSON-encoded string\").optional(),\n name: z.string().describe(\"New name for the channel\").optional(),\n is_super: z.boolean().describe(\"Whether this is a supergroup channel\").optional(),\n cover_url: z.string().describe(\"HTTPS URL for the channel's cover image\").optional(),\n is_public: z.boolean().describe(\"Whether this channel is publicly joinable\").optional(),\n operators: z.array(z.string()).describe(\"List of user IDs to assign as channel operators\").optional(),\n access_code: z.string().describe(\"Access code required for joining this channel\").optional(),\n channel_url: z.string().describe(\"URL identifier of the group channel to update\"),\n custom_type: z.string().describe(\"Custom type label for the channel\").optional(),\n is_distinct: z.boolean().describe(\"Whether this is a distinct channel\").optional(),\n is_ephemeral: z.boolean().describe(\"Whether this channel is ephemeral\").optional(),\n my_count_preference: z.enum([\"unread_message_count_only\", \"all_count\"]).describe(\"Unread count preference (\\\"unread_message_count_only\\\" or \\\"all_count\\\")\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel.\");\nexport const SendbirdUpdateGroupChannelOutput = z.object({\n data: z.string().describe(\"Custom data string for the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n is_super: z.boolean().describe(\"True if channel is a supergroup\").nullable(),\n cover_url: z.string().describe(\"Cover image URL\").nullable().optional(),\n is_public: z.boolean().describe(\"True if channel is public\").nullable(),\n operators: z.array(z.string()).describe(\"User IDs of channel operators\").nullable().optional(),\n access_code: z.string().describe(\"Access code for channel joining\").nullable().optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\").nullable(),\n custom_type: z.string().describe(\"Custom type of the channel\").nullable().optional(),\n is_distinct: z.boolean().describe(\"True if channel is distinct\").nullable(),\n is_ephemeral: z.boolean().describe(\"True if channel is ephemeral\").nullable(),\n my_count_preference: z.string().describe(\"Unread count setting\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel.\");\n\nexport const sendbirdUpdateGroupChannel: AppAction<\n typeof SendbirdUpdateGroupChannelInput,\n typeof SendbirdUpdateGroupChannelOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_UPDATE_GROUP_CHANNEL\", {\n slug: \"sendbird-update-group-channel\",\n name: \"Update Group Channel\",\n description: \"Tool to update group channel information. Use when you need to modify channel attributes such as name, cover image, privacy settings, or operator list after channel creation.\",\n input: SendbirdUpdateGroupChannelInput,\n output: SendbirdUpdateGroupChannelOutput,\n});\n"],"mappings":";;;AAmCA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArC6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjF,qBAAqB,EAAE,KAAK,CAAC,6BAA6B,WAAW,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,SAAS,uDAwBH;CACP,QAxB8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC1E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC5E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-message.cjs","names":["z","action"],"sources":["../../src/actions/update-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateMessageInput = z.object({\n data: z.string().describe(\"Additional data for the message as a JSON-encoded string\").optional(),\n content: z.string().describe(\"New text content of the message\").optional(),\n user_id: z.string().describe(\"ID of the user performing the update\").optional(),\n dedup_id: z.string().describe(\"Deduplication ID for the message update\").optional(),\n is_silent: z.boolean().describe(\"Whether the message update should be silent (no push notification)\").optional(),\n message_id: z.string().describe(\"Unique ID of the message to update\"),\n channel_url: z.string().describe(\"URL identifier of the group channel containing the message\"),\n custom_type: z.string().describe(\"Custom type label for the message\").optional(),\n mention_type: z.string().describe(\"Mention type for the message (e.g., 'users' or 'channel')\").optional(),\n message_type: z.string().describe(\"Type of the message (e.g., 'MESG' or 'FILE')\").optional(),\n apns_bundle_id: z.string().describe(\"APNs bundle ID for iOS push notifications\").optional(),\n sorted_metaarray: z.array(z.record(z.string(), z.unknown())).describe(\"Sorted metaarray objects for the message\").optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs to mention in the message\").optional(),\n push_notification_delivery_option: z.string().describe(\"Push notification delivery option ('default', 'suppress')\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel message.\");\nexport const SendbirdUpdateMessageOutput = z.object({\n data: z.string().describe(\"Additional data in the message\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"File object if the message contains a file\").nullable().optional(),\n type: z.string().describe(\"Type of the message\").nullable(),\n user: z.record(z.string(), z.unknown()).describe(\"User object who sent the message\"),\n og_tag: z.record(z.string(), z.unknown()).describe(\"Open Graph tag information for the message\").nullable().optional(),\n content: z.string().describe(\"Content of the message\").nullable().optional(),\n is_silent: z.boolean().describe(\"True if the update was silent\").nullable(),\n reactions: z.array(z.record(z.string(), z.unknown())).describe(\"List of reaction objects on the message\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the message was created (ms since epoch)\").nullable(),\n message_id: z.string().describe(\"Unique ID of the updated message\").nullable(),\n updated_at: z.number().int().describe(\"Timestamp when the message was last updated (ms since epoch)\").nullable(),\n channel_url: z.string().describe(\"URL of the channel containing the message\").nullable(),\n custom_type: z.string().describe(\"Custom type of the message\").nullable().optional(),\n thread_info: z.record(z.string(), z.unknown()).describe(\"Thread information if part of a thread\").nullable().optional(),\n mention_type: z.string().describe(\"Mention type in the message\").nullable().optional(),\n translations: z.record(z.string(), z.unknown()).describe(\"Translations available for the message\").nullable().optional(),\n mentioned_users: z.array(z.record(z.string(), z.unknown())).describe(\"List of mentioned user objects\").nullable().optional(),\n sorted_metaarray: z.array(z.record(z.string(), z.unknown())).describe(\"Sorted metaarray objects for the message\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"ID of the parent message if this is a reply\").nullable().optional(),\n is_reply_to_channel: z.boolean().describe(\"True if message is a direct reply to channel\").nullable().optional(),\n parent_message_info: z.record(z.string(), z.unknown()).describe(\"Parent message data if this is a reply\").nullable().optional(),\n apple_critical_alert_options: z.record(z.string(), z.unknown()).describe(\"Apple critical alert options for the message\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel message.\");\n\nexport const sendbirdUpdateMessage = action(\"SENDBIRD_UPDATE_MESSAGE\", {\n slug: \"sendbird-update-message\",\n name: \"Sendbird Update Message\",\n description: \"Tool to update an existing group channel message in Sendbird. Use after you need to modify content or metadata of a sent message.\",\n input: SendbirdUpdateMessageInput,\n output: SendbirdUpdateMessageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-message.cjs","names":["z","action"],"sources":["../../src/actions/update-message.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdUpdateMessageInput = z.object({\n data: z.string().describe(\"Additional data for the message as a JSON-encoded string\").optional(),\n content: z.string().describe(\"New text content of the message\").optional(),\n user_id: z.string().describe(\"ID of the user performing the update\").optional(),\n dedup_id: z.string().describe(\"Deduplication ID for the message update\").optional(),\n is_silent: z.boolean().describe(\"Whether the message update should be silent (no push notification)\").optional(),\n message_id: z.string().describe(\"Unique ID of the message to update\"),\n channel_url: z.string().describe(\"URL identifier of the group channel containing the message\"),\n custom_type: z.string().describe(\"Custom type label for the message\").optional(),\n mention_type: z.string().describe(\"Mention type for the message (e.g., 'users' or 'channel')\").optional(),\n message_type: z.string().describe(\"Type of the message (e.g., 'MESG' or 'FILE')\").optional(),\n apns_bundle_id: z.string().describe(\"APNs bundle ID for iOS push notifications\").optional(),\n sorted_metaarray: z.array(z.record(z.string(), z.unknown())).describe(\"Sorted metaarray objects for the message\").optional(),\n mentioned_user_ids: z.array(z.string()).describe(\"List of user IDs to mention in the message\").optional(),\n push_notification_delivery_option: z.string().describe(\"Push notification delivery option ('default', 'suppress')\").optional(),\n}).describe(\"Request schema for updating a Sendbird group channel message.\");\nexport const SendbirdUpdateMessageOutput = z.object({\n data: z.string().describe(\"Additional data in the message\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"File object if the message contains a file\").nullable().optional(),\n type: z.string().describe(\"Type of the message\").nullable(),\n user: z.record(z.string(), z.unknown()).describe(\"User object who sent the message\"),\n og_tag: z.record(z.string(), z.unknown()).describe(\"Open Graph tag information for the message\").nullable().optional(),\n content: z.string().describe(\"Content of the message\").nullable().optional(),\n is_silent: z.boolean().describe(\"True if the update was silent\").nullable(),\n reactions: z.array(z.record(z.string(), z.unknown())).describe(\"List of reaction objects on the message\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the message was created (ms since epoch)\").nullable(),\n message_id: z.string().describe(\"Unique ID of the updated message\").nullable(),\n updated_at: z.number().int().describe(\"Timestamp when the message was last updated (ms since epoch)\").nullable(),\n channel_url: z.string().describe(\"URL of the channel containing the message\").nullable(),\n custom_type: z.string().describe(\"Custom type of the message\").nullable().optional(),\n thread_info: z.record(z.string(), z.unknown()).describe(\"Thread information if part of a thread\").nullable().optional(),\n mention_type: z.string().describe(\"Mention type in the message\").nullable().optional(),\n translations: z.record(z.string(), z.unknown()).describe(\"Translations available for the message\").nullable().optional(),\n mentioned_users: z.array(z.record(z.string(), z.unknown())).describe(\"List of mentioned user objects\").nullable().optional(),\n sorted_metaarray: z.array(z.record(z.string(), z.unknown())).describe(\"Sorted metaarray objects for the message\").nullable().optional(),\n parent_message_id: z.number().int().describe(\"ID of the parent message if this is a reply\").nullable().optional(),\n is_reply_to_channel: z.boolean().describe(\"True if message is a direct reply to channel\").nullable().optional(),\n parent_message_info: z.record(z.string(), z.unknown()).describe(\"Parent message data if this is a reply\").nullable().optional(),\n apple_critical_alert_options: z.record(z.string(), z.unknown()).describe(\"Apple critical alert options for the message\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Sendbird group channel message.\");\n\nexport const sendbirdUpdateMessage: AppAction<\n typeof SendbirdUpdateMessageInput,\n typeof SendbirdUpdateMessageOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_UPDATE_MESSAGE\", {\n slug: \"sendbird-update-message\",\n name: \"Sendbird Update Message\",\n description: \"Tool to update an existing group channel message in Sendbird. Use after you need to modify content or metadata of a sent message.\",\n input: SendbirdUpdateMessageInput,\n output: SendbirdUpdateMessageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC3H,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxG,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC;CACnF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,8BAA8BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|