@keystrokehq/sendbird_ai_chabot 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.
Files changed (61) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-bot.cjs +1 -0
  4. package/dist/actions/create-bot.cjs.map +1 -1
  5. package/dist/actions/create-bot.d.cts +3 -24
  6. package/dist/actions/create-bot.d.cts.map +1 -1
  7. package/dist/actions/create-bot.d.mts +3 -24
  8. package/dist/actions/create-bot.d.mts.map +1 -1
  9. package/dist/actions/create-bot.mjs +1 -0
  10. package/dist/actions/create-bot.mjs.map +1 -1
  11. package/dist/actions/get-bot.cjs +1 -0
  12. package/dist/actions/get-bot.cjs.map +1 -1
  13. package/dist/actions/get-bot.d.cts +3 -17
  14. package/dist/actions/get-bot.d.cts.map +1 -1
  15. package/dist/actions/get-bot.d.mts +3 -17
  16. package/dist/actions/get-bot.d.mts.map +1 -1
  17. package/dist/actions/get-bot.mjs +1 -0
  18. package/dist/actions/get-bot.mjs.map +1 -1
  19. package/dist/actions/list-bots.cjs +1 -0
  20. package/dist/actions/list-bots.cjs.map +1 -1
  21. package/dist/actions/list-bots.d.cts +3 -19
  22. package/dist/actions/list-bots.d.cts.map +1 -1
  23. package/dist/actions/list-bots.d.mts +3 -19
  24. package/dist/actions/list-bots.d.mts.map +1 -1
  25. package/dist/actions/list-bots.mjs +1 -0
  26. package/dist/actions/list-bots.mjs.map +1 -1
  27. package/dist/actions/list-group-channels.cjs +1 -0
  28. package/dist/actions/list-group-channels.cjs.map +1 -1
  29. package/dist/actions/list-group-channels.d.cts +3 -36
  30. package/dist/actions/list-group-channels.d.cts.map +1 -1
  31. package/dist/actions/list-group-channels.d.mts +3 -36
  32. package/dist/actions/list-group-channels.d.mts.map +1 -1
  33. package/dist/actions/list-group-channels.mjs +1 -0
  34. package/dist/actions/list-group-channels.mjs.map +1 -1
  35. package/dist/actions/unregister-bot-webhook.cjs +1 -0
  36. package/dist/actions/unregister-bot-webhook.cjs.map +1 -1
  37. package/dist/actions/unregister-bot-webhook.d.cts +3 -17
  38. package/dist/actions/unregister-bot-webhook.d.cts.map +1 -1
  39. package/dist/actions/unregister-bot-webhook.d.mts +3 -17
  40. package/dist/actions/unregister-bot-webhook.d.mts.map +1 -1
  41. package/dist/actions/unregister-bot-webhook.mjs +1 -0
  42. package/dist/actions/unregister-bot-webhook.mjs.map +1 -1
  43. package/dist/actions/update-bot.cjs +1 -0
  44. package/dist/actions/update-bot.cjs.map +1 -1
  45. package/dist/actions/update-bot.d.cts +3 -22
  46. package/dist/actions/update-bot.d.cts.map +1 -1
  47. package/dist/actions/update-bot.d.mts +3 -22
  48. package/dist/actions/update-bot.d.mts.map +1 -1
  49. package/dist/actions/update-bot.mjs +1 -0
  50. package/dist/actions/update-bot.mjs.map +1 -1
  51. package/dist/app.cjs +5 -4
  52. package/dist/app.cjs.map +1 -1
  53. package/dist/app.d.cts +4 -6
  54. package/dist/app.d.cts.map +1 -1
  55. package/dist/app.d.mts +4 -6
  56. package/dist/app.d.mts.map +1 -1
  57. package/dist/app.mjs +0 -1
  58. package/dist/app.mjs.map +1 -1
  59. package/dist/index.d.cts +1 -1
  60. package/dist/index.d.mts +1 -1
  61. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["sendbirdAiChabot","executeSendbirdAiChabotTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendbirdAiChabot } from \"./app\";\nimport { executeSendbirdAiChabotTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return sendbirdAiChabot.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSendbirdAiChabotTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,iBAAiB,OAAO;EAC7B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,4BAA4B,MAAM,KAAgC,CAAC;EACnG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["sendbirdAiChabot","executeSendbirdAiChabotTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { sendbirdAiChabot } from \"./app\";\nimport { executeSendbirdAiChabotTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sendbirdAiChabot.credential> {\n return sendbirdAiChabot.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSendbirdAiChabotTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOgE;CAChE,OAAOA,YAAAA,iBAAiB,OAAO;EAC7B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,4BAA4B,MAAM,KAAgC,CAAC;EACnG;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendbirdAiChabot } from \"./app\";\nimport { executeSendbirdAiChabotTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return sendbirdAiChabot.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSendbirdAiChabotTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,iBAAiB,OAAO;EAC7B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,4BAA4B,MAAM,KAAgC,CAAC;EACnG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { sendbirdAiChabot } from \"./app\";\nimport { executeSendbirdAiChabotTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sendbirdAiChabot.credential> {\n return sendbirdAiChabot.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSendbirdAiChabotTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOgE;CAChE,OAAO,iBAAiB,OAAO;EAC7B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,4BAA4B,MAAM,KAAgC,CAAC;EACnG;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-bot.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-bot.cjs","names":["z","action"],"sources":["../../src/actions/create-bot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotCreateBotInput = z.object({\n bot_type: z.enum([\"AI\", \"DEFAULT\"]).default(\"AI\").describe(\"Type of the bot\").optional(),\n bot_userid: z.string().describe(\"Unique ID for the bot, maximum 80 characters\"),\n bot_nickname: z.string().describe(\"Nickname for the bot, maximum 80 characters\"),\n bot_profile_url: z.string().describe(\"Profile image URL for the bot\").optional(),\n is_privacy_mode: z.boolean().default(false).describe(\"Whether the bot operates in privacy mode\").optional(),\n bot_callback_url: z.string().describe(\"Callback URL for the bot’s webhook events\").optional(),\n enable_mark_as_read: z.boolean().default(false).describe(\"Whether the bot marks messages as read automatically\").optional(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation handling options for the bot. 0 = disable auto accept, 1 = auto accept\").optional(),\n}).describe(\"Request model for creating a new bot\");\nconst SendbirdAiChabotCreateBot_BotModelSchema = z.object({\n bot_type: z.enum([\"AI\", \"DEFAULT\"]).describe(\"Type of the bot\").nullable(),\n bot_token: z.string().describe(\"Bot's authentication token\").nullable().optional(),\n bot_userid: z.string().describe(\"Bot's unique user ID\").nullable(),\n bot_nickname: z.string().describe(\"Bot's nickname\").nullable(),\n bot_profile_url: z.string().describe(\"Bot's profile image URL (can be empty string)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a bot in Sendbird\");\nexport const SendbirdAiChabotCreateBotOutput = z.object({\n bot: SendbirdAiChabotCreateBot_BotModelSchema.nullable(),\n created_at: z.number().int().describe(\"Timestamp (in milliseconds) when the bot was created\").nullable(),\n is_privacy_mode: z.boolean().describe(\"Whether the bot operates in privacy mode\").nullable(),\n bot_callback_url: z.string().describe(\"Callback URL for the bot's webhook events\").nullable().optional(),\n enable_mark_as_read: z.boolean().describe(\"Whether the bot marks messages as read automatically\").nullable(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation handling options (0 = disable auto accept, 1 = auto accept)\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a new bot\");\n\nexport const sendbirdAiChabotCreateBot = action(\"SENDBIRD_AI_CHABOT_CREATE_BOT\", {\n slug: \"sendbird_ai_chabot-create-bot\",\n name: \"Create Bot\",\n description: \"Tool to create a new bot. Use when you need to add an AI or default bot to your Sendbird app.\",\n input: SendbirdAiChabotCreateBotInput,\n output: SendbirdAiChabotCreateBotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,KAAK,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC/E,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,S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AAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-bot.cjs","names":["z","action"],"sources":["../../src/actions/create-bot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotCreateBotInput = z.object({\n bot_type: z.enum([\"AI\", \"DEFAULT\"]).default(\"AI\").describe(\"Type of the bot\").optional(),\n bot_userid: z.string().describe(\"Unique ID for the bot, maximum 80 characters\"),\n bot_nickname: z.string().describe(\"Nickname for the bot, maximum 80 characters\"),\n bot_profile_url: z.string().describe(\"Profile image URL for the bot\").optional(),\n is_privacy_mode: z.boolean().default(false).describe(\"Whether the bot operates in privacy mode\").optional(),\n bot_callback_url: z.string().describe(\"Callback URL for the bot’s webhook events\").optional(),\n enable_mark_as_read: z.boolean().default(false).describe(\"Whether the bot marks messages as read automatically\").optional(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation handling options for the bot. 0 = disable auto accept, 1 = auto accept\").optional(),\n}).describe(\"Request model for creating a new bot\");\nconst SendbirdAiChabotCreateBot_BotModelSchema = z.object({\n bot_type: z.enum([\"AI\", \"DEFAULT\"]).describe(\"Type of the bot\").nullable(),\n bot_token: z.string().describe(\"Bot's authentication token\").nullable().optional(),\n bot_userid: z.string().describe(\"Bot's unique user ID\").nullable(),\n bot_nickname: z.string().describe(\"Bot's nickname\").nullable(),\n bot_profile_url: z.string().describe(\"Bot's profile image URL (can be empty string)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a bot in Sendbird\");\nexport const SendbirdAiChabotCreateBotOutput = z.object({\n bot: SendbirdAiChabotCreateBot_BotModelSchema.nullable(),\n created_at: z.number().int().describe(\"Timestamp (in milliseconds) when the bot was created\").nullable(),\n is_privacy_mode: z.boolean().describe(\"Whether the bot operates in privacy mode\").nullable(),\n bot_callback_url: z.string().describe(\"Callback URL for the bot's webhook events\").nullable().optional(),\n enable_mark_as_read: z.boolean().describe(\"Whether the bot marks messages as read automatically\").nullable(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation handling options (0 = disable auto accept, 1 = auto accept)\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a new bot\");\n\nexport const sendbirdAiChabotCreateBot: AppAction<\n typeof SendbirdAiChabotCreateBotInput,\n typeof SendbirdAiChabotCreateBotOutput,\n typeof sendbirdAiChabot.credential\n> = action(\"SENDBIRD_AI_CHABOT_CREATE_BOT\", {\n slug: \"sendbird_ai_chabot-create-bot\",\n name: \"Create Bot\",\n description: \"Tool to create a new bot. Use when you need to add an AI or default bot to your Sendbird app.\",\n input: SendbirdAiChabotCreateBotInput,\n output: SendbirdAiChabotCreateBotOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,UAAUA,IAAAA,EAAE,KAAK,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC/E,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,qBAAqBA,IAAAA,EAAE,Q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AAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-bot.d.ts
@@ -31,30 +33,7 @@ declare const SendbirdAiChabotCreateBotOutput: z.ZodObject<{
31
33
  enable_mark_as_read: z.ZodNullable<z.ZodBoolean>;
32
34
  channel_invitation_preference: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
35
  }, z.core.$loose>;
34
- declare const sendbirdAiChabotCreateBot: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- bot_userid: string;
36
- bot_nickname: string;
37
- bot_type?: "AI" | "DEFAULT" | undefined;
38
- bot_profile_url?: string | undefined;
39
- is_privacy_mode?: boolean | undefined;
40
- bot_callback_url?: string | undefined;
41
- enable_mark_as_read?: boolean | undefined;
42
- channel_invitation_preference?: number | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- subdomain: z.ZodString;
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- subdomain: z.ZodString;
56
- generic_api_key: z.ZodString;
57
- }, z.core.$strip>>]>;
36
+ declare const sendbirdAiChabotCreateBot: AppAction<typeof SendbirdAiChabotCreateBotInput, typeof SendbirdAiChabotCreateBotOutput, typeof sendbirdAiChabot.credential>;
58
37
  //#endregion
59
38
  export { sendbirdAiChabotCreateBot };
60
39
  //# sourceMappingURL=create-bot.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-bot.d.cts","names":[],"sources":["../../src/actions/create-bot.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"create-bot.d.cts","names":[],"sources":["../../src/actions/create-bot.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-bot.d.ts
@@ -31,30 +33,7 @@ declare const SendbirdAiChabotCreateBotOutput: z.ZodObject<{
31
33
  enable_mark_as_read: z.ZodNullable<z.ZodBoolean>;
32
34
  channel_invitation_preference: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
35
  }, z.core.$loose>;
34
- declare const sendbirdAiChabotCreateBot: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- bot_userid: string;
36
- bot_nickname: string;
37
- bot_type?: "AI" | "DEFAULT" | undefined;
38
- bot_profile_url?: string | undefined;
39
- is_privacy_mode?: boolean | undefined;
40
- bot_callback_url?: string | undefined;
41
- enable_mark_as_read?: boolean | undefined;
42
- channel_invitation_preference?: number | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- subdomain: z.ZodString;
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- subdomain: z.ZodString;
56
- generic_api_key: z.ZodString;
57
- }, z.core.$strip>>]>;
36
+ declare const sendbirdAiChabotCreateBot: AppAction<typeof SendbirdAiChabotCreateBotInput, typeof SendbirdAiChabotCreateBotOutput, typeof sendbirdAiChabot.credential>;
58
37
  //#endregion
59
38
  export { sendbirdAiChabotCreateBot };
60
39
  //# sourceMappingURL=create-bot.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-bot.d.mts","names":[],"sources":["../../src/actions/create-bot.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"create-bot.d.mts","names":[],"sources":["../../src/actions/create-bot.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-bot.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-bot.mjs","names":[],"sources":["../../src/actions/create-bot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotCreateBotInput = z.object({\n bot_type: z.enum([\"AI\", \"DEFAULT\"]).default(\"AI\").describe(\"Type of the bot\").optional(),\n bot_userid: z.string().describe(\"Unique ID for the bot, maximum 80 characters\"),\n bot_nickname: z.string().describe(\"Nickname for the bot, maximum 80 characters\"),\n bot_profile_url: z.string().describe(\"Profile image URL for the bot\").optional(),\n is_privacy_mode: z.boolean().default(false).describe(\"Whether the bot operates in privacy mode\").optional(),\n bot_callback_url: z.string().describe(\"Callback URL for the bot’s webhook events\").optional(),\n enable_mark_as_read: z.boolean().default(false).describe(\"Whether the bot marks messages as read automatically\").optional(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation handling options for the bot. 0 = disable auto accept, 1 = auto accept\").optional(),\n}).describe(\"Request model for creating a new bot\");\nconst SendbirdAiChabotCreateBot_BotModelSchema = z.object({\n bot_type: z.enum([\"AI\", \"DEFAULT\"]).describe(\"Type of the bot\").nullable(),\n bot_token: z.string().describe(\"Bot's authentication token\").nullable().optional(),\n bot_userid: z.string().describe(\"Bot's unique user ID\").nullable(),\n bot_nickname: z.string().describe(\"Bot's nickname\").nullable(),\n bot_profile_url: z.string().describe(\"Bot's profile image URL (can be empty string)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a bot in Sendbird\");\nexport const SendbirdAiChabotCreateBotOutput = z.object({\n bot: SendbirdAiChabotCreateBot_BotModelSchema.nullable(),\n created_at: z.number().int().describe(\"Timestamp (in milliseconds) when the bot was created\").nullable(),\n is_privacy_mode: z.boolean().describe(\"Whether the bot operates in privacy mode\").nullable(),\n bot_callback_url: z.string().describe(\"Callback URL for the bot's webhook events\").nullable().optional(),\n enable_mark_as_read: z.boolean().describe(\"Whether the bot marks messages as read automatically\").nullable(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation handling options (0 = disable auto accept, 1 = auto accept)\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a new bot\");\n\nexport const sendbirdAiChabotCreateBot = action(\"SENDBIRD_AI_CHABOT_CREATE_BOT\", {\n slug: \"sendbird_ai_chabot-create-bot\",\n name: \"Create Bot\",\n description: \"Tool to create a new bot. Use when you need to add an AI or default bot to your Sendbird app.\",\n input: SendbirdAiChabotCreateBotInput,\n output: SendbirdAiChabotCreateBotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,UAAU,EAAE,KAAK,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC/E,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC1H,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,2CAA2C,EAAE,OAAO;CACxD,UAAU,EAAE,KAAK,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAC7D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAUhE,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,KAAK,yCAAyC,SAAS;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACvG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC3F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3G,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-bot.mjs","names":[],"sources":["../../src/actions/create-bot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotCreateBotInput = z.object({\n bot_type: z.enum([\"AI\", \"DEFAULT\"]).default(\"AI\").describe(\"Type of the bot\").optional(),\n bot_userid: z.string().describe(\"Unique ID for the bot, maximum 80 characters\"),\n bot_nickname: z.string().describe(\"Nickname for the bot, maximum 80 characters\"),\n bot_profile_url: z.string().describe(\"Profile image URL for the bot\").optional(),\n is_privacy_mode: z.boolean().default(false).describe(\"Whether the bot operates in privacy mode\").optional(),\n bot_callback_url: z.string().describe(\"Callback URL for the bot’s webhook events\").optional(),\n enable_mark_as_read: z.boolean().default(false).describe(\"Whether the bot marks messages as read automatically\").optional(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation handling options for the bot. 0 = disable auto accept, 1 = auto accept\").optional(),\n}).describe(\"Request model for creating a new bot\");\nconst SendbirdAiChabotCreateBot_BotModelSchema = z.object({\n bot_type: z.enum([\"AI\", \"DEFAULT\"]).describe(\"Type of the bot\").nullable(),\n bot_token: z.string().describe(\"Bot's authentication token\").nullable().optional(),\n bot_userid: z.string().describe(\"Bot's unique user ID\").nullable(),\n bot_nickname: z.string().describe(\"Bot's nickname\").nullable(),\n bot_profile_url: z.string().describe(\"Bot's profile image URL (can be empty string)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a bot in Sendbird\");\nexport const SendbirdAiChabotCreateBotOutput = z.object({\n bot: SendbirdAiChabotCreateBot_BotModelSchema.nullable(),\n created_at: z.number().int().describe(\"Timestamp (in milliseconds) when the bot was created\").nullable(),\n is_privacy_mode: z.boolean().describe(\"Whether the bot operates in privacy mode\").nullable(),\n bot_callback_url: z.string().describe(\"Callback URL for the bot's webhook events\").nullable().optional(),\n enable_mark_as_read: z.boolean().describe(\"Whether the bot marks messages as read automatically\").nullable(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation handling options (0 = disable auto accept, 1 = auto accept)\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a new bot\");\n\nexport const sendbirdAiChabotCreateBot: AppAction<\n typeof SendbirdAiChabotCreateBotInput,\n typeof SendbirdAiChabotCreateBotOutput,\n typeof sendbirdAiChabot.credential\n> = action(\"SENDBIRD_AI_CHABOT_CREATE_BOT\", {\n slug: \"sendbird_ai_chabot-create-bot\",\n name: \"Create Bot\",\n description: \"Tool to create a new bot. Use when you need to add an AI or default bot to your Sendbird app.\",\n input: SendbirdAiChabotCreateBotInput,\n output: SendbirdAiChabotCreateBotOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,UAAU,EAAE,KAAK,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC/E,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC1H,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,2CAA2C,EAAE,OAAO;CACxD,UAAU,EAAE,KAAK,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAC7D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAUhE,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB6C,EAAE,OAAO;EACtD,KAAK,yCAAyC,SAAS;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACvG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC3F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3G,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-bot.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-bot.cjs","names":["z","action"],"sources":["../../src/actions/get-bot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotGetBotInput = z.object({\n bot_user_id: z.string().describe(\"The unique user ID of the bot to retrieve.\"),\n}).describe(\"Request model for retrieving a specific bot by its user ID.\");\nconst SendbirdAiChabotGetBot_BotSchema = z.object({\n name: z.string().describe(\"Name of the bot.\").nullable(),\n status: z.string().describe(\"Current status of the bot.\").nullable(),\n created_at: z.number().int().describe(\"Timestamp when the bot was created in milliseconds.\").nullable(),\n bot_user_id: z.string().describe(\"Unique user ID of the bot.\").nullable(),\n profile_url: z.string().describe(\"Profile image URL of the bot.\").nullable().optional(),\n show_member: z.boolean().describe(\"Indicates if the bot is shown as a member.\").nullable().optional(),\n issue_status: z.string().describe(\"Issue status if any.\").nullable().optional(),\n is_privacy_mode: z.boolean().describe(\"Indicates if privacy mode is enabled for the bot.\").nullable().optional(),\n channel_invitation_preference: z.string().describe(\"Channel invitation preference setting.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Sendbird AI chatbot bot object.\");\nexport const SendbirdAiChabotGetBotOutput = z.object({\n bot: SendbirdAiChabotGetBot_BotSchema.nullable(),\n}).passthrough().describe(\"Response model containing the bot information.\");\n\nexport const sendbirdAiChabotGetBot = action(\"SENDBIRD_AI_CHABOT_GET_BOT\", {\n slug: \"sendbird_ai_chabot-get-bot\",\n name: \"Get Bot\",\n description: \"Tool to retrieve information on a specific bot by its user ID. Use when you need to fetch bot details before performing subsequent operations.\",\n input: SendbirdAiChabotGetBotInput,\n output: SendbirdAiChabotGetBotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAK,iCAAiC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-bot.cjs","names":["z","action"],"sources":["../../src/actions/get-bot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotGetBotInput = z.object({\n bot_user_id: z.string().describe(\"The unique user ID of the bot to retrieve.\"),\n}).describe(\"Request model for retrieving a specific bot by its user ID.\");\nconst SendbirdAiChabotGetBot_BotSchema = z.object({\n name: z.string().describe(\"Name of the bot.\").nullable(),\n status: z.string().describe(\"Current status of the bot.\").nullable(),\n created_at: z.number().int().describe(\"Timestamp when the bot was created in milliseconds.\").nullable(),\n bot_user_id: z.string().describe(\"Unique user ID of the bot.\").nullable(),\n profile_url: z.string().describe(\"Profile image URL of the bot.\").nullable().optional(),\n show_member: z.boolean().describe(\"Indicates if the bot is shown as a member.\").nullable().optional(),\n issue_status: z.string().describe(\"Issue status if any.\").nullable().optional(),\n is_privacy_mode: z.boolean().describe(\"Indicates if privacy mode is enabled for the bot.\").nullable().optional(),\n channel_invitation_preference: z.string().describe(\"Channel invitation preference setting.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Sendbird AI chatbot bot object.\");\nexport const SendbirdAiChabotGetBotOutput = z.object({\n bot: SendbirdAiChabotGetBot_BotSchema.nullable(),\n}).passthrough().describe(\"Response model containing the bot information.\");\n\nexport const sendbirdAiChabotGetBot: AppAction<\n typeof SendbirdAiChabotGetBotInput,\n typeof SendbirdAiChabotGetBotOutput,\n typeof sendbirdAiChabot.credential\n> = action(\"SENDBIRD_AI_CHABOT_GET_BOT\", {\n slug: \"sendbird_ai_chabot-get-bot\",\n name: \"Get Bot\",\n description: \"Tool to retrieve information on a specific bot by its user ID. Use when you need to fetch bot details before performing subsequent operations.\",\n input: SendbirdAiChabotGetBotInput,\n output: SendbirdAiChabotGetBotOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAK,iCAAiC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-bot.d.ts
@@ -17,23 +19,7 @@ declare const SendbirdAiChabotGetBotOutput: z.ZodObject<{
17
19
  channel_invitation_preference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const sendbirdAiChabotGetBot: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- bot_user_id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- subdomain: z.ZodString;
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- subdomain: z.ZodString;
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>;
22
+ declare const sendbirdAiChabotGetBot: AppAction<typeof SendbirdAiChabotGetBotInput, typeof SendbirdAiChabotGetBotOutput, typeof sendbirdAiChabot.credential>;
37
23
  //#endregion
38
24
  export { sendbirdAiChabotGetBot };
39
25
  //# sourceMappingURL=get-bot.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-bot.d.cts","names":[],"sources":["../../src/actions/get-bot.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-bot.d.cts","names":[],"sources":["../../src/actions/get-bot.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-bot.d.ts
@@ -17,23 +19,7 @@ declare const SendbirdAiChabotGetBotOutput: z.ZodObject<{
17
19
  channel_invitation_preference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const sendbirdAiChabotGetBot: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- bot_user_id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- subdomain: z.ZodString;
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- subdomain: z.ZodString;
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>;
22
+ declare const sendbirdAiChabotGetBot: AppAction<typeof SendbirdAiChabotGetBotInput, typeof SendbirdAiChabotGetBotOutput, typeof sendbirdAiChabot.credential>;
37
23
  //#endregion
38
24
  export { sendbirdAiChabotGetBot };
39
25
  //# sourceMappingURL=get-bot.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-bot.d.mts","names":[],"sources":["../../src/actions/get-bot.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-bot.d.mts","names":[],"sources":["../../src/actions/get-bot.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-bot.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-bot.mjs","names":[],"sources":["../../src/actions/get-bot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotGetBotInput = z.object({\n bot_user_id: z.string().describe(\"The unique user ID of the bot to retrieve.\"),\n}).describe(\"Request model for retrieving a specific bot by its user ID.\");\nconst SendbirdAiChabotGetBot_BotSchema = z.object({\n name: z.string().describe(\"Name of the bot.\").nullable(),\n status: z.string().describe(\"Current status of the bot.\").nullable(),\n created_at: z.number().int().describe(\"Timestamp when the bot was created in milliseconds.\").nullable(),\n bot_user_id: z.string().describe(\"Unique user ID of the bot.\").nullable(),\n profile_url: z.string().describe(\"Profile image URL of the bot.\").nullable().optional(),\n show_member: z.boolean().describe(\"Indicates if the bot is shown as a member.\").nullable().optional(),\n issue_status: z.string().describe(\"Issue status if any.\").nullable().optional(),\n is_privacy_mode: z.boolean().describe(\"Indicates if privacy mode is enabled for the bot.\").nullable().optional(),\n channel_invitation_preference: z.string().describe(\"Channel invitation preference setting.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Sendbird AI chatbot bot object.\");\nexport const SendbirdAiChabotGetBotOutput = z.object({\n bot: SendbirdAiChabotGetBot_BotSchema.nullable(),\n}).passthrough().describe(\"Response model containing the bot information.\");\n\nexport const sendbirdAiChabotGetBot = action(\"SENDBIRD_AI_CHABOT_GET_BOT\", {\n slug: \"sendbird_ai_chabot-get-bot\",\n name: \"Get Bot\",\n description: \"Tool to retrieve information on a specific bot by its user ID. Use when you need to fetch bot details before performing subsequent operations.\",\n input: SendbirdAiChabotGetBotInput,\n output: SendbirdAiChabotGetBotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,KAAK,iCAAiC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-bot.mjs","names":[],"sources":["../../src/actions/get-bot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotGetBotInput = z.object({\n bot_user_id: z.string().describe(\"The unique user ID of the bot to retrieve.\"),\n}).describe(\"Request model for retrieving a specific bot by its user ID.\");\nconst SendbirdAiChabotGetBot_BotSchema = z.object({\n name: z.string().describe(\"Name of the bot.\").nullable(),\n status: z.string().describe(\"Current status of the bot.\").nullable(),\n created_at: z.number().int().describe(\"Timestamp when the bot was created in milliseconds.\").nullable(),\n bot_user_id: z.string().describe(\"Unique user ID of the bot.\").nullable(),\n profile_url: z.string().describe(\"Profile image URL of the bot.\").nullable().optional(),\n show_member: z.boolean().describe(\"Indicates if the bot is shown as a member.\").nullable().optional(),\n issue_status: z.string().describe(\"Issue status if any.\").nullable().optional(),\n is_privacy_mode: z.boolean().describe(\"Indicates if privacy mode is enabled for the bot.\").nullable().optional(),\n channel_invitation_preference: z.string().describe(\"Channel invitation preference setting.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Sendbird AI chatbot bot object.\");\nexport const SendbirdAiChabotGetBotOutput = z.object({\n bot: SendbirdAiChabotGetBot_BotSchema.nullable(),\n}).passthrough().describe(\"Response model containing the bot information.\");\n\nexport const sendbirdAiChabotGetBot: AppAction<\n typeof SendbirdAiChabotGetBotInput,\n typeof SendbirdAiChabotGetBotOutput,\n typeof sendbirdAiChabot.credential\n> = action(\"SENDBIRD_AI_CHABOT_GET_BOT\", {\n slug: \"sendbird_ai_chabot-get-bot\",\n name: \"Get Bot\",\n description: \"Tool to retrieve information on a specific bot by its user ID. Use when you need to fetch bot details before performing subsequent operations.\",\n input: SendbirdAiChabotGetBotInput,\n output: SendbirdAiChabotGetBotOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,KAAK,iCAAiC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-bots.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-bots.cjs","names":["z","action"],"sources":["../../src/actions/list-bots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotListBotsInput = z.object({\n limit: z.number().int().describe(\"Number of results to return per page (1–100). Defaults to 10 if omitted.\").optional(),\n token: z.string().describe(\"Pagination token for a paginated result.\").optional(),\n bot_id: z.string().describe(\"Filter results by a specific bot ID.\").optional(),\n});\nconst SendbirdAiChabotListBots_BotInfoSchema = z.object({\n bot_type: z.string().describe(\"Type of the bot (e.g., 'AI', 'DEFAULT', 'marketer').\").nullable().optional(),\n bot_token: z.string().describe(\"Authentication token for the bot.\").nullable().optional(),\n bot_userid: z.string().describe(\"The user ID for the bot.\").nullable(),\n bot_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata object for the bot.\").nullable().optional(),\n bot_nickname: z.string().describe(\"Nickname (display name) of the bot.\").nullable(),\n bot_profile_url: z.string().describe(\"URL for the bot's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Inner bot information object.\");\nconst SendbirdAiChabotListBots_BotSchema = z.object({\n bot: SendbirdAiChabotListBots_BotInfoSchema.nullable(),\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 the bot is in privacy mode.\").nullable().optional(),\n bot_callback_url: z.string().describe(\"Callback URL of the bot.\").nullable().optional(),\n enable_mark_as_read: z.boolean().describe(\"Whether the bot marks messages as read automatically.\").nullable().optional(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation preference setting.\").nullable().optional(),\n}).passthrough().describe(\"Bot object returned in the list bots response.\");\nexport const SendbirdAiChabotListBotsOutput = z.object({\n bots: z.array(SendbirdAiChabotListBots_BotSchema).describe(\"List of bot objects.\"),\n next: z.string().describe(\"Pagination token for the next page; null if no further pages.\").nullable().optional(),\n}).passthrough();\n\nexport const sendbirdAiChabotListBots = action(\"SENDBIRD_AI_CHABOT_LIST_BOTS\", {\n slug: \"sendbird_ai_chabot-list-bots\",\n name: \"List Bots\",\n description: \"Tool to list all bots in the Sendbird application. Use when you need to fetch bot details with optional filters and pagination.\",\n input: SendbirdAiChabotListBotsInput,\n output: SendbirdAiChabotListBotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IA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,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sBAAsB;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-bots.cjs","names":["z","action"],"sources":["../../src/actions/list-bots.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotListBotsInput = z.object({\n limit: z.number().int().describe(\"Number of results to return per page (1–100). Defaults to 10 if omitted.\").optional(),\n token: z.string().describe(\"Pagination token for a paginated result.\").optional(),\n bot_id: z.string().describe(\"Filter results by a specific bot ID.\").optional(),\n});\nconst SendbirdAiChabotListBots_BotInfoSchema = z.object({\n bot_type: z.string().describe(\"Type of the bot (e.g., 'AI', 'DEFAULT', 'marketer').\").nullable().optional(),\n bot_token: z.string().describe(\"Authentication token for the bot.\").nullable().optional(),\n bot_userid: z.string().describe(\"The user ID for the bot.\").nullable(),\n bot_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata object for the bot.\").nullable().optional(),\n bot_nickname: z.string().describe(\"Nickname (display name) of the bot.\").nullable(),\n bot_profile_url: z.string().describe(\"URL for the bot's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Inner bot information object.\");\nconst SendbirdAiChabotListBots_BotSchema = z.object({\n bot: SendbirdAiChabotListBots_BotInfoSchema.nullable(),\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 the bot is in privacy mode.\").nullable().optional(),\n bot_callback_url: z.string().describe(\"Callback URL of the bot.\").nullable().optional(),\n enable_mark_as_read: z.boolean().describe(\"Whether the bot marks messages as read automatically.\").nullable().optional(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation preference setting.\").nullable().optional(),\n}).passthrough().describe(\"Bot object returned in the list bots response.\");\nexport const SendbirdAiChabotListBotsOutput = z.object({\n bots: z.array(SendbirdAiChabotListBots_BotSchema).describe(\"List of bot objects.\"),\n next: z.string().describe(\"Pagination token for the next page; null if no further pages.\").nullable().optional(),\n}).passthrough();\n\nexport const sendbirdAiChabotListBots: AppAction<\n typeof SendbirdAiChabotListBotsInput,\n typeof SendbirdAiChabotListBotsOutput,\n typeof sendbirdAiChabot.credential\n> = action(\"SENDBIRD_AI_CHABOT_LIST_BOTS\", {\n slug: \"sendbird_ai_chabot-list-bots\",\n name: \"List Bots\",\n description: \"Tool to list all bots in the Sendbird application. Use when you need to fetch bot details with optional filters and pagination.\",\n input: SendbirdAiChabotListBotsInput,\n output: SendbirdAiChabotListBotsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAA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H,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sBAAsB;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-bots.d.ts
@@ -24,25 +26,7 @@ declare const SendbirdAiChabotListBotsOutput: z.ZodObject<{
24
26
  }, z.core.$loose>>;
25
27
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>;
27
- declare const sendbirdAiChabotListBots: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- limit?: number | undefined;
29
- token?: string | undefined;
30
- bot_id?: string | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- subdomain: z.ZodString;
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- subdomain: z.ZodString;
44
- generic_api_key: z.ZodString;
45
- }, z.core.$strip>>]>;
29
+ declare const sendbirdAiChabotListBots: AppAction<typeof SendbirdAiChabotListBotsInput, typeof SendbirdAiChabotListBotsOutput, typeof sendbirdAiChabot.credential>;
46
30
  //#endregion
47
31
  export { sendbirdAiChabotListBots };
48
32
  //# sourceMappingURL=list-bots.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-bots.d.cts","names":[],"sources":["../../src/actions/list-bots.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"list-bots.d.cts","names":[],"sources":["../../src/actions/list-bots.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-bots.d.ts
@@ -24,25 +26,7 @@ declare const SendbirdAiChabotListBotsOutput: z.ZodObject<{
24
26
  }, z.core.$loose>>;
25
27
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>;
27
- declare const sendbirdAiChabotListBots: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- limit?: number | undefined;
29
- token?: string | undefined;
30
- bot_id?: string | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- subdomain: z.ZodString;
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- subdomain: z.ZodString;
44
- generic_api_key: z.ZodString;
45
- }, z.core.$strip>>]>;
29
+ declare const sendbirdAiChabotListBots: AppAction<typeof SendbirdAiChabotListBotsInput, typeof SendbirdAiChabotListBotsOutput, typeof sendbirdAiChabot.credential>;
46
30
  //#endregion
47
31
  export { sendbirdAiChabotListBots };
48
32
  //# sourceMappingURL=list-bots.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-bots.d.mts","names":[],"sources":["../../src/actions/list-bots.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"list-bots.d.mts","names":[],"sources":["../../src/actions/list-bots.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-bots.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-bots.mjs","names":[],"sources":["../../src/actions/list-bots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotListBotsInput = z.object({\n limit: z.number().int().describe(\"Number of results to return per page (1–100). Defaults to 10 if omitted.\").optional(),\n token: z.string().describe(\"Pagination token for a paginated result.\").optional(),\n bot_id: z.string().describe(\"Filter results by a specific bot ID.\").optional(),\n});\nconst SendbirdAiChabotListBots_BotInfoSchema = z.object({\n bot_type: z.string().describe(\"Type of the bot (e.g., 'AI', 'DEFAULT', 'marketer').\").nullable().optional(),\n bot_token: z.string().describe(\"Authentication token for the bot.\").nullable().optional(),\n bot_userid: z.string().describe(\"The user ID for the bot.\").nullable(),\n bot_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata object for the bot.\").nullable().optional(),\n bot_nickname: z.string().describe(\"Nickname (display name) of the bot.\").nullable(),\n bot_profile_url: z.string().describe(\"URL for the bot's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Inner bot information object.\");\nconst SendbirdAiChabotListBots_BotSchema = z.object({\n bot: SendbirdAiChabotListBots_BotInfoSchema.nullable(),\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 the bot is in privacy mode.\").nullable().optional(),\n bot_callback_url: z.string().describe(\"Callback URL of the bot.\").nullable().optional(),\n enable_mark_as_read: z.boolean().describe(\"Whether the bot marks messages as read automatically.\").nullable().optional(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation preference setting.\").nullable().optional(),\n}).passthrough().describe(\"Bot object returned in the list bots response.\");\nexport const SendbirdAiChabotListBotsOutput = z.object({\n bots: z.array(SendbirdAiChabotListBots_BotSchema).describe(\"List of bot objects.\"),\n next: z.string().describe(\"Pagination token for the next page; null if no further pages.\").nullable().optional(),\n}).passthrough();\n\nexport const sendbirdAiChabotListBots = action(\"SENDBIRD_AI_CHABOT_LIST_BOTS\", {\n slug: \"sendbird_ai_chabot-list-bots\",\n name: \"List Bots\",\n description: \"Tool to list all bots in the Sendbird application. Use when you need to fetch bot details with optional filters and pagination.\",\n input: Send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A0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAM1E,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sBAAsB;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-bots.mjs","names":[],"sources":["../../src/actions/list-bots.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotListBotsInput = z.object({\n limit: z.number().int().describe(\"Number of results to return per page (1–100). Defaults to 10 if omitted.\").optional(),\n token: z.string().describe(\"Pagination token for a paginated result.\").optional(),\n bot_id: z.string().describe(\"Filter results by a specific bot ID.\").optional(),\n});\nconst SendbirdAiChabotListBots_BotInfoSchema = z.object({\n bot_type: z.string().describe(\"Type of the bot (e.g., 'AI', 'DEFAULT', 'marketer').\").nullable().optional(),\n bot_token: z.string().describe(\"Authentication token for the bot.\").nullable().optional(),\n bot_userid: z.string().describe(\"The user ID for the bot.\").nullable(),\n bot_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata object for the bot.\").nullable().optional(),\n bot_nickname: z.string().describe(\"Nickname (display name) of the bot.\").nullable(),\n bot_profile_url: z.string().describe(\"URL for the bot's profile image.\").nullable().optional(),\n}).passthrough().describe(\"Inner bot information object.\");\nconst SendbirdAiChabotListBots_BotSchema = z.object({\n bot: SendbirdAiChabotListBots_BotInfoSchema.nullable(),\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 the bot is in privacy mode.\").nullable().optional(),\n bot_callback_url: z.string().describe(\"Callback URL of the bot.\").nullable().optional(),\n enable_mark_as_read: z.boolean().describe(\"Whether the bot marks messages as read automatically.\").nullable().optional(),\n channel_invitation_preference: z.number().int().describe(\"Channel invitation preference setting.\").nullable().optional(),\n}).passthrough().describe(\"Bot object returned in the list bots response.\");\nexport const SendbirdAiChabotListBotsOutput = z.object({\n bots: z.array(SendbirdAiChabotListBots_BotSchema).describe(\"List of bot objects.\"),\n next: z.string().describe(\"Pagination token for the next page; null if no further pages.\").nullable().optional(),\n}).passthrough();\n\nexport const sendbirdAiChabotListBots: AppAction<\n typeof SendbirdAiChabotListBotsInput,\n typeof SendbirdAiChabotListBotsOutput,\n typeof sendbirdAiChabot.credential\n> = action(\"SENDBIRD_AI_CHABOT_LIST_BOTS\", {\n slug: \"sendbird_ai_chabot-list-bots\",\n name: \"List Bots\",\n description: \"Tool to list all bots in the Sendbird application. Use when you need to fetch bot details with optional filters and pagination.\",\n input: SendbirdAiChabotListBotsInput,\n output: SendbirdAiChabotListBotsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC/E,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,UAAU,EAAE,O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C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sBAAsB;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-group-channels.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-group-channels.cjs","names":["z","action"],"sources":["../../src/actions/list-group-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdAiChabotListGroupChannelsInput = 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.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.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.\").nullable(),\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.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}).passthrough();\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":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;CAAU,CAAC,C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CAAC,CAAC,SAAS;CAClG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,gCAAgC;AACnH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-group-channels.cjs","names":["z","action"],"sources":["../../src/actions/list-group-channels.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotListGroupChannelsInput = 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.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.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.\").nullable(),\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.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}).passthrough();\n\nexport const sendbirdAiChabotListGroupChannels: AppAction<\n typeof SendbirdAiChabotListGroupChannelsInput,\n typeof SendbirdAiChabotListGroupChannelsOutput,\n typeof sendbirdAiChabot.credential\n> = 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":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS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,CAAC,CAAC,SAAS;CAC7F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,gCAAgC;AACnH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-group-channels.d.ts
@@ -67,42 +69,7 @@ declare const SendbirdAiChabotListGroupChannelsOutput: z.ZodObject<{
67
69
  unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
68
70
  }, z.core.$loose>>;
69
71
  }, z.core.$loose>;
70
- declare const sendbirdAiChabotListGroupChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
71
- url?: string | undefined;
72
- name?: string | undefined;
73
- limit?: number | undefined;
74
- token?: string | undefined;
75
- query_type?: "AND" | "OR" | undefined;
76
- show_empty?: boolean | undefined;
77
- super_mode?: "all" | "super" | "nonsuper" | undefined;
78
- custom_type?: string | undefined;
79
- public_mode?: "all" | "public" | "private" | undefined;
80
- channel_urls?: string[] | undefined;
81
- custom_types?: string[] | undefined;
82
- created_after?: number | undefined;
83
- distinct_mode?: "all" | "distinct" | "nondistinct" | undefined;
84
- name_contains?: string | undefined;
85
- created_before?: number | undefined;
86
- member_user_ids?: string[] | undefined;
87
- members_nickname?: string | undefined;
88
- members_exactly_in?: string[] | undefined;
89
- members_include_in?: string[] | undefined;
90
- members_nickname_prefix?: string | undefined;
91
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
92
- connectionId: z.ZodString;
93
- entityId: z.ZodString;
94
- instanceId: z.ZodString;
95
- }, z.core.$strip>, z.ZodObject<{
96
- subdomain: z.ZodString;
97
- generic_api_key: z.ZodString;
98
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
99
- connectionId: z.ZodString;
100
- entityId: z.ZodString;
101
- instanceId: z.ZodString;
102
- }, z.core.$strip>, z.ZodObject<{
103
- subdomain: z.ZodString;
104
- generic_api_key: z.ZodString;
105
- }, z.core.$strip>>]>;
72
+ declare const sendbirdAiChabotListGroupChannels: AppAction<typeof SendbirdAiChabotListGroupChannelsInput, typeof SendbirdAiChabotListGroupChannelsOutput, typeof sendbirdAiChabot.credential>;
106
73
  //#endregion
107
74
  export { sendbirdAiChabotListGroupChannels };
108
75
  //# sourceMappingURL=list-group-channels.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-group-channels.d.cts","names":[],"sources":["../../src/actions/list-group-channels.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiDtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"list-group-channels.d.cts","names":[],"sources":["../../src/actions/list-group-channels.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiDtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-group-channels.d.ts
@@ -67,42 +69,7 @@ declare const SendbirdAiChabotListGroupChannelsOutput: z.ZodObject<{
67
69
  unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
68
70
  }, z.core.$loose>>;
69
71
  }, z.core.$loose>;
70
- declare const sendbirdAiChabotListGroupChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
71
- url?: string | undefined;
72
- name?: string | undefined;
73
- limit?: number | undefined;
74
- token?: string | undefined;
75
- query_type?: "AND" | "OR" | undefined;
76
- show_empty?: boolean | undefined;
77
- super_mode?: "all" | "super" | "nonsuper" | undefined;
78
- custom_type?: string | undefined;
79
- public_mode?: "all" | "public" | "private" | undefined;
80
- channel_urls?: string[] | undefined;
81
- custom_types?: string[] | undefined;
82
- created_after?: number | undefined;
83
- distinct_mode?: "all" | "distinct" | "nondistinct" | undefined;
84
- name_contains?: string | undefined;
85
- created_before?: number | undefined;
86
- member_user_ids?: string[] | undefined;
87
- members_nickname?: string | undefined;
88
- members_exactly_in?: string[] | undefined;
89
- members_include_in?: string[] | undefined;
90
- members_nickname_prefix?: string | undefined;
91
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
92
- connectionId: z.ZodString;
93
- entityId: z.ZodString;
94
- instanceId: z.ZodString;
95
- }, z.core.$strip>, z.ZodObject<{
96
- subdomain: z.ZodString;
97
- generic_api_key: z.ZodString;
98
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
99
- connectionId: z.ZodString;
100
- entityId: z.ZodString;
101
- instanceId: z.ZodString;
102
- }, z.core.$strip>, z.ZodObject<{
103
- subdomain: z.ZodString;
104
- generic_api_key: z.ZodString;
105
- }, z.core.$strip>>]>;
72
+ declare const sendbirdAiChabotListGroupChannels: AppAction<typeof SendbirdAiChabotListGroupChannelsInput, typeof SendbirdAiChabotListGroupChannelsOutput, typeof sendbirdAiChabot.credential>;
106
73
  //#endregion
107
74
  export { sendbirdAiChabotListGroupChannels };
108
75
  //# sourceMappingURL=list-group-channels.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-group-channels.d.mts","names":[],"sources":["../../src/actions/list-group-channels.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiDtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"list-group-channels.d.mts","names":[],"sources":["../../src/actions/list-group-channels.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiDtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-group-channels.ts
@@ -1 +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.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.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.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.\").nullable(),\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.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}).passthrough();\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":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,KAAK;EAAC;EAAO;EAAS;CAAU,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,KAAK;EAAC;EAAO;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvH,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAA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S,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,gCAAgC;CACnH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"list-group-channels.mjs","names":[],"sources":["../../src/actions/list-group-channels.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotListGroupChannelsInput = 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.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.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.\").nullable(),\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.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}).passthrough();\n\nexport const sendbirdAiChabotListGroupChannels: AppAction<\n typeof SendbirdAiChabotListGroupChannelsInput,\n typeof SendbirdAiChabotListGroupChannelsOutput,\n typeof sendbirdAiChabot.credential\n> = 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":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,KAAK;EAAC;EAAO;EAAS;CAAU,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,KAAK;EAAC;EAAO;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvH,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAA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AAS;CAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,oCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,gCAAgC;CACnH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/unregister-bot-webhook.ts
@@ -1 +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.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.object({\n bot_id: z.string().describe(\"Unique ID of the bot for which the webhook was unregistered.\").nullable(),\n webhook_url: z.string().describe(\"The webhook URL that was unregistered; null if none was set.\").nullable().optional(),\n}).passthrough().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,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACxF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unregister-bot-webhook.cjs","names":["z","action"],"sources":["../../src/actions/unregister-bot-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotUnregisterBotWebhookInput = 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.object({\n bot_id: z.string().describe(\"Unique ID of the bot for which the webhook was unregistered.\").nullable(),\n webhook_url: z.string().describe(\"The webhook URL that was unregistered; null if none was set.\").nullable().optional(),\n}).passthrough().describe(\"Response model after unregistering a bot's webhook.\");\n\nexport const sendbirdAiChabotUnregisterBotWebhook: AppAction<\n typeof SendbirdAiChabotUnregisterBotWebhookInput,\n typeof SendbirdAiChabotUnregisterBotWebhookOutput,\n typeof sendbirdAiChabot.credential\n> = 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":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACxF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uCAITC,eAAAA,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/unregister-bot-webhook.d.ts
@@ -8,23 +10,7 @@ declare const SendbirdAiChabotUnregisterBotWebhookOutput: z.ZodObject<{
8
10
  bot_id: z.ZodNullable<z.ZodString>;
9
11
  webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>;
11
- declare const sendbirdAiChabotUnregisterBotWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- bot_id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- subdomain: z.ZodString;
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", 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>>]>;
13
+ declare const sendbirdAiChabotUnregisterBotWebhook: AppAction<typeof SendbirdAiChabotUnregisterBotWebhookInput, typeof SendbirdAiChabotUnregisterBotWebhookOutput, typeof sendbirdAiChabot.credential>;
28
14
  //#endregion
29
15
  export { sendbirdAiChabotUnregisterBotWebhook };
30
16
  //# sourceMappingURL=unregister-bot-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unregister-bot-webhook.d.cts","names":[],"sources":["../../src/actions/unregister-bot-webhook.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAK1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"unregister-bot-webhook.d.cts","names":[],"sources":["../../src/actions/unregister-bot-webhook.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAK1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/unregister-bot-webhook.d.ts
@@ -8,23 +10,7 @@ declare const SendbirdAiChabotUnregisterBotWebhookOutput: z.ZodObject<{
8
10
  bot_id: z.ZodNullable<z.ZodString>;
9
11
  webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>;
11
- declare const sendbirdAiChabotUnregisterBotWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- bot_id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- subdomain: z.ZodString;
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", 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>>]>;
13
+ declare const sendbirdAiChabotUnregisterBotWebhook: AppAction<typeof SendbirdAiChabotUnregisterBotWebhookInput, typeof SendbirdAiChabotUnregisterBotWebhookOutput, typeof sendbirdAiChabot.credential>;
28
14
  //#endregion
29
15
  export { sendbirdAiChabotUnregisterBotWebhook };
30
16
  //# sourceMappingURL=unregister-bot-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unregister-bot-webhook.d.mts","names":[],"sources":["../../src/actions/unregister-bot-webhook.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAK1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"unregister-bot-webhook.d.mts","names":[],"sources":["../../src/actions/unregister-bot-webhook.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAK1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sendbirdAiChabotUnregisterBotWebhook = action("SENDBIRD_AI_CHABOT_UNREGISTER_BOT_WEBHOOK", {
@@ -1 +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.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.object({\n bot_id: z.string().describe(\"Unique ID of the bot for which the webhook was unregistered.\").nullable(),\n webhook_url: z.string().describe(\"The webhook URL that was unregistered; null if none was set.\").nullable().optional(),\n}).passthrough().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,OAZuD,EAAE,OAAO,EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACxF,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAVwD,EAAE,OAAO;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"unregister-bot-webhook.mjs","names":[],"sources":["../../src/actions/unregister-bot-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotUnregisterBotWebhookInput = 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.object({\n bot_id: z.string().describe(\"Unique ID of the bot for which the webhook was unregistered.\").nullable(),\n webhook_url: z.string().describe(\"The webhook URL that was unregistered; null if none was set.\").nullable().optional(),\n}).passthrough().describe(\"Response model after unregistering a bot's webhook.\");\n\nexport const sendbirdAiChabotUnregisterBotWebhook: AppAction<\n typeof SendbirdAiChabotUnregisterBotWebhookInput,\n typeof SendbirdAiChabotUnregisterBotWebhookOutput,\n typeof sendbirdAiChabot.credential\n> = 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":";;;AAcA,MAAa,uCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuD,EAAE,OAAO,EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACxF,CAAC,CAAC,CAAC,SAAS,kDAcH;CACP,QAdwD,EAAE,OAAO;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-bot.ts
@@ -1 +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.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.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\").nullable(),\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\").nullable(),\n bot_profile_url: z.string().describe(\"The profile image URL of the bot\").nullable().optional(),\n}).passthrough().describe(\"Inner bot information object.\");\nexport const SendbirdAiChabotUpdateBotOutput = 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}).passthrough().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,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,cAAcA,I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AAAA,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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-bot.cjs","names":["z","action"],"sources":["../../src/actions/update-bot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotUpdateBotInput = 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.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\").nullable(),\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\").nullable(),\n bot_profile_url: z.string().describe(\"The profile image URL of the bot\").nullable().optional(),\n}).passthrough().describe(\"Inner bot information object.\");\nexport const SendbirdAiChabotUpdateBotOutput = 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}).passthrough().describe(\"Response structure for update bot API.\");\n\nexport const sendbirdAiChabotUpdateBot: AppAction<\n typeof SendbirdAiChabotUpdateBotInput,\n typeof SendbirdAiChabotUpdateBotOutput,\n typeof sendbirdAiChabot.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,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AAS;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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-bot.d.ts
@@ -25,28 +27,7 @@ declare const SendbirdAiChabotUpdateBotOutput: z.ZodObject<{
25
27
  enable_mark_as_read: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
28
  channel_invitation_preference: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
29
  }, z.core.$loose>;
28
- declare const sendbirdAiChabotUpdateBot: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- bot_id: string;
30
- bot_userid?: string | undefined;
31
- bot_nickname?: string | undefined;
32
- bot_profile_url?: string | undefined;
33
- is_privacy_mode?: boolean | undefined;
34
- enable_mark_as_read?: boolean | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- subdomain: z.ZodString;
41
- generic_api_key: z.ZodString;
42
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
43
- connectionId: z.ZodString;
44
- entityId: z.ZodString;
45
- instanceId: z.ZodString;
46
- }, z.core.$strip>, z.ZodObject<{
47
- subdomain: z.ZodString;
48
- generic_api_key: z.ZodString;
49
- }, z.core.$strip>>]>;
30
+ declare const sendbirdAiChabotUpdateBot: AppAction<typeof SendbirdAiChabotUpdateBotInput, typeof SendbirdAiChabotUpdateBotOutput, typeof sendbirdAiChabot.credential>;
50
31
  //#endregion
51
32
  export { sendbirdAiChabotUpdateBot };
52
33
  //# sourceMappingURL=update-bot.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-bot.d.cts","names":[],"sources":["../../src/actions/update-bot.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAU/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"update-bot.d.cts","names":[],"sources":["../../src/actions/update-bot.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAU/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendbirdAiChabot } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-bot.d.ts
@@ -25,28 +27,7 @@ declare const SendbirdAiChabotUpdateBotOutput: z.ZodObject<{
25
27
  enable_mark_as_read: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
28
  channel_invitation_preference: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
29
  }, z.core.$loose>;
28
- declare const sendbirdAiChabotUpdateBot: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- bot_id: string;
30
- bot_userid?: string | undefined;
31
- bot_nickname?: string | undefined;
32
- bot_profile_url?: string | undefined;
33
- is_privacy_mode?: boolean | undefined;
34
- enable_mark_as_read?: boolean | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- subdomain: z.ZodString;
41
- generic_api_key: z.ZodString;
42
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
43
- connectionId: z.ZodString;
44
- entityId: z.ZodString;
45
- instanceId: z.ZodString;
46
- }, z.core.$strip>, z.ZodObject<{
47
- subdomain: z.ZodString;
48
- generic_api_key: z.ZodString;
49
- }, z.core.$strip>>]>;
30
+ declare const sendbirdAiChabotUpdateBot: AppAction<typeof SendbirdAiChabotUpdateBotInput, typeof SendbirdAiChabotUpdateBotOutput, typeof sendbirdAiChabot.credential>;
50
31
  //#endregion
51
32
  export { sendbirdAiChabotUpdateBot };
52
33
  //# sourceMappingURL=update-bot.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-bot.d.mts","names":[],"sources":["../../src/actions/update-bot.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAU/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"update-bot.d.mts","names":[],"sources":["../../src/actions/update-bot.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAU/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,gBAAA,CAAiB,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/update-bot.ts
@@ -1 +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.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.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\").nullable(),\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\").nullable(),\n bot_profile_url: z.string().describe(\"The profile image URL of the bot\").nullable().optional(),\n}).passthrough().describe(\"Inner bot information object.\");\nexport const SendbirdAiChabotUpdateBotOutput = 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}).passthrough().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,iCAAiC,EAAE,OAAO;CACrD,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,0CAA0C,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0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"version":3,"file":"update-bot.mjs","names":[],"sources":["../../src/actions/update-bot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendbirdAiChabot } from \"../app\";\n\nexport const SendbirdAiChabotUpdateBotInput = 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.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\").nullable(),\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\").nullable(),\n bot_profile_url: z.string().describe(\"The profile image URL of the bot\").nullable().optional(),\n}).passthrough().describe(\"Inner bot information object.\");\nexport const SendbirdAiChabotUpdateBotOutput = 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}).passthrough().describe(\"Response structure for update bot API.\");\n\nexport const sendbirdAiChabotUpdateBot: AppAction<\n typeof SendbirdAiChabotUpdateBotInput,\n typeof SendbirdAiChabotUpdateBotOutput,\n typeof sendbirdAiChabot.credential\n> = 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":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,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,0CAA0C,EAAE,OAAO;CACvD,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,CAAC,CAAC,SAAS;CACnE,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,CAAC,CAAC,SAAS;CACtE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAWzD,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB6C,EAAE,OAAO;EACtD,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,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,13 +1,14 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
2
  let zod = require("zod");
3
3
  //#region src/app.ts
4
+ const credential = {
5
+ subdomain: zod.z.string(),
6
+ generic_api_key: zod.z.string()
7
+ };
4
8
  const sendbirdAiChabot = (0, _keystrokehq_keystroke_app.defineApp)({
5
9
  slug: "sendbird_ai_chabot",
6
10
  auth: "keystroke",
7
- credential: {
8
- subdomain: zod.z.string(),
9
- generic_api_key: zod.z.string()
10
- }
11
+ credential
11
12
  });
12
13
  //#endregion
13
14
  exports.sendbirdAiChabot = sendbirdAiChabot;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendbirdAiChabot = defineApp({\n slug: \"sendbird_ai_chabot\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,oBAAA,GAAA,2BAAA,UAAA,CAA6B;CACxC,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAWA,IAAAA,EAAE,OAAO;EACpB,iBAAiBA,IAAAA,EAAE,OAAO;CAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const sendbirdAiChabot: KeystrokeApp<\"sendbird_ai_chabot\", typeof credential> = defineApp({\n slug: \"sendbird_ai_chabot\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,WAAWA,IAAAA,EAAE,OAAO;CACpB,iBAAiBA,IAAAA,EAAE,OAAO;AAC5B;AAEA,MAAa,oBAAA,GAAA,2BAAA,UAAA,CAAoF;CAC/F,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,14 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const sendbirdAiChabot: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  subdomain: z.ZodString;
10
7
  generic_api_key: z.ZodString;
11
- }, z.core.$strip>>>;
8
+ };
9
+ declare const sendbirdAiChabot: KeystrokeApp<"sendbird_ai_chabot", typeof credential>;
12
10
  //#endregion
13
11
  export { sendbirdAiChabot };
14
12
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,gBAAA,6BAAgB,GAAA,+BAAA,UAAA,uBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,gBAAA,EAAkB,YAAY,8BAA8B,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,14 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const sendbirdAiChabot: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sendbird_ai_chabot", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  subdomain: z.ZodString;
10
7
  generic_api_key: z.ZodString;
11
- }, z.core.$strip>>>;
8
+ };
9
+ declare const sendbirdAiChabot: KeystrokeApp<"sendbird_ai_chabot", typeof credential>;
12
10
  //#endregion
13
11
  export { sendbirdAiChabot };
14
12
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,gBAAA,6BAAgB,GAAA,+BAAA,UAAA,uBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,gBAAA,EAAkB,YAAY,8BAA8B,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const sendbirdAiChabot = defineApp({
5
4
  slug: "sendbird_ai_chabot",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendbirdAiChabot = defineApp({\n slug: \"sendbird_ai_chabot\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,mBAAmB,UAAU;CACxC,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const sendbirdAiChabot: KeystrokeApp<\"sendbird_ai_chabot\", typeof credential> = defineApp({\n slug: \"sendbird_ai_chabot\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,mBAA0E,UAAU;CAC/F,MAAM;CACN,MAAM;CACN;EAPA,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
1
+ import { sendbirdAiChabot } from "./app.cjs";
1
2
  import { sendbirdAiChabotCreateBot } from "./actions/create-bot.cjs";
2
3
  import { sendbirdAiChabotGetBot } from "./actions/get-bot.cjs";
3
4
  import { sendbirdAiChabotListBots } from "./actions/list-bots.cjs";
4
5
  import { sendbirdAiChabotListGroupChannels } from "./actions/list-group-channels.cjs";
5
6
  import { sendbirdAiChabotUnregisterBotWebhook } from "./actions/unregister-bot-webhook.cjs";
6
7
  import { sendbirdAiChabotUpdateBot } from "./actions/update-bot.cjs";
7
- import { sendbirdAiChabot } from "./app.cjs";
8
8
  import { sendbirdAiChabotCatalog } from "./catalog.cjs";
9
9
  export { sendbirdAiChabot, sendbirdAiChabotCatalog, sendbirdAiChabotCreateBot, sendbirdAiChabotGetBot, sendbirdAiChabotListBots, sendbirdAiChabotListGroupChannels, sendbirdAiChabotUnregisterBotWebhook, sendbirdAiChabotUpdateBot };
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
+ import { sendbirdAiChabot } from "./app.mjs";
1
2
  import { sendbirdAiChabotCreateBot } from "./actions/create-bot.mjs";
2
3
  import { sendbirdAiChabotGetBot } from "./actions/get-bot.mjs";
3
4
  import { sendbirdAiChabotListBots } from "./actions/list-bots.mjs";
4
5
  import { sendbirdAiChabotListGroupChannels } from "./actions/list-group-channels.mjs";
5
6
  import { sendbirdAiChabotUnregisterBotWebhook } from "./actions/unregister-bot-webhook.mjs";
6
7
  import { sendbirdAiChabotUpdateBot } from "./actions/update-bot.mjs";
7
- import { sendbirdAiChabot } from "./app.mjs";
8
8
  import { sendbirdAiChabotCatalog } from "./catalog.mjs";
9
9
  export { sendbirdAiChabot, sendbirdAiChabotCatalog, sendbirdAiChabotCreateBot, sendbirdAiChabotGetBot, sendbirdAiChabotListBots, sendbirdAiChabotListGroupChannels, sendbirdAiChabotUnregisterBotWebhook, sendbirdAiChabotUpdateBot };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sendbird_ai_chabot",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {