@keystrokehq/sendbird_ai_chabot 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-bot.cjs +39 -0
- package/dist/actions/create-bot.cjs.map +1 -0
- package/dist/actions/create-bot.d.cts +9 -0
- package/dist/actions/create-bot.d.cts.map +1 -0
- package/dist/actions/create-bot.d.mts +9 -0
- package/dist/actions/create-bot.d.mts.map +1 -0
- package/dist/actions/create-bot.mjs +38 -0
- package/dist/actions/create-bot.mjs.map +1 -0
- package/dist/actions/get-bot.cjs +27 -0
- package/dist/actions/get-bot.cjs.map +1 -0
- package/dist/actions/get-bot.d.cts +9 -0
- package/dist/actions/get-bot.d.cts.map +1 -0
- package/dist/actions/get-bot.d.mts +9 -0
- package/dist/actions/get-bot.d.mts.map +1 -0
- package/dist/actions/get-bot.mjs +26 -0
- package/dist/actions/get-bot.mjs.map +1 -0
- package/dist/actions/index.cjs +13 -0
- package/dist/actions/index.d.cts +7 -0
- package/dist/actions/index.d.mts +7 -0
- package/dist/actions/index.mjs +7 -0
- package/dist/actions/list-bots.cjs +39 -0
- package/dist/actions/list-bots.cjs.map +1 -0
- package/dist/actions/list-bots.d.cts +9 -0
- package/dist/actions/list-bots.d.cts.map +1 -0
- package/dist/actions/list-bots.d.mts +9 -0
- package/dist/actions/list-bots.d.mts.map +1 -0
- package/dist/actions/list-bots.mjs +38 -0
- package/dist/actions/list-bots.mjs.map +1 -0
- package/dist/actions/list-group-channels.cjs +79 -0
- package/dist/actions/list-group-channels.cjs.map +1 -0
- package/dist/actions/list-group-channels.d.cts +9 -0
- package/dist/actions/list-group-channels.d.cts.map +1 -0
- package/dist/actions/list-group-channels.d.mts +9 -0
- package/dist/actions/list-group-channels.d.mts.map +1 -0
- package/dist/actions/list-group-channels.mjs +78 -0
- package/dist/actions/list-group-channels.mjs.map +1 -0
- package/dist/actions/unregister-bot-webhook.cjs +19 -0
- package/dist/actions/unregister-bot-webhook.cjs.map +1 -0
- package/dist/actions/unregister-bot-webhook.d.cts +9 -0
- package/dist/actions/unregister-bot-webhook.d.cts.map +1 -0
- package/dist/actions/unregister-bot-webhook.d.mts +9 -0
- package/dist/actions/unregister-bot-webhook.d.mts.map +1 -0
- package/dist/actions/unregister-bot-webhook.mjs +16 -0
- package/dist/actions/unregister-bot-webhook.mjs.map +1 -0
- package/dist/actions/update-bot.cjs +39 -0
- package/dist/actions/update-bot.cjs.map +1 -0
- package/dist/actions/update-bot.d.cts +9 -0
- package/dist/actions/update-bot.d.cts.map +1 -0
- package/dist/actions/update-bot.d.mts +9 -0
- package/dist/actions/update-bot.d.mts.map +1 -0
- package/dist/actions/update-bot.mjs +38 -0
- package/dist/actions/update-bot.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +18 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.mts +9 -0
- package/dist/index.mjs +10 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-group-channels.d.ts
|
|
4
|
+
declare const SendbirdAiChabotListGroupChannelsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SendbirdAiChabotListGroupChannelsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sendbirdAiChabotListGroupChannels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sendbirdAiChabotListGroupChannels };
|
|
9
|
+
//# sourceMappingURL=list-group-channels.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-group-channels.d.cts","names":[],"sources":["../../src/actions/list-group-channels.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAqBmD;AAAA,cA4B7F,uCAAA,EAAyC,CAAA,CAAE,UAGtD;AAAA,cAEW,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-group-channels.d.ts
|
|
4
|
+
declare const SendbirdAiChabotListGroupChannelsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SendbirdAiChabotListGroupChannelsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sendbirdAiChabotListGroupChannels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sendbirdAiChabotListGroupChannels };
|
|
9
|
+
//# sourceMappingURL=list-group-channels.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-group-channels.d.mts","names":[],"sources":["../../src/actions/list-group-channels.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAqBmD;AAAA,cA4B7F,uCAAA,EAAyC,CAAA,CAAE,UAGtD;AAAA,cAEW,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-group-channels.ts
|
|
4
|
+
const SendbirdAiChabotListGroupChannelsInput = z.object({
|
|
5
|
+
url: z.string().describe("Filter by channel URL.").optional(),
|
|
6
|
+
name: z.string().describe("Filter by exact channel name.").optional(),
|
|
7
|
+
limit: z.number().int().describe("Number of results to return per page (1-100).").optional(),
|
|
8
|
+
token: z.string().describe("Pagination token for the next page.").optional(),
|
|
9
|
+
query_type: z.enum(["AND", "OR"]).describe("Query type to combine member_user_ids: AND or OR.").optional(),
|
|
10
|
+
show_empty: z.boolean().describe("Include channels with no messages.").optional(),
|
|
11
|
+
super_mode: z.enum([
|
|
12
|
+
"all",
|
|
13
|
+
"super",
|
|
14
|
+
"nonsuper"
|
|
15
|
+
]).describe("Filter by super channel mode: all, super, or nonsuper.").optional(),
|
|
16
|
+
custom_type: z.string().describe("Filter by a specific custom type.").optional(),
|
|
17
|
+
public_mode: z.enum([
|
|
18
|
+
"all",
|
|
19
|
+
"public",
|
|
20
|
+
"private"
|
|
21
|
+
]).describe("Filter by public mode: all, public, or private.").optional(),
|
|
22
|
+
channel_urls: z.array(z.string()).describe("Filter by specific channel URLs.").optional(),
|
|
23
|
+
custom_types: z.array(z.string()).describe("Filter by multiple custom types.").optional(),
|
|
24
|
+
created_after: z.number().int().describe("Filter channels created after this timestamp (ms since epoch).").optional(),
|
|
25
|
+
distinct_mode: z.enum([
|
|
26
|
+
"all",
|
|
27
|
+
"distinct",
|
|
28
|
+
"nondistinct"
|
|
29
|
+
]).describe("Filter by distinct mode: all, distinct, or nondistinct.").optional(),
|
|
30
|
+
name_contains: z.string().describe("Filter by partial channel name match.").optional(),
|
|
31
|
+
created_before: z.number().int().describe("Filter channels created before this timestamp (ms since epoch).").optional(),
|
|
32
|
+
member_user_ids: z.array(z.string()).describe("Filter by members' user IDs.").optional(),
|
|
33
|
+
members_nickname: z.string().describe("Filter by members' nickname.").optional(),
|
|
34
|
+
members_exactly_in: z.array(z.string()).describe("Filter channels where exactly these user IDs are members.").optional(),
|
|
35
|
+
members_include_in: z.array(z.string()).describe("Filter channels including any of these user IDs.").optional(),
|
|
36
|
+
members_nickname_prefix: z.string().describe("Filter by members' nickname prefix.").optional()
|
|
37
|
+
}).describe("Request model for retrieving a list of group channels with optional filters and pagination.");
|
|
38
|
+
const SendbirdAiChabotListGroupChannels_UserModelSchema = z.object({
|
|
39
|
+
user_id: z.string().describe("User ID.").nullable().optional(),
|
|
40
|
+
nickname: z.string().describe("User nickname.").nullable().optional(),
|
|
41
|
+
profile_url: z.string().describe("User profile URL.").nullable().optional()
|
|
42
|
+
}).passthrough();
|
|
43
|
+
const SendbirdAiChabotListGroupChannels_GroupChannelSchema = z.object({
|
|
44
|
+
data: z.string().describe("Custom data of the channel.").nullable().optional(),
|
|
45
|
+
name: z.string().describe("Name of the group channel.").nullable().optional(),
|
|
46
|
+
freeze: z.boolean().describe("Whether the channel is frozen.").nullable().optional(),
|
|
47
|
+
members: z.array(z.record(z.string(), z.unknown())).describe("List of channel members.").nullable().optional(),
|
|
48
|
+
is_super: z.boolean().describe("Whether the channel is a super channel.").nullable().optional(),
|
|
49
|
+
cover_url: z.string().describe("Cover image URL of the group channel.").nullable().optional(),
|
|
50
|
+
is_hidden: z.boolean().describe("Whether the channel is hidden.").nullable().optional(),
|
|
51
|
+
is_public: z.boolean().describe("Whether the channel is public.").nullable().optional(),
|
|
52
|
+
created_at: z.number().int().describe("Creation timestamp of the channel (ms since epoch).").nullable().optional(),
|
|
53
|
+
created_by: SendbirdAiChabotListGroupChannels_UserModelSchema.nullable().optional(),
|
|
54
|
+
channel_url: z.string().describe("URL identifier of the group channel."),
|
|
55
|
+
custom_type: z.string().describe("Custom type of the channel.").nullable().optional(),
|
|
56
|
+
is_distinct: z.boolean().describe("Whether the channel is distinct.").nullable().optional(),
|
|
57
|
+
is_ephemeral: z.boolean().describe("Whether the channel is ephemeral.").nullable().optional(),
|
|
58
|
+
last_message: z.record(z.string(), z.unknown()).describe("Details of the last message in the channel.").nullable().optional(),
|
|
59
|
+
member_count: z.number().int().describe("Total members in the channel.").nullable().optional(),
|
|
60
|
+
max_length_message: z.number().int().describe("Maximum length of messages in the channel.").nullable().optional(),
|
|
61
|
+
joined_member_count: z.number().int().describe("Number of joined members in the channel.").nullable().optional(),
|
|
62
|
+
unread_mention_count: z.number().int().describe("Number of unread mentions.").nullable().optional(),
|
|
63
|
+
unread_message_count: z.number().int().describe("Number of unread messages.").nullable().optional()
|
|
64
|
+
}).passthrough();
|
|
65
|
+
const sendbirdAiChabotListGroupChannels = action("SENDBIRD_AI_CHABOT_LIST_GROUP_CHANNELS", {
|
|
66
|
+
slug: "sendbird_ai_chabot-list-group-channels",
|
|
67
|
+
name: "List Group Channels",
|
|
68
|
+
description: "Tool to list group channels. Use when you need to fetch available group channels with filters and pagination.",
|
|
69
|
+
input: SendbirdAiChabotListGroupChannelsInput,
|
|
70
|
+
output: z.object({
|
|
71
|
+
next: z.string().describe("Pagination token for the next page; null if no more results.").nullable().optional(),
|
|
72
|
+
channels: z.array(SendbirdAiChabotListGroupChannels_GroupChannelSchema).describe("List of group channel objects.")
|
|
73
|
+
})
|
|
74
|
+
});
|
|
75
|
+
//#endregion
|
|
76
|
+
export { sendbirdAiChabotListGroupChannels };
|
|
77
|
+
|
|
78
|
+
//# sourceMappingURL=list-group-channels.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-group-channels.mjs","names":[],"sources":["../../src/actions/list-group-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotListGroupChannelsInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Filter by channel URL.\").optional(),\n name: z.string().describe(\"Filter by exact channel name.\").optional(),\n limit: z.number().int().describe(\"Number of results to return per page (1-100).\").optional(),\n token: z.string().describe(\"Pagination token for the next page.\").optional(),\n query_type: z.enum([\"AND\", \"OR\"]).describe(\"Query type to combine member_user_ids: AND or OR.\").optional(),\n show_empty: z.boolean().describe(\"Include channels with no messages.\").optional(),\n super_mode: z.enum([\"all\", \"super\", \"nonsuper\"]).describe(\"Filter by super channel mode: all, super, or nonsuper.\").optional(),\n custom_type: z.string().describe(\"Filter by a specific custom type.\").optional(),\n public_mode: z.enum([\"all\", \"public\", \"private\"]).describe(\"Filter by public mode: all, public, or private.\").optional(),\n channel_urls: z.array(z.string()).describe(\"Filter by specific channel URLs.\").optional(),\n custom_types: z.array(z.string()).describe(\"Filter by multiple custom types.\").optional(),\n created_after: z.number().int().describe(\"Filter channels created after this timestamp (ms since epoch).\").optional(),\n distinct_mode: z.enum([\"all\", \"distinct\", \"nondistinct\"]).describe(\"Filter by distinct mode: all, distinct, or nondistinct.\").optional(),\n name_contains: z.string().describe(\"Filter by partial channel name match.\").optional(),\n created_before: z.number().int().describe(\"Filter channels created before this timestamp (ms since epoch).\").optional(),\n member_user_ids: z.array(z.string()).describe(\"Filter by members' user IDs.\").optional(),\n members_nickname: z.string().describe(\"Filter by members' nickname.\").optional(),\n members_exactly_in: z.array(z.string()).describe(\"Filter channels where exactly these user IDs are members.\").optional(),\n members_include_in: z.array(z.string()).describe(\"Filter channels including any of these user IDs.\").optional(),\n members_nickname_prefix: z.string().describe(\"Filter by members' nickname prefix.\").optional(),\n}).describe(\"Request model for retrieving a list of group channels with optional filters and pagination.\");\nconst SendbirdAiChabotListGroupChannels_UserModelSchema: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"User ID.\").nullable().optional(),\n nickname: z.string().describe(\"User nickname.\").nullable().optional(),\n profile_url: z.string().describe(\"User profile URL.\").nullable().optional(),\n}).passthrough();\nconst SendbirdAiChabotListGroupChannels_GroupChannelSchema: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Custom data of the channel.\").nullable().optional(),\n name: z.string().describe(\"Name of the group channel.\").nullable().optional(),\n freeze: z.boolean().describe(\"Whether the channel is frozen.\").nullable().optional(),\n members: z.array(z.record(z.string(), z.unknown())).describe(\"List of channel members.\").nullable().optional(),\n is_super: z.boolean().describe(\"Whether the channel is a super channel.\").nullable().optional(),\n cover_url: z.string().describe(\"Cover image URL of the group channel.\").nullable().optional(),\n is_hidden: z.boolean().describe(\"Whether the channel is hidden.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the channel is public.\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp of the channel (ms since epoch).\").nullable().optional(),\n created_by: SendbirdAiChabotListGroupChannels_UserModelSchema.nullable().optional(),\n channel_url: z.string().describe(\"URL identifier of the group channel.\"),\n custom_type: z.string().describe(\"Custom type of the channel.\").nullable().optional(),\n is_distinct: z.boolean().describe(\"Whether the channel is distinct.\").nullable().optional(),\n is_ephemeral: z.boolean().describe(\"Whether the channel is ephemeral.\").nullable().optional(),\n last_message: z.record(z.string(), z.unknown()).describe(\"Details of the last message in the channel.\").nullable().optional(),\n member_count: z.number().int().describe(\"Total members in the channel.\").nullable().optional(),\n max_length_message: z.number().int().describe(\"Maximum length of messages in the channel.\").nullable().optional(),\n joined_member_count: z.number().int().describe(\"Number of joined members in the channel.\").nullable().optional(),\n unread_mention_count: z.number().int().describe(\"Number of unread mentions.\").nullable().optional(),\n unread_message_count: z.number().int().describe(\"Number of unread messages.\").nullable().optional(),\n}).passthrough();\nexport const SendbirdAiChabotListGroupChannelsOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token for the next page; null if no more results.\").nullable().optional(),\n channels: z.array(SendbirdAiChabotListGroupChannels_GroupChannelSchema).describe(\"List of group channel objects.\"),\n});\n\nexport const sendbirdAiChabotListGroupChannels = action(\"SENDBIRD_AI_CHABOT_LIST_GROUP_CHANNELS\", {\n slug: \"sendbird_ai_chabot-list-group-channels\",\n name: \"List Group Channels\",\n description: \"Tool to list group channels. Use when you need to fetch available group channels with filters and pagination.\",\n input: SendbirdAiChabotListGroupChannelsInput,\n output: SendbirdAiChabotListGroupChannelsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/unregister-bot-webhook.ts
|
|
4
|
+
const SendbirdAiChabotUnregisterBotWebhookInput = zod.z.object({ bot_id: zod.z.string().describe("Unique ID of the bot whose webhook will be unregistered.") }).describe("Request model for unregistering a bot's webhook.");
|
|
5
|
+
const SendbirdAiChabotUnregisterBotWebhookOutput = zod.z.object({
|
|
6
|
+
bot_id: zod.z.string().describe("Unique ID of the bot for which the webhook was unregistered."),
|
|
7
|
+
webhook_url: zod.z.string().describe("The webhook URL that was unregistered; null if none was set.").nullable().optional()
|
|
8
|
+
}).describe("Response model after unregistering a bot's webhook.");
|
|
9
|
+
const sendbirdAiChabotUnregisterBotWebhook = require_action.action("SENDBIRD_AI_CHABOT_UNREGISTER_BOT_WEBHOOK", {
|
|
10
|
+
slug: "sendbird_ai_chabot-unregister-bot-webhook",
|
|
11
|
+
name: "Unregister Bot Webhook",
|
|
12
|
+
description: "Tool to unregister the webhook URL for a bot. Use when you need to remove webhook configuration for a specific bot.",
|
|
13
|
+
input: SendbirdAiChabotUnregisterBotWebhookInput,
|
|
14
|
+
output: SendbirdAiChabotUnregisterBotWebhookOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.sendbirdAiChabotUnregisterBotWebhook = sendbirdAiChabotUnregisterBotWebhook;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=unregister-bot-webhook.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unregister-bot-webhook.cjs","names":["z","action"],"sources":["../../src/actions/unregister-bot-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotUnregisterBotWebhookInput: z.ZodTypeAny = z.object({\n bot_id: z.string().describe(\"Unique ID of the bot whose webhook will be unregistered.\"),\n}).describe(\"Request model for unregistering a bot's webhook.\");\nexport const SendbirdAiChabotUnregisterBotWebhookOutput: z.ZodTypeAny = z.object({\n bot_id: z.string().describe(\"Unique ID of the bot for which the webhook was unregistered.\"),\n webhook_url: z.string().describe(\"The webhook URL that was unregistered; null if none was set.\").nullable().optional(),\n}).describe(\"Response model after unregistering a bot's webhook.\");\n\nexport const sendbirdAiChabotUnregisterBotWebhook = action(\"SENDBIRD_AI_CHABOT_UNREGISTER_BOT_WEBHOOK\", {\n slug: \"sendbird_ai_chabot-unregister-bot-webhook\",\n name: \"Unregister Bot Webhook\",\n description: \"Tool to unregister the webhook URL for a bot. Use when you need to remove webhook configuration for a specific bot.\",\n input: SendbirdAiChabotUnregisterBotWebhookInput,\n output: SendbirdAiChabotUnregisterBotWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO,EAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACxF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/unregister-bot-webhook.d.ts
|
|
4
|
+
declare const SendbirdAiChabotUnregisterBotWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const SendbirdAiChabotUnregisterBotWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sendbirdAiChabotUnregisterBotWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sendbirdAiChabotUnregisterBotWebhook };
|
|
9
|
+
//# sourceMappingURL=unregister-bot-webhook.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unregister-bot-webhook.d.cts","names":[],"sources":["../../src/actions/unregister-bot-webhook.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAEK;AAAA,cAClD,0CAAA,EAA4C,CAAA,CAAE,UAGO;AAAA,cAErD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/unregister-bot-webhook.d.ts
|
|
4
|
+
declare const SendbirdAiChabotUnregisterBotWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const SendbirdAiChabotUnregisterBotWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sendbirdAiChabotUnregisterBotWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sendbirdAiChabotUnregisterBotWebhook };
|
|
9
|
+
//# sourceMappingURL=unregister-bot-webhook.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unregister-bot-webhook.d.mts","names":[],"sources":["../../src/actions/unregister-bot-webhook.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAEK;AAAA,cAClD,0CAAA,EAA4C,CAAA,CAAE,UAGO;AAAA,cAErD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const sendbirdAiChabotUnregisterBotWebhook = action("SENDBIRD_AI_CHABOT_UNREGISTER_BOT_WEBHOOK", {
|
|
4
|
+
slug: "sendbird_ai_chabot-unregister-bot-webhook",
|
|
5
|
+
name: "Unregister Bot Webhook",
|
|
6
|
+
description: "Tool to unregister the webhook URL for a bot. Use when you need to remove webhook configuration for a specific bot.",
|
|
7
|
+
input: z.object({ bot_id: z.string().describe("Unique ID of the bot whose webhook will be unregistered.") }).describe("Request model for unregistering a bot's webhook."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
bot_id: z.string().describe("Unique ID of the bot for which the webhook was unregistered."),
|
|
10
|
+
webhook_url: z.string().describe("The webhook URL that was unregistered; null if none was set.").nullable().optional()
|
|
11
|
+
}).describe("Response model after unregistering a bot's webhook.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { sendbirdAiChabotUnregisterBotWebhook };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=unregister-bot-webhook.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unregister-bot-webhook.mjs","names":[],"sources":["../../src/actions/unregister-bot-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotUnregisterBotWebhookInput: z.ZodTypeAny = z.object({\n bot_id: z.string().describe(\"Unique ID of the bot whose webhook will be unregistered.\"),\n}).describe(\"Request model for unregistering a bot's webhook.\");\nexport const SendbirdAiChabotUnregisterBotWebhookOutput: z.ZodTypeAny = z.object({\n bot_id: z.string().describe(\"Unique ID of the bot for which the webhook was unregistered.\"),\n webhook_url: z.string().describe(\"The webhook URL that was unregistered; null if none was set.\").nullable().optional(),\n}).describe(\"Response model after unregistering a bot's webhook.\");\n\nexport const sendbirdAiChabotUnregisterBotWebhook = action(\"SENDBIRD_AI_CHABOT_UNREGISTER_BOT_WEBHOOK\", {\n slug: \"sendbird_ai_chabot-unregister-bot-webhook\",\n name: \"Unregister Bot Webhook\",\n description: \"Tool to unregister the webhook URL for a bot. Use when you need to remove webhook configuration for a specific bot.\",\n input: SendbirdAiChabotUnregisterBotWebhookInput,\n output: SendbirdAiChabotUnregisterBotWebhookOutput,\n});\n"],"mappings":";;AAYA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqE,EAAE,OAAO,EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACxF,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAVsE,EAAE,OAAO;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-bot.ts
|
|
4
|
+
const SendbirdAiChabotUpdateBotInput = zod.z.object({
|
|
5
|
+
bot_id: zod.z.string().describe("The unique ID of the bot to update"),
|
|
6
|
+
bot_userid: zod.z.string().describe("Specifies a new user ID for the bot").optional(),
|
|
7
|
+
bot_nickname: zod.z.string().describe("Specifies a new nickname for the bot").optional(),
|
|
8
|
+
bot_profile_url: zod.z.string().describe("Specifies a new profile image URL for the bot").optional(),
|
|
9
|
+
is_privacy_mode: zod.z.boolean().describe("Determines bot privacy mode").optional(),
|
|
10
|
+
enable_mark_as_read: zod.z.boolean().describe("Determines whether the bot marks messages as read").optional()
|
|
11
|
+
}).describe("Request schema for updating a Sendbird bot.");
|
|
12
|
+
const SendbirdAiChabotUpdateBot_BotInfoSchema = zod.z.object({
|
|
13
|
+
bot_type: zod.z.string().describe("The type of the bot").nullable().optional(),
|
|
14
|
+
bot_token: zod.z.string().describe("Access token for the bot").nullable().optional(),
|
|
15
|
+
bot_userid: zod.z.string().describe("The user ID of the bot"),
|
|
16
|
+
bot_metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata object for the bot").nullable().optional(),
|
|
17
|
+
bot_nickname: zod.z.string().describe("The nickname of the bot"),
|
|
18
|
+
bot_profile_url: zod.z.string().describe("The profile image URL of the bot").nullable().optional()
|
|
19
|
+
}).describe("Inner bot information object.");
|
|
20
|
+
const SendbirdAiChabotUpdateBotOutput = zod.z.object({
|
|
21
|
+
bot: SendbirdAiChabotUpdateBot_BotInfoSchema.nullable(),
|
|
22
|
+
created_at: zod.z.number().int().describe("Creation timestamp in UNIX epoch").nullable().optional(),
|
|
23
|
+
show_member: zod.z.boolean().describe("Whether the bot is shown as a channel member").nullable().optional(),
|
|
24
|
+
is_privacy_mode: zod.z.boolean().describe("Whether privacy mode is enabled").nullable().optional(),
|
|
25
|
+
bot_callback_url: zod.z.string().describe("The callback URL of the bot").nullable().optional(),
|
|
26
|
+
enable_mark_as_read: zod.z.boolean().describe("Whether mark as read is enabled").nullable().optional(),
|
|
27
|
+
channel_invitation_preference: zod.z.number().int().describe("Channel invitation preference setting").nullable().optional()
|
|
28
|
+
}).describe("Response structure for update bot API.");
|
|
29
|
+
const sendbirdAiChabotUpdateBot = require_action.action("SENDBIRD_AI_CHABOT_UPDATE_BOT", {
|
|
30
|
+
slug: "sendbird_ai_chabot-update-bot",
|
|
31
|
+
name: "Update Bot",
|
|
32
|
+
description: "Tool to update information on an existing bot. Use when you need to change a bot's user ID, nickname, profile image URL, or toggle read-receipt or privacy settings after creation. Run after confirming the bot ID.",
|
|
33
|
+
input: SendbirdAiChabotUpdateBotInput,
|
|
34
|
+
output: SendbirdAiChabotUpdateBotOutput
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.sendbirdAiChabotUpdateBot = sendbirdAiChabotUpdateBot;
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=update-bot.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-bot.cjs","names":["z","action"],"sources":["../../src/actions/update-bot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotUpdateBotInput: z.ZodTypeAny = z.object({\n bot_id: z.string().describe(\"The unique ID of the bot to update\"),\n bot_userid: z.string().describe(\"Specifies a new user ID for the bot\").optional(),\n bot_nickname: z.string().describe(\"Specifies a new nickname for the bot\").optional(),\n bot_profile_url: z.string().describe(\"Specifies a new profile image URL for the bot\").optional(),\n is_privacy_mode: z.boolean().describe(\"Determines bot privacy mode\").optional(),\n enable_mark_as_read: z.boolean().describe(\"Determines whether the bot marks messages as read\").optional(),\n}).describe(\"Request schema for updating a Sendbird bot.\");\nconst SendbirdAiChabotUpdateBot_BotInfoSchema: z.ZodTypeAny = z.object({\n bot_type: z.string().describe(\"The type of the bot\").nullable().optional(),\n bot_token: z.string().describe(\"Access token for the bot\").nullable().optional(),\n bot_userid: z.string().describe(\"The user ID of the bot\"),\n bot_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata object for the bot\").nullable().optional(),\n bot_nickname: z.string().describe(\"The nickname of the bot\"),\n bot_profile_url: z.string().describe(\"The profile image URL of the bot\").nullable().optional(),\n}).describe(\"Inner bot information object.\");\nexport const SendbirdAiChabotUpdateBotOutput: z.ZodTypeAny = z.object({\n bot: SendbirdAiChabotUpdateBot_BotInfoSchema.nullable(),\n created_at: z.number().int().describe(\"Creation timestamp in UNIX epoch\").nullable().optional(),\n show_member: z.boolean().describe(\"Whether the bot is shown as a channel member\").nullable().optional(),\n is_privacy_mode: z.boolean().describe(\"Whether privacy mode is enabled\").nullable().optional(),\n bot_callback_url: z.string().describe(\"The callback URL of the bot\").nullable().optional(),\n enable_mark_as_read: z.boolean().describe(\"Whether mark as read is enabled\").nullable().optional(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation preference setting\").nullable().optional(),\n}).describe(\"Response structure for update bot API.\");\n\nexport const sendbirdAiChabotUpdateBot = action(\"SENDBIRD_AI_CHABOT_UPDATE_BOT\", {\n slug: \"sendbird_ai_chabot-update-bot\",\n name: \"Update Bot\",\n description: \"Tool to update information on an existing bot. Use when you need to change a bot's user ID, nickname, profile image URL, or toggle read-receipt or privacy settings after creation. Run after confirming the bot ID.\",\n input: SendbirdAiChabotUpdateBotInput,\n output: SendbirdAiChabotUpdateBotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC9E,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACxD,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CAC3D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,KAAK,wCAAwC,SAAS;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-bot.d.ts
|
|
4
|
+
declare const SendbirdAiChabotUpdateBotInput: z.ZodTypeAny;
|
|
5
|
+
declare const SendbirdAiChabotUpdateBotOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sendbirdAiChabotUpdateBot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sendbirdAiChabotUpdateBot };
|
|
9
|
+
//# sourceMappingURL=update-bot.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-bot.d.cts","names":[],"sources":["../../src/actions/update-bot.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAOW;AAAA,cAS7C,+BAAA,EAAiC,CAAA,CAAE,UAQK;AAAA,cAExC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-bot.d.ts
|
|
4
|
+
declare const SendbirdAiChabotUpdateBotInput: z.ZodTypeAny;
|
|
5
|
+
declare const SendbirdAiChabotUpdateBotOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sendbirdAiChabotUpdateBot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sendbirdAiChabotUpdateBot };
|
|
9
|
+
//# sourceMappingURL=update-bot.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-bot.d.mts","names":[],"sources":["../../src/actions/update-bot.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAOW;AAAA,cAS7C,+BAAA,EAAiC,CAAA,CAAE,UAQK;AAAA,cAExC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-bot.ts
|
|
4
|
+
const SendbirdAiChabotUpdateBotInput = z.object({
|
|
5
|
+
bot_id: z.string().describe("The unique ID of the bot to update"),
|
|
6
|
+
bot_userid: z.string().describe("Specifies a new user ID for the bot").optional(),
|
|
7
|
+
bot_nickname: z.string().describe("Specifies a new nickname for the bot").optional(),
|
|
8
|
+
bot_profile_url: z.string().describe("Specifies a new profile image URL for the bot").optional(),
|
|
9
|
+
is_privacy_mode: z.boolean().describe("Determines bot privacy mode").optional(),
|
|
10
|
+
enable_mark_as_read: z.boolean().describe("Determines whether the bot marks messages as read").optional()
|
|
11
|
+
}).describe("Request schema for updating a Sendbird bot.");
|
|
12
|
+
const SendbirdAiChabotUpdateBot_BotInfoSchema = z.object({
|
|
13
|
+
bot_type: z.string().describe("The type of the bot").nullable().optional(),
|
|
14
|
+
bot_token: z.string().describe("Access token for the bot").nullable().optional(),
|
|
15
|
+
bot_userid: z.string().describe("The user ID of the bot"),
|
|
16
|
+
bot_metadata: z.record(z.string(), z.unknown()).describe("Custom metadata object for the bot").nullable().optional(),
|
|
17
|
+
bot_nickname: z.string().describe("The nickname of the bot"),
|
|
18
|
+
bot_profile_url: z.string().describe("The profile image URL of the bot").nullable().optional()
|
|
19
|
+
}).describe("Inner bot information object.");
|
|
20
|
+
const sendbirdAiChabotUpdateBot = action("SENDBIRD_AI_CHABOT_UPDATE_BOT", {
|
|
21
|
+
slug: "sendbird_ai_chabot-update-bot",
|
|
22
|
+
name: "Update Bot",
|
|
23
|
+
description: "Tool to update information on an existing bot. Use when you need to change a bot's user ID, nickname, profile image URL, or toggle read-receipt or privacy settings after creation. Run after confirming the bot ID.",
|
|
24
|
+
input: SendbirdAiChabotUpdateBotInput,
|
|
25
|
+
output: z.object({
|
|
26
|
+
bot: SendbirdAiChabotUpdateBot_BotInfoSchema.nullable(),
|
|
27
|
+
created_at: z.number().int().describe("Creation timestamp in UNIX epoch").nullable().optional(),
|
|
28
|
+
show_member: z.boolean().describe("Whether the bot is shown as a channel member").nullable().optional(),
|
|
29
|
+
is_privacy_mode: z.boolean().describe("Whether privacy mode is enabled").nullable().optional(),
|
|
30
|
+
bot_callback_url: z.string().describe("The callback URL of the bot").nullable().optional(),
|
|
31
|
+
enable_mark_as_read: z.boolean().describe("Whether mark as read is enabled").nullable().optional(),
|
|
32
|
+
channel_invitation_preference: z.number().int().describe("Channel invitation preference setting").nullable().optional()
|
|
33
|
+
}).describe("Response structure for update bot API.")
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { sendbirdAiChabotUpdateBot };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=update-bot.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-bot.mjs","names":[],"sources":["../../src/actions/update-bot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotUpdateBotInput: z.ZodTypeAny = z.object({\n bot_id: z.string().describe(\"The unique ID of the bot to update\"),\n bot_userid: z.string().describe(\"Specifies a new user ID for the bot\").optional(),\n bot_nickname: z.string().describe(\"Specifies a new nickname for the bot\").optional(),\n bot_profile_url: z.string().describe(\"Specifies a new profile image URL for the bot\").optional(),\n is_privacy_mode: z.boolean().describe(\"Determines bot privacy mode\").optional(),\n enable_mark_as_read: z.boolean().describe(\"Determines whether the bot marks messages as read\").optional(),\n}).describe(\"Request schema for updating a Sendbird bot.\");\nconst SendbirdAiChabotUpdateBot_BotInfoSchema: z.ZodTypeAny = z.object({\n bot_type: z.string().describe(\"The type of the bot\").nullable().optional(),\n bot_token: z.string().describe(\"Access token for the bot\").nullable().optional(),\n bot_userid: z.string().describe(\"The user ID of the bot\"),\n bot_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata object for the bot\").nullable().optional(),\n bot_nickname: z.string().describe(\"The nickname of the bot\"),\n bot_profile_url: z.string().describe(\"The profile image URL of the bot\").nullable().optional(),\n}).describe(\"Inner bot information object.\");\nexport const SendbirdAiChabotUpdateBotOutput: z.ZodTypeAny = z.object({\n bot: SendbirdAiChabotUpdateBot_BotInfoSchema.nullable(),\n created_at: z.number().int().describe(\"Creation timestamp in UNIX epoch\").nullable().optional(),\n show_member: z.boolean().describe(\"Whether the bot is shown as a channel member\").nullable().optional(),\n is_privacy_mode: z.boolean().describe(\"Whether privacy mode is enabled\").nullable().optional(),\n bot_callback_url: z.string().describe(\"The callback URL of the bot\").nullable().optional(),\n enable_mark_as_read: z.boolean().describe(\"Whether mark as read is enabled\").nullable().optional(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation preference setting\").nullable().optional(),\n}).describe(\"Response structure for update bot API.\");\n\nexport const sendbirdAiChabotUpdateBot = action(\"SENDBIRD_AI_CHABOT_UPDATE_BOT\", {\n slug: \"sendbird_ai_chabot-update-bot\",\n name: \"Update Bot\",\n description: \"Tool to update information on an existing bot. Use when you need to change a bot's user ID, nickname, profile image URL, or toggle read-receipt or privacy settings after creation. Run after confirming the bot ID.\",\n input: SendbirdAiChabotUpdateBotInput,\n output: SendbirdAiChabotUpdateBotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACnF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC9E,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,0CAAwD,EAAE,OAAO;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACxD,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CAC3D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAW3C,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2D,EAAE,OAAO;EACpE,KAAK,wCAAwC,SAAS;EACtD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sendbirdAiChabot = defineApp({\n slug: \"sendbird_ai_chabot\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,oBAAA,uCAAA,CAAA,CAAA,UAAA,CAA6B;CACxC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,gBAAA,6BAAgB,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,gBAAA,6BAAgB,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sendbirdAiChabot = defineApp({\n slug: \"sendbird_ai_chabot\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,mBAAmB,UAAU;CACxC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const sendbirdAiChabotCatalog = {
|
|
4
|
+
"slug": "sendbird_ai_chabot",
|
|
5
|
+
"name": "Sendbird AI Chatbot",
|
|
6
|
+
"description": "Sendbird's AI Chatbot enables businesses to integrate intelligent, automated conversational agents into their applications, enhancing customer engagement and support.",
|
|
7
|
+
"category": "AI Chatbots",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/sendbird_ai_chabot",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.sendbirdAiChabotCatalog = sendbirdAiChabotCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendbirdAiChabotCatalog = {\n \"slug\": \"sendbird_ai_chabot\",\n \"name\": \"Sendbird AI Chatbot\",\n \"description\": \"Sendbird's AI Chatbot enables businesses to integrate intelligent, automated conversational agents into their applications, enhancing customer engagement and support.\",\n \"category\": \"AI Chatbots\",\n \"logo\": \"https://logos.composio.dev/api/sendbird_ai_chabot\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,0BAA0B;CACrC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const sendbirdAiChabotCatalog: {
|
|
4
|
+
readonly slug: "sendbird_ai_chabot";
|
|
5
|
+
readonly name: "Sendbird AI Chatbot";
|
|
6
|
+
readonly description: "Sendbird's AI Chatbot enables businesses to integrate intelligent, automated conversational agents into their applications, enhancing customer engagement and support.";
|
|
7
|
+
readonly category: "AI Chatbots";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/sendbird_ai_chabot";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { sendbirdAiChabotCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,uBAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const sendbirdAiChabotCatalog: {
|
|
4
|
+
readonly slug: "sendbird_ai_chabot";
|
|
5
|
+
readonly name: "Sendbird AI Chatbot";
|
|
6
|
+
readonly description: "Sendbird's AI Chatbot enables businesses to integrate intelligent, automated conversational agents into their applications, enhancing customer engagement and support.";
|
|
7
|
+
readonly category: "AI Chatbots";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/sendbird_ai_chabot";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { sendbirdAiChabotCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,uBAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const sendbirdAiChabotCatalog = {
|
|
4
|
+
"slug": "sendbird_ai_chabot",
|
|
5
|
+
"name": "Sendbird AI Chatbot",
|
|
6
|
+
"description": "Sendbird's AI Chatbot enables businesses to integrate intelligent, automated conversational agents into their applications, enhancing customer engagement and support.",
|
|
7
|
+
"category": "AI Chatbots",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/sendbird_ai_chabot",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { sendbirdAiChabotCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendbirdAiChabotCatalog = {\n \"slug\": \"sendbird_ai_chabot\",\n \"name\": \"Sendbird AI Chatbot\",\n \"description\": \"Sendbird's AI Chatbot enables businesses to integrate intelligent, automated conversational agents into their applications, enhancing customer engagement and support.\",\n \"category\": \"AI Chatbots\",\n \"logo\": \"https://logos.composio.dev/api/sendbird_ai_chabot\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,0BAA0B;CACrC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "sendbird_ai_chabot";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSendbirdAiChabotTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeSendbirdAiChabotTool = executeSendbirdAiChabotTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"sendbird_ai_chabot\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSendbirdAiChabotTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,4BACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "sendbird_ai_chabot";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSendbirdAiChabotTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeSendbirdAiChabotTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"sendbird_ai_chabot\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSendbirdAiChabotTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,4BACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_create_bot = require("./actions/create-bot.cjs");
|
|
5
|
+
const require_get_bot = require("./actions/get-bot.cjs");
|
|
6
|
+
const require_list_bots = require("./actions/list-bots.cjs");
|
|
7
|
+
const require_list_group_channels = require("./actions/list-group-channels.cjs");
|
|
8
|
+
const require_unregister_bot_webhook = require("./actions/unregister-bot-webhook.cjs");
|
|
9
|
+
const require_update_bot = require("./actions/update-bot.cjs");
|
|
10
|
+
require("./actions/index.cjs");
|
|
11
|
+
exports.sendbirdAiChabot = require_app.sendbirdAiChabot;
|
|
12
|
+
exports.sendbirdAiChabotCatalog = require_catalog.sendbirdAiChabotCatalog;
|
|
13
|
+
exports.sendbirdAiChabotCreateBot = require_create_bot.sendbirdAiChabotCreateBot;
|
|
14
|
+
exports.sendbirdAiChabotGetBot = require_get_bot.sendbirdAiChabotGetBot;
|
|
15
|
+
exports.sendbirdAiChabotListBots = require_list_bots.sendbirdAiChabotListBots;
|
|
16
|
+
exports.sendbirdAiChabotListGroupChannels = require_list_group_channels.sendbirdAiChabotListGroupChannels;
|
|
17
|
+
exports.sendbirdAiChabotUnregisterBotWebhook = require_unregister_bot_webhook.sendbirdAiChabotUnregisterBotWebhook;
|
|
18
|
+
exports.sendbirdAiChabotUpdateBot = require_update_bot.sendbirdAiChabotUpdateBot;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { sendbirdAiChabotCreateBot } from "./actions/create-bot.cjs";
|
|
2
|
+
import { sendbirdAiChabotGetBot } from "./actions/get-bot.cjs";
|
|
3
|
+
import { sendbirdAiChabotListBots } from "./actions/list-bots.cjs";
|
|
4
|
+
import { sendbirdAiChabotListGroupChannels } from "./actions/list-group-channels.cjs";
|
|
5
|
+
import { sendbirdAiChabotUnregisterBotWebhook } from "./actions/unregister-bot-webhook.cjs";
|
|
6
|
+
import { sendbirdAiChabotUpdateBot } from "./actions/update-bot.cjs";
|
|
7
|
+
import { sendbirdAiChabot } from "./app.cjs";
|
|
8
|
+
import { sendbirdAiChabotCatalog } from "./catalog.cjs";
|
|
9
|
+
export { sendbirdAiChabot, sendbirdAiChabotCatalog, sendbirdAiChabotCreateBot, sendbirdAiChabotGetBot, sendbirdAiChabotListBots, sendbirdAiChabotListGroupChannels, sendbirdAiChabotUnregisterBotWebhook, sendbirdAiChabotUpdateBot };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { sendbirdAiChabotCreateBot } from "./actions/create-bot.mjs";
|
|
2
|
+
import { sendbirdAiChabotGetBot } from "./actions/get-bot.mjs";
|
|
3
|
+
import { sendbirdAiChabotListBots } from "./actions/list-bots.mjs";
|
|
4
|
+
import { sendbirdAiChabotListGroupChannels } from "./actions/list-group-channels.mjs";
|
|
5
|
+
import { sendbirdAiChabotUnregisterBotWebhook } from "./actions/unregister-bot-webhook.mjs";
|
|
6
|
+
import { sendbirdAiChabotUpdateBot } from "./actions/update-bot.mjs";
|
|
7
|
+
import { sendbirdAiChabot } from "./app.mjs";
|
|
8
|
+
import { sendbirdAiChabotCatalog } from "./catalog.mjs";
|
|
9
|
+
export { sendbirdAiChabot, sendbirdAiChabotCatalog, sendbirdAiChabotCreateBot, sendbirdAiChabotGetBot, sendbirdAiChabotListBots, sendbirdAiChabotListGroupChannels, sendbirdAiChabotUnregisterBotWebhook, sendbirdAiChabotUpdateBot };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { sendbirdAiChabot } from "./app.mjs";
|
|
2
|
+
import { sendbirdAiChabotCatalog } from "./catalog.mjs";
|
|
3
|
+
import { sendbirdAiChabotCreateBot } from "./actions/create-bot.mjs";
|
|
4
|
+
import { sendbirdAiChabotGetBot } from "./actions/get-bot.mjs";
|
|
5
|
+
import { sendbirdAiChabotListBots } from "./actions/list-bots.mjs";
|
|
6
|
+
import { sendbirdAiChabotListGroupChannels } from "./actions/list-group-channels.mjs";
|
|
7
|
+
import { sendbirdAiChabotUnregisterBotWebhook } from "./actions/unregister-bot-webhook.mjs";
|
|
8
|
+
import { sendbirdAiChabotUpdateBot } from "./actions/update-bot.mjs";
|
|
9
|
+
import "./actions/index.mjs";
|
|
10
|
+
export { sendbirdAiChabot, sendbirdAiChabotCatalog, sendbirdAiChabotCreateBot, sendbirdAiChabotGetBot, sendbirdAiChabotListBots, sendbirdAiChabotListGroupChannels, sendbirdAiChabotUnregisterBotWebhook, sendbirdAiChabotUpdateBot };
|