@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,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-users.d.ts
|
|
@@ -36,33 +38,7 @@ declare const SendbirdListUsersOutput: z.ZodObject<{
|
|
|
36
38
|
}, z.core.$loose>>;
|
|
37
39
|
total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const sendbirdListUsers:
|
|
40
|
-
limit?: number | undefined;
|
|
41
|
-
order?: "created_at" | "nickname_alphabetical" | "user_id_alphabetical" | undefined;
|
|
42
|
-
token?: string | undefined;
|
|
43
|
-
nickname?: string | undefined;
|
|
44
|
-
user_ids?: string[] | undefined;
|
|
45
|
-
is_active?: boolean | undefined;
|
|
46
|
-
custom_type?: string | undefined;
|
|
47
|
-
metatag_key?: string | undefined;
|
|
48
|
-
metatag_values?: string[] | undefined;
|
|
49
|
-
nickname_contains?: string | undefined;
|
|
50
|
-
has_ever_logged_in?: boolean | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
subdomain: z.ZodString;
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
subdomain: z.ZodString;
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>;
|
|
41
|
+
declare const sendbirdListUsers: AppAction<typeof SendbirdListUsersInput, typeof SendbirdListUsersOutput, typeof sendbird.credential>;
|
|
66
42
|
//#endregion
|
|
67
43
|
export { sendbirdListUsers };
|
|
68
44
|
//# sourceMappingURL=list-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA2BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,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-users.d.ts
|
|
@@ -36,33 +38,7 @@ declare const SendbirdListUsersOutput: z.ZodObject<{
|
|
|
36
38
|
}, z.core.$loose>>;
|
|
37
39
|
total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const sendbirdListUsers:
|
|
40
|
-
limit?: number | undefined;
|
|
41
|
-
order?: "created_at" | "nickname_alphabetical" | "user_id_alphabetical" | undefined;
|
|
42
|
-
token?: string | undefined;
|
|
43
|
-
nickname?: string | undefined;
|
|
44
|
-
user_ids?: string[] | undefined;
|
|
45
|
-
is_active?: boolean | undefined;
|
|
46
|
-
custom_type?: string | undefined;
|
|
47
|
-
metatag_key?: string | undefined;
|
|
48
|
-
metatag_values?: string[] | undefined;
|
|
49
|
-
nickname_contains?: string | undefined;
|
|
50
|
-
has_ever_logged_in?: boolean | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
subdomain: z.ZodString;
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
subdomain: z.ZodString;
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>;
|
|
41
|
+
declare const sendbirdListUsers: AppAction<typeof SendbirdListUsersInput, typeof SendbirdListUsersOutput, typeof sendbird.credential>;
|
|
66
42
|
//#endregion
|
|
67
43
|
export { sendbirdListUsers };
|
|
68
44
|
//# sourceMappingURL=list-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA2BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.mjs","names":[],"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.mjs","names":[],"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,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,OAAO,EAAE,KAAK;EAAC;EAAyB;EAAc;CAAsB,CAAC,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CACtP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC5I,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACjI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3I,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACxJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACzI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,uCAAuC,EAAE,OAAO;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAO3F,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mark-all-user-messages-as-read.cjs","names":["z","action"],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMarkAllUserMessagesAsReadInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose messages will be marked as read.\"),\n}).describe(\"Request model for marking all messages as read for a user.\");\nexport const SendbirdMarkAllUserMessagesAsReadOutput = z.object({\n ts: z.number().int().describe(\"Timestamp when messages were marked as read.\").nullable(),\n}).passthrough().describe(\"Response model for marking all messages as read.\");\n\nexport const sendbirdMarkAllUserMessagesAsRead = action(\"SENDBIRD_MARK_ALL_USER_MESSAGES_AS_READ\", {\n slug: \"sendbird-mark-all-user-messages-as-read\",\n name: \"Mark All User Messages As Read\",\n description: \"Tool to mark all of a user's messages as read in group channels. Use when resetting unread message counts after a user has viewed all messages.\",\n input: SendbirdMarkAllUserMessagesAsReadInput,\n output: SendbirdMarkAllUserMessagesAsReadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mark-all-user-messages-as-read.cjs","names":["z","action"],"sources":["../../src/actions/mark-all-user-messages-as-read.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 SendbirdMarkAllUserMessagesAsReadInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose messages will be marked as read.\"),\n}).describe(\"Request model for marking all messages as read for a user.\");\nexport const SendbirdMarkAllUserMessagesAsReadOutput = z.object({\n ts: z.number().int().describe(\"Timestamp when messages were marked as read.\").nullable(),\n}).passthrough().describe(\"Response model for marking all messages as read.\");\n\nexport const sendbirdMarkAllUserMessagesAsRead: AppAction<\n typeof SendbirdMarkAllUserMessagesAsReadInput,\n typeof SendbirdMarkAllUserMessagesAsReadOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_MARK_ALL_USER_MESSAGES_AS_READ\", {\n slug: \"sendbird-mark-all-user-messages-as-read\",\n name: \"Mark All User Messages As Read\",\n description: \"Tool to mark all of a user's messages as read in group channels. Use when resetting unread message counts after a user has viewed all messages.\",\n input: SendbirdMarkAllUserMessagesAsReadInput,\n output: SendbirdMarkAllUserMessagesAsReadOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,oCAITC,eAAAA,OAAO,2CAA2C;CACpD,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/mark-all-user-messages-as-read.d.ts
|
|
@@ -7,23 +9,7 @@ declare const SendbirdMarkAllUserMessagesAsReadInput: z.ZodObject<{
|
|
|
7
9
|
declare const SendbirdMarkAllUserMessagesAsReadOutput: z.ZodObject<{
|
|
8
10
|
ts: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const sendbirdMarkAllUserMessagesAsRead:
|
|
11
|
-
user_id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
subdomain: z.ZodString;
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
subdomain: z.ZodString;
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const sendbirdMarkAllUserMessagesAsRead: AppAction<typeof SendbirdMarkAllUserMessagesAsReadInput, typeof SendbirdMarkAllUserMessagesAsReadOutput, typeof sendbird.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { sendbirdMarkAllUserMessagesAsRead };
|
|
29
15
|
//# sourceMappingURL=mark-all-user-messages-as-read.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mark-all-user-messages-as-read.d.cts","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mark-all-user-messages-as-read.d.cts","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,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/mark-all-user-messages-as-read.d.ts
|
|
@@ -7,23 +9,7 @@ declare const SendbirdMarkAllUserMessagesAsReadInput: z.ZodObject<{
|
|
|
7
9
|
declare const SendbirdMarkAllUserMessagesAsReadOutput: z.ZodObject<{
|
|
8
10
|
ts: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const sendbirdMarkAllUserMessagesAsRead:
|
|
11
|
-
user_id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
subdomain: z.ZodString;
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
subdomain: z.ZodString;
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const sendbirdMarkAllUserMessagesAsRead: AppAction<typeof SendbirdMarkAllUserMessagesAsReadInput, typeof SendbirdMarkAllUserMessagesAsReadOutput, typeof sendbird.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { sendbirdMarkAllUserMessagesAsRead };
|
|
29
15
|
//# sourceMappingURL=mark-all-user-messages-as-read.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mark-all-user-messages-as-read.d.mts","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mark-all-user-messages-as-read.d.mts","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mark-all-user-messages-as-read.mjs","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMarkAllUserMessagesAsReadInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose messages will be marked as read.\"),\n}).describe(\"Request model for marking all messages as read for a user.\");\nexport const SendbirdMarkAllUserMessagesAsReadOutput = z.object({\n ts: z.number().int().describe(\"Timestamp when messages were marked as read.\").nullable(),\n}).passthrough().describe(\"Response model for marking all messages as read.\");\n\nexport const sendbirdMarkAllUserMessagesAsRead = action(\"SENDBIRD_MARK_ALL_USER_MESSAGES_AS_READ\", {\n slug: \"sendbird-mark-all-user-messages-as-read\",\n name: \"Mark All User Messages As Read\",\n description: \"Tool to mark all of a user's messages as read in group channels. Use when resetting unread message counts after a user has viewed all messages.\",\n input: SendbirdMarkAllUserMessagesAsReadInput,\n output: SendbirdMarkAllUserMessagesAsReadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mark-all-user-messages-as-read.mjs","names":[],"sources":["../../src/actions/mark-all-user-messages-as-read.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 SendbirdMarkAllUserMessagesAsReadInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose messages will be marked as read.\"),\n}).describe(\"Request model for marking all messages as read for a user.\");\nexport const SendbirdMarkAllUserMessagesAsReadOutput = z.object({\n ts: z.number().int().describe(\"Timestamp when messages were marked as read.\").nullable(),\n}).passthrough().describe(\"Response model for marking all messages as read.\");\n\nexport const sendbirdMarkAllUserMessagesAsRead: AppAction<\n typeof SendbirdMarkAllUserMessagesAsReadInput,\n typeof SendbirdMarkAllUserMessagesAsReadOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_MARK_ALL_USER_MESSAGES_AS_READ\", {\n slug: \"sendbird-mark-all-user-messages-as-read\",\n name: \"Mark All User Messages As Read\",\n description: \"Tool to mark all of a user's messages as read in group channels. Use when resetting unread message counts after a user has viewed all messages.\",\n input: SendbirdMarkAllUserMessagesAsReadInput,\n output: SendbirdMarkAllUserMessagesAsReadOutput,\n});\n"],"mappings":";;;AAaA,MAAa,oCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoD,EAAE,OAAO,EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,4DAaH;CACP,QAbqD,EAAE,OAAO,EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mute-user.cjs","names":["z","action"],"sources":["../../src/actions/mute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMuteUserInput = z.object({\n seconds: z.number().int().describe(\"Mute duration in seconds (0 = indefinite)\").optional(),\n user_id: z.string().describe(\"ID of the user to mute\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n description: z.string().describe(\"Custom description for the mute action\").optional(),\n}).describe(\"Request model for muting a user in a group channel.\");\nexport const SendbirdMuteUserOutput = z.record(z.string(), z.unknown()).describe(\"Response model for muting a user in a group channel.\\nThe Sendbird API returns an empty response body on success (HTTP 200).\");\n\nexport const sendbirdMuteUser = action(\"SENDBIRD_MUTE_USER\", {\n slug: \"sendbird-mute-user\",\n name: \"Mute User\",\n description: \"Tool to mute a user in a group channel. Use when you need to prevent a user from sending messages for a specified duration.\",\n input: SendbirdMuteUserInput,\n output: SendbirdMuteUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mute-user.cjs","names":["z","action"],"sources":["../../src/actions/mute-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdMuteUserInput = z.object({\n seconds: z.number().int().describe(\"Mute duration in seconds (0 = indefinite)\").optional(),\n user_id: z.string().describe(\"ID of the user to mute\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n description: z.string().describe(\"Custom description for the mute action\").optional(),\n}).describe(\"Request model for muting a user in a group channel.\");\nexport const SendbirdMuteUserOutput = z.record(z.string(), z.unknown()).describe(\"Response model for muting a user in a group channel.\\nThe Sendbird API returns an empty response body on success (HTTP 200).\");\n\nexport const sendbirdMuteUser: AppAction<\n typeof SendbirdMuteUserInput,\n typeof SendbirdMuteUserOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_MUTE_USER\", {\n slug: \"sendbird-mute-user\",\n name: \"Mute User\",\n description: \"Tool to mute a user in a group channel. Use when you need to prevent a user from sending messages for a specified duration.\",\n input: SendbirdMuteUserInput,\n output: SendbirdMuteUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,yBAAyBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAA8H;AAE/M,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,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/mute-user.d.ts
|
|
@@ -8,26 +10,7 @@ declare const SendbirdMuteUserInput: z.ZodObject<{
|
|
|
8
10
|
description: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, z.core.$strip>;
|
|
10
12
|
declare const SendbirdMuteUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
|
-
declare const sendbirdMuteUser:
|
|
12
|
-
user_id: string;
|
|
13
|
-
channel_url: string;
|
|
14
|
-
seconds?: number | undefined;
|
|
15
|
-
description?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
subdomain: z.ZodString;
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
subdomain: z.ZodString;
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const sendbirdMuteUser: AppAction<typeof SendbirdMuteUserInput, typeof SendbirdMuteUserOutput, typeof sendbird.credential>;
|
|
31
14
|
//#endregion
|
|
32
15
|
export { sendbirdMuteUser };
|
|
33
16
|
//# sourceMappingURL=mute-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mute-user.d.cts","names":[],"sources":["../../src/actions/mute-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mute-user.d.cts","names":[],"sources":["../../src/actions/mute-user.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,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/mute-user.d.ts
|
|
@@ -8,26 +10,7 @@ declare const SendbirdMuteUserInput: z.ZodObject<{
|
|
|
8
10
|
description: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, z.core.$strip>;
|
|
10
12
|
declare const SendbirdMuteUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
|
-
declare const sendbirdMuteUser:
|
|
12
|
-
user_id: string;
|
|
13
|
-
channel_url: string;
|
|
14
|
-
seconds?: number | undefined;
|
|
15
|
-
description?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
subdomain: z.ZodString;
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
subdomain: z.ZodString;
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const sendbirdMuteUser: AppAction<typeof SendbirdMuteUserInput, typeof SendbirdMuteUserOutput, typeof sendbird.credential>;
|
|
31
14
|
//#endregion
|
|
32
15
|
export { sendbirdMuteUser };
|
|
33
16
|
//# sourceMappingURL=mute-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mute-user.d.mts","names":[],"sources":["../../src/actions/mute-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mute-user.d.mts","names":[],"sources":["../../src/actions/mute-user.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mute-user.mjs","names":[],"sources":["../../src/actions/mute-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdMuteUserInput = z.object({\n seconds: z.number().int().describe(\"Mute duration in seconds (0 = indefinite)\").optional(),\n user_id: z.string().describe(\"ID of the user to mute\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n description: z.string().describe(\"Custom description for the mute action\").optional(),\n}).describe(\"Request model for muting a user in a group channel.\");\nexport const SendbirdMuteUserOutput = z.record(z.string(), z.unknown()).describe(\"Response model for muting a user in a group channel.\\nThe Sendbird API returns an empty response body on success (HTTP 200).\");\n\nexport const sendbirdMuteUser = action(\"SENDBIRD_MUTE_USER\", {\n slug: \"sendbird-mute-user\",\n name: \"Mute User\",\n description: \"Tool to mute a user in a group channel. Use when you need to prevent a user from sending messages for a specified duration.\",\n input: SendbirdMuteUserInput,\n output: SendbirdMuteUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mute-user.mjs","names":[],"sources":["../../src/actions/mute-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbird } from \"../app\";\n\nexport const SendbirdMuteUserInput = z.object({\n seconds: z.number().int().describe(\"Mute duration in seconds (0 = indefinite)\").optional(),\n user_id: z.string().describe(\"ID of the user to mute\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the target group channel\"),\n description: z.string().describe(\"Custom description for the mute action\").optional(),\n}).describe(\"Request model for muting a user in a group channel.\");\nexport const SendbirdMuteUserOutput = z.record(z.string(), z.unknown()).describe(\"Response model for muting a user in a group channel.\\nThe Sendbird API returns an empty response body on success (HTTP 200).\");\n\nexport const sendbirdMuteUser: AppAction<\n typeof SendbirdMuteUserInput,\n typeof SendbirdMuteUserOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_MUTE_USER\", {\n slug: \"sendbird-mute-user\",\n name: \"Mute User\",\n description: \"Tool to mute a user in a group channel. Use when you need to prevent a user from sending messages for a specified duration.\",\n input: SendbirdMuteUserInput,\n output: SendbirdMuteUserOutput,\n});\n"],"mappings":";;;AAcA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmC,EAAE,OAAO;EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,qDAWH;CACP,QAXoC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAWvE;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-operators-custom-channel-type.cjs","names":["z","action"],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsCustomChannelTypeInput = z.object({\n custom_type: z.string().describe(\"The custom channel type identifier. This assigns operator privileges to specified users for all channels that have this custom type. The custom_type must match an existing channel's custom_type value.\"),\n operator_ids: z.array(z.string()).describe(\"List of existing Sendbird user IDs to register as operators. At least one user ID is required. Operators have elevated privileges like muting/banning users, deleting messages, and managing channel settings.\"),\n}).describe(\"Request model for registering users as operators by custom channel type.\");\nconst SendbirdRegisterOperatorsCustomChannelType_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the operator user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs associated with the operator\").nullable().optional(),\n nickname: z.string().describe(\"Display nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image\").nullable().optional(),\n}).passthrough().describe(\"Operator user object representing a registered operator.\");\nexport const SendbirdRegisterOperatorsCustomChannelTypeOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects successfully registered for the custom channel type\").nullable().optional(),\n}).passthrough().describe(\"Response schema for registering operators by custom channel type.\\nReturns the list of successfully registered operators.\");\n\nexport const sendbirdRegisterOperatorsCustomChannelType = action(\"SENDBIRD_REGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-register-operators-custom-channel-type\",\n name: \"Register Operators by Custom Channel Type\",\n description: \"Registers one or more users as operators for all channels with a specified custom channel type. Use this tool when you need to grant operator privileges to users across all channels that share the same custom_type. Operators have elevated permissions including: - Muting and banning users from channels - Deleting messages in channels - Freezing/unfreezing channels - Managing channel settings Prerequisites: - The user IDs must belong to existing Sendbird users - The custom_type should match channels you want to manage Note: This affects all channels with the specified custom_type, not just a single channel.\",\n input: SendbirdRegisterOperatorsCustomChannelTypeInput,\n output: SendbirdRegisterOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"register-operators-custom-channel-type.cjs","names":["z","action"],"sources":["../../src/actions/register-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 SendbirdRegisterOperatorsCustomChannelTypeInput = z.object({\n custom_type: z.string().describe(\"The custom channel type identifier. This assigns operator privileges to specified users for all channels that have this custom type. The custom_type must match an existing channel's custom_type value.\"),\n operator_ids: z.array(z.string()).describe(\"List of existing Sendbird user IDs to register as operators. At least one user ID is required. Operators have elevated privileges like muting/banning users, deleting messages, and managing channel settings.\"),\n}).describe(\"Request model for registering users as operators by custom channel type.\");\nconst SendbirdRegisterOperatorsCustomChannelType_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the operator user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs associated with the operator\").nullable().optional(),\n nickname: z.string().describe(\"Display nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image\").nullable().optional(),\n}).passthrough().describe(\"Operator user object representing a registered operator.\");\nexport const SendbirdRegisterOperatorsCustomChannelTypeOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects successfully registered for the custom channel type\").nullable().optional(),\n}).passthrough().describe(\"Response schema for registering operators by custom channel type.\\nReturns the list of successfully registered operators.\");\n\nexport const sendbirdRegisterOperatorsCustomChannelType: AppAction<\n typeof SendbirdRegisterOperatorsCustomChannelTypeInput,\n typeof SendbirdRegisterOperatorsCustomChannelTypeOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_REGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-register-operators-custom-channel-type\",\n name: \"Register Operators by Custom Channel Type\",\n description: \"Registers one or more users as operators for all channels with a specified custom channel type. Use this tool when you need to grant operator privileges to users across all channels that share the same custom_type. Operators have elevated permissions including: - Muting and banning users from channels - Deleting messages in channels - Freezing/unfreezing channels - Managing channel settings Prerequisites: - The user IDs must belong to existing Sendbird users - The custom_type should match channels you want to manage Note: This affects all channels with the specified custom_type, not just a single channel.\",\n input: SendbirdRegisterOperatorsCustomChannelTypeInput,\n output: SendbirdRegisterOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M;CAC3O,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC7P,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,EACvE,WAAWA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2HAA2H;AAErJ,MAAa,6CAITC,eAAAA,OAAO,mDAAmD;CAC5D,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/register-operators-custom-channel-type.d.ts
|
|
@@ -13,24 +15,7 @@ declare const SendbirdRegisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
|
|
|
13
15
|
profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const sendbirdRegisterOperatorsCustomChannelType:
|
|
17
|
-
custom_type: string;
|
|
18
|
-
operator_ids: string[];
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
subdomain: z.ZodString;
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
subdomain: z.ZodString;
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const sendbirdRegisterOperatorsCustomChannelType: AppAction<typeof SendbirdRegisterOperatorsCustomChannelTypeInput, typeof SendbirdRegisterOperatorsCustomChannelTypeOutput, typeof sendbird.credential>;
|
|
34
19
|
//#endregion
|
|
35
20
|
export { sendbirdRegisterOperatorsCustomChannelType };
|
|
36
21
|
//# sourceMappingURL=register-operators-custom-channel-type.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"register-operators-custom-channel-type.d.cts","names":[],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"mappings":";;;;;cAMa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;cAU/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;cAIhD,0CAAA,EAA4C,SAAA,QAChD,+CAAA,SACA,gDAAA,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/register-operators-custom-channel-type.d.ts
|
|
@@ -13,24 +15,7 @@ declare const SendbirdRegisterOperatorsCustomChannelTypeOutput: z.ZodObject<{
|
|
|
13
15
|
profile_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const sendbirdRegisterOperatorsCustomChannelType:
|
|
17
|
-
custom_type: string;
|
|
18
|
-
operator_ids: string[];
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
subdomain: z.ZodString;
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
subdomain: z.ZodString;
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const sendbirdRegisterOperatorsCustomChannelType: AppAction<typeof SendbirdRegisterOperatorsCustomChannelTypeInput, typeof SendbirdRegisterOperatorsCustomChannelTypeOutput, typeof sendbird.credential>;
|
|
34
19
|
//#endregion
|
|
35
20
|
export { sendbirdRegisterOperatorsCustomChannelType };
|
|
36
21
|
//# sourceMappingURL=register-operators-custom-channel-type.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"register-operators-custom-channel-type.d.mts","names":[],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"mappings":";;;;;cAMa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;cAU/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;cAIhD,0CAAA,EAA4C,SAAA,QAChD,+CAAA,SACA,gDAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-operators-custom-channel-type.mjs","names":[],"sources":["../../src/actions/register-operators-custom-channel-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsCustomChannelTypeInput = z.object({\n custom_type: z.string().describe(\"The custom channel type identifier. This assigns operator privileges to specified users for all channels that have this custom type. The custom_type must match an existing channel's custom_type value.\"),\n operator_ids: z.array(z.string()).describe(\"List of existing Sendbird user IDs to register as operators. At least one user ID is required. Operators have elevated privileges like muting/banning users, deleting messages, and managing channel settings.\"),\n}).describe(\"Request model for registering users as operators by custom channel type.\");\nconst SendbirdRegisterOperatorsCustomChannelType_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the operator user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs associated with the operator\").nullable().optional(),\n nickname: z.string().describe(\"Display nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image\").nullable().optional(),\n}).passthrough().describe(\"Operator user object representing a registered operator.\");\nexport const SendbirdRegisterOperatorsCustomChannelTypeOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects successfully registered for the custom channel type\").nullable().optional(),\n}).passthrough().describe(\"Response schema for registering operators by custom channel type.\\nReturns the list of successfully registered operators.\");\n\nexport const sendbirdRegisterOperatorsCustomChannelType = action(\"SENDBIRD_REGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-register-operators-custom-channel-type\",\n name: \"Register Operators by Custom Channel Type\",\n description: \"Registers one or more users as operators for all channels with a specified custom channel type. Use this tool when you need to grant operator privileges to users across all channels that share the same custom_type. Operators have elevated permissions including: - Muting and banning users from channels - Deleting messages in channels - Freezing/unfreezing channels - Managing channel settings Prerequisites: - The user IDs must belong to existing Sendbird users - The custom_type should match channels you want to manage Note: This affects all channels with the specified custom_type, not just a single channel.\",\n input: SendbirdRegisterOperatorsCustomChannelTypeInput,\n output: SendbirdRegisterOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"register-operators-custom-channel-type.mjs","names":[],"sources":["../../src/actions/register-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 SendbirdRegisterOperatorsCustomChannelTypeInput = z.object({\n custom_type: z.string().describe(\"The custom channel type identifier. This assigns operator privileges to specified users for all channels that have this custom type. The custom_type must match an existing channel's custom_type value.\"),\n operator_ids: z.array(z.string()).describe(\"List of existing Sendbird user IDs to register as operators. At least one user ID is required. Operators have elevated privileges like muting/banning users, deleting messages, and managing channel settings.\"),\n}).describe(\"Request model for registering users as operators by custom channel type.\");\nconst SendbirdRegisterOperatorsCustomChannelType_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the operator user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs associated with the operator\").nullable().optional(),\n nickname: z.string().describe(\"Display nickname of the operator\").nullable().optional(),\n profile_url: z.string().describe(\"URL of the operator's profile image\").nullable().optional(),\n}).passthrough().describe(\"Operator user object representing a registered operator.\");\nexport const SendbirdRegisterOperatorsCustomChannelTypeOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsCustomChannelType_OperatorSchema).describe(\"List of operator user objects successfully registered for the custom channel type\").nullable().optional(),\n}).passthrough().describe(\"Response schema for registering operators by custom channel type.\\nReturns the list of successfully registered operators.\");\n\nexport const sendbirdRegisterOperatorsCustomChannelType: AppAction<\n typeof SendbirdRegisterOperatorsCustomChannelTypeInput,\n typeof SendbirdRegisterOperatorsCustomChannelTypeOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_REGISTER_OPERATORS_CUSTOM_CHANNEL_TYPE\", {\n slug: \"sendbird-register-operators-custom-channel-type\",\n name: \"Register Operators by Custom Channel Type\",\n description: \"Registers one or more users as operators for all channels with a specified custom channel type. Use this tool when you need to grant operator privileges to users across all channels that share the same custom_type. Operators have elevated permissions including: - Muting and banning users from channels - Deleting messages in channels - Freezing/unfreezing channels - Managing channel settings Prerequisites: - The user IDs must belong to existing Sendbird users - The custom_type should match channels you want to manage Note: This affects all channels with the specified custom_type, not just a single channel.\",\n input: SendbirdRegisterOperatorsCustomChannelTypeInput,\n output: SendbirdRegisterOperatorsCustomChannelTypeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kDAAkD,EAAE,OAAO;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M;CAC3O,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC7P,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4DAA4D,EAAE,OAAO;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAKpF,MAAa,6CAIT,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8D,EAAE,OAAO,EACvE,WAAW,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2HAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-operators-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/register-operators-group-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdRegisterOperatorsGroupChannelInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to register as operators\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel\"),\n}).describe(\"Request parameters for registering operators to a Sendbird group channel.\");\nconst SendbirdRegisterOperatorsGroupChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique ID of the operator user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs for the operator\").nullable().optional(),\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().describe(\"Operator object returned by Sendbird after registration.\");\nexport const SendbirdRegisterOperatorsGroupChannelOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsGroupChannel_OperatorSchema).describe(\"List of operator objects after registration\"),\n total_count: z.number().int().describe(\"Total number of operators in the group channel\").nullable(),\n}).passthrough().describe(\"Response schema after registering operators to a group channel.\");\n\nexport const sendbirdRegisterOperatorsGroupChannel = action(\"SENDBIRD_REGISTER_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-register-operators-group-channel\",\n name: \"Register Group Channel Operators\",\n description: \"Tool to register one or more users as operators in a Sendbird group channel. Use when elevating permissions of existing channel members.\",\n input: SendbirdRegisterOperatorsGroupChannelInput,\n output: SendbirdRegisterOperatorsGroupChannelOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"register-operators-group-channel.cjs","names":["z","action"],"sources":["../../src/actions/register-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 SendbirdRegisterOperatorsGroupChannelInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to register as operators\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel\"),\n}).describe(\"Request parameters for registering operators to a Sendbird group channel.\");\nconst SendbirdRegisterOperatorsGroupChannel_OperatorSchema = z.object({\n user_id: z.string().describe(\"Unique ID of the operator user\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs for the operator\").nullable().optional(),\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().describe(\"Operator object returned by Sendbird after registration.\");\nexport const SendbirdRegisterOperatorsGroupChannelOutput = z.object({\n operators: z.array(SendbirdRegisterOperatorsGroupChannel_OperatorSchema).describe(\"List of operator objects after registration\"),\n total_count: z.number().int().describe(\"Total number of operators in the group channel\").nullable(),\n}).passthrough().describe(\"Response schema after registering operators to a group channel.\");\n\nexport const sendbirdRegisterOperatorsGroupChannel: AppAction<\n typeof SendbirdRegisterOperatorsGroupChannelInput,\n typeof SendbirdRegisterOperatorsGroupChannelOutput,\n typeof sendbird.credential\n> = action(\"SENDBIRD_REGISTER_OPERATORS_GROUP_CHANNEL\", {\n slug: \"sendbird-register-operators-group-channel\",\n name: \"Register Group Channel Operators\",\n description: \"Tool to register one or more users as operators in a Sendbird group channel. Use when elevating permissions of existing channel members.\",\n input: SendbirdRegisterOperatorsGroupChannelInput,\n output: SendbirdRegisterOperatorsGroupChannelOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAChF,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,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,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,WAAWA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C;CAC/H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,wCAITC,eAAAA,OAAO,6CAA6C;CACtD,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/register-operators-group-channel.d.ts
|
|
@@ -14,24 +16,7 @@ declare const SendbirdRegisterOperatorsGroupChannelOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
total_count: z.ZodNullable<z.ZodNumber>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sendbirdRegisterOperatorsGroupChannel:
|
|
18
|
-
user_ids: string[];
|
|
19
|
-
channel_url: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
subdomain: z.ZodString;
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
subdomain: z.ZodString;
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const sendbirdRegisterOperatorsGroupChannel: AppAction<typeof SendbirdRegisterOperatorsGroupChannelInput, typeof SendbirdRegisterOperatorsGroupChannelOutput, typeof sendbird.credential>;
|
|
35
20
|
//#endregion
|
|
36
21
|
export { sendbirdRegisterOperatorsGroupChannel };
|
|
37
22
|
//# sourceMappingURL=register-operators-group-channel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-operators-group-channel.d.cts","names":[],"sources":["../../src/actions/register-operators-group-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"register-operators-group-channel.d.cts","names":[],"sources":["../../src/actions/register-operators-group-channel.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,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/register-operators-group-channel.d.ts
|
|
@@ -14,24 +16,7 @@ declare const SendbirdRegisterOperatorsGroupChannelOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
total_count: z.ZodNullable<z.ZodNumber>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sendbirdRegisterOperatorsGroupChannel:
|
|
18
|
-
user_ids: string[];
|
|
19
|
-
channel_url: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
subdomain: z.ZodString;
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
subdomain: z.ZodString;
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const sendbirdRegisterOperatorsGroupChannel: AppAction<typeof SendbirdRegisterOperatorsGroupChannelInput, typeof SendbirdRegisterOperatorsGroupChannelOutput, typeof sendbird.credential>;
|
|
35
20
|
//#endregion
|
|
36
21
|
export { sendbirdRegisterOperatorsGroupChannel };
|
|
37
22
|
//# sourceMappingURL=register-operators-group-channel.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-operators-group-channel.d.mts","names":[],"sources":["../../src/actions/register-operators-group-channel.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"register-operators-group-channel.d.mts","names":[],"sources":["../../src/actions/register-operators-group-channel.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,QAAA,CAAS,UAAA"}
|