@keystrokehq/sitespeakai 0.1.0 → 0.1.2

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 (41) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-leads.cjs +8 -8
  4. package/dist/actions/get-leads.cjs.map +1 -1
  5. package/dist/actions/get-leads.d.cts +20 -3
  6. package/dist/actions/get-leads.d.cts.map +1 -1
  7. package/dist/actions/get-leads.d.mts +20 -3
  8. package/dist/actions/get-leads.d.mts.map +1 -1
  9. package/dist/actions/get-leads.mjs +8 -8
  10. package/dist/actions/get-leads.mjs.map +1 -1
  11. package/dist/actions/get-prompts.cjs +7 -7
  12. package/dist/actions/get-prompts.cjs.map +1 -1
  13. package/dist/actions/get-prompts.d.cts +18 -3
  14. package/dist/actions/get-prompts.d.cts.map +1 -1
  15. package/dist/actions/get-prompts.d.mts +18 -3
  16. package/dist/actions/get-prompts.d.mts.map +1 -1
  17. package/dist/actions/get-prompts.mjs +7 -7
  18. package/dist/actions/get-prompts.mjs.map +1 -1
  19. package/dist/actions/get-user.cjs +4 -4
  20. package/dist/actions/get-user.cjs.map +1 -1
  21. package/dist/actions/get-user.d.cts +16 -3
  22. package/dist/actions/get-user.d.cts.map +1 -1
  23. package/dist/actions/get-user.d.mts +16 -3
  24. package/dist/actions/get-user.d.mts.map +1 -1
  25. package/dist/actions/get-user.mjs +4 -4
  26. package/dist/actions/get-user.mjs.map +1 -1
  27. package/dist/actions/list-chatbots.cjs +3 -3
  28. package/dist/actions/list-chatbots.cjs.map +1 -1
  29. package/dist/actions/list-chatbots.d.cts +12 -3
  30. package/dist/actions/list-chatbots.d.cts.map +1 -1
  31. package/dist/actions/list-chatbots.d.mts +12 -3
  32. package/dist/actions/list-chatbots.d.mts.map +1 -1
  33. package/dist/actions/list-chatbots.mjs +3 -3
  34. package/dist/actions/list-chatbots.mjs.map +1 -1
  35. package/dist/catalog.cjs +7 -1
  36. package/dist/catalog.cjs.map +1 -1
  37. package/dist/catalog.d.cts +8 -0
  38. package/dist/catalog.d.mts +8 -0
  39. package/dist/catalog.mjs +7 -1
  40. package/dist/catalog.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1 +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"}
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<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 sitespeakai.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 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"}
@@ -1 +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"}
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<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 sitespeakai.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 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"}
@@ -3,16 +3,16 @@ let zod = require("zod");
3
3
  //#region src/actions/get-leads.ts
4
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
5
  const SitespeakaiGetLeads_LeadSchema = zod.z.object({
6
- id: zod.z.string().describe("Lead unique identifier"),
6
+ id: zod.z.string().describe("Lead unique identifier").nullable(),
7
7
  name: zod.z.string().describe("Lead name").nullable().optional(),
8
- email: zod.z.string().describe("Lead email address"),
8
+ email: zod.z.string().describe("Lead email address").nullable(),
9
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")
10
+ status: zod.z.string().describe("Lead status").nullable(),
11
+ chatbot_id: zod.z.string().describe("Associated chatbot ID").nullable(),
12
+ created_at: zod.z.string().describe("Lead creation timestamp").nullable(),
13
+ updated_at: zod.z.string().describe("Last update timestamp").nullable(),
14
+ visitor_id: zod.z.string().describe("Visitor identifier").nullable(),
15
+ last_entry_at: zod.z.string().describe("Last interaction timestamp").nullable()
16
16
  }).describe("Represents a single lead captured by the chatbot.");
17
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
18
  const sitespeakaiGetLeads = require_action.action("SITESPEAKAI_GET_LEADS", {
@@ -1 +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"}
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.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.object({\n id: z.string().describe(\"Lead unique identifier\").nullable(),\n name: z.string().describe(\"Lead name\").nullable().optional(),\n email: z.string().describe(\"Lead email address\").nullable(),\n phone: z.string().describe(\"Lead phone number\").nullable().optional(),\n status: z.string().describe(\"Lead status\").nullable(),\n chatbot_id: z.string().describe(\"Associated chatbot ID\").nullable(),\n created_at: z.string().describe(\"Lead creation timestamp\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable(),\n visitor_id: z.string().describe(\"Visitor identifier\").nullable(),\n last_entry_at: z.string().describe(\"Last interaction timestamp\").nullable(),\n}).describe(\"Represents a single lead captured by the chatbot.\");\nexport const SitespeakaiGetLeadsOutput = 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,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EAC1D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC/D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,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"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SitespeakaiGetLeadsInput: z.ZodObject<{
5
+ chatbot_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SitespeakaiGetLeadsOutput: z.ZodObject<{
8
+ leads: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ email: z.ZodNullable<z.ZodString>;
12
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ status: z.ZodNullable<z.ZodString>;
14
+ chatbot_id: z.ZodNullable<z.ZodString>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ updated_at: z.ZodNullable<z.ZodString>;
17
+ visitor_id: z.ZodNullable<z.ZodString>;
18
+ last_entry_at: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
21
+ declare const sitespeakaiGetLeads: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ chatbot_id: string;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { sitespeakaiGetLeads };
9
26
  //# sourceMappingURL=get-leads.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-leads.d.cts","names":[],"sources":["../../src/actions/get-leads.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SitespeakaiGetLeadsInput: z.ZodObject<{
5
+ chatbot_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SitespeakaiGetLeadsOutput: z.ZodObject<{
8
+ leads: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ email: z.ZodNullable<z.ZodString>;
12
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ status: z.ZodNullable<z.ZodString>;
14
+ chatbot_id: z.ZodNullable<z.ZodString>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ updated_at: z.ZodNullable<z.ZodString>;
17
+ visitor_id: z.ZodNullable<z.ZodString>;
18
+ last_entry_at: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
21
+ declare const sitespeakaiGetLeads: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ chatbot_id: string;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { sitespeakaiGetLeads };
9
26
  //# sourceMappingURL=get-leads.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-leads.d.mts","names":[],"sources":["../../src/actions/get-leads.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -3,16 +3,16 @@ import { z } from "zod";
3
3
  //#region src/actions/get-leads.ts
4
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
5
  const SitespeakaiGetLeads_LeadSchema = z.object({
6
- id: z.string().describe("Lead unique identifier"),
6
+ id: z.string().describe("Lead unique identifier").nullable(),
7
7
  name: z.string().describe("Lead name").nullable().optional(),
8
- email: z.string().describe("Lead email address"),
8
+ email: z.string().describe("Lead email address").nullable(),
9
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")
10
+ status: z.string().describe("Lead status").nullable(),
11
+ chatbot_id: z.string().describe("Associated chatbot ID").nullable(),
12
+ created_at: z.string().describe("Lead creation timestamp").nullable(),
13
+ updated_at: z.string().describe("Last update timestamp").nullable(),
14
+ visitor_id: z.string().describe("Visitor identifier").nullable(),
15
+ last_entry_at: z.string().describe("Last interaction timestamp").nullable()
16
16
  }).describe("Represents a single lead captured by the chatbot.");
17
17
  const sitespeakaiGetLeads = action("SITESPEAKAI_GET_LEADS", {
18
18
  slug: "sitespeakai-get-leads",
@@ -1 +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"}
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.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.object({\n id: z.string().describe(\"Lead unique identifier\").nullable(),\n name: z.string().describe(\"Lead name\").nullable().optional(),\n email: z.string().describe(\"Lead email address\").nullable(),\n phone: z.string().describe(\"Lead phone number\").nullable().optional(),\n status: z.string().describe(\"Lead status\").nullable(),\n chatbot_id: z.string().describe(\"Associated chatbot ID\").nullable(),\n created_at: z.string().describe(\"Lead creation timestamp\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable(),\n visitor_id: z.string().describe(\"Visitor identifier\").nullable(),\n last_entry_at: z.string().describe(\"Last interaction timestamp\").nullable(),\n}).describe(\"Represents a single lead captured by the chatbot.\");\nexport const SitespeakaiGetLeadsOutput = 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,2BAA2B,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EAC1D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC/D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAK/D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uCAAuC,EACjG,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/get-prompts.ts
4
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
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')"),
6
+ id: zod.z.string().describe("Unique identifier of the prompt").nullable(),
7
+ name: zod.z.string().describe("Display name of the prompt").nullable(),
8
+ type: zod.z.string().describe("Type of the prompt (e.g., 'ai')").nullable(),
9
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")
10
+ prompt: zod.z.string().describe("Prompt content/text").nullable(),
11
+ chatbot_id: zod.z.string().describe("ID of the chatbot this prompt belongs to").nullable(),
12
+ created_at: zod.z.string().describe("Timestamp of prompt creation in ISO 8601 format").nullable(),
13
+ updated_at: zod.z.string().describe("Timestamp of last update in ISO 8601 format").nullable()
14
14
  }).describe("Represents a single smart prompt available for a chatbot.");
15
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
16
  const sitespeakaiGetPrompts = require_action.action("SITESPEAKAI_GET_PROMPTS", {
@@ -1 +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"}
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.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.object({\n id: z.string().describe(\"Unique identifier of the prompt\").nullable(),\n name: z.string().describe(\"Display name of the prompt\").nullable(),\n type: z.string().describe(\"Type of the prompt (e.g., 'ai')\").nullable(),\n action: z.unknown().describe(\"Action associated with the prompt\").nullable().optional(),\n prompt: z.string().describe(\"Prompt content/text\").nullable(),\n chatbot_id: z.string().describe(\"ID of the chatbot this prompt belongs to\").nullable(),\n created_at: z.string().describe(\"Timestamp of prompt creation in ISO 8601 format\").nullable(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable(),\n}).describe(\"Represents a single smart prompt available for a chatbot.\");\nexport const SitespeakaiGetPromptsOutput = 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,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,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"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SitespeakaiGetPromptsInput: z.ZodObject<{
5
+ chatbot_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SitespeakaiGetPromptsOutput: z.ZodObject<{
8
+ prompts: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ type: z.ZodNullable<z.ZodString>;
12
+ action: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
13
+ prompt: z.ZodNullable<z.ZodString>;
14
+ chatbot_id: z.ZodNullable<z.ZodString>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ updated_at: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
19
+ declare const sitespeakaiGetPrompts: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ chatbot_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { sitespeakaiGetPrompts };
9
24
  //# sourceMappingURL=get-prompts.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-prompts.d.cts","names":[],"sources":["../../src/actions/get-prompts.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SitespeakaiGetPromptsInput: z.ZodObject<{
5
+ chatbot_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SitespeakaiGetPromptsOutput: z.ZodObject<{
8
+ prompts: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ type: z.ZodNullable<z.ZodString>;
12
+ action: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
13
+ prompt: z.ZodNullable<z.ZodString>;
14
+ chatbot_id: z.ZodNullable<z.ZodString>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ updated_at: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
19
+ declare const sitespeakaiGetPrompts: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ chatbot_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { sitespeakaiGetPrompts };
9
24
  //# sourceMappingURL=get-prompts.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-prompts.d.mts","names":[],"sources":["../../src/actions/get-prompts.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -3,14 +3,14 @@ import { z } from "zod";
3
3
  //#region src/actions/get-prompts.ts
4
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
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')"),
6
+ id: z.string().describe("Unique identifier of the prompt").nullable(),
7
+ name: z.string().describe("Display name of the prompt").nullable(),
8
+ type: z.string().describe("Type of the prompt (e.g., 'ai')").nullable(),
9
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")
10
+ prompt: z.string().describe("Prompt content/text").nullable(),
11
+ chatbot_id: z.string().describe("ID of the chatbot this prompt belongs to").nullable(),
12
+ created_at: z.string().describe("Timestamp of prompt creation in ISO 8601 format").nullable(),
13
+ updated_at: z.string().describe("Timestamp of last update in ISO 8601 format").nullable()
14
14
  }).describe("Represents a single smart prompt available for a chatbot.");
15
15
  const sitespeakaiGetPrompts = action("SITESPEAKAI_GET_PROMPTS", {
16
16
  slug: "sitespeakai-get-prompts",
@@ -1 +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"}
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.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.object({\n id: z.string().describe(\"Unique identifier of the prompt\").nullable(),\n name: z.string().describe(\"Display name of the prompt\").nullable(),\n type: z.string().describe(\"Type of the prompt (e.g., 'ai')\").nullable(),\n action: z.unknown().describe(\"Action associated with the prompt\").nullable().optional(),\n prompt: z.string().describe(\"Prompt content/text\").nullable(),\n chatbot_id: z.string().describe(\"ID of the chatbot this prompt belongs to\").nullable(),\n created_at: z.string().describe(\"Timestamp of prompt creation in ISO 8601 format\").nullable(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable(),\n}).describe(\"Represents a single smart prompt available for a chatbot.\");\nexport const SitespeakaiGetPromptsOutput = 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,6BAA6B,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAKvE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,kDAAkD,EAClH,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
@@ -4,12 +4,12 @@ let zod = require("zod");
4
4
  const SitespeakaiGetUserInput = zod.z.object({}).describe("Request model for retrieving the authenticated user. No input parameters.");
5
5
  const SitespeakaiGetUserOutput = zod.z.object({
6
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"),
7
+ name: zod.z.string().describe("User's name").nullable(),
8
+ email: zod.z.string().describe("User's email address").nullable(),
9
9
  avatar: zod.z.string().describe("Avatar identifier").nullable().optional(),
10
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"),
11
+ created_at: zod.z.string().describe("Account creation timestamp in ISO8601 format").nullable(),
12
+ updated_at: zod.z.string().describe("Timestamp of last profile update in ISO8601 format").nullable(),
13
13
  social_type: zod.z.string().describe("Type of social provider").nullable().optional(),
14
14
  current_team_id: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
15
15
  profile_photo_url: zod.z.string().describe("Public URL for profile photo").nullable().optional(),
@@ -1 +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"}
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.object({}).describe(\"Request model for retrieving the authenticated user. No input parameters.\");\nexport const SitespeakaiGetUserOutput = z.object({\n id: z.union([z.string(), z.number().int()]),\n name: z.string().describe(\"User's name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\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\").nullable(),\n updated_at: z.string().describe(\"Timestamp of last profile update in ISO8601 format\").nullable(),\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,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACxI,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,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,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,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"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SitespeakaiGetUserInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SitespeakaiGetUserOutput: z.ZodObject<{
6
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
7
+ name: z.ZodNullable<z.ZodString>;
8
+ email: z.ZodNullable<z.ZodString>;
9
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ social_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ created_at: z.ZodNullable<z.ZodString>;
12
+ updated_at: z.ZodNullable<z.ZodString>;
13
+ social_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ current_team_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
15
+ profile_photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ profile_photo_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ last_seen_changelog_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
18
+ }, z.core.$strip>;
19
+ declare const sitespeakaiGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sitespeakaiGetUser };
9
22
  //# sourceMappingURL=get-user.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAexB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SitespeakaiGetUserInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SitespeakaiGetUserOutput: z.ZodObject<{
6
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
7
+ name: z.ZodNullable<z.ZodString>;
8
+ email: z.ZodNullable<z.ZodString>;
9
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ social_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ created_at: z.ZodNullable<z.ZodString>;
12
+ updated_at: z.ZodNullable<z.ZodString>;
13
+ social_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ current_team_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
15
+ profile_photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ profile_photo_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ last_seen_changelog_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
18
+ }, z.core.$strip>;
19
+ declare const sitespeakaiGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sitespeakaiGetUser };
9
22
  //# sourceMappingURL=get-user.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAexB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -7,12 +7,12 @@ const sitespeakaiGetUser = action("SITESPEAKAI_GET_USER", {
7
7
  input: z.object({}).describe("Request model for retrieving the authenticated user. No input parameters."),
8
8
  output: z.object({
9
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"),
10
+ name: z.string().describe("User's name").nullable(),
11
+ email: z.string().describe("User's email address").nullable(),
12
12
  avatar: z.string().describe("Avatar identifier").nullable().optional(),
13
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"),
14
+ created_at: z.string().describe("Account creation timestamp in ISO8601 format").nullable(),
15
+ updated_at: z.string().describe("Timestamp of last profile update in ISO8601 format").nullable(),
16
16
  social_type: z.string().describe("Type of social provider").nullable().optional(),
17
17
  current_team_id: z.union([z.string(), z.number().int()]).nullable().optional(),
18
18
  profile_photo_url: z.string().describe("Public URL for profile photo").nullable().optional(),
@@ -1 +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"}
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.object({}).describe(\"Request model for retrieving the authenticated user. No input parameters.\");\nexport const SitespeakaiGetUserOutput = z.object({\n id: z.union([z.string(), z.number().int()]),\n name: z.string().describe(\"User's name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\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\").nullable(),\n updated_at: z.string().describe(\"Timestamp of last profile update in ISO8601 format\").nullable(),\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,OApBqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAoBpD;CACP,QApBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,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,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC/F,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"}
@@ -3,10 +3,10 @@ let zod = require("zod");
3
3
  //#region src/actions/list-chatbots.ts
4
4
  const SitespeakaiListChatbotsInput = zod.z.object({}).describe("No request parameters for listing all chatbots.");
5
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"),
6
+ id: zod.z.string().describe("Unique identifier of the chatbot").nullable(),
7
+ name: zod.z.string().describe("Human-readable name of the chatbot").nullable(),
8
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"),
9
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the chatbot was created").nullable(),
10
10
  updated_at: zod.z.string().describe("ISO 8601 timestamp when the chatbot was last updated").nullable().optional(),
11
11
  has_actions: zod.z.boolean().describe("Whether the chatbot has configured actions").nullable().optional()
12
12
  }).describe("Represents an individual chatbot.");
@@ -1 +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"}
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.object({}).describe(\"No request parameters for listing all chatbots.\");\nconst SitespeakaiListChatbots_ListChatbotsResponseChatbotSchema = z.object({\n id: z.string().describe(\"Unique identifier of the chatbot\").nullable(),\n name: z.string().describe(\"Human-readable name of the chatbot\").nullable(),\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\").nullable(),\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.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,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACnH,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,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,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,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"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SitespeakaiListChatbotsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SitespeakaiListChatbotsOutput: z.ZodObject<{
6
+ chatbots: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ created_at: z.ZodNullable<z.ZodString>;
11
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ has_actions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ }, z.core.$strip>>;
14
+ }, z.core.$strip>;
15
+ declare const sitespeakaiListChatbots: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { sitespeakaiListChatbots };
9
18
  //# sourceMappingURL=list-chatbots.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"list-chatbots.d.cts","names":[],"sources":["../../src/actions/list-chatbots.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SitespeakaiListChatbotsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SitespeakaiListChatbotsOutput: z.ZodObject<{
6
+ chatbots: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ created_at: z.ZodNullable<z.ZodString>;
11
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ has_actions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ }, z.core.$strip>>;
14
+ }, z.core.$strip>;
15
+ declare const sitespeakaiListChatbots: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { sitespeakaiListChatbots };
9
18
  //# sourceMappingURL=list-chatbots.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"list-chatbots.d.mts","names":[],"sources":["../../src/actions/list-chatbots.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,10 +3,10 @@ import { z } from "zod";
3
3
  //#region src/actions/list-chatbots.ts
4
4
  const SitespeakaiListChatbotsInput = z.object({}).describe("No request parameters for listing all chatbots.");
5
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"),
6
+ id: z.string().describe("Unique identifier of the chatbot").nullable(),
7
+ name: z.string().describe("Human-readable name of the chatbot").nullable(),
8
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"),
9
+ created_at: z.string().describe("ISO 8601 timestamp when the chatbot was created").nullable(),
10
10
  updated_at: z.string().describe("ISO 8601 timestamp when the chatbot was last updated").nullable().optional(),
11
11
  has_actions: z.boolean().describe("Whether the chatbot has configured actions").nullable().optional()
12
12
  }).describe("Represents an individual chatbot.");
@@ -1 +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"}
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.object({}).describe(\"No request parameters for listing all chatbots.\");\nconst SitespeakaiListChatbots_ListChatbotsResponseChatbotSchema = z.object({\n id: z.string().describe(\"Unique identifier of the chatbot\").nullable(),\n name: z.string().describe(\"Human-readable name of the chatbot\").nullable(),\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\").nullable(),\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.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,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACnH,MAAM,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,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,QAT2C,EAAE,OAAO,EACpD,UAAU,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,8CAA8C,EACtI,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const sitespeakaiCatalog = {
7
7
  "category": "AI Chatbots",
8
8
  "logo": "https://logos.composio.dev/api/sitespeakai",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "SiteSpeakAI API Token",
13
+ "secret": true,
14
+ "description": "Your SiteSpeakAI API Token for authentication"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.sitespeakaiCatalog = sitespeakaiCatalog;
@@ -1 +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"}
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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"SiteSpeakAI API Token\",\n \"secret\": true,\n \"description\": \"Your SiteSpeakAI API Token for authentication\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const sitespeakaiCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/sitespeakai";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "SiteSpeakAI API Token";
14
+ readonly secret: true;
15
+ readonly description: "Your SiteSpeakAI API Token for authentication";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { sitespeakaiCatalog };
@@ -8,6 +8,14 @@ declare const sitespeakaiCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/sitespeakai";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "SiteSpeakAI API Token";
14
+ readonly secret: true;
15
+ readonly description: "Your SiteSpeakAI API Token for authentication";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { sitespeakaiCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const sitespeakaiCatalog = {
7
7
  "category": "AI Chatbots",
8
8
  "logo": "https://logos.composio.dev/api/sitespeakai",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "SiteSpeakAI API Token",
13
+ "secret": true,
14
+ "description": "Your SiteSpeakAI API Token for authentication"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { sitespeakaiCatalog };
@@ -1 +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"}
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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"SiteSpeakAI API Token\",\n \"secret\": true,\n \"description\": \"Your SiteSpeakAI API Token for authentication\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sitespeakai",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {