@keystrokehq/page_x 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["pageX","executePageXTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pageX } from \"./app\";\nimport { executePageXTool } 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 pageX.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 executePageXTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,MAAM,OAAO;EAClB,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,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["pageX","executePageXTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { pageX } from \"./app\";\nimport { executePageXTool } 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 pageX.credential> {\n return pageX.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 executePageXTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAOA,YAAAA,MAAM,OAAO;EAClB,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,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pageX } from \"./app\";\nimport { executePageXTool } 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 pageX.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 executePageXTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;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 { pageX } from \"./app\";\nimport { executePageXTool } 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 pageX.credential> {\n return pageX.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 executePageXTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-lead.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-lead.cjs","names":["z","action"],"sources":["../../src/actions/create-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PageXCreateLeadInput = z.object({\n more: z.record(z.string(), z.unknown()).describe(\"Additional details about the lead.\").optional(),\n name: z.string().describe(\"Full name of the lead.\").optional(),\n plat: z.string().describe(\"Platform/lead source (e.g., facebook, instagram, x).\").optional(),\n email: z.string().describe(\"Email address of the lead.\").optional(),\n phone: z.string().describe(\"Phone number of the lead.\").optional(),\n customer_id: z.string().describe(\"Unique customer ID if exists.\").optional(),\n}).describe(\"Request schema for creating a lead in PageXCRM.\");\nexport const PageXCreateLeadOutput = z.object({\n status: z.string().describe(\"Response status ('success' or 'error').\").nullable(),\n message: z.string().describe(\"Response message describing the result.\").nullable(),\n}).passthrough().describe(\"Response schema for creating a lead.\");\n\nexport const pageXCreateLead = action(\"PAGE_X_CREATE_LEAD\", {\n slug: \"page_x-create-lead\",\n name: \"Create Lead\",\n description: \"Tool to create a lead in PageXCRM. Use when you need to send lead data from websites or other systems to PageXCRM.\",\n input: PageXCreateLeadInput,\n output: PageXCreateLeadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-lead.cjs","names":["z","action"],"sources":["../../src/actions/create-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pageX } from \"../app\";\n\nexport const PageXCreateLeadInput = z.object({\n more: z.record(z.string(), z.unknown()).describe(\"Additional details about the lead.\").optional(),\n name: z.string().describe(\"Full name of the lead.\").optional(),\n plat: z.string().describe(\"Platform/lead source (e.g., facebook, instagram, x).\").optional(),\n email: z.string().describe(\"Email address of the lead.\").optional(),\n phone: z.string().describe(\"Phone number of the lead.\").optional(),\n customer_id: z.string().describe(\"Unique customer ID if exists.\").optional(),\n}).describe(\"Request schema for creating a lead in PageXCRM.\");\nexport const PageXCreateLeadOutput = z.object({\n status: z.string().describe(\"Response status ('success' or 'error').\").nullable(),\n message: z.string().describe(\"Response message describing the result.\").nullable(),\n}).passthrough().describe(\"Response schema for creating a lead.\");\n\nexport const pageXCreateLead: AppAction<\n typeof PageXCreateLeadInput,\n typeof PageXCreateLeadOutput,\n typeof pageX.credential\n> = action(\"PAGE_X_CREATE_LEAD\", {\n slug: \"page_x-create-lead\",\n name: \"Create Lead\",\n description: \"Tool to create a lead in PageXCRM. Use when you need to send lead data from websites or other systems to PageXCRM.\",\n input: PageXCreateLeadInput,\n output: PageXCreateLeadOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,kBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pageX } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-lead.d.ts
@@ -13,26 +15,7 @@ declare const PageXCreateLeadOutput: z.ZodObject<{
13
15
  status: z.ZodNullable<z.ZodString>;
14
16
  message: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>;
16
- declare const pageXCreateLead: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- more?: Record<string, unknown> | undefined;
18
- name?: string | undefined;
19
- plat?: string | undefined;
20
- email?: string | undefined;
21
- phone?: string | undefined;
22
- customer_id?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"page_x", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"page_x", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
18
+ declare const pageXCreateLead: AppAction<typeof PageXCreateLeadInput, typeof PageXCreateLeadOutput, typeof pageX.credential>;
36
19
  //#endregion
37
20
  export { pageXCreateLead };
38
21
  //# sourceMappingURL=create-lead.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-lead.d.cts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"create-lead.d.cts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pageX } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-lead.d.ts
@@ -13,26 +15,7 @@ declare const PageXCreateLeadOutput: z.ZodObject<{
13
15
  status: z.ZodNullable<z.ZodString>;
14
16
  message: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>;
16
- declare const pageXCreateLead: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- more?: Record<string, unknown> | undefined;
18
- name?: string | undefined;
19
- plat?: string | undefined;
20
- email?: string | undefined;
21
- phone?: string | undefined;
22
- customer_id?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"page_x", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"page_x", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
18
+ declare const pageXCreateLead: AppAction<typeof PageXCreateLeadInput, typeof PageXCreateLeadOutput, typeof pageX.credential>;
36
19
  //#endregion
37
20
  export { pageXCreateLead };
38
21
  //# sourceMappingURL=create-lead.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-lead.d.mts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"create-lead.d.mts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,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 pageXCreateLead = action("PAGE_X_CREATE_LEAD", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-lead.mjs","names":[],"sources":["../../src/actions/create-lead.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PageXCreateLeadInput = z.object({\n more: z.record(z.string(), z.unknown()).describe(\"Additional details about the lead.\").optional(),\n name: z.string().describe(\"Full name of the lead.\").optional(),\n plat: z.string().describe(\"Platform/lead source (e.g., facebook, instagram, x).\").optional(),\n email: z.string().describe(\"Email address of the lead.\").optional(),\n phone: z.string().describe(\"Phone number of the lead.\").optional(),\n customer_id: z.string().describe(\"Unique customer ID if exists.\").optional(),\n}).describe(\"Request schema for creating a lead in PageXCRM.\");\nexport const PageXCreateLeadOutput = z.object({\n status: z.string().describe(\"Response status ('success' or 'error').\").nullable(),\n message: z.string().describe(\"Response message describing the result.\").nullable(),\n}).passthrough().describe(\"Response schema for creating a lead.\");\n\nexport const pageXCreateLead = action(\"PAGE_X_CREATE_LEAD\", {\n slug: \"page_x-create-lead\",\n name: \"Create Lead\",\n description: \"Tool to create a lead in PageXCRM. Use when you need to send lead data from websites or other systems to PageXCRM.\",\n input: PageXCreateLeadInput,\n output: PageXCreateLeadOutput,\n});\n"],"mappings":";;AAiBA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,iDAUH;CACP,QAVmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-lead.mjs","names":[],"sources":["../../src/actions/create-lead.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pageX } from \"../app\";\n\nexport const PageXCreateLeadInput = z.object({\n more: z.record(z.string(), z.unknown()).describe(\"Additional details about the lead.\").optional(),\n name: z.string().describe(\"Full name of the lead.\").optional(),\n plat: z.string().describe(\"Platform/lead source (e.g., facebook, instagram, x).\").optional(),\n email: z.string().describe(\"Email address of the lead.\").optional(),\n phone: z.string().describe(\"Phone number of the lead.\").optional(),\n customer_id: z.string().describe(\"Unique customer ID if exists.\").optional(),\n}).describe(\"Request schema for creating a lead in PageXCRM.\");\nexport const PageXCreateLeadOutput = z.object({\n status: z.string().describe(\"Response status ('success' or 'error').\").nullable(),\n message: z.string().describe(\"Response message describing the result.\").nullable(),\n}).passthrough().describe(\"Response schema for creating a lead.\");\n\nexport const pageXCreateLead: AppAction<\n typeof PageXCreateLeadInput,\n typeof PageXCreateLeadOutput,\n typeof pageX.credential\n> = action(\"PAGE_X_CREATE_LEAD\", {\n slug: \"page_x-create-lead\",\n name: \"Create Lead\",\n description: \"Tool to create a lead in PageXCRM. Use when you need to send lead data from websites or other systems to PageXCRM.\",\n input: PageXCreateLeadInput,\n output: PageXCreateLeadOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,kBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,iDAcH;CACP,QAdmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const pageX = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "page_x",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.pageX = pageX;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const pageX = defineApp({\n slug: \"page_x\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const pageX: KeystrokeApp<\"page_x\", typeof credential> = defineApp({\n slug: \"page_x\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAA6D;CACxE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const pageX: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"page_x", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const pageX: KeystrokeApp<"page_x", typeof credential>;
11
9
  //#endregion
12
10
  export { pageX };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,kBAAkB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const pageX: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"page_x", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const pageX: KeystrokeApp<"page_x", typeof credential>;
11
9
  //#endregion
12
10
  export { pageX };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,kBAAkB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const pageX = defineApp({
5
4
  slug: "page_x",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const pageX = defineApp({\n slug: \"page_x\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const pageX: KeystrokeApp<\"page_x\", typeof credential> = defineApp({\n slug: \"page_x\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,QAAmD,UAAU;CACxE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { pageXCreateLead } from "./actions/create-lead.cjs";
2
1
  import { pageX } from "./app.cjs";
2
+ import { pageXCreateLead } from "./actions/create-lead.cjs";
3
3
  import { pageXCatalog } from "./catalog.cjs";
4
4
  export { pageX, pageXCatalog, pageXCreateLead };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { pageXCreateLead } from "./actions/create-lead.mjs";
2
1
  import { pageX } from "./app.mjs";
2
+ import { pageXCreateLead } from "./actions/create-lead.mjs";
3
3
  import { pageXCatalog } from "./catalog.mjs";
4
4
  export { pageX, pageXCatalog, pageXCreateLead };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/page_x",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {