@keystrokehq/sitespeakai 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) 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 +1 -0
  4. package/dist/actions/get-leads.cjs.map +1 -1
  5. package/dist/actions/get-leads.d.cts +3 -3
  6. package/dist/actions/get-leads.d.cts.map +1 -1
  7. package/dist/actions/get-leads.d.mts +3 -3
  8. package/dist/actions/get-leads.d.mts.map +1 -1
  9. package/dist/actions/get-leads.mjs +1 -0
  10. package/dist/actions/get-leads.mjs.map +1 -1
  11. package/dist/actions/get-prompts.cjs +1 -0
  12. package/dist/actions/get-prompts.cjs.map +1 -1
  13. package/dist/actions/get-prompts.d.cts +3 -3
  14. package/dist/actions/get-prompts.d.cts.map +1 -1
  15. package/dist/actions/get-prompts.d.mts +3 -3
  16. package/dist/actions/get-prompts.d.mts.map +1 -1
  17. package/dist/actions/get-prompts.mjs +1 -0
  18. package/dist/actions/get-prompts.mjs.map +1 -1
  19. package/dist/actions/get-user.cjs +1 -0
  20. package/dist/actions/get-user.cjs.map +1 -1
  21. package/dist/actions/get-user.d.cts +3 -1
  22. package/dist/actions/get-user.d.cts.map +1 -1
  23. package/dist/actions/get-user.d.mts +3 -1
  24. package/dist/actions/get-user.d.mts.map +1 -1
  25. package/dist/actions/get-user.mjs +1 -0
  26. package/dist/actions/get-user.mjs.map +1 -1
  27. package/dist/actions/list-chatbots.cjs +1 -0
  28. package/dist/actions/list-chatbots.cjs.map +1 -1
  29. package/dist/actions/list-chatbots.d.cts +3 -1
  30. package/dist/actions/list-chatbots.d.cts.map +1 -1
  31. package/dist/actions/list-chatbots.d.mts +3 -1
  32. package/dist/actions/list-chatbots.d.mts.map +1 -1
  33. package/dist/actions/list-chatbots.mjs +1 -0
  34. package/dist/actions/list-chatbots.mjs.map +1 -1
  35. package/dist/app.cjs +5 -2
  36. package/dist/app.cjs.map +1 -1
  37. package/dist/app.d.cts +7 -1
  38. package/dist/app.d.cts.map +1 -1
  39. package/dist/app.d.mts +7 -1
  40. package/dist/app.d.mts.map +1 -1
  41. package/dist/app.mjs +3 -2
  42. package/dist/app.mjs.map +1 -1
  43. package/dist/index.d.cts +1 -1
  44. package/dist/index.d.mts +1 -1
  45. 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<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
+ {"version":3,"file":"action.cjs","names":["sitespeakai","executeSitespeakaiTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sitespeakai.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAO2D;CAC3D,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<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"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sitespeakai.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAO2D;CAC3D,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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-leads.ts
@@ -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.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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uCAAuC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sitespeakai } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing list of leads for a chatbot.\");\n\nexport const sitespeakaiGetLeads: AppAction<\n typeof SitespeakaiGetLeadsInput,\n typeof SitespeakaiGetLeadsOutput,\n typeof sitespeakai.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uCAAuC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sitespeakai } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-leads.d.ts
@@ -18,9 +20,7 @@ declare const SitespeakaiGetLeadsOutput: z.ZodObject<{
18
20
  last_entry_at: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>>;
20
22
  }, z.core.$loose>;
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]>;
23
+ declare const sitespeakaiGetLeads: AppAction<typeof SitespeakaiGetLeadsInput, typeof SitespeakaiGetLeadsOutput, typeof sitespeakai.credential>;
24
24
  //#endregion
25
25
  export { sitespeakaiGetLeads };
26
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,EAAwB,CAAA,CAAA,SAAA;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-leads.d.cts","names":[],"sources":["../../src/actions/get-leads.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sitespeakai } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-leads.d.ts
@@ -18,9 +20,7 @@ declare const SitespeakaiGetLeadsOutput: z.ZodObject<{
18
20
  last_entry_at: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>>;
20
22
  }, z.core.$loose>;
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]>;
23
+ declare const sitespeakaiGetLeads: AppAction<typeof SitespeakaiGetLeadsInput, typeof SitespeakaiGetLeadsOutput, typeof sitespeakai.credential>;
24
24
  //#endregion
25
25
  export { sitespeakaiGetLeads };
26
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,EAAwB,CAAA,CAAA,SAAA;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-leads.d.mts","names":[],"sources":["../../src/actions/get-leads.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-leads.ts
@@ -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.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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,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,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-leads.mjs","names":[],"sources":["../../src/actions/get-leads.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sitespeakai } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing list of leads for a chatbot.\");\n\nexport const sitespeakaiGetLeads: AppAction<\n typeof SitespeakaiGetLeadsInput,\n typeof SitespeakaiGetLeadsOutput,\n typeof sitespeakai.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uCAAuC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-prompts.ts
@@ -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.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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,kDAAkD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sitespeakai } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing list of smart prompts for a chatbot.\");\n\nexport const sitespeakaiGetPrompts: AppAction<\n typeof SitespeakaiGetPromptsInput,\n typeof SitespeakaiGetPromptsOutput,\n typeof sitespeakai.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,kDAAkD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sitespeakai } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-prompts.d.ts
@@ -16,9 +18,7 @@ declare const SitespeakaiGetPromptsOutput: z.ZodObject<{
16
18
  updated_at: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
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]>;
21
+ declare const sitespeakaiGetPrompts: AppAction<typeof SitespeakaiGetPromptsInput, typeof SitespeakaiGetPromptsOutput, typeof sitespeakai.credential>;
22
22
  //#endregion
23
23
  export { sitespeakaiGetPrompts };
24
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,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-prompts.d.cts","names":[],"sources":["../../src/actions/get-prompts.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sitespeakai } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-prompts.d.ts
@@ -16,9 +18,7 @@ declare const SitespeakaiGetPromptsOutput: z.ZodObject<{
16
18
  updated_at: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
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]>;
21
+ declare const sitespeakaiGetPrompts: AppAction<typeof SitespeakaiGetPromptsInput, typeof SitespeakaiGetPromptsOutput, typeof sitespeakai.credential>;
22
22
  //#endregion
23
23
  export { sitespeakaiGetPrompts };
24
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,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-prompts.d.mts","names":[],"sources":["../../src/actions/get-prompts.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-prompts.ts
@@ -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.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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,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,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-prompts.mjs","names":[],"sources":["../../src/actions/get-prompts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sitespeakai } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing list of smart prompts for a chatbot.\");\n\nexport const sitespeakaiGetPrompts: AppAction<\n typeof SitespeakaiGetPromptsInput,\n typeof SitespeakaiGetPromptsOutput,\n typeof sitespeakai.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,kDAAkD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-user.ts
@@ -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.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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sitespeakai } from \"../app\";\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}).passthrough().describe(\"Response model for authenticated user details.\");\n\nexport const sitespeakaiGetUser: AppAction<\n typeof SitespeakaiGetUserInput,\n typeof SitespeakaiGetUserOutput,\n typeof sitespeakai.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sitespeakai } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-user.d.ts
@@ -16,7 +18,7 @@ declare const SitespeakaiGetUserOutput: z.ZodObject<{
16
18
  profile_photo_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  last_seen_changelog_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
18
20
  }, z.core.$loose>;
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]>;
21
+ declare const sitespeakaiGetUser: AppAction<typeof SitespeakaiGetUserInput, typeof SitespeakaiGetUserOutput, typeof sitespeakai.credential>;
20
22
  //#endregion
21
23
  export { sitespeakaiGetUser };
22
24
  //# 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,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
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAexB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sitespeakai } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-user.d.ts
@@ -16,7 +18,7 @@ declare const SitespeakaiGetUserOutput: z.ZodObject<{
16
18
  profile_photo_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  last_seen_changelog_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
18
20
  }, z.core.$loose>;
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]>;
21
+ declare const sitespeakaiGetUser: AppAction<typeof SitespeakaiGetUserInput, typeof SitespeakaiGetUserOutput, typeof sitespeakai.credential>;
20
22
  //#endregion
21
23
  export { sitespeakaiGetUser };
22
24
  //# 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,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
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAexB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sitespeakaiGetUser = action("SITESPEAKAI_GET_USER", {
@@ -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.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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sitespeakai } from \"../app\";\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}).passthrough().describe(\"Response model for authenticated user details.\");\n\nexport const sitespeakaiGetUser: AppAction<\n typeof SitespeakaiGetUserInput,\n typeof SitespeakaiGetUserOutput,\n typeof sitespeakai.credential\n> = 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":";;;AAsBA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAwBpD;CACP,QAxBsC,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,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-chatbots.ts
@@ -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.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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,8CAA8C,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sitespeakai } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model for listing chatbots.\");\n\nexport const sitespeakaiListChatbots: AppAction<\n typeof SitespeakaiListChatbotsInput,\n typeof SitespeakaiListChatbotsOutput,\n typeof sitespeakai.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,8CAA8C,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sitespeakai } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-chatbots.d.ts
@@ -12,7 +14,7 @@ declare const SitespeakaiListChatbotsOutput: z.ZodObject<{
12
14
  has_actions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
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]>;
17
+ declare const sitespeakaiListChatbots: AppAction<typeof SitespeakaiListChatbotsInput, typeof SitespeakaiListChatbotsOutput, typeof sitespeakai.credential>;
16
18
  //#endregion
17
19
  export { sitespeakaiListChatbots };
18
20
  //# 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,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
+ {"version":3,"file":"list-chatbots.d.cts","names":[],"sources":["../../src/actions/list-chatbots.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sitespeakai } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-chatbots.d.ts
@@ -12,7 +14,7 @@ declare const SitespeakaiListChatbotsOutput: z.ZodObject<{
12
14
  has_actions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
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]>;
17
+ declare const sitespeakaiListChatbots: AppAction<typeof SitespeakaiListChatbotsInput, typeof SitespeakaiListChatbotsOutput, typeof sitespeakai.credential>;
16
18
  //#endregion
17
19
  export { sitespeakaiListChatbots };
18
20
  //# 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,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
+ {"version":3,"file":"list-chatbots.d.mts","names":[],"sources":["../../src/actions/list-chatbots.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-chatbots.ts
@@ -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.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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,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,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-chatbots.mjs","names":[],"sources":["../../src/actions/list-chatbots.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sitespeakai } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model for listing chatbots.\");\n\nexport const sitespeakaiListChatbots: AppAction<\n typeof SitespeakaiListChatbotsInput,\n typeof SitespeakaiListChatbotsOutput,\n typeof sitespeakai.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,UAAU,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,8CAA8C,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const sitespeakai = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const sitespeakai = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "sitespeakai",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.sitespeakai = sitespeakai;
package/dist/app.cjs.map CHANGED
@@ -1 +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"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sitespeakai: KeystrokeApp<\"sitespeakai\", typeof credential> = defineApp({\n slug: \"sitespeakai\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,eAAA,GAAA,2BAAA,UAAA,CAAwE;CACnF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const sitespeakai: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const sitespeakai: KeystrokeApp<"sitespeakai", typeof credential>;
3
9
  //#endregion
4
10
  export { sitespeakai };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,WAAA,EAAa,YAAY,uBAAuB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const sitespeakai: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const sitespeakai: KeystrokeApp<"sitespeakai", typeof credential>;
3
9
  //#endregion
4
10
  export { sitespeakai };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,WAAA,EAAa,YAAY,uBAAuB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const sitespeakai = defineApp({
4
4
  slug: "sitespeakai",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { sitespeakai };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sitespeakai = defineApp({\n slug: \"sitespeakai\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,cAAc,UAAU;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sitespeakai: KeystrokeApp<\"sitespeakai\", typeof credential> = defineApp({\n slug: \"sitespeakai\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,cAA8D,UAAU;CACnF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
+ import { sitespeakai } from "./app.cjs";
1
2
  import { sitespeakaiGetLeads } from "./actions/get-leads.cjs";
2
3
  import { sitespeakaiGetPrompts } from "./actions/get-prompts.cjs";
3
4
  import { sitespeakaiGetUser } from "./actions/get-user.cjs";
4
5
  import { sitespeakaiListChatbots } from "./actions/list-chatbots.cjs";
5
- import { sitespeakai } from "./app.cjs";
6
6
  import { sitespeakaiCatalog } from "./catalog.cjs";
7
7
  export { sitespeakai, sitespeakaiCatalog, sitespeakaiGetLeads, sitespeakaiGetPrompts, sitespeakaiGetUser, sitespeakaiListChatbots };
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
+ import { sitespeakai } from "./app.mjs";
1
2
  import { sitespeakaiGetLeads } from "./actions/get-leads.mjs";
2
3
  import { sitespeakaiGetPrompts } from "./actions/get-prompts.mjs";
3
4
  import { sitespeakaiGetUser } from "./actions/get-user.mjs";
4
5
  import { sitespeakaiListChatbots } from "./actions/list-chatbots.mjs";
5
- import { sitespeakai } from "./app.mjs";
6
6
  import { sitespeakaiCatalog } from "./catalog.mjs";
7
7
  export { sitespeakai, sitespeakaiCatalog, sitespeakaiGetLeads, sitespeakaiGetPrompts, sitespeakaiGetUser, sitespeakaiListChatbots };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sitespeakai",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {