@keystrokehq/page_x 0.1.0 → 0.1.3

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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return 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":";;;;;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 { 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 +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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return 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":";;;;;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 { 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"}
@@ -10,9 +10,9 @@ const PageXCreateLeadInput = zod.z.object({
10
10
  customer_id: zod.z.string().describe("Unique customer ID if exists.").optional()
11
11
  }).describe("Request schema for creating a lead in PageXCRM.");
12
12
  const PageXCreateLeadOutput = zod.z.object({
13
- status: zod.z.string().describe("Response status ('success' or 'error')."),
14
- message: zod.z.string().describe("Response message describing the result.")
15
- }).describe("Response schema for creating a lead.");
13
+ status: zod.z.string().describe("Response status ('success' or 'error').").nullable(),
14
+ message: zod.z.string().describe("Response message describing the result.").nullable()
15
+ }).passthrough().describe("Response schema for creating a lead.");
16
16
  const pageXCreateLead = require_action.action("PAGE_X_CREATE_LEAD", {
17
17
  slug: "page_x-create-lead",
18
18
  name: "Create Lead",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n status: z.string().describe(\"Response status ('success' or 'error').\"),\n message: z.string().describe(\"Response message describing the result.\"),\n}).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,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,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,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AACxE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,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 { 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,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-lead.d.ts
4
- declare const PageXCreateLeadInput: z.ZodTypeAny;
5
- declare const PageXCreateLeadOutput: z.ZodTypeAny;
6
- declare const pageXCreateLead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PageXCreateLeadInput: z.ZodObject<{
5
+ more: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ plat: z.ZodOptional<z.ZodString>;
8
+ email: z.ZodOptional<z.ZodString>;
9
+ phone: z.ZodOptional<z.ZodString>;
10
+ customer_id: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const PageXCreateLeadOutput: z.ZodObject<{
13
+ status: z.ZodNullable<z.ZodString>;
14
+ message: z.ZodNullable<z.ZodString>;
15
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { pageXCreateLead };
9
26
  //# 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,EAAsB,CAAA,CAAE,UAOyB;AAAA,cACjD,qBAAA,EAAuB,CAAA,CAAE,UAGa;AAAA,cAEtC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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;SAM1B,MAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-lead.d.ts
4
- declare const PageXCreateLeadInput: z.ZodTypeAny;
5
- declare const PageXCreateLeadOutput: z.ZodTypeAny;
6
- declare const pageXCreateLead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PageXCreateLeadInput: z.ZodObject<{
5
+ more: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ plat: z.ZodOptional<z.ZodString>;
8
+ email: z.ZodOptional<z.ZodString>;
9
+ phone: z.ZodOptional<z.ZodString>;
10
+ customer_id: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const PageXCreateLeadOutput: z.ZodObject<{
13
+ status: z.ZodNullable<z.ZodString>;
14
+ message: z.ZodNullable<z.ZodString>;
15
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { pageXCreateLead };
9
26
  //# 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,EAAsB,CAAA,CAAE,UAOyB;AAAA,cACjD,qBAAA,EAAuB,CAAA,CAAE,UAGa;AAAA,cAEtC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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;SAM1B,MAAA"}
@@ -13,9 +13,9 @@ const pageXCreateLead = action("PAGE_X_CREATE_LEAD", {
13
13
  customer_id: z.string().describe("Unique customer ID if exists.").optional()
14
14
  }).describe("Request schema for creating a lead in PageXCRM."),
15
15
  output: z.object({
16
- status: z.string().describe("Response status ('success' or 'error')."),
17
- message: z.string().describe("Response message describing the result.")
18
- }).describe("Response schema for creating a lead.")
16
+ status: z.string().describe("Response status ('success' or 'error').").nullable(),
17
+ message: z.string().describe("Response message describing the result.").nullable()
18
+ }).passthrough().describe("Response schema for creating a lead.")
19
19
  });
20
20
  //#endregion
21
21
  export { pageXCreateLead };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n status: z.string().describe(\"Response status ('success' or 'error').\"),\n message: z.string().describe(\"Response message describing the result.\"),\n}).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,OAjBgD,EAAE,OAAO;EACzD,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,QAViD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACxE,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
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"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const pageXCatalog = {
7
7
  "category": "CRM",
8
8
  "logo": "https://logos.composio.dev/api/page_x",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.pageXCatalog = pageXCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pageXCatalog = {\n \"slug\": \"page_x\",\n \"name\": \"Page X\",\n \"description\": \"PageX is an all-in-one platform combining CRM, page builder, and online course builder to help businesses manage leads, build websites, and create courses.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/page_x\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pageXCatalog = {\n \"slug\": \"page_x\",\n \"name\": \"Page X\",\n \"description\": \"PageX is an all-in-one platform combining CRM, page builder, and online course builder to help businesses manage leads, build websites, and create courses.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/page_x\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const pageXCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/page_x";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { pageXCatalog };
@@ -8,6 +8,14 @@ declare const pageXCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/page_x";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { pageXCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const pageXCatalog = {
7
7
  "category": "CRM",
8
8
  "logo": "https://logos.composio.dev/api/page_x",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { pageXCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pageXCatalog = {\n \"slug\": \"page_x\",\n \"name\": \"Page X\",\n \"description\": \"PageX is an all-in-one platform combining CRM, page builder, and online course builder to help businesses manage leads, build websites, and create courses.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/page_x\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pageXCatalog = {\n \"slug\": \"page_x\",\n \"name\": \"Page X\",\n \"description\": \"PageX is an all-in-one platform combining CRM, page builder, and online course builder to help businesses manage leads, build websites, and create courses.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/page_x\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/page_x",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {