@keystrokehq/sendbird 0.1.4 → 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 -6
- package/dist/actions/add-members-group-channel.d.cts.map +1 -1
- package/dist/actions/add-members-group-channel.d.mts +3 -6
- 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 -7
- package/dist/actions/ban-user-from-group-channel.d.cts.map +1 -1
- package/dist/actions/ban-user-from-group-channel.d.mts +3 -7
- 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 -20
- package/dist/actions/create-channel.d.cts.map +1 -1
- package/dist/actions/create-channel.d.mts +3 -20
- 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 -13
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -13
- 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 -3
- package/dist/actions/delete-channel.d.cts.map +1 -1
- package/dist/actions/delete-channel.d.mts +3 -3
- 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 -4
- package/dist/actions/delete-message.d.cts.map +1 -1
- package/dist/actions/delete-message.d.mts +3 -4
- 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 -4
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -4
- 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 -5
- package/dist/actions/get-count-preference-of-channel.d.cts.map +1 -1
- package/dist/actions/get-count-preference-of-channel.d.mts +4 -5
- 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 -7
- 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 -7
- 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 -5
- package/dist/actions/get-number-of-unread-items.d.cts.map +1 -1
- package/dist/actions/get-number-of-unread-items.d.mts +3 -5
- 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 -4
- package/dist/actions/issue-session-token.d.cts.map +1 -1
- package/dist/actions/issue-session-token.d.mts +3 -4
- 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 -6
- package/dist/actions/leave-group-channels.d.cts.map +1 -1
- package/dist/actions/leave-group-channels.d.mts +3 -6
- 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 -5
- package/dist/actions/list-banned-members.d.cts.map +1 -1
- package/dist/actions/list-banned-members.d.mts +3 -5
- 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 -21
- package/dist/actions/list-group-channel-messages.d.cts.map +1 -1
- package/dist/actions/list-group-channel-messages.d.mts +3 -21
- 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 -23
- package/dist/actions/list-group-channels.d.cts.map +1 -1
- package/dist/actions/list-group-channels.d.mts +3 -23
- 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 -11
- package/dist/actions/list-members-group-channel.d.cts.map +1 -1
- package/dist/actions/list-members-group-channel.d.mts +3 -11
- 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 -5
- package/dist/actions/list-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.d.mts +3 -5
- 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 -5
- package/dist/actions/list-operators-group-channel.d.cts.map +1 -1
- package/dist/actions/list-operators-group-channel.d.mts +3 -5
- 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 -5
- package/dist/actions/list-operators-open-channel.d.cts.map +1 -1
- package/dist/actions/list-operators-open-channel.d.mts +3 -5
- 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 -13
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -13
- 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 -3
- 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 -3
- 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 -6
- package/dist/actions/mute-user.d.cts.map +1 -1
- package/dist/actions/mute-user.d.mts +3 -6
- 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 -4
- package/dist/actions/register-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.d.mts +3 -4
- 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 -4
- package/dist/actions/register-operators-group-channel.d.cts.map +1 -1
- package/dist/actions/register-operators-group-channel.d.mts +3 -4
- 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 -4
- package/dist/actions/register-operators-open-channel.d.cts.map +1 -1
- package/dist/actions/register-operators-open-channel.d.mts +3 -4
- 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 -3
- package/dist/actions/revoke-all-session-tokens.d.cts.map +1 -1
- package/dist/actions/revoke-all-session-tokens.d.mts +3 -3
- 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 -22
- package/dist/actions/send-message.d.cts.map +1 -1
- package/dist/actions/send-message.d.mts +3 -22
- 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 -4
- package/dist/actions/unban-user.d.cts.map +1 -1
- package/dist/actions/unban-user.d.mts +3 -4
- 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 -4
- package/dist/actions/unmute-user.d.cts.map +1 -1
- package/dist/actions/unmute-user.d.mts +3 -4
- 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 -4
- package/dist/actions/unregister-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.d.mts +3 -4
- 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 -5
- package/dist/actions/update-count-preference-of-channel.d.cts.map +1 -1
- package/dist/actions/update-count-preference-of-channel.d.mts +3 -5
- 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 -14
- package/dist/actions/update-group-channel.d.cts.map +1 -1
- package/dist/actions/update-group-channel.d.mts +3 -14
- 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 -16
- package/dist/actions/update-message.d.cts.map +1 -1
- package/dist/actions/update-message.d.mts +3 -16
- 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 -9
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -9
- 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 -8
- package/dist/actions/view-group-channel.d.cts.map +1 -1
- package/dist/actions/view-group-channel.d.mts +3 -8
- 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 -5
- package/dist/actions/view-message.d.cts.map +1 -1
- package/dist/actions/view-message.d.mts +3 -5
- 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 -3
- package/dist/actions/view-user.d.cts.map +1 -1
- package/dist/actions/view-user.d.mts +3 -3
- 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 +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- 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":"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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const sendbirdUnregisterOperatorsCustomChannelType: AppAction<typeof SendbirdUnregisterOperatorsCustomChannelTypeInput, typeof SendbirdUnregisterOperatorsCustomChannelTypeOutput, typeof sendbird.credential>;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { sendbirdUnregisterOperatorsCustomChannelType };
|
|
20
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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const sendbirdUnregisterOperatorsCustomChannelType: AppAction<typeof SendbirdUnregisterOperatorsCustomChannelTypeInput, typeof SendbirdUnregisterOperatorsCustomChannelTypeOutput, typeof sendbird.credential>;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { sendbirdUnregisterOperatorsCustomChannelType };
|
|
20
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,11 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const sendbirdUpdateCountPreferenceOfChannel: AppAction<typeof SendbirdUpdateCountPreferenceOfChannelInput, typeof SendbirdUpdateCountPreferenceOfChannelOutput, typeof sendbird.credential>;
|
|
23
21
|
//#endregion
|
|
24
22
|
export { sendbirdUpdateCountPreferenceOfChannel };
|
|
25
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,11 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const sendbirdUpdateCountPreferenceOfChannel: AppAction<typeof SendbirdUpdateCountPreferenceOfChannelInput, typeof SendbirdUpdateCountPreferenceOfChannelOutput, typeof sendbird.credential>;
|
|
23
21
|
//#endregion
|
|
24
22
|
export { sendbirdUpdateCountPreferenceOfChannel };
|
|
25
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;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AC,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,20 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const sendbirdUpdateGroupChannel: AppAction<typeof SendbirdUpdateGroupChannelInput, typeof SendbirdUpdateGroupChannelOutput, typeof sendbird.credential>;
|
|
49
38
|
//#endregion
|
|
50
39
|
export { sendbirdUpdateGroupChannel };
|
|
51
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,20 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const sendbirdUpdateGroupChannel: AppAction<typeof SendbirdUpdateGroupChannelInput, typeof SendbirdUpdateGroupChannelOutput, typeof sendbird.credential>;
|
|
49
38
|
//#endregion
|
|
50
39
|
export { sendbirdUpdateGroupChannel };
|
|
51
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,W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;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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AAC,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"}
|
|
@@ -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-message.d.ts
|
|
@@ -41,22 +43,7 @@ declare const SendbirdUpdateMessageOutput: z.ZodObject<{
|
|
|
41
43
|
parent_message_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
42
44
|
apple_critical_alert_options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const sendbirdUpdateMessage:
|
|
45
|
-
message_id: string;
|
|
46
|
-
channel_url: string;
|
|
47
|
-
data?: string | undefined;
|
|
48
|
-
content?: string | undefined;
|
|
49
|
-
user_id?: string | undefined;
|
|
50
|
-
dedup_id?: string | undefined;
|
|
51
|
-
is_silent?: boolean | undefined;
|
|
52
|
-
custom_type?: string | undefined;
|
|
53
|
-
mention_type?: string | undefined;
|
|
54
|
-
message_type?: string | undefined;
|
|
55
|
-
apns_bundle_id?: string | undefined;
|
|
56
|
-
sorted_metaarray?: Record<string, unknown>[] | undefined;
|
|
57
|
-
mentioned_user_ids?: string[] | undefined;
|
|
58
|
-
push_notification_delivery_option?: string | undefined;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const sendbirdUpdateMessage: AppAction<typeof SendbirdUpdateMessageInput, typeof SendbirdUpdateMessageOutput, typeof sendbird.credential>;
|
|
60
47
|
//#endregion
|
|
61
48
|
export { sendbirdUpdateMessage };
|
|
62
49
|
//# sourceMappingURL=update-message.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-message.d.cts","names":[],"sources":["../../src/actions/update-message.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-message.d.cts","names":[],"sources":["../../src/actions/update-message.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyB3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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-message.d.ts
|
|
@@ -41,22 +43,7 @@ declare const SendbirdUpdateMessageOutput: z.ZodObject<{
|
|
|
41
43
|
parent_message_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
42
44
|
apple_critical_alert_options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const sendbirdUpdateMessage:
|
|
45
|
-
message_id: string;
|
|
46
|
-
channel_url: string;
|
|
47
|
-
data?: string | undefined;
|
|
48
|
-
content?: string | undefined;
|
|
49
|
-
user_id?: string | undefined;
|
|
50
|
-
dedup_id?: string | undefined;
|
|
51
|
-
is_silent?: boolean | undefined;
|
|
52
|
-
custom_type?: string | undefined;
|
|
53
|
-
mention_type?: string | undefined;
|
|
54
|
-
message_type?: string | undefined;
|
|
55
|
-
apns_bundle_id?: string | undefined;
|
|
56
|
-
sorted_metaarray?: Record<string, unknown>[] | undefined;
|
|
57
|
-
mentioned_user_ids?: string[] | undefined;
|
|
58
|
-
push_notification_delivery_option?: string | undefined;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const sendbirdUpdateMessage: AppAction<typeof SendbirdUpdateMessageInput, typeof SendbirdUpdateMessageOutput, typeof sendbird.credential>;
|
|
60
47
|
//#endregion
|
|
61
48
|
export { sendbirdUpdateMessage };
|
|
62
49
|
//# sourceMappingURL=update-message.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-message.d.mts","names":[],"sources":["../../src/actions/update-message.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-message.d.mts","names":[],"sources":["../../src/actions/update-message.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAyB3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-message.mjs","names":[],"sources":["../../src/actions/update-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateMessageInput = z.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.mjs","names":[],"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":";;;AA+CA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjDwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EAC7F,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AE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,8BAA8B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdUpdateUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to update\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value store for user metadata\").optional(),\n nickname: z.string().describe(\"New display name for the user\").optional(),\n is_active: z.boolean().describe(\"Set to false to deactivate the user account\").optional(),\n profile_url: z.string().describe(\"URL of the new profile image\").optional(),\n issue_access_token: z.boolean().describe(\"Whether to issue a new access token for the user\").optional(),\n preferred_languages: z.array(z.string()).describe(\"List of language tags for localization\").optional(),\n}).describe(\"Request model for updating a Sendbird user.\");\nexport const SendbirdUpdateUserOutput = z.object({\n user_id: z.string().describe(\"Unique ID of the user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata of the user\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) of when the user was created\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the user\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, returned if issue_access_token was true\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has ever logged in\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a Sendbird user.\");\n\nexport const sendbirdUpdateUser = action(\"SENDBIRD_UPDATE_USER\", {\n slug: \"sendbird-update-user\",\n name: \"Update Sendbird User\",\n description: \"Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.\",\n input: SendbirdUpdateUserInput,\n output: SendbirdUpdateUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-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 SendbirdUpdateUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to update\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value store for user metadata\").optional(),\n nickname: z.string().describe(\"New display name for the user\").optional(),\n is_active: z.boolean().describe(\"Set to false to deactivate the user account\").optional(),\n profile_url: z.string().describe(\"URL of the new profile image\").optional(),\n issue_access_token: z.boolean().describe(\"Whether to issue a new access token for the user\").optional(),\n preferred_languages: z.array(z.string()).describe(\"List of language tags for localization\").optional(),\n}).describe(\"Request model for updating a Sendbird user.\");\nexport const SendbirdUpdateUserOutput = z.object({\n user_id: z.string().describe(\"Unique ID of the user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata of the user\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the user\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n is_online: z.boolean().describe(\"Whether the user is currently online\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp (ms) of when the user was created\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the user\").nullable().optional(),\n access_token: z.string().describe(\"Access token for the user, returned if issue_access_token was true\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp (ms) when the user was last seen\").nullable().optional(),\n phone_number: z.string().describe(\"User's phone number if configured\").nullable().optional(),\n discovery_keys: z.array(z.string()).describe(\"Discovery keys for the Discovery feature\").nullable().optional(),\n has_ever_logged_in: z.boolean().describe(\"Whether the user has ever logged in\").nullable().optional(),\n preferred_languages: z.array(z.string()).describe(\"User's preferred language codes\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"Whether profile image requires authentication to access\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a Sendbird user.\");\n\nexport const sendbirdUpdateUser: AppAction<\n typeof SendbirdUpdateUserInput,\n typeof SendbirdUpdateUserOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_UPDATE_USER\", {\n slug: \"sendbird-update-user\",\n name: \"Update Sendbird User\",\n description: \"Tool to update a user's information. Use when modifying nickname, profile image URL, activation status, or metadata.\",\n input: SendbirdUpdateUserInput,\n output: SendbirdUpdateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,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C,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gCAAgCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,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/update-user.d.ts
|
|
@@ -26,15 +28,7 @@ declare const SendbirdUpdateUserOutput: z.ZodObject<{
|
|
|
26
28
|
preferred_languages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
29
|
require_auth_for_profile_image: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const sendbirdUpdateUser:
|
|
30
|
-
user_id: string;
|
|
31
|
-
metadata?: Record<string, unknown> | undefined;
|
|
32
|
-
nickname?: string | undefined;
|
|
33
|
-
is_active?: boolean | undefined;
|
|
34
|
-
profile_url?: string | undefined;
|
|
35
|
-
issue_access_token?: boolean | undefined;
|
|
36
|
-
preferred_languages?: string[] | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const sendbirdUpdateUser: AppAction<typeof SendbirdUpdateUserInput, typeof SendbirdUpdateUserOutput, typeof sendbird.credential>;
|
|
38
32
|
//#endregion
|
|
39
33
|
export { sendbirdUpdateUser };
|
|
40
34
|
//# sourceMappingURL=update-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,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/update-user.d.ts
|
|
@@ -26,15 +28,7 @@ declare const SendbirdUpdateUserOutput: z.ZodObject<{
|
|
|
26
28
|
preferred_languages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
29
|
require_auth_for_profile_image: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const sendbirdUpdateUser:
|
|
30
|
-
user_id: string;
|
|
31
|
-
metadata?: Record<string, unknown> | undefined;
|
|
32
|
-
nickname?: string | undefined;
|
|
33
|
-
is_active?: boolean | undefined;
|
|
34
|
-
profile_url?: string | undefined;
|
|
35
|
-
issue_access_token?: boolean | undefined;
|
|
36
|
-
preferred_languages?: string[] | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const sendbirdUpdateUser: AppAction<typeof SendbirdUpdateUserInput, typeof SendbirdUpdateUserOutput, typeof sendbird.credential>;
|
|
38
32
|
//#endregion
|
|
39
33
|
export { sendbirdUpdateUser };
|
|
40
34
|
//# sourceMappingURL=update-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|