@keystrokehq/sitespeakai 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/get-leads.cjs +28 -0
- package/dist/actions/get-leads.cjs.map +1 -0
- package/dist/actions/get-leads.d.cts +9 -0
- package/dist/actions/get-leads.d.cts.map +1 -0
- package/dist/actions/get-leads.d.mts +9 -0
- package/dist/actions/get-leads.d.mts.map +1 -0
- package/dist/actions/get-leads.mjs +27 -0
- package/dist/actions/get-leads.mjs.map +1 -0
- package/dist/actions/get-prompts.cjs +26 -0
- package/dist/actions/get-prompts.cjs.map +1 -0
- package/dist/actions/get-prompts.d.cts +9 -0
- package/dist/actions/get-prompts.d.cts.map +1 -0
- package/dist/actions/get-prompts.d.mts +9 -0
- package/dist/actions/get-prompts.d.mts.map +1 -0
- package/dist/actions/get-prompts.mjs +25 -0
- package/dist/actions/get-prompts.mjs.map +1 -0
- package/dist/actions/get-user.cjs +29 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +26 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/index.cjs +9 -0
- package/dist/actions/index.d.cts +5 -0
- package/dist/actions/index.d.mts +5 -0
- package/dist/actions/index.mjs +5 -0
- package/dist/actions/list-chatbots.cjs +24 -0
- package/dist/actions/list-chatbots.cjs.map +1 -0
- package/dist/actions/list-chatbots.d.cts +9 -0
- package/dist/actions/list-chatbots.d.cts.map +1 -0
- package/dist/actions/list-chatbots.d.mts +9 -0
- package/dist/actions/list-chatbots.d.mts.map +1 -0
- package/dist/actions/list-chatbots.mjs +23 -0
- package/dist/actions/list-chatbots.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +14 -0
- package/dist/index.d.cts +7 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.mjs +8 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/sitespeakai
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `sitespeakai`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 4
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { sitespeakaiGetLeads } from "@keystrokehq/sitespeakai/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "sitespeakai-agent",
|
|
15
|
+
tools: [sitespeakaiGetLeads],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.sitespeakai.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeSitespeakaiTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["sitespeakai","executeSitespeakaiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sitespeakai } from \"./app\";\nimport { executeSitespeakaiTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return sitespeakai.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 executeSitespeakaiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,YAAY,OAAO;EACxB,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,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { sitespeakai } from "./app.mjs";
|
|
2
|
+
import { executeSitespeakaiTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return sitespeakai.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeSitespeakaiTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sitespeakai } from \"./app\";\nimport { executeSitespeakaiTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return sitespeakai.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 executeSitespeakaiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-leads.ts
|
|
4
|
+
const SitespeakaiGetLeadsInput = zod.z.object({ chatbot_id: zod.z.string().describe("The ID of your chatbot") }).describe("Request model for retrieving leads for a chatbot.");
|
|
5
|
+
const SitespeakaiGetLeads_LeadSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Lead unique identifier"),
|
|
7
|
+
name: zod.z.string().describe("Lead name").nullable().optional(),
|
|
8
|
+
email: zod.z.string().describe("Lead email address"),
|
|
9
|
+
phone: zod.z.string().describe("Lead phone number").nullable().optional(),
|
|
10
|
+
status: zod.z.string().describe("Lead status"),
|
|
11
|
+
chatbot_id: zod.z.string().describe("Associated chatbot ID"),
|
|
12
|
+
created_at: zod.z.string().describe("Lead creation timestamp"),
|
|
13
|
+
updated_at: zod.z.string().describe("Last update timestamp"),
|
|
14
|
+
visitor_id: zod.z.string().describe("Visitor identifier"),
|
|
15
|
+
last_entry_at: zod.z.string().describe("Last interaction timestamp")
|
|
16
|
+
}).describe("Represents a single lead captured by the chatbot.");
|
|
17
|
+
const SitespeakaiGetLeadsOutput = zod.z.object({ leads: zod.z.array(SitespeakaiGetLeads_LeadSchema).describe("List of leads captured by the chatbot") }).describe("Response model containing list of leads for a chatbot.");
|
|
18
|
+
const sitespeakaiGetLeads = require_action.action("SITESPEAKAI_GET_LEADS", {
|
|
19
|
+
slug: "sitespeakai-get-leads",
|
|
20
|
+
name: "Get Leads",
|
|
21
|
+
description: "Tool to retrieve all leads for your chatbot. Use when you need to access contact information captured through chatbot interactions.",
|
|
22
|
+
input: SitespeakaiGetLeadsInput,
|
|
23
|
+
output: SitespeakaiGetLeadsOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.sitespeakaiGetLeads = sitespeakaiGetLeads;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-leads.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-leads.cjs","names":["z","action"],"sources":["../../src/actions/get-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SitespeakaiGetLeadsInput: z.ZodTypeAny = z.object({\n chatbot_id: z.string().describe(\"The ID of your chatbot\"),\n}).describe(\"Request model for retrieving leads for a chatbot.\");\nconst SitespeakaiGetLeads_LeadSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Lead unique identifier\"),\n name: z.string().describe(\"Lead name\").nullable().optional(),\n email: z.string().describe(\"Lead email address\"),\n phone: z.string().describe(\"Lead phone number\").nullable().optional(),\n status: z.string().describe(\"Lead status\"),\n chatbot_id: z.string().describe(\"Associated chatbot ID\"),\n created_at: z.string().describe(\"Lead creation timestamp\"),\n updated_at: z.string().describe(\"Last update timestamp\"),\n visitor_id: z.string().describe(\"Visitor identifier\"),\n last_entry_at: z.string().describe(\"Last interaction timestamp\"),\n}).describe(\"Represents a single lead captured by the chatbot.\");\nexport const SitespeakaiGetLeadsOutput: z.ZodTypeAny = z.object({\n leads: z.array(SitespeakaiGetLeads_LeadSchema).describe(\"List of leads captured by the chatbot\"),\n}).describe(\"Response model containing list of leads for a chatbot.\");\n\nexport const sitespeakaiGetLeads = action(\"SITESPEAKAI_GET_LEADS\", {\n slug: \"sitespeakai-get-leads\",\n name: \"Get Leads\",\n description: \"Tool to retrieve all leads for your chatbot. Use when you need to access contact information captured through chatbot interactions.\",\n input: SitespeakaiGetLeadsInput,\n output: SitespeakaiGetLeadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EAC1D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACzC,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACpD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACjE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uCAAuC,EACjG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-leads.d.ts
|
|
4
|
+
declare const SitespeakaiGetLeadsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SitespeakaiGetLeadsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sitespeakaiGetLeads: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sitespeakaiGetLeads };
|
|
9
|
+
//# sourceMappingURL=get-leads.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-leads.d.cts","names":[],"sources":["../../src/actions/get-leads.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEuB;AAAA,cAanD,yBAAA,EAA2B,CAAA,CAAE,UAE2B;AAAA,cAExD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-leads.d.ts
|
|
4
|
+
declare const SitespeakaiGetLeadsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SitespeakaiGetLeadsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sitespeakaiGetLeads: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sitespeakaiGetLeads };
|
|
9
|
+
//# sourceMappingURL=get-leads.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-leads.d.mts","names":[],"sources":["../../src/actions/get-leads.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEuB;AAAA,cAanD,yBAAA,EAA2B,CAAA,CAAE,UAE2B;AAAA,cAExD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-leads.ts
|
|
4
|
+
const SitespeakaiGetLeadsInput = z.object({ chatbot_id: z.string().describe("The ID of your chatbot") }).describe("Request model for retrieving leads for a chatbot.");
|
|
5
|
+
const SitespeakaiGetLeads_LeadSchema = z.object({
|
|
6
|
+
id: z.string().describe("Lead unique identifier"),
|
|
7
|
+
name: z.string().describe("Lead name").nullable().optional(),
|
|
8
|
+
email: z.string().describe("Lead email address"),
|
|
9
|
+
phone: z.string().describe("Lead phone number").nullable().optional(),
|
|
10
|
+
status: z.string().describe("Lead status"),
|
|
11
|
+
chatbot_id: z.string().describe("Associated chatbot ID"),
|
|
12
|
+
created_at: z.string().describe("Lead creation timestamp"),
|
|
13
|
+
updated_at: z.string().describe("Last update timestamp"),
|
|
14
|
+
visitor_id: z.string().describe("Visitor identifier"),
|
|
15
|
+
last_entry_at: z.string().describe("Last interaction timestamp")
|
|
16
|
+
}).describe("Represents a single lead captured by the chatbot.");
|
|
17
|
+
const sitespeakaiGetLeads = action("SITESPEAKAI_GET_LEADS", {
|
|
18
|
+
slug: "sitespeakai-get-leads",
|
|
19
|
+
name: "Get Leads",
|
|
20
|
+
description: "Tool to retrieve all leads for your chatbot. Use when you need to access contact information captured through chatbot interactions.",
|
|
21
|
+
input: SitespeakaiGetLeadsInput,
|
|
22
|
+
output: z.object({ leads: z.array(SitespeakaiGetLeads_LeadSchema).describe("List of leads captured by the chatbot") }).describe("Response model containing list of leads for a chatbot.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { sitespeakaiGetLeads };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-leads.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-leads.mjs","names":[],"sources":["../../src/actions/get-leads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SitespeakaiGetLeadsInput: z.ZodTypeAny = z.object({\n chatbot_id: z.string().describe(\"The ID of your chatbot\"),\n}).describe(\"Request model for retrieving leads for a chatbot.\");\nconst SitespeakaiGetLeads_LeadSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Lead unique identifier\"),\n name: z.string().describe(\"Lead name\").nullable().optional(),\n email: z.string().describe(\"Lead email address\"),\n phone: z.string().describe(\"Lead phone number\").nullable().optional(),\n status: z.string().describe(\"Lead status\"),\n chatbot_id: z.string().describe(\"Associated chatbot ID\"),\n created_at: z.string().describe(\"Lead creation timestamp\"),\n updated_at: z.string().describe(\"Last update timestamp\"),\n visitor_id: z.string().describe(\"Visitor identifier\"),\n last_entry_at: z.string().describe(\"Last interaction timestamp\"),\n}).describe(\"Represents a single lead captured by the chatbot.\");\nexport const SitespeakaiGetLeadsOutput: z.ZodTypeAny = z.object({\n leads: z.array(SitespeakaiGetLeads_LeadSchema).describe(\"List of leads captured by the chatbot\"),\n}).describe(\"Response model containing list of leads for a chatbot.\");\n\nexport const sitespeakaiGetLeads = action(\"SITESPEAKAI_GET_LEADS\", {\n slug: \"sitespeakai-get-leads\",\n name: \"Get Leads\",\n description: \"Tool to retrieve all leads for your chatbot. Use when you need to access contact information captured through chatbot interactions.\",\n input: SitespeakaiGetLeadsInput,\n output: SitespeakaiGetLeadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EAC1D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iCAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACzC,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACpD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACjE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAK/D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uCAAuC,EACjG,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-prompts.ts
|
|
4
|
+
const SitespeakaiGetPromptsInput = zod.z.object({ chatbot_id: zod.z.string().describe("Unique identifier of the chatbot") }).describe("Request model for retrieving prompts for a chatbot.");
|
|
5
|
+
const SitespeakaiGetPrompts_PromptSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the prompt"),
|
|
7
|
+
name: zod.z.string().describe("Display name of the prompt"),
|
|
8
|
+
type: zod.z.string().describe("Type of the prompt (e.g., 'ai')"),
|
|
9
|
+
action: zod.z.unknown().describe("Action associated with the prompt").nullable().optional(),
|
|
10
|
+
prompt: zod.z.string().describe("Prompt content/text"),
|
|
11
|
+
chatbot_id: zod.z.string().describe("ID of the chatbot this prompt belongs to"),
|
|
12
|
+
created_at: zod.z.string().describe("Timestamp of prompt creation in ISO 8601 format"),
|
|
13
|
+
updated_at: zod.z.string().describe("Timestamp of last update in ISO 8601 format")
|
|
14
|
+
}).describe("Represents a single smart prompt available for a chatbot.");
|
|
15
|
+
const SitespeakaiGetPromptsOutput = zod.z.object({ prompts: zod.z.array(SitespeakaiGetPrompts_PromptSchema).describe("List of prompt objects available for the chatbot") }).describe("Response model containing list of smart prompts for a chatbot.");
|
|
16
|
+
const sitespeakaiGetPrompts = require_action.action("SITESPEAKAI_GET_PROMPTS", {
|
|
17
|
+
slug: "sitespeakai-get-prompts",
|
|
18
|
+
name: "Get Smart Prompts",
|
|
19
|
+
description: "Tool to retrieve smart prompts available for a chatbot. Use when you need to list prompts before selecting or managing them.",
|
|
20
|
+
input: SitespeakaiGetPromptsInput,
|
|
21
|
+
output: SitespeakaiGetPromptsOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.sitespeakaiGetPrompts = sitespeakaiGetPrompts;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=get-prompts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-prompts.cjs","names":["z","action"],"sources":["../../src/actions/get-prompts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SitespeakaiGetPromptsInput: z.ZodTypeAny = z.object({\n chatbot_id: z.string().describe(\"Unique identifier of the chatbot\"),\n}).describe(\"Request model for retrieving prompts for a chatbot.\");\nconst SitespeakaiGetPrompts_PromptSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the prompt\"),\n name: z.string().describe(\"Display name of the prompt\"),\n type: z.string().describe(\"Type of the prompt (e.g., 'ai')\"),\n action: z.unknown().describe(\"Action associated with the prompt\").nullable().optional(),\n prompt: z.string().describe(\"Prompt content/text\"),\n chatbot_id: z.string().describe(\"ID of the chatbot this prompt belongs to\"),\n created_at: z.string().describe(\"Timestamp of prompt creation in ISO 8601 format\"),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\"),\n}).describe(\"Represents a single smart prompt available for a chatbot.\");\nexport const SitespeakaiGetPromptsOutput: z.ZodTypeAny = z.object({\n prompts: z.array(SitespeakaiGetPrompts_PromptSchema).describe(\"List of prompt objects available for the chatbot\"),\n}).describe(\"Response model containing list of smart prompts for a chatbot.\");\n\nexport const sitespeakaiGetPrompts = action(\"SITESPEAKAI_GET_PROMPTS\", {\n slug: \"sitespeakai-get-prompts\",\n name: \"Get Smart Prompts\",\n description: \"Tool to retrieve smart prompts available for a chatbot. Use when you need to list prompts before selecting or managing them.\",\n input: SitespeakaiGetPromptsInput,\n output: SitespeakaiGetPromptsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAC/E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,kDAAkD,EAClH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-prompts.d.ts
|
|
4
|
+
declare const SitespeakaiGetPromptsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SitespeakaiGetPromptsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sitespeakaiGetPrompts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sitespeakaiGetPrompts };
|
|
9
|
+
//# sourceMappingURL=get-prompts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-prompts.d.cts","names":[],"sources":["../../src/actions/get-prompts.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEuB;AAAA,cAWrD,2BAAA,EAA6B,CAAA,CAAE,UAEiC;AAAA,cAEhE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-prompts.d.ts
|
|
4
|
+
declare const SitespeakaiGetPromptsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SitespeakaiGetPromptsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sitespeakaiGetPrompts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sitespeakaiGetPrompts };
|
|
9
|
+
//# sourceMappingURL=get-prompts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-prompts.d.mts","names":[],"sources":["../../src/actions/get-prompts.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEuB;AAAA,cAWrD,2BAAA,EAA6B,CAAA,CAAE,UAEiC;AAAA,cAEhE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-prompts.ts
|
|
4
|
+
const SitespeakaiGetPromptsInput = z.object({ chatbot_id: z.string().describe("Unique identifier of the chatbot") }).describe("Request model for retrieving prompts for a chatbot.");
|
|
5
|
+
const SitespeakaiGetPrompts_PromptSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier of the prompt"),
|
|
7
|
+
name: z.string().describe("Display name of the prompt"),
|
|
8
|
+
type: z.string().describe("Type of the prompt (e.g., 'ai')"),
|
|
9
|
+
action: z.unknown().describe("Action associated with the prompt").nullable().optional(),
|
|
10
|
+
prompt: z.string().describe("Prompt content/text"),
|
|
11
|
+
chatbot_id: z.string().describe("ID of the chatbot this prompt belongs to"),
|
|
12
|
+
created_at: z.string().describe("Timestamp of prompt creation in ISO 8601 format"),
|
|
13
|
+
updated_at: z.string().describe("Timestamp of last update in ISO 8601 format")
|
|
14
|
+
}).describe("Represents a single smart prompt available for a chatbot.");
|
|
15
|
+
const sitespeakaiGetPrompts = action("SITESPEAKAI_GET_PROMPTS", {
|
|
16
|
+
slug: "sitespeakai-get-prompts",
|
|
17
|
+
name: "Get Smart Prompts",
|
|
18
|
+
description: "Tool to retrieve smart prompts available for a chatbot. Use when you need to list prompts before selecting or managing them.",
|
|
19
|
+
input: SitespeakaiGetPromptsInput,
|
|
20
|
+
output: z.object({ prompts: z.array(SitespeakaiGetPrompts_PromptSchema).describe("List of prompt objects available for the chatbot") }).describe("Response model containing list of smart prompts for a chatbot.")
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { sitespeakaiGetPrompts };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=get-prompts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-prompts.mjs","names":[],"sources":["../../src/actions/get-prompts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SitespeakaiGetPromptsInput: z.ZodTypeAny = z.object({\n chatbot_id: z.string().describe(\"Unique identifier of the chatbot\"),\n}).describe(\"Request model for retrieving prompts for a chatbot.\");\nconst SitespeakaiGetPrompts_PromptSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the prompt\"),\n name: z.string().describe(\"Display name of the prompt\"),\n type: z.string().describe(\"Type of the prompt (e.g., 'ai')\"),\n action: z.unknown().describe(\"Action associated with the prompt\").nullable().optional(),\n prompt: z.string().describe(\"Prompt content/text\"),\n chatbot_id: z.string().describe(\"ID of the chatbot this prompt belongs to\"),\n created_at: z.string().describe(\"Timestamp of prompt creation in ISO 8601 format\"),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\"),\n}).describe(\"Represents a single smart prompt available for a chatbot.\");\nexport const SitespeakaiGetPromptsOutput: z.ZodTypeAny = z.object({\n prompts: z.array(SitespeakaiGetPrompts_PromptSchema).describe(\"List of prompt objects available for the chatbot\"),\n}).describe(\"Response model containing list of smart prompts for a chatbot.\");\n\nexport const sitespeakaiGetPrompts = action(\"SITESPEAKAI_GET_PROMPTS\", {\n slug: \"sitespeakai-get-prompts\",\n name: \"Get Smart Prompts\",\n description: \"Tool to retrieve smart prompts available for a chatbot. Use when you need to list prompts before selecting or managing them.\",\n input: SitespeakaiGetPromptsInput,\n output: SitespeakaiGetPromptsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAC/E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAKvE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,kDAAkD,EAClH,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-user.ts
|
|
4
|
+
const SitespeakaiGetUserInput = zod.z.object({}).describe("Request model for retrieving the authenticated user. No input parameters.");
|
|
5
|
+
const SitespeakaiGetUserOutput = zod.z.object({
|
|
6
|
+
id: zod.z.union([zod.z.string(), zod.z.number().int()]),
|
|
7
|
+
name: zod.z.string().describe("User's name"),
|
|
8
|
+
email: zod.z.string().describe("User's email address"),
|
|
9
|
+
avatar: zod.z.string().describe("Avatar identifier").nullable().optional(),
|
|
10
|
+
social_id: zod.z.string().describe("Social login identifier").nullable().optional(),
|
|
11
|
+
created_at: zod.z.string().describe("Account creation timestamp in ISO8601 format"),
|
|
12
|
+
updated_at: zod.z.string().describe("Timestamp of last profile update in ISO8601 format"),
|
|
13
|
+
social_type: zod.z.string().describe("Type of social provider").nullable().optional(),
|
|
14
|
+
current_team_id: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
|
|
15
|
+
profile_photo_url: zod.z.string().describe("Public URL for profile photo").nullable().optional(),
|
|
16
|
+
profile_photo_path: zod.z.string().describe("Storage path for profile image").nullable().optional(),
|
|
17
|
+
last_seen_changelog_id: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional()
|
|
18
|
+
}).describe("Response model for authenticated user details.");
|
|
19
|
+
const sitespeakaiGetUser = require_action.action("SITESPEAKAI_GET_USER", {
|
|
20
|
+
slug: "sitespeakai-get-user",
|
|
21
|
+
name: "Get Authenticated User",
|
|
22
|
+
description: "Tool to retrieve details of the authenticated user account. Use after obtaining a valid bearer token and when you need the current user's profile.",
|
|
23
|
+
input: SitespeakaiGetUserInput,
|
|
24
|
+
output: SitespeakaiGetUserOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.sitespeakaiGetUser = sitespeakaiGetUser;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-user.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SitespeakaiGetUserInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving the authenticated user. No input parameters.\");\nexport const SitespeakaiGetUserOutput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n avatar: z.string().describe(\"Avatar identifier\").nullable().optional(),\n social_id: z.string().describe(\"Social login identifier\").nullable().optional(),\n created_at: z.string().describe(\"Account creation timestamp in ISO8601 format\"),\n updated_at: z.string().describe(\"Timestamp of last profile update in ISO8601 format\"),\n social_type: z.string().describe(\"Type of social provider\").nullable().optional(),\n current_team_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n profile_photo_url: z.string().describe(\"Public URL for profile photo\").nullable().optional(),\n profile_photo_path: z.string().describe(\"Storage path for profile image\").nullable().optional(),\n last_seen_changelog_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n}).describe(\"Response model for authenticated user details.\");\n\nexport const sitespeakaiGetUser = action(\"SITESPEAKAI_GET_USER\", {\n slug: \"sitespeakai-get-user\",\n name: \"Get Authenticated User\",\n description: \"Tool to retrieve details of the authenticated user account. Use after obtaining a valid bearer token and when you need the current user's profile.\",\n input: SitespeakaiGetUserInput,\n output: SitespeakaiGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACtJ,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,iBAAiBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,wBAAwBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-user.d.ts
|
|
4
|
+
declare const SitespeakaiGetUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SitespeakaiGetUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sitespeakaiGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sitespeakaiGetUser };
|
|
9
|
+
//# sourceMappingURL=get-user.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAA+G;AAAA,cAC1I,wBAAA,EAA0B,CAAA,CAAE,UAaoB;AAAA,cAEhD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-user.d.ts
|
|
4
|
+
declare const SitespeakaiGetUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SitespeakaiGetUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sitespeakaiGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sitespeakaiGetUser };
|
|
9
|
+
//# sourceMappingURL=get-user.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAA+G;AAAA,cAC1I,wBAAA,EAA0B,CAAA,CAAE,UAaoB;AAAA,cAEhD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const sitespeakaiGetUser = action("SITESPEAKAI_GET_USER", {
|
|
4
|
+
slug: "sitespeakai-get-user",
|
|
5
|
+
name: "Get Authenticated User",
|
|
6
|
+
description: "Tool to retrieve details of the authenticated user account. Use after obtaining a valid bearer token and when you need the current user's profile.",
|
|
7
|
+
input: z.object({}).describe("Request model for retrieving the authenticated user. No input parameters."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.union([z.string(), z.number().int()]),
|
|
10
|
+
name: z.string().describe("User's name"),
|
|
11
|
+
email: z.string().describe("User's email address"),
|
|
12
|
+
avatar: z.string().describe("Avatar identifier").nullable().optional(),
|
|
13
|
+
social_id: z.string().describe("Social login identifier").nullable().optional(),
|
|
14
|
+
created_at: z.string().describe("Account creation timestamp in ISO8601 format"),
|
|
15
|
+
updated_at: z.string().describe("Timestamp of last profile update in ISO8601 format"),
|
|
16
|
+
social_type: z.string().describe("Type of social provider").nullable().optional(),
|
|
17
|
+
current_team_id: z.union([z.string(), z.number().int()]).nullable().optional(),
|
|
18
|
+
profile_photo_url: z.string().describe("Public URL for profile photo").nullable().optional(),
|
|
19
|
+
profile_photo_path: z.string().describe("Storage path for profile image").nullable().optional(),
|
|
20
|
+
last_seen_changelog_id: z.union([z.string(), z.number().int()]).nullable().optional()
|
|
21
|
+
}).describe("Response model for authenticated user details.")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { sitespeakaiGetUser };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=get-user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SitespeakaiGetUserInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving the authenticated user. No input parameters.\");\nexport const SitespeakaiGetUserOutput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n avatar: z.string().describe(\"Avatar identifier\").nullable().optional(),\n social_id: z.string().describe(\"Social login identifier\").nullable().optional(),\n created_at: z.string().describe(\"Account creation timestamp in ISO8601 format\"),\n updated_at: z.string().describe(\"Timestamp of last profile update in ISO8601 format\"),\n social_type: z.string().describe(\"Type of social provider\").nullable().optional(),\n current_team_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n profile_photo_url: z.string().describe(\"Public URL for profile photo\").nullable().optional(),\n profile_photo_path: z.string().describe(\"Storage path for profile image\").nullable().optional(),\n last_seen_changelog_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n}).describe(\"Response model for authenticated user details.\");\n\nexport const sitespeakaiGetUser = action(\"SITESPEAKAI_GET_USER\", {\n slug: \"sitespeakai-get-user\",\n name: \"Get Authenticated User\",\n description: \"Tool to retrieve details of the authenticated user account. Use after obtaining a valid bearer token and when you need the current user's profile.\",\n input: SitespeakaiGetUserInput,\n output: SitespeakaiGetUserOutput,\n});\n"],"mappings":";;AAoBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAoBlE;CACP,QApBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;EACvC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,iBAAiB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,wBAAwB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_get_leads = require("./get-leads.cjs");
|
|
3
|
+
const require_get_prompts = require("./get-prompts.cjs");
|
|
4
|
+
const require_get_user = require("./get-user.cjs");
|
|
5
|
+
const require_list_chatbots = require("./list-chatbots.cjs");
|
|
6
|
+
exports.sitespeakaiGetLeads = require_get_leads.sitespeakaiGetLeads;
|
|
7
|
+
exports.sitespeakaiGetPrompts = require_get_prompts.sitespeakaiGetPrompts;
|
|
8
|
+
exports.sitespeakaiGetUser = require_get_user.sitespeakaiGetUser;
|
|
9
|
+
exports.sitespeakaiListChatbots = require_list_chatbots.sitespeakaiListChatbots;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { sitespeakaiGetLeads } from "./get-leads.cjs";
|
|
2
|
+
import { sitespeakaiGetPrompts } from "./get-prompts.cjs";
|
|
3
|
+
import { sitespeakaiGetUser } from "./get-user.cjs";
|
|
4
|
+
import { sitespeakaiListChatbots } from "./list-chatbots.cjs";
|
|
5
|
+
export { sitespeakaiGetLeads, sitespeakaiGetPrompts, sitespeakaiGetUser, sitespeakaiListChatbots };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { sitespeakaiGetLeads } from "./get-leads.mjs";
|
|
2
|
+
import { sitespeakaiGetPrompts } from "./get-prompts.mjs";
|
|
3
|
+
import { sitespeakaiGetUser } from "./get-user.mjs";
|
|
4
|
+
import { sitespeakaiListChatbots } from "./list-chatbots.mjs";
|
|
5
|
+
export { sitespeakaiGetLeads, sitespeakaiGetPrompts, sitespeakaiGetUser, sitespeakaiListChatbots };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { sitespeakaiGetLeads } from "./get-leads.mjs";
|
|
2
|
+
import { sitespeakaiGetPrompts } from "./get-prompts.mjs";
|
|
3
|
+
import { sitespeakaiGetUser } from "./get-user.mjs";
|
|
4
|
+
import { sitespeakaiListChatbots } from "./list-chatbots.mjs";
|
|
5
|
+
export { sitespeakaiGetLeads, sitespeakaiGetPrompts, sitespeakaiGetUser, sitespeakaiListChatbots };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-chatbots.ts
|
|
4
|
+
const SitespeakaiListChatbotsInput = zod.z.object({}).describe("No request parameters for listing all chatbots.");
|
|
5
|
+
const SitespeakaiListChatbots_ListChatbotsResponseChatbotSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the chatbot"),
|
|
7
|
+
name: zod.z.string().describe("Human-readable name of the chatbot"),
|
|
8
|
+
type: zod.z.string().describe("Type/category of the chatbot (e.g., 'customer-support')").nullable().optional(),
|
|
9
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the chatbot was created"),
|
|
10
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the chatbot was last updated").nullable().optional(),
|
|
11
|
+
has_actions: zod.z.boolean().describe("Whether the chatbot has configured actions").nullable().optional()
|
|
12
|
+
}).describe("Represents an individual chatbot.");
|
|
13
|
+
const SitespeakaiListChatbotsOutput = zod.z.object({ chatbots: zod.z.array(SitespeakaiListChatbots_ListChatbotsResponseChatbotSchema).describe("List of chatbots associated with the account") }).describe("Response model for listing chatbots.");
|
|
14
|
+
const sitespeakaiListChatbots = require_action.action("SITESPEAKAI_LIST_CHATBOTS", {
|
|
15
|
+
slug: "sitespeakai-list-chatbots",
|
|
16
|
+
name: "List Chatbots",
|
|
17
|
+
description: "Tool to list all chatbots. Use when you need an overview of every chatbot linked to your account. No parameters required.",
|
|
18
|
+
input: SitespeakaiListChatbotsInput,
|
|
19
|
+
output: SitespeakaiListChatbotsOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.sitespeakaiListChatbots = sitespeakaiListChatbots;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=list-chatbots.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-chatbots.cjs","names":["z","action"],"sources":["../../src/actions/list-chatbots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SitespeakaiListChatbotsInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters for listing all chatbots.\");\nconst SitespeakaiListChatbots_ListChatbotsResponseChatbotSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the chatbot\"),\n name: z.string().describe(\"Human-readable name of the chatbot\"),\n type: z.string().describe(\"Type/category of the chatbot (e.g., 'customer-support')\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the chatbot was created\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the chatbot was last updated\").nullable().optional(),\n has_actions: z.boolean().describe(\"Whether the chatbot has configured actions\").nullable().optional(),\n}).describe(\"Represents an individual chatbot.\");\nexport const SitespeakaiListChatbotsOutput: z.ZodTypeAny = z.object({\n chatbots: z.array(SitespeakaiListChatbots_ListChatbotsResponseChatbotSchema).describe(\"List of chatbots associated with the account\"),\n}).describe(\"Response model for listing chatbots.\");\n\nexport const sitespeakaiListChatbots = action(\"SITESPEAKAI_LIST_CHATBOTS\", {\n slug: \"sitespeakai-list-chatbots\",\n name: \"List Chatbots\",\n description: \"Tool to list all chatbots. Use when you need an overview of every chatbot linked to your account. No parameters required.\",\n input: SitespeakaiListChatbotsInput,\n output: SitespeakaiListChatbotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACjI,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,UAAUA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,8CAA8C,EACtI,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-chatbots.d.ts
|
|
4
|
+
declare const SitespeakaiListChatbotsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SitespeakaiListChatbotsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sitespeakaiListChatbots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sitespeakaiListChatbots };
|
|
9
|
+
//# sourceMappingURL=list-chatbots.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-chatbots.d.cts","names":[],"sources":["../../src/actions/list-chatbots.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAqF;AAAA,cASrH,6BAAA,EAA+B,CAAA,CAAE,UAEK;AAAA,cAEtC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-chatbots.d.ts
|
|
4
|
+
declare const SitespeakaiListChatbotsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SitespeakaiListChatbotsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sitespeakaiListChatbots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sitespeakaiListChatbots };
|
|
9
|
+
//# sourceMappingURL=list-chatbots.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-chatbots.d.mts","names":[],"sources":["../../src/actions/list-chatbots.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAqF;AAAA,cASrH,6BAAA,EAA+B,CAAA,CAAE,UAEK;AAAA,cAEtC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-chatbots.ts
|
|
4
|
+
const SitespeakaiListChatbotsInput = z.object({}).describe("No request parameters for listing all chatbots.");
|
|
5
|
+
const SitespeakaiListChatbots_ListChatbotsResponseChatbotSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier of the chatbot"),
|
|
7
|
+
name: z.string().describe("Human-readable name of the chatbot"),
|
|
8
|
+
type: z.string().describe("Type/category of the chatbot (e.g., 'customer-support')").nullable().optional(),
|
|
9
|
+
created_at: z.string().describe("ISO 8601 timestamp when the chatbot was created"),
|
|
10
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the chatbot was last updated").nullable().optional(),
|
|
11
|
+
has_actions: z.boolean().describe("Whether the chatbot has configured actions").nullable().optional()
|
|
12
|
+
}).describe("Represents an individual chatbot.");
|
|
13
|
+
const sitespeakaiListChatbots = action("SITESPEAKAI_LIST_CHATBOTS", {
|
|
14
|
+
slug: "sitespeakai-list-chatbots",
|
|
15
|
+
name: "List Chatbots",
|
|
16
|
+
description: "Tool to list all chatbots. Use when you need an overview of every chatbot linked to your account. No parameters required.",
|
|
17
|
+
input: SitespeakaiListChatbotsInput,
|
|
18
|
+
output: z.object({ chatbots: z.array(SitespeakaiListChatbots_ListChatbotsResponseChatbotSchema).describe("List of chatbots associated with the account") }).describe("Response model for listing chatbots.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { sitespeakaiListChatbots };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-chatbots.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-chatbots.mjs","names":[],"sources":["../../src/actions/list-chatbots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SitespeakaiListChatbotsInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters for listing all chatbots.\");\nconst SitespeakaiListChatbots_ListChatbotsResponseChatbotSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the chatbot\"),\n name: z.string().describe(\"Human-readable name of the chatbot\"),\n type: z.string().describe(\"Type/category of the chatbot (e.g., 'customer-support')\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the chatbot was created\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the chatbot was last updated\").nullable().optional(),\n has_actions: z.boolean().describe(\"Whether the chatbot has configured actions\").nullable().optional(),\n}).describe(\"Represents an individual chatbot.\");\nexport const SitespeakaiListChatbotsOutput: z.ZodTypeAny = z.object({\n chatbots: z.array(SitespeakaiListChatbots_ListChatbotsResponseChatbotSchema).describe(\"List of chatbots associated with the account\"),\n}).describe(\"Response model for listing chatbots.\");\n\nexport const sitespeakaiListChatbots = action(\"SITESPEAKAI_LIST_CHATBOTS\", {\n slug: \"sitespeakai-list-chatbots\",\n name: \"List Chatbots\",\n description: \"Tool to list all chatbots. Use when you need an overview of every chatbot linked to your account. No parameters required.\",\n input: SitespeakaiListChatbotsInput,\n output: SitespeakaiListChatbotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACjI,MAAM,4DAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,UAAU,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,8CAA8C,EACtI,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sitespeakai = defineApp({\n slug: \"sitespeakai\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,eAAA,uCAAA,CAAA,CAAA,UAAA,CAAwB;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sitespeakai = defineApp({\n slug: \"sitespeakai\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,cAAc,UAAU;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const sitespeakaiCatalog = {
|
|
4
|
+
"slug": "sitespeakai",
|
|
5
|
+
"name": "Sitespeakai",
|
|
6
|
+
"description": "SiteSpeakAI enables businesses to automate customer support by creating custom-trained, embeddable GPT chatbots that provide real-time answers about products and services, reducing support tickets.",
|
|
7
|
+
"category": "AI Chatbots",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/sitespeakai",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.sitespeakaiCatalog = sitespeakaiCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sitespeakaiCatalog = {\n \"slug\": \"sitespeakai\",\n \"name\": \"Sitespeakai\",\n \"description\": \"SiteSpeakAI enables businesses to automate customer support by creating custom-trained, embeddable GPT chatbots that provide real-time answers about products and services, reducing support tickets.\",\n \"category\": \"AI Chatbots\",\n \"logo\": \"https://logos.composio.dev/api/sitespeakai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const sitespeakaiCatalog: {
|
|
4
|
+
readonly slug: "sitespeakai";
|
|
5
|
+
readonly name: "Sitespeakai";
|
|
6
|
+
readonly description: "SiteSpeakAI enables businesses to automate customer support by creating custom-trained, embeddable GPT chatbots that provide real-time answers about products and services, reducing support tickets.";
|
|
7
|
+
readonly category: "AI Chatbots";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/sitespeakai";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { sitespeakaiCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,kBAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const sitespeakaiCatalog: {
|
|
4
|
+
readonly slug: "sitespeakai";
|
|
5
|
+
readonly name: "Sitespeakai";
|
|
6
|
+
readonly description: "SiteSpeakAI enables businesses to automate customer support by creating custom-trained, embeddable GPT chatbots that provide real-time answers about products and services, reducing support tickets.";
|
|
7
|
+
readonly category: "AI Chatbots";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/sitespeakai";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { sitespeakaiCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,kBAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const sitespeakaiCatalog = {
|
|
4
|
+
"slug": "sitespeakai",
|
|
5
|
+
"name": "Sitespeakai",
|
|
6
|
+
"description": "SiteSpeakAI enables businesses to automate customer support by creating custom-trained, embeddable GPT chatbots that provide real-time answers about products and services, reducing support tickets.",
|
|
7
|
+
"category": "AI Chatbots",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/sitespeakai",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { sitespeakaiCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sitespeakaiCatalog = {\n \"slug\": \"sitespeakai\",\n \"name\": \"Sitespeakai\",\n \"description\": \"SiteSpeakAI enables businesses to automate customer support by creating custom-trained, embeddable GPT chatbots that provide real-time answers about products and services, reducing support tickets.\",\n \"category\": \"AI Chatbots\",\n \"logo\": \"https://logos.composio.dev/api/sitespeakai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "sitespeakai";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSitespeakaiTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeSitespeakaiTool = executeSitespeakaiTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"sitespeakai\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSitespeakaiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,uBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "sitespeakai";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSitespeakaiTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeSitespeakaiTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"sitespeakai\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSitespeakaiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,uBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_get_leads = require("./actions/get-leads.cjs");
|
|
5
|
+
const require_get_prompts = require("./actions/get-prompts.cjs");
|
|
6
|
+
const require_get_user = require("./actions/get-user.cjs");
|
|
7
|
+
const require_list_chatbots = require("./actions/list-chatbots.cjs");
|
|
8
|
+
require("./actions/index.cjs");
|
|
9
|
+
exports.sitespeakai = require_app.sitespeakai;
|
|
10
|
+
exports.sitespeakaiCatalog = require_catalog.sitespeakaiCatalog;
|
|
11
|
+
exports.sitespeakaiGetLeads = require_get_leads.sitespeakaiGetLeads;
|
|
12
|
+
exports.sitespeakaiGetPrompts = require_get_prompts.sitespeakaiGetPrompts;
|
|
13
|
+
exports.sitespeakaiGetUser = require_get_user.sitespeakaiGetUser;
|
|
14
|
+
exports.sitespeakaiListChatbots = require_list_chatbots.sitespeakaiListChatbots;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { sitespeakaiGetLeads } from "./actions/get-leads.cjs";
|
|
2
|
+
import { sitespeakaiGetPrompts } from "./actions/get-prompts.cjs";
|
|
3
|
+
import { sitespeakaiGetUser } from "./actions/get-user.cjs";
|
|
4
|
+
import { sitespeakaiListChatbots } from "./actions/list-chatbots.cjs";
|
|
5
|
+
import { sitespeakai } from "./app.cjs";
|
|
6
|
+
import { sitespeakaiCatalog } from "./catalog.cjs";
|
|
7
|
+
export { sitespeakai, sitespeakaiCatalog, sitespeakaiGetLeads, sitespeakaiGetPrompts, sitespeakaiGetUser, sitespeakaiListChatbots };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { sitespeakaiGetLeads } from "./actions/get-leads.mjs";
|
|
2
|
+
import { sitespeakaiGetPrompts } from "./actions/get-prompts.mjs";
|
|
3
|
+
import { sitespeakaiGetUser } from "./actions/get-user.mjs";
|
|
4
|
+
import { sitespeakaiListChatbots } from "./actions/list-chatbots.mjs";
|
|
5
|
+
import { sitespeakai } from "./app.mjs";
|
|
6
|
+
import { sitespeakaiCatalog } from "./catalog.mjs";
|
|
7
|
+
export { sitespeakai, sitespeakaiCatalog, sitespeakaiGetLeads, sitespeakaiGetPrompts, sitespeakaiGetUser, sitespeakaiListChatbots };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { sitespeakai } from "./app.mjs";
|
|
2
|
+
import { sitespeakaiCatalog } from "./catalog.mjs";
|
|
3
|
+
import { sitespeakaiGetLeads } from "./actions/get-leads.mjs";
|
|
4
|
+
import { sitespeakaiGetPrompts } from "./actions/get-prompts.mjs";
|
|
5
|
+
import { sitespeakaiGetUser } from "./actions/get-user.mjs";
|
|
6
|
+
import { sitespeakaiListChatbots } from "./actions/list-chatbots.mjs";
|
|
7
|
+
import "./actions/index.mjs";
|
|
8
|
+
export { sitespeakai, sitespeakaiCatalog, sitespeakaiGetLeads, sitespeakaiGetPrompts, sitespeakaiGetUser, sitespeakaiListChatbots };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/sitespeakai",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/sitespeakai"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|