@keystrokehq/sendbird 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-members-group-channel.cjs +1 -0
- package/dist/actions/add-members-group-channel.cjs.map +1 -1
- package/dist/actions/add-members-group-channel.d.cts +3 -20
- package/dist/actions/add-members-group-channel.d.cts.map +1 -1
- package/dist/actions/add-members-group-channel.d.mts +3 -20
- package/dist/actions/add-members-group-channel.d.mts.map +1 -1
- package/dist/actions/add-members-group-channel.mjs +1 -0
- package/dist/actions/add-members-group-channel.mjs.map +1 -1
- package/dist/actions/ban-user-from-group-channel.cjs +1 -0
- package/dist/actions/ban-user-from-group-channel.cjs.map +1 -1
- package/dist/actions/ban-user-from-group-channel.d.cts +3 -21
- package/dist/actions/ban-user-from-group-channel.d.cts.map +1 -1
- package/dist/actions/ban-user-from-group-channel.d.mts +3 -21
- package/dist/actions/ban-user-from-group-channel.d.mts.map +1 -1
- package/dist/actions/ban-user-from-group-channel.mjs +1 -0
- package/dist/actions/ban-user-from-group-channel.mjs.map +1 -1
- package/dist/actions/create-channel.cjs +1 -0
- package/dist/actions/create-channel.cjs.map +1 -1
- package/dist/actions/create-channel.d.cts +3 -34
- package/dist/actions/create-channel.d.cts.map +1 -1
- package/dist/actions/create-channel.d.mts +3 -34
- package/dist/actions/create-channel.d.mts.map +1 -1
- package/dist/actions/create-channel.mjs +1 -0
- package/dist/actions/create-channel.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -27
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -27
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-channel.cjs +1 -0
- package/dist/actions/delete-channel.cjs.map +1 -1
- package/dist/actions/delete-channel.d.cts +3 -17
- package/dist/actions/delete-channel.d.cts.map +1 -1
- package/dist/actions/delete-channel.d.mts +3 -17
- package/dist/actions/delete-channel.d.mts.map +1 -1
- package/dist/actions/delete-channel.mjs +1 -0
- package/dist/actions/delete-channel.mjs.map +1 -1
- package/dist/actions/delete-message.cjs +1 -0
- package/dist/actions/delete-message.cjs.map +1 -1
- package/dist/actions/delete-message.d.cts +3 -18
- package/dist/actions/delete-message.d.cts.map +1 -1
- package/dist/actions/delete-message.d.mts +3 -18
- package/dist/actions/delete-message.d.mts.map +1 -1
- package/dist/actions/delete-message.mjs +1 -0
- package/dist/actions/delete-message.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -18
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -18
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-count-preference-of-channel.cjs +1 -0
- package/dist/actions/get-count-preference-of-channel.cjs.map +1 -1
- package/dist/actions/get-count-preference-of-channel.d.cts +4 -19
- package/dist/actions/get-count-preference-of-channel.d.cts.map +1 -1
- package/dist/actions/get-count-preference-of-channel.d.mts +4 -19
- package/dist/actions/get-count-preference-of-channel.d.mts.map +1 -1
- package/dist/actions/get-count-preference-of-channel.mjs +1 -0
- package/dist/actions/get-count-preference-of-channel.mjs.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.cjs +1 -0
- package/dist/actions/get-number-of-channels-by-join-status.cjs.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.d.cts +3 -21
- package/dist/actions/get-number-of-channels-by-join-status.d.cts.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.d.mts +3 -21
- package/dist/actions/get-number-of-channels-by-join-status.d.mts.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.mjs +1 -0
- package/dist/actions/get-number-of-channels-by-join-status.mjs.map +1 -1
- package/dist/actions/get-number-of-unread-items.cjs +1 -0
- package/dist/actions/get-number-of-unread-items.cjs.map +1 -1
- package/dist/actions/get-number-of-unread-items.d.cts +3 -19
- package/dist/actions/get-number-of-unread-items.d.cts.map +1 -1
- package/dist/actions/get-number-of-unread-items.d.mts +3 -19
- package/dist/actions/get-number-of-unread-items.d.mts.map +1 -1
- package/dist/actions/get-number-of-unread-items.mjs +1 -0
- package/dist/actions/get-number-of-unread-items.mjs.map +1 -1
- package/dist/actions/issue-session-token.cjs +1 -0
- package/dist/actions/issue-session-token.cjs.map +1 -1
- package/dist/actions/issue-session-token.d.cts +3 -18
- package/dist/actions/issue-session-token.d.cts.map +1 -1
- package/dist/actions/issue-session-token.d.mts +3 -18
- package/dist/actions/issue-session-token.d.mts.map +1 -1
- package/dist/actions/issue-session-token.mjs +1 -0
- package/dist/actions/issue-session-token.mjs.map +1 -1
- package/dist/actions/leave-group-channels.cjs +1 -0
- package/dist/actions/leave-group-channels.cjs.map +1 -1
- package/dist/actions/leave-group-channels.d.cts +3 -20
- package/dist/actions/leave-group-channels.d.cts.map +1 -1
- package/dist/actions/leave-group-channels.d.mts +3 -20
- package/dist/actions/leave-group-channels.d.mts.map +1 -1
- package/dist/actions/leave-group-channels.mjs +1 -0
- package/dist/actions/leave-group-channels.mjs.map +1 -1
- package/dist/actions/list-banned-members.cjs +1 -0
- package/dist/actions/list-banned-members.cjs.map +1 -1
- package/dist/actions/list-banned-members.d.cts +3 -19
- package/dist/actions/list-banned-members.d.cts.map +1 -1
- package/dist/actions/list-banned-members.d.mts +3 -19
- package/dist/actions/list-banned-members.d.mts.map +1 -1
- package/dist/actions/list-banned-members.mjs +1 -0
- package/dist/actions/list-banned-members.mjs.map +1 -1
- package/dist/actions/list-group-channel-messages.cjs +1 -0
- package/dist/actions/list-group-channel-messages.cjs.map +1 -1
- package/dist/actions/list-group-channel-messages.d.cts +3 -35
- package/dist/actions/list-group-channel-messages.d.cts.map +1 -1
- package/dist/actions/list-group-channel-messages.d.mts +3 -35
- package/dist/actions/list-group-channel-messages.d.mts.map +1 -1
- package/dist/actions/list-group-channel-messages.mjs +1 -0
- package/dist/actions/list-group-channel-messages.mjs.map +1 -1
- package/dist/actions/list-group-channels.cjs +1 -0
- package/dist/actions/list-group-channels.cjs.map +1 -1
- package/dist/actions/list-group-channels.d.cts +3 -37
- package/dist/actions/list-group-channels.d.cts.map +1 -1
- package/dist/actions/list-group-channels.d.mts +3 -37
- package/dist/actions/list-group-channels.d.mts.map +1 -1
- package/dist/actions/list-group-channels.mjs +1 -0
- package/dist/actions/list-group-channels.mjs.map +1 -1
- package/dist/actions/list-members-group-channel.cjs +1 -0
- package/dist/actions/list-members-group-channel.cjs.map +1 -1
- package/dist/actions/list-members-group-channel.d.cts +3 -25
- package/dist/actions/list-members-group-channel.d.cts.map +1 -1
- package/dist/actions/list-members-group-channel.d.mts +3 -25
- package/dist/actions/list-members-group-channel.d.mts.map +1 -1
- package/dist/actions/list-members-group-channel.mjs +1 -0
- package/dist/actions/list-members-group-channel.mjs.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.cjs +1 -0
- package/dist/actions/list-operators-custom-channel-type.cjs.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.d.cts +3 -19
- package/dist/actions/list-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.d.mts +3 -19
- package/dist/actions/list-operators-custom-channel-type.d.mts.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.mjs +1 -0
- package/dist/actions/list-operators-custom-channel-type.mjs.map +1 -1
- package/dist/actions/list-operators-group-channel.cjs +1 -0
- package/dist/actions/list-operators-group-channel.cjs.map +1 -1
- package/dist/actions/list-operators-group-channel.d.cts +3 -19
- package/dist/actions/list-operators-group-channel.d.cts.map +1 -1
- package/dist/actions/list-operators-group-channel.d.mts +3 -19
- package/dist/actions/list-operators-group-channel.d.mts.map +1 -1
- package/dist/actions/list-operators-group-channel.mjs +1 -0
- package/dist/actions/list-operators-group-channel.mjs.map +1 -1
- package/dist/actions/list-operators-open-channel.cjs +1 -0
- package/dist/actions/list-operators-open-channel.cjs.map +1 -1
- package/dist/actions/list-operators-open-channel.d.cts +3 -19
- package/dist/actions/list-operators-open-channel.d.cts.map +1 -1
- package/dist/actions/list-operators-open-channel.d.mts +3 -19
- package/dist/actions/list-operators-open-channel.d.mts.map +1 -1
- package/dist/actions/list-operators-open-channel.mjs +1 -0
- package/dist/actions/list-operators-open-channel.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -27
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -27
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.cjs +1 -0
- package/dist/actions/mark-all-user-messages-as-read.cjs.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.d.cts +3 -17
- package/dist/actions/mark-all-user-messages-as-read.d.cts.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.d.mts +3 -17
- package/dist/actions/mark-all-user-messages-as-read.d.mts.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.mjs +1 -0
- package/dist/actions/mark-all-user-messages-as-read.mjs.map +1 -1
- package/dist/actions/mute-user.cjs +1 -0
- package/dist/actions/mute-user.cjs.map +1 -1
- package/dist/actions/mute-user.d.cts +3 -20
- package/dist/actions/mute-user.d.cts.map +1 -1
- package/dist/actions/mute-user.d.mts +3 -20
- package/dist/actions/mute-user.d.mts.map +1 -1
- package/dist/actions/mute-user.mjs +1 -0
- package/dist/actions/mute-user.mjs.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.cjs +1 -0
- package/dist/actions/register-operators-custom-channel-type.cjs.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.d.cts +3 -18
- package/dist/actions/register-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.d.mts +3 -18
- package/dist/actions/register-operators-custom-channel-type.d.mts.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.mjs +1 -0
- package/dist/actions/register-operators-custom-channel-type.mjs.map +1 -1
- package/dist/actions/register-operators-group-channel.cjs +1 -0
- package/dist/actions/register-operators-group-channel.cjs.map +1 -1
- package/dist/actions/register-operators-group-channel.d.cts +3 -18
- package/dist/actions/register-operators-group-channel.d.cts.map +1 -1
- package/dist/actions/register-operators-group-channel.d.mts +3 -18
- package/dist/actions/register-operators-group-channel.d.mts.map +1 -1
- package/dist/actions/register-operators-group-channel.mjs +1 -0
- package/dist/actions/register-operators-group-channel.mjs.map +1 -1
- package/dist/actions/register-operators-open-channel.cjs +1 -0
- package/dist/actions/register-operators-open-channel.cjs.map +1 -1
- package/dist/actions/register-operators-open-channel.d.cts +3 -18
- package/dist/actions/register-operators-open-channel.d.cts.map +1 -1
- package/dist/actions/register-operators-open-channel.d.mts +3 -18
- package/dist/actions/register-operators-open-channel.d.mts.map +1 -1
- package/dist/actions/register-operators-open-channel.mjs +1 -0
- package/dist/actions/register-operators-open-channel.mjs.map +1 -1
- package/dist/actions/revoke-all-session-tokens.cjs +1 -0
- package/dist/actions/revoke-all-session-tokens.cjs.map +1 -1
- package/dist/actions/revoke-all-session-tokens.d.cts +3 -17
- package/dist/actions/revoke-all-session-tokens.d.cts.map +1 -1
- package/dist/actions/revoke-all-session-tokens.d.mts +3 -17
- package/dist/actions/revoke-all-session-tokens.d.mts.map +1 -1
- package/dist/actions/revoke-all-session-tokens.mjs +1 -0
- package/dist/actions/revoke-all-session-tokens.mjs.map +1 -1
- package/dist/actions/send-message.cjs +1 -0
- package/dist/actions/send-message.cjs.map +1 -1
- package/dist/actions/send-message.d.cts +3 -36
- package/dist/actions/send-message.d.cts.map +1 -1
- package/dist/actions/send-message.d.mts +3 -36
- package/dist/actions/send-message.d.mts.map +1 -1
- package/dist/actions/send-message.mjs +1 -0
- package/dist/actions/send-message.mjs.map +1 -1
- package/dist/actions/unban-user.cjs +1 -0
- package/dist/actions/unban-user.cjs.map +1 -1
- package/dist/actions/unban-user.d.cts +3 -18
- package/dist/actions/unban-user.d.cts.map +1 -1
- package/dist/actions/unban-user.d.mts +3 -18
- package/dist/actions/unban-user.d.mts.map +1 -1
- package/dist/actions/unban-user.mjs +1 -0
- package/dist/actions/unban-user.mjs.map +1 -1
- package/dist/actions/unmute-user.cjs +1 -0
- package/dist/actions/unmute-user.cjs.map +1 -1
- package/dist/actions/unmute-user.d.cts +3 -18
- package/dist/actions/unmute-user.d.cts.map +1 -1
- package/dist/actions/unmute-user.d.mts +3 -18
- package/dist/actions/unmute-user.d.mts.map +1 -1
- package/dist/actions/unmute-user.mjs +1 -0
- package/dist/actions/unmute-user.mjs.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.cjs +1 -0
- package/dist/actions/unregister-operators-custom-channel-type.cjs.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.d.cts +3 -18
- package/dist/actions/unregister-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.d.mts +3 -18
- package/dist/actions/unregister-operators-custom-channel-type.d.mts.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.mjs +1 -0
- package/dist/actions/unregister-operators-custom-channel-type.mjs.map +1 -1
- package/dist/actions/update-count-preference-of-channel.cjs +1 -0
- package/dist/actions/update-count-preference-of-channel.cjs.map +1 -1
- package/dist/actions/update-count-preference-of-channel.d.cts +3 -19
- package/dist/actions/update-count-preference-of-channel.d.cts.map +1 -1
- package/dist/actions/update-count-preference-of-channel.d.mts +3 -19
- package/dist/actions/update-count-preference-of-channel.d.mts.map +1 -1
- package/dist/actions/update-count-preference-of-channel.mjs +1 -0
- package/dist/actions/update-count-preference-of-channel.mjs.map +1 -1
- package/dist/actions/update-group-channel.cjs +1 -0
- package/dist/actions/update-group-channel.cjs.map +1 -1
- package/dist/actions/update-group-channel.d.cts +3 -28
- package/dist/actions/update-group-channel.d.cts.map +1 -1
- package/dist/actions/update-group-channel.d.mts +3 -28
- package/dist/actions/update-group-channel.d.mts.map +1 -1
- package/dist/actions/update-group-channel.mjs +1 -0
- package/dist/actions/update-group-channel.mjs.map +1 -1
- package/dist/actions/update-message.cjs +1 -0
- package/dist/actions/update-message.cjs.map +1 -1
- package/dist/actions/update-message.d.cts +3 -30
- package/dist/actions/update-message.d.cts.map +1 -1
- package/dist/actions/update-message.d.mts +3 -30
- package/dist/actions/update-message.d.mts.map +1 -1
- package/dist/actions/update-message.mjs +1 -0
- package/dist/actions/update-message.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -23
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -23
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/actions/view-group-channel.cjs +1 -0
- package/dist/actions/view-group-channel.cjs.map +1 -1
- package/dist/actions/view-group-channel.d.cts +3 -22
- package/dist/actions/view-group-channel.d.cts.map +1 -1
- package/dist/actions/view-group-channel.d.mts +3 -22
- package/dist/actions/view-group-channel.d.mts.map +1 -1
- package/dist/actions/view-group-channel.mjs +1 -0
- package/dist/actions/view-group-channel.mjs.map +1 -1
- package/dist/actions/view-message.cjs +1 -0
- package/dist/actions/view-message.cjs.map +1 -1
- package/dist/actions/view-message.d.cts +3 -19
- package/dist/actions/view-message.d.cts.map +1 -1
- package/dist/actions/view-message.d.mts +3 -19
- package/dist/actions/view-message.d.mts.map +1 -1
- package/dist/actions/view-message.mjs +1 -0
- package/dist/actions/view-message.mjs.map +1 -1
- package/dist/actions/view-user.cjs +1 -0
- package/dist/actions/view-user.cjs.map +1 -1
- package/dist/actions/view-user.d.cts +3 -17
- package/dist/actions/view-user.d.cts.map +1 -1
- package/dist/actions/view-user.d.mts +3 -17
- package/dist/actions/view-user.d.mts.map +1 -1
- package/dist/actions/view-user.mjs +1 -0
- package/dist/actions/view-user.mjs.map +1 -1
- package/dist/app.cjs +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-members-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-members-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListMembersGroupChannelInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-100)\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"operator_alphabetical\"]).describe(\"Sorting order of members list\").optional(),\n token: z.string().describe(\"Pagination token for fetching the next page\").optional(),\n offset: z.number().int().describe(\"Number of results to skip before returning the set (deprecated; use token instead)\").optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\"),\n operator_filter: z.enum([\"all\", \"operator\", \"nonoperator\"]).describe(\"Filter by operator status\").optional(),\n member_state_filter: z.enum([\"all\", \"joined_only\", \"invited_only\"]).describe(\"Filter by membership state\").optional(),\n muted_member_filter: z.enum([\"all\", \"muted\", \"unmuted\"]).describe(\"Filter by muted status of members\").optional(),\n nickname_startswith: z.string().describe(\"Search members whose nicknames start with this string\").optional(),\n});\nconst SendbirdListMembersGroupChannel_MemberSchema = z.object({\n state: z.string().describe(\"Membership state, e.g., joined, invited\").nullable(),\n user_id: z.string().describe(\"The user's unique ID\").nullable(),\n is_muted: z.boolean().describe(\"If the user is muted in the channel\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the member\").nullable().optional(),\n nickname: z.string().describe(\"The user's nickname\").nullable().optional(),\n is_online: z.boolean().describe(\"Online status of the user\").nullable(),\n is_operator: z.boolean().describe(\"Whether the member is an operator\").nullable(),\n profile_url: z.string().describe(\"The user's profile image URL\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen\").nullable(),\n}).passthrough();\nexport const SendbirdListMembersGroupChannelOutput = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results\").nullable().optional(),\n members: z.array(SendbirdListMembersGroupChannel_MemberSchema).describe(\"List of channel members\"),\n total_count: z.number().int().describe(\"Total number of members (when using filters)\").nullable().optional(),\n}).passthrough();\n\nexport const sendbirdListMembersGroupChannel = action(\"SENDBIRD_LIST_MEMBERS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-members-group-channel\",\n name: \"List Group Channel Members\",\n description: \"Tool to list members of a group channel. Use when you need to paginate through members of a specified group channel.\",\n input: SendbirdListMembersGroupChannelInput,\n output: SendbirdListMembersGroupChannelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-members-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-members-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 SendbirdListMembersGroupChannelInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-100)\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"operator_alphabetical\"]).describe(\"Sorting order of members list\").optional(),\n token: z.string().describe(\"Pagination token for fetching the next page\").optional(),\n offset: z.number().int().describe(\"Number of results to skip before returning the set (deprecated; use token instead)\").optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\"),\n operator_filter: z.enum([\"all\", \"operator\", \"nonoperator\"]).describe(\"Filter by operator status\").optional(),\n member_state_filter: z.enum([\"all\", \"joined_only\", \"invited_only\"]).describe(\"Filter by membership state\").optional(),\n muted_member_filter: z.enum([\"all\", \"muted\", \"unmuted\"]).describe(\"Filter by muted status of members\").optional(),\n nickname_startswith: z.string().describe(\"Search members whose nicknames start with this string\").optional(),\n});\nconst SendbirdListMembersGroupChannel_MemberSchema = z.object({\n state: z.string().describe(\"Membership state, e.g., joined, invited\").nullable(),\n user_id: z.string().describe(\"The user's unique ID\").nullable(),\n is_muted: z.boolean().describe(\"If the user is muted in the channel\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the member\").nullable().optional(),\n nickname: z.string().describe(\"The user's nickname\").nullable().optional(),\n is_online: z.boolean().describe(\"Online status of the user\").nullable(),\n is_operator: z.boolean().describe(\"Whether the member is an operator\").nullable(),\n profile_url: z.string().describe(\"The user's profile image URL\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen\").nullable(),\n}).passthrough();\nexport const SendbirdListMembersGroupChannelOutput = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results\").nullable().optional(),\n members: z.array(SendbirdListMembersGroupChannel_MemberSchema).describe(\"List of channel members\"),\n total_count: z.number().int().describe(\"Total number of members (when using filters)\").nullable().optional(),\n}).passthrough();\n\nexport const sendbirdListMembersGroupChannel: AppAction<\n typeof SendbirdListMembersGroupChannelInput,\n typeof SendbirdListMembersGroupChannelOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LIST_MEMBERS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-members-group-channel\",\n name: \"List Group Channel Members\",\n description: \"Tool to list members of a group channel. Use when you need to paginate through members of a specified group channel.\",\n input: SendbirdListMembersGroupChannelInput,\n output: SendbirdListMembersGroupChannelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,KAAK,CAAC,yBAAyB,uBAAuB,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACjI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAe;CAAc,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpH,qBAAqBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;CAAS,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAChH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,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/list-members-group-channel.d.ts
|
|
@@ -42,31 +44,7 @@ declare const SendbirdListMembersGroupChannelOutput: z.ZodObject<{
|
|
|
42
44
|
}, z.core.$loose>>;
|
|
43
45
|
total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
46
|
}, z.core.$loose>;
|
|
45
|
-
declare const sendbirdListMembersGroupChannel:
|
|
46
|
-
channel_url: string;
|
|
47
|
-
limit?: number | undefined;
|
|
48
|
-
order?: "nickname_alphabetical" | "operator_alphabetical" | undefined;
|
|
49
|
-
token?: string | undefined;
|
|
50
|
-
offset?: number | undefined;
|
|
51
|
-
operator_filter?: "all" | "operator" | "nonoperator" | undefined;
|
|
52
|
-
member_state_filter?: "all" | "joined_only" | "invited_only" | undefined;
|
|
53
|
-
muted_member_filter?: "all" | "muted" | "unmuted" | undefined;
|
|
54
|
-
nickname_startswith?: string | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
subdomain: z.ZodString;
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
63
|
-
connectionId: z.ZodString;
|
|
64
|
-
entityId: z.ZodString;
|
|
65
|
-
instanceId: z.ZodString;
|
|
66
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
-
subdomain: z.ZodString;
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>;
|
|
47
|
+
declare const sendbirdListMembersGroupChannel: AppAction<typeof SendbirdListMembersGroupChannelInput, typeof SendbirdListMembersGroupChannelOutput, typeof sendbird.credential>;
|
|
70
48
|
//#endregion
|
|
71
49
|
export { sendbirdListMembersGroupChannel };
|
|
72
50
|
//# sourceMappingURL=list-members-group-channel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-members-group-channel.d.cts","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-members-group-channel.d.cts","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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/list-members-group-channel.d.ts
|
|
@@ -42,31 +44,7 @@ declare const SendbirdListMembersGroupChannelOutput: z.ZodObject<{
|
|
|
42
44
|
}, z.core.$loose>>;
|
|
43
45
|
total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
46
|
}, z.core.$loose>;
|
|
45
|
-
declare const sendbirdListMembersGroupChannel:
|
|
46
|
-
channel_url: string;
|
|
47
|
-
limit?: number | undefined;
|
|
48
|
-
order?: "nickname_alphabetical" | "operator_alphabetical" | undefined;
|
|
49
|
-
token?: string | undefined;
|
|
50
|
-
offset?: number | undefined;
|
|
51
|
-
operator_filter?: "all" | "operator" | "nonoperator" | undefined;
|
|
52
|
-
member_state_filter?: "all" | "joined_only" | "invited_only" | undefined;
|
|
53
|
-
muted_member_filter?: "all" | "muted" | "unmuted" | undefined;
|
|
54
|
-
nickname_startswith?: string | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
subdomain: z.ZodString;
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
63
|
-
connectionId: z.ZodString;
|
|
64
|
-
entityId: z.ZodString;
|
|
65
|
-
instanceId: z.ZodString;
|
|
66
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
-
subdomain: z.ZodString;
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>;
|
|
47
|
+
declare const sendbirdListMembersGroupChannel: AppAction<typeof SendbirdListMembersGroupChannelInput, typeof SendbirdListMembersGroupChannelOutput, typeof sendbird.credential>;
|
|
70
48
|
//#endregion
|
|
71
49
|
export { sendbirdListMembersGroupChannel };
|
|
72
50
|
//# sourceMappingURL=list-members-group-channel.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-members-group-channel.d.mts","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-members-group-channel.d.mts","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-members-group-channel.mjs","names":[],"sources":["../../src/actions/list-members-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListMembersGroupChannelInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-100)\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"operator_alphabetical\"]).describe(\"Sorting order of members list\").optional(),\n token: z.string().describe(\"Pagination token for fetching the next page\").optional(),\n offset: z.number().int().describe(\"Number of results to skip before returning the set (deprecated; use token instead)\").optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\"),\n operator_filter: z.enum([\"all\", \"operator\", \"nonoperator\"]).describe(\"Filter by operator status\").optional(),\n member_state_filter: z.enum([\"all\", \"joined_only\", \"invited_only\"]).describe(\"Filter by membership state\").optional(),\n muted_member_filter: z.enum([\"all\", \"muted\", \"unmuted\"]).describe(\"Filter by muted status of members\").optional(),\n nickname_startswith: z.string().describe(\"Search members whose nicknames start with this string\").optional(),\n});\nconst SendbirdListMembersGroupChannel_MemberSchema = z.object({\n state: z.string().describe(\"Membership state, e.g., joined, invited\").nullable(),\n user_id: z.string().describe(\"The user's unique ID\").nullable(),\n is_muted: z.boolean().describe(\"If the user is muted in the channel\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the member\").nullable().optional(),\n nickname: z.string().describe(\"The user's nickname\").nullable().optional(),\n is_online: z.boolean().describe(\"Online status of the user\").nullable(),\n is_operator: z.boolean().describe(\"Whether the member is an operator\").nullable(),\n profile_url: z.string().describe(\"The user's profile image URL\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen\").nullable(),\n}).passthrough();\nexport const SendbirdListMembersGroupChannelOutput = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results\").nullable().optional(),\n members: z.array(SendbirdListMembersGroupChannel_MemberSchema).describe(\"List of channel members\"),\n total_count: z.number().int().describe(\"Total number of members (when using filters)\").nullable().optional(),\n}).passthrough();\n\nexport const sendbirdListMembersGroupChannel = action(\"SENDBIRD_LIST_MEMBERS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-members-group-channel\",\n name: \"List Group Channel Members\",\n description: \"Tool to list members of a group channel. Use when you need to paginate through members of a specified group channel.\",\n input: SendbirdListMembersGroupChannelInput,\n output: SendbirdListMembersGroupChannelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-members-group-channel.mjs","names":[],"sources":["../../src/actions/list-members-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 SendbirdListMembersGroupChannelInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-100)\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"operator_alphabetical\"]).describe(\"Sorting order of members list\").optional(),\n token: z.string().describe(\"Pagination token for fetching the next page\").optional(),\n offset: z.number().int().describe(\"Number of results to skip before returning the set (deprecated; use token instead)\").optional(),\n channel_url: z.string().describe(\"Unique URL of the group channel\"),\n operator_filter: z.enum([\"all\", \"operator\", \"nonoperator\"]).describe(\"Filter by operator status\").optional(),\n member_state_filter: z.enum([\"all\", \"joined_only\", \"invited_only\"]).describe(\"Filter by membership state\").optional(),\n muted_member_filter: z.enum([\"all\", \"muted\", \"unmuted\"]).describe(\"Filter by muted status of members\").optional(),\n nickname_startswith: z.string().describe(\"Search members whose nicknames start with this string\").optional(),\n});\nconst SendbirdListMembersGroupChannel_MemberSchema = z.object({\n state: z.string().describe(\"Membership state, e.g., joined, invited\").nullable(),\n user_id: z.string().describe(\"The user's unique ID\").nullable(),\n is_muted: z.boolean().describe(\"If the user is muted in the channel\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the member\").nullable().optional(),\n nickname: z.string().describe(\"The user's nickname\").nullable().optional(),\n is_online: z.boolean().describe(\"Online status of the user\").nullable(),\n is_operator: z.boolean().describe(\"Whether the member is an operator\").nullable(),\n profile_url: z.string().describe(\"The user's profile image URL\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Timestamp (ms) when the user was last seen\").nullable(),\n}).passthrough();\nexport const SendbirdListMembersGroupChannelOutput = z.object({\n next: z.string().describe(\"Token for retrieving the next page of results\").nullable().optional(),\n members: z.array(SendbirdListMembersGroupChannel_MemberSchema).describe(\"List of channel members\"),\n total_count: z.number().int().describe(\"Total number of members (when using filters)\").nullable().optional(),\n}).passthrough();\n\nexport const sendbirdListMembersGroupChannel: AppAction<\n typeof SendbirdListMembersGroupChannelInput,\n typeof SendbirdListMembersGroupChannelOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LIST_MEMBERS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-members-group-channel\",\n name: \"List Group Channel Members\",\n description: \"Tool to list members of a group channel. Use when you need to paginate through members of a specified group channel.\",\n input: SendbirdListMembersGroupChannelInput,\n output: SendbirdListMembersGroupChannelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,KAAK,CAAC,yBAAyB,uBAAuB,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACjI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,iBAAiB,EAAE,KAAK;EAAC;EAAO;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3G,qBAAqB,EAAE,KAAK;EAAC;EAAO;EAAe;CAAc,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpH,qBAAqB,EAAE,KAAK;EAAC;EAAO;EAAS;CAAS,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAChH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-custom-channel-type.cjs","names":["z","action"],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsCustomChannelTypeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous call; omit for the first request.\").optional(),\n custom_type: z.string().describe(\"Custom channel type to list operators for.\"),\n}).describe(\"Request model for listing operators by custom channel type.\");\nconst SendbirdListOperatorsCustomChannelType_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the operator user.\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Representation of an operator user.\");\nexport const SendbirdListOperatorsCustomChannelTypeOutput = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects for the custom channel type.\"),\n}).passthrough().describe(\"Response model for listing operators by custom channel type.\");\n\nexport const sendbirdListOperatorsCustomChannelType = action(\"SENDBIRD_LIST_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-list-operators-custom-channel-type\",\n name: \"List Operators by Custom Channel Type\",\n description: \"Tool to list operators of a channel by custom channel type. Use when you need to fetch operators for a specific custom channel type with pagination.\",\n input: SendbirdListOperatorsCustomChannelTypeInput,\n output: SendbirdListOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-custom-channel-type.cjs","names":["z","action"],"sources":["../../src/actions/list-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 SendbirdListOperatorsCustomChannelTypeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous call; omit for the first request.\").optional(),\n custom_type: z.string().describe(\"Custom channel type to list operators for.\"),\n}).describe(\"Request model for listing operators by custom channel type.\");\nconst SendbirdListOperatorsCustomChannelType_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the operator user.\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Representation of an operator user.\");\nexport const SendbirdListOperatorsCustomChannelTypeOutput = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects for the custom channel type.\"),\n}).passthrough().describe(\"Response model for listing operators by custom channel type.\");\n\nexport const sendbirdListOperatorsCustomChannelType: AppAction<\n typeof SendbirdListOperatorsCustomChannelTypeInput,\n typeof SendbirdListOperatorsCustomChannelTypeOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LIST_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-list-operators-custom-channel-type\",\n name: \"List Operators by Custom Channel Type\",\n description: \"Tool to list operators of a channel by custom channel type. Use when you need to fetch operators for a specific custom channel type with pagination.\",\n input: SendbirdListOperatorsCustomChannelTypeInput,\n output: SendbirdListOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,4DAA4D;AACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,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/list-operators-custom-channel-type.d.ts
|
|
@@ -15,25 +17,7 @@ declare const SendbirdListOperatorsCustomChannelTypeOutput: z.ZodObject<{
|
|
|
15
17
|
profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sendbirdListOperatorsCustomChannelType:
|
|
19
|
-
custom_type: string;
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
token?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
subdomain: z.ZodString;
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
subdomain: z.ZodString;
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const sendbirdListOperatorsCustomChannelType: AppAction<typeof SendbirdListOperatorsCustomChannelTypeInput, typeof SendbirdListOperatorsCustomChannelTypeOutput, typeof sendbird.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { sendbirdListOperatorsCustomChannelType };
|
|
39
23
|
//# sourceMappingURL=list-operators-custom-channel-type.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cAW3C,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/list-operators-custom-channel-type.d.ts
|
|
@@ -15,25 +17,7 @@ declare const SendbirdListOperatorsCustomChannelTypeOutput: z.ZodObject<{
|
|
|
15
17
|
profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sendbirdListOperatorsCustomChannelType:
|
|
19
|
-
custom_type: string;
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
token?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
subdomain: z.ZodString;
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
subdomain: z.ZodString;
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const sendbirdListOperatorsCustomChannelType: AppAction<typeof SendbirdListOperatorsCustomChannelTypeInput, typeof SendbirdListOperatorsCustomChannelTypeOutput, typeof sendbird.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { sendbirdListOperatorsCustomChannelType };
|
|
39
23
|
//# sourceMappingURL=list-operators-custom-channel-type.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cAW3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-custom-channel-type.mjs","names":[],"sources":["../../src/actions/list-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsCustomChannelTypeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous call; omit for the first request.\").optional(),\n custom_type: z.string().describe(\"Custom channel type to list operators for.\"),\n}).describe(\"Request model for listing operators by custom channel type.\");\nconst SendbirdListOperatorsCustomChannelType_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the operator user.\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Representation of an operator user.\");\nexport const SendbirdListOperatorsCustomChannelTypeOutput = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects for the custom channel type.\"),\n}).passthrough().describe(\"Response model for listing operators by custom channel type.\");\n\nexport const sendbirdListOperatorsCustomChannelType = action(\"SENDBIRD_LIST_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-list-operators-custom-channel-type\",\n name: \"List Operators by Custom Channel Type\",\n description: \"Tool to list operators of a channel by custom channel type. Use when you need to fetch operators for a specific custom channel type with pagination.\",\n input: SendbirdListOperatorsCustomChannelTypeInput,\n output: SendbirdListOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-custom-channel-type.mjs","names":[],"sources":["../../src/actions/list-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 SendbirdListOperatorsCustomChannelTypeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous call; omit for the first request.\").optional(),\n custom_type: z.string().describe(\"Custom channel type to list operators for.\"),\n}).describe(\"Request model for listing operators by custom channel type.\");\nconst SendbirdListOperatorsCustomChannelType_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the operator user.\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Representation of an operator user.\");\nexport const SendbirdListOperatorsCustomChannelTypeOutput = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects for the custom channel type.\"),\n}).passthrough().describe(\"Response model for listing operators by custom channel type.\");\n\nexport const sendbirdListOperatorsCustomChannelType: AppAction<\n typeof SendbirdListOperatorsCustomChannelTypeInput,\n typeof SendbirdListOperatorsCustomChannelTypeOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LIST_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-list-operators-custom-channel-type\",\n name: \"List Operators by Custom Channel Type\",\n description: \"Tool to list operators of a channel by custom channel type. Use when you need to fetch operators for a specific custom channel type with pagination.\",\n input: SendbirdListOperatorsCustomChannelTypeInput,\n output: SendbirdListOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8C,EAAE,OAAO;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,wDAAwD,EAAE,OAAO;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAM/D,MAAa,yCAIT,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,4DAA4D;CACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-operators-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsGroupChannelInput = z.object({\n limit: z.number().int().describe(\"Number of operators to return per page (1-100). Default is 10.\").optional(),\n token: z.string().describe(\"Pagination token from previous response; omit for first page\").optional(),\n channel_url: z.string().describe(\"URL of the group channel to retrieve operators from\"),\n});\nconst SendbirdListOperatorsGroupChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator\").nullable(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).passthrough();\nexport const SendbirdListOperatorsGroupChannelOutput = z.object({\n next: z.string().describe(\"Token for fetching the next page of results\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsGroupChannel_OperatorSchema).describe(\"List of operator user objects\"),\n}).passthrough();\n\nexport const sendbirdListOperatorsGroupChannel = action(\"SENDBIRD_LIST_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-operators-group-channel\",\n name: \"List Group Channel Operators\",\n description: \"Tool to list operators of a group channel. Use after specifying the channel_url when needing to paginate through operators.\",\n input: SendbirdListOperatorsGroupChannelInput,\n output: SendbirdListOperatorsGroupChannelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-operators-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 SendbirdListOperatorsGroupChannelInput = z.object({\n limit: z.number().int().describe(\"Number of operators to return per page (1-100). Default is 10.\").optional(),\n token: z.string().describe(\"Pagination token from previous response; omit for first page\").optional(),\n channel_url: z.string().describe(\"URL of the group channel to retrieve operators from\"),\n});\nconst SendbirdListOperatorsGroupChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator\").nullable(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).passthrough();\nexport const SendbirdListOperatorsGroupChannelOutput = z.object({\n next: z.string().describe(\"Token for fetching the next page of results\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsGroupChannel_OperatorSchema).describe(\"List of operator user objects\"),\n}).passthrough();\n\nexport const sendbirdListOperatorsGroupChannel: AppAction<\n typeof SendbirdListOperatorsGroupChannelInput,\n typeof SendbirdListOperatorsGroupChannelOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LIST_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-operators-group-channel\",\n name: \"List Group Channel Operators\",\n description: \"Tool to list operators of a group channel. Use after specifying the channel_url when needing to paginate through operators.\",\n input: SendbirdListOperatorsGroupChannelInput,\n output: SendbirdListOperatorsGroupChannelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACxF,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+BAA+B;AAC/G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oCAITC,eAAAA,OAAO,yCAAyC;CAClD,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/list-operators-group-channel.d.ts
|
|
@@ -14,25 +16,7 @@ declare const SendbirdListOperatorsGroupChannelOutput: z.ZodObject<{
|
|
|
14
16
|
profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sendbirdListOperatorsGroupChannel:
|
|
18
|
-
channel_url: string;
|
|
19
|
-
limit?: number | undefined;
|
|
20
|
-
token?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
subdomain: z.ZodString;
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
subdomain: z.ZodString;
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const sendbirdListOperatorsGroupChannel: AppAction<typeof SendbirdListOperatorsGroupChannelInput, typeof SendbirdListOperatorsGroupChannelOutput, typeof sendbird.credential>;
|
|
36
20
|
//#endregion
|
|
37
21
|
export { sendbirdListOperatorsGroupChannel };
|
|
38
22
|
//# sourceMappingURL=list-operators-group-channel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-group-channel.d.cts","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-group-channel.d.cts","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAUtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,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/list-operators-group-channel.d.ts
|
|
@@ -14,25 +16,7 @@ declare const SendbirdListOperatorsGroupChannelOutput: z.ZodObject<{
|
|
|
14
16
|
profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sendbirdListOperatorsGroupChannel:
|
|
18
|
-
channel_url: string;
|
|
19
|
-
limit?: number | undefined;
|
|
20
|
-
token?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
subdomain: z.ZodString;
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
subdomain: z.ZodString;
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const sendbirdListOperatorsGroupChannel: AppAction<typeof SendbirdListOperatorsGroupChannelInput, typeof SendbirdListOperatorsGroupChannelOutput, typeof sendbird.credential>;
|
|
36
20
|
//#endregion
|
|
37
21
|
export { sendbirdListOperatorsGroupChannel };
|
|
38
22
|
//# sourceMappingURL=list-operators-group-channel.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-group-channel.d.mts","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-group-channel.d.mts","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAUtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-group-channel.mjs","names":[],"sources":["../../src/actions/list-operators-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsGroupChannelInput = z.object({\n limit: z.number().int().describe(\"Number of operators to return per page (1-100). Default is 10.\").optional(),\n token: z.string().describe(\"Pagination token from previous response; omit for first page\").optional(),\n channel_url: z.string().describe(\"URL of the group channel to retrieve operators from\"),\n});\nconst SendbirdListOperatorsGroupChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator\").nullable(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).passthrough();\nexport const SendbirdListOperatorsGroupChannelOutput = z.object({\n next: z.string().describe(\"Token for fetching the next page of results\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsGroupChannel_OperatorSchema).describe(\"List of operator user objects\"),\n}).passthrough();\n\nexport const sendbirdListOperatorsGroupChannel = action(\"SENDBIRD_LIST_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-operators-group-channel\",\n name: \"List Group Channel Operators\",\n description: \"Tool to list operators of a group channel. Use after specifying the channel_url when needing to paginate through operators.\",\n input: SendbirdListOperatorsGroupChannelInput,\n output: SendbirdListOperatorsGroupChannelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-group-channel.mjs","names":[],"sources":["../../src/actions/list-operators-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 SendbirdListOperatorsGroupChannelInput = z.object({\n limit: z.number().int().describe(\"Number of operators to return per page (1-100). Default is 10.\").optional(),\n token: z.string().describe(\"Pagination token from previous response; omit for first page\").optional(),\n channel_url: z.string().describe(\"URL of the group channel to retrieve operators from\"),\n});\nconst SendbirdListOperatorsGroupChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator\").nullable(),\n nickname: z.string().describe(\"Nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"Profile image URL of the operator\").nullable().optional(),\n}).passthrough();\nexport const SendbirdListOperatorsGroupChannelOutput = z.object({\n next: z.string().describe(\"Token for fetching the next page of results\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsGroupChannel_OperatorSchema).describe(\"List of operator user objects\"),\n}).passthrough();\n\nexport const sendbirdListOperatorsGroupChannel: AppAction<\n typeof SendbirdListOperatorsGroupChannelInput,\n typeof SendbirdListOperatorsGroupChannelOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LIST_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-list-operators-group-channel\",\n name: \"List Group Channel Operators\",\n description: \"Tool to list operators of a group channel. Use after specifying the channel_url when needing to paginate through operators.\",\n input: SendbirdListOperatorsGroupChannelInput,\n output: SendbirdListOperatorsGroupChannelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACxF,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,oCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+BAA+B;CAC/G,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-open-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-operators-open-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsOpenChannelInput = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous response; omit for the first request.\").optional(),\n channel_url: z.string().describe(\"URL-encoded unique identifier of the open channel to list operators for.\"),\n}).describe(\"Request model for listing operators of an open channel.\");\nconst SendbirdListOperatorsOpenChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the operator user (key-value pairs as strings).\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Representation of an operator in an open channel.\");\nexport const SendbirdListOperatorsOpenChannelOutput = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsOpenChannel_OperatorSchema).describe(\"List of operator user objects for the open channel.\"),\n}).passthrough().describe(\"Response model for listing operators of an open channel.\");\n\nexport const sendbirdListOperatorsOpenChannel = action(\"SENDBIRD_LIST_OPERATORS_OPEN_CHANNEL\", {\n slug: \"sendbird-list-operators-open-channel\",\n name: \"List Open Channel Operators\",\n description: \"Tool to list operators of an open channel. Use when you have the open channel URL and need to fetch its operators. Supports pagination via token and limit.\",\n input: SendbirdListOperatorsOpenChannelInput,\n output: SendbirdListOperatorsOpenChannelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-open-channel.cjs","names":["z","action"],"sources":["../../src/actions/list-operators-open-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 SendbirdListOperatorsOpenChannelInput = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous response; omit for the first request.\").optional(),\n channel_url: z.string().describe(\"URL-encoded unique identifier of the open channel to list operators for.\"),\n}).describe(\"Request model for listing operators of an open channel.\");\nconst SendbirdListOperatorsOpenChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the operator user (key-value pairs as strings).\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Representation of an operator in an open channel.\");\nexport const SendbirdListOperatorsOpenChannelOutput = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsOpenChannel_OperatorSchema).describe(\"List of operator user objects for the open channel.\"),\n}).passthrough().describe(\"Response model for listing operators of an open channel.\");\n\nexport const sendbirdListOperatorsOpenChannel: AppAction<\n typeof SendbirdListOperatorsOpenChannelInput,\n typeof SendbirdListOperatorsOpenChannelOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LIST_OPERATORS_OPEN_CHANNEL\", {\n slug: \"sendbird-list-operators-open-channel\",\n name: \"List Open Channel Operators\",\n description: \"Tool to list operators of an open channel. Use when you have the open channel URL and need to fetch its operators. Supports pagination via token and limit.\",\n input: SendbirdListOperatorsOpenChannelInput,\n output: SendbirdListOperatorsOpenChannelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC7G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,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/list-operators-open-channel.d.ts
|
|
@@ -15,25 +17,7 @@ declare const SendbirdListOperatorsOpenChannelOutput: z.ZodObject<{
|
|
|
15
17
|
profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sendbirdListOperatorsOpenChannel:
|
|
19
|
-
channel_url: string;
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
token?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
subdomain: z.ZodString;
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
subdomain: z.ZodString;
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const sendbirdListOperatorsOpenChannel: AppAction<typeof SendbirdListOperatorsOpenChannelInput, typeof SendbirdListOperatorsOpenChannelOutput, typeof sendbird.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { sendbirdListOperatorsOpenChannel };
|
|
39
23
|
//# sourceMappingURL=list-operators-open-channel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-open-channel.d.cts","names":[],"sources":["../../src/actions/list-operators-open-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-open-channel.d.cts","names":[],"sources":["../../src/actions/list-operators-open-channel.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAWrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;cAKtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,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/list-operators-open-channel.d.ts
|
|
@@ -15,25 +17,7 @@ declare const SendbirdListOperatorsOpenChannelOutput: z.ZodObject<{
|
|
|
15
17
|
profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sendbirdListOperatorsOpenChannel:
|
|
19
|
-
channel_url: string;
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
token?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
subdomain: z.ZodString;
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
subdomain: z.ZodString;
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const sendbirdListOperatorsOpenChannel: AppAction<typeof SendbirdListOperatorsOpenChannelInput, typeof SendbirdListOperatorsOpenChannelOutput, typeof sendbird.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { sendbirdListOperatorsOpenChannel };
|
|
39
23
|
//# sourceMappingURL=list-operators-open-channel.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-open-channel.d.mts","names":[],"sources":["../../src/actions/list-operators-open-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-open-channel.d.mts","names":[],"sources":["../../src/actions/list-operators-open-channel.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAWrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;cAKtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-operators-open-channel.mjs","names":[],"sources":["../../src/actions/list-operators-open-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListOperatorsOpenChannelInput = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous response; omit for the first request.\").optional(),\n channel_url: z.string().describe(\"URL-encoded unique identifier of the open channel to list operators for.\"),\n}).describe(\"Request model for listing operators of an open channel.\");\nconst SendbirdListOperatorsOpenChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the operator user (key-value pairs as strings).\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Representation of an operator in an open channel.\");\nexport const SendbirdListOperatorsOpenChannelOutput = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsOpenChannel_OperatorSchema).describe(\"List of operator user objects for the open channel.\"),\n}).passthrough().describe(\"Response model for listing operators of an open channel.\");\n\nexport const sendbirdListOperatorsOpenChannel = action(\"SENDBIRD_LIST_OPERATORS_OPEN_CHANNEL\", {\n slug: \"sendbird-list-operators-open-channel\",\n name: \"List Open Channel Operators\",\n description: \"Tool to list operators of an open channel. Use when you have the open channel URL and need to fetch its operators. Supports pagination via token and limit.\",\n input: SendbirdListOperatorsOpenChannelInput,\n output: SendbirdListOperatorsOpenChannelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-operators-open-channel.mjs","names":[],"sources":["../../src/actions/list-operators-open-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 SendbirdListOperatorsOpenChannelInput = z.object({\n limit: z.number().int().describe(\"Maximum number of operators to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination cursor from a previous response; omit for the first request.\").optional(),\n channel_url: z.string().describe(\"URL-encoded unique identifier of the open channel to list operators for.\"),\n}).describe(\"Request model for listing operators of an open channel.\");\nconst SendbirdListOperatorsOpenChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique user ID of the operator.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata associated with the operator user (key-value pairs as strings).\").nullable().optional(),\n nickname: z.string().describe(\"Operator's display nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Representation of an operator in an open channel.\");\nexport const SendbirdListOperatorsOpenChannelOutput = z.object({\n next: z.string().describe(\"Pagination token for the next set of results; absent if no more pages.\").nullable().optional(),\n operators: z.array(SendbirdListOperatorsOpenChannel_OperatorSchema).describe(\"List of operator user objects for the open channel.\"),\n}).passthrough().describe(\"Response model for listing operators of an open channel.\");\n\nexport const sendbirdListOperatorsOpenChannel: AppAction<\n typeof SendbirdListOperatorsOpenChannelInput,\n typeof SendbirdListOperatorsOpenChannelOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LIST_OPERATORS_OPEN_CHANNEL\", {\n slug: \"sendbird-list-operators-open-channel\",\n name: \"List Open Channel Operators\",\n description: \"Tool to list operators of an open channel. Use when you have the open channel URL and need to fetch its operators. Supports pagination via token and limit.\",\n input: SendbirdListOperatorsOpenChannelInput,\n output: SendbirdListOperatorsOpenChannelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC7G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,MAAa,mCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD;CACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdListUsersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of users to return per page (1-100). Defaults to 10 if not specified.\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"created_at\", \"user_id_alphabetical\"]).describe(\"Sort order for results. Options: 'nickname_alphabetical' (A-Z by nickname), 'created_at' (newest first), 'user_id_alphabetical' (A-Z by user ID).\").optional(),\n token: z.string().describe(\"Pagination token from the 'next' field of a previous response. Omit for the first page.\").optional(),\n nickname: z.string().describe(\"Filter users by exact nickname match (case-insensitive).\").optional(),\n user_ids: z.array(z.string()).describe(\"Filter to only return specific users by their IDs. Provide as a list of user ID strings.\").optional(),\n is_active: z.boolean().describe(\"Filter by account status. Set to true for active users, false for deactivated users.\").optional(),\n custom_type: z.string().describe(\"Filter users by their custom type classification.\").optional(),\n metatag_key: z.string().describe(\"Filter users who have this metadata key set. Use with metatag_values for key-value filtering.\").optional(),\n metatag_values: z.array(z.string()).describe(\"Filter users by metadata values for the specified metatag_key. Requires metatag_key to be set.\").optional(),\n nickname_contains: z.string().describe(\"Filter users whose nickname contains this substring (case-insensitive partial match).\").optional(),\n has_ever_logged_in: z.boolean().describe(\"Filter by login history. Set to true for users who have logged in, false for never logged in.\").optional(),\n}).describe(\"Request parameters for listing Sendbird users with filtering and pagination options.\");\nconst SendbirdListUsers_SendbirdUserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier for the user in Sendbird.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with 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 (not deactivated).\").nullable().optional(),\n issued_at: z.number().int().describe(\"Unix timestamp in milliseconds when the user was created.\").nullable().optional(),\n custom_type: z.string().describe(\"Custom type string for categorizing users.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp in milliseconds when user was last online.\").nullable().optional(),\n last_update_at: z.number().int().describe(\"Unix timestamp in milliseconds of the last profile update.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status: 'online' or 'offline'.\").nullable().optional(),\n favorite_topic_ids: z.array(z.string()).describe(\"List of topic IDs the user has marked as favorites.\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"If true, profile image URL requires authentication to access.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Sendbird user with profile and status information.\");\nexport const SendbirdListUsersOutput = z.object({\n next: z.string().describe(\"Pagination token to fetch the next page. Pass this as 'token' in the next request. Null if no more pages.\").nullable().optional(),\n users: z.array(SendbirdListUsers_SendbirdUserSchema).describe(\"Array of user objects matching the query criteria.\"),\n total_count: z.number().int().describe(\"Total number of users matching the filters. Only returned on the first page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response containing a paginated list of Sendbird users.\");\n\nexport const sendbirdListUsers = action(\"SENDBIRD_LIST_USERS\", {\n slug: \"sendbird-list-users\",\n name: \"List Sendbird Users\",\n description: \"Retrieves a paginated list of users from your Sendbird application. Use this tool to: - Browse all users in your application - Search for users by nickname or user IDs - Filter users by metadata, custom type, or activity status - Paginate through large user lists using the 'next' token Returns user details including profile info, connection status, and metadata. Results are paginated; use the 'next' token from the response to fetch additional pages.\",\n input: SendbirdListUsersInput,\n output: SendbirdListUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.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 SendbirdListUsersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of users to return per page (1-100). Defaults to 10 if not specified.\").optional(),\n order: z.enum([\"nickname_alphabetical\", \"created_at\", \"user_id_alphabetical\"]).describe(\"Sort order for results. Options: 'nickname_alphabetical' (A-Z by nickname), 'created_at' (newest first), 'user_id_alphabetical' (A-Z by user ID).\").optional(),\n token: z.string().describe(\"Pagination token from the 'next' field of a previous response. Omit for the first page.\").optional(),\n nickname: z.string().describe(\"Filter users by exact nickname match (case-insensitive).\").optional(),\n user_ids: z.array(z.string()).describe(\"Filter to only return specific users by their IDs. Provide as a list of user ID strings.\").optional(),\n is_active: z.boolean().describe(\"Filter by account status. Set to true for active users, false for deactivated users.\").optional(),\n custom_type: z.string().describe(\"Filter users by their custom type classification.\").optional(),\n metatag_key: z.string().describe(\"Filter users who have this metadata key set. Use with metatag_values for key-value filtering.\").optional(),\n metatag_values: z.array(z.string()).describe(\"Filter users by metadata values for the specified metatag_key. Requires metatag_key to be set.\").optional(),\n nickname_contains: z.string().describe(\"Filter users whose nickname contains this substring (case-insensitive partial match).\").optional(),\n has_ever_logged_in: z.boolean().describe(\"Filter by login history. Set to true for users who have logged in, false for never logged in.\").optional(),\n}).describe(\"Request parameters for listing Sendbird users with filtering and pagination options.\");\nconst SendbirdListUsers_SendbirdUserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier for the user in Sendbird.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with 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 (not deactivated).\").nullable().optional(),\n issued_at: z.number().int().describe(\"Unix timestamp in milliseconds when the user was created.\").nullable().optional(),\n custom_type: z.string().describe(\"Custom type string for categorizing users.\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n last_seen_at: z.number().int().describe(\"Unix timestamp in milliseconds when user was last online.\").nullable().optional(),\n last_update_at: z.number().int().describe(\"Unix timestamp in milliseconds of the last profile update.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status: 'online' or 'offline'.\").nullable().optional(),\n favorite_topic_ids: z.array(z.string()).describe(\"List of topic IDs the user has marked as favorites.\").nullable().optional(),\n require_auth_for_profile_image: z.boolean().describe(\"If true, profile image URL requires authentication to access.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Sendbird user with profile and status information.\");\nexport const SendbirdListUsersOutput = z.object({\n next: z.string().describe(\"Pagination token to fetch the next page. Pass this as 'token' in the next request. Null if no more pages.\").nullable().optional(),\n users: z.array(SendbirdListUsers_SendbirdUserSchema).describe(\"Array of user objects matching the query criteria.\"),\n total_count: z.number().int().describe(\"Total number of users matching the filters. Only returned on the first page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response containing a paginated list of Sendbird users.\");\n\nexport const sendbirdListUsers: AppAction<\n typeof SendbirdListUsersInput,\n typeof SendbirdListUsersOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_LIST_USERS\", {\n slug: \"sendbird-list-users\",\n name: \"List Sendbird Users\",\n description: \"Retrieves a paginated list of users from your Sendbird application. Use this tool to: - Browse all users in your application - Search for users by nickname or user IDs - Filter users by metadata, custom type, or activity status - Paginate through large user lists using the 'next' token Returns user details including profile info, connection status, and metadata. Results are paginated; use the 'next' token from the response to fetch additional pages.\",\n input: SendbirdListUsersInput,\n output: SendbirdListUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAyB;EAAc;CAAsB,CAAC,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CACtP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC5I,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACjI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3I,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACxJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACzI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,gCAAgCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|