@keystrokehq/page_x 0.1.2 → 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.
|
@@ -12,7 +12,7 @@ const PageXCreateLeadInput = zod.z.object({
|
|
|
12
12
|
const PageXCreateLeadOutput = zod.z.object({
|
|
13
13
|
status: zod.z.string().describe("Response status ('success' or 'error').").nullable(),
|
|
14
14
|
message: zod.z.string().describe("Response message describing the result.").nullable()
|
|
15
|
-
}).describe("Response schema for creating a lead.");
|
|
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.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}).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,SAAS,sCAAsC;
|
|
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"}
|
|
@@ -12,7 +12,7 @@ declare const PageXCreateLeadInput: z.ZodObject<{
|
|
|
12
12
|
declare const PageXCreateLeadOutput: z.ZodObject<{
|
|
13
13
|
status: z.ZodNullable<z.ZodString>;
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const pageXCreateLead: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
more?: Record<string, unknown> | undefined;
|
|
18
18
|
name?: string | undefined;
|
|
@@ -12,7 +12,7 @@ declare const PageXCreateLeadInput: z.ZodObject<{
|
|
|
12
12
|
declare const PageXCreateLeadOutput: z.ZodObject<{
|
|
13
13
|
status: z.ZodNullable<z.ZodString>;
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const pageXCreateLead: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
more?: Record<string, unknown> | undefined;
|
|
18
18
|
name?: string | undefined;
|
|
@@ -15,7 +15,7 @@ const pageXCreateLead = action("PAGE_X_CREATE_LEAD", {
|
|
|
15
15
|
output: z.object({
|
|
16
16
|
status: z.string().describe("Response status ('success' or 'error').").nullable(),
|
|
17
17
|
message: z.string().describe("Response message describing the result.").nullable()
|
|
18
|
-
}).describe("Response schema for creating a lead.")
|
|
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.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}).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,SAAS,
|
|
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"}
|