@keystrokehq/piloterr 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/auchan-product.cjs +3 -3
- package/dist/actions/auchan-product.cjs.map +1 -1
- package/dist/actions/auchan-product.d.cts +21 -3
- package/dist/actions/auchan-product.d.cts.map +1 -1
- package/dist/actions/auchan-product.d.mts +21 -3
- package/dist/actions/auchan-product.d.mts.map +1 -1
- package/dist/actions/auchan-product.mjs +3 -3
- package/dist/actions/auchan-product.mjs.map +1 -1
- package/dist/actions/auchan-search.cjs +5 -5
- package/dist/actions/auchan-search.cjs.map +1 -1
- package/dist/actions/auchan-search.d.cts +26 -3
- package/dist/actions/auchan-search.d.cts.map +1 -1
- package/dist/actions/auchan-search.d.mts +26 -3
- package/dist/actions/auchan-search.d.mts.map +1 -1
- package/dist/actions/auchan-search.mjs +5 -5
- package/dist/actions/auchan-search.mjs.map +1 -1
- package/dist/actions/get-product-info.cjs.map +1 -1
- package/dist/actions/get-product-info.d.cts +67 -3
- package/dist/actions/get-product-info.d.cts.map +1 -1
- package/dist/actions/get-product-info.d.mts +67 -3
- package/dist/actions/get-product-info.d.mts.map +1 -1
- package/dist/actions/get-product-info.mjs.map +1 -1
- package/dist/actions/list-chewy-products.cjs.map +1 -1
- package/dist/actions/list-chewy-products.d.cts +14 -3
- package/dist/actions/list-chewy-products.d.cts.map +1 -1
- package/dist/actions/list-chewy-products.d.mts +14 -3
- package/dist/actions/list-chewy-products.d.mts.map +1 -1
- package/dist/actions/list-chewy-products.mjs.map +1 -1
- package/dist/actions/list-eleclerc-stores.cjs.map +1 -1
- package/dist/actions/list-eleclerc-stores.d.cts +83 -3
- package/dist/actions/list-eleclerc-stores.d.cts.map +1 -1
- package/dist/actions/list-eleclerc-stores.d.mts +83 -3
- package/dist/actions/list-eleclerc-stores.d.mts.map +1 -1
- package/dist/actions/list-eleclerc-stores.mjs.map +1 -1
- package/dist/actions/list-google-countries.cjs +2 -2
- package/dist/actions/list-google-countries.cjs.map +1 -1
- package/dist/actions/list-google-countries.d.cts +12 -3
- package/dist/actions/list-google-countries.d.cts.map +1 -1
- package/dist/actions/list-google-countries.d.mts +12 -3
- package/dist/actions/list-google-countries.d.mts.map +1 -1
- package/dist/actions/list-google-countries.mjs +2 -2
- package/dist/actions/list-google-countries.mjs.map +1 -1
- package/dist/actions/list-google-languages.cjs +2 -2
- package/dist/actions/list-google-languages.cjs.map +1 -1
- package/dist/actions/list-google-languages.d.cts +12 -3
- package/dist/actions/list-google-languages.d.cts.map +1 -1
- package/dist/actions/list-google-languages.d.mts +12 -3
- package/dist/actions/list-google-languages.d.mts.map +1 -1
- package/dist/actions/list-google-languages.mjs +2 -2
- package/dist/actions/list-google-languages.mjs.map +1 -1
- package/dist/actions/list-google-locations.cjs.map +1 -1
- package/dist/actions/list-google-locations.d.cts +19 -3
- package/dist/actions/list-google-locations.d.cts.map +1 -1
- package/dist/actions/list-google-locations.d.mts +19 -3
- package/dist/actions/list-google-locations.d.mts.map +1 -1
- package/dist/actions/list-google-locations.mjs.map +1 -1
- package/dist/actions/list-leroy-merlin-products.cjs +4 -4
- package/dist/actions/list-leroy-merlin-products.cjs.map +1 -1
- package/dist/actions/list-leroy-merlin-products.d.cts +14 -3
- package/dist/actions/list-leroy-merlin-products.d.cts.map +1 -1
- package/dist/actions/list-leroy-merlin-products.d.mts +14 -3
- package/dist/actions/list-leroy-merlin-products.d.mts.map +1 -1
- package/dist/actions/list-leroy-merlin-products.mjs +4 -4
- package/dist/actions/list-leroy-merlin-products.mjs.map +1 -1
- package/dist/actions/list-linked-in-industries.cjs.map +1 -1
- package/dist/actions/list-linked-in-industries.d.cts +16 -3
- package/dist/actions/list-linked-in-industries.d.cts.map +1 -1
- package/dist/actions/list-linked-in-industries.d.mts +16 -3
- package/dist/actions/list-linked-in-industries.d.mts.map +1 -1
- package/dist/actions/list-linked-in-industries.mjs.map +1 -1
- package/dist/actions/search.cjs.map +1 -1
- package/dist/actions/search.d.cts +53 -3
- package/dist/actions/search.d.cts.map +1 -1
- package/dist/actions/search.d.mts +53 -3
- package/dist/actions/search.d.mts.map +1 -1
- package/dist/actions/search.mjs.map +1 -1
- package/dist/actions/usage-get.cjs +2 -2
- package/dist/actions/usage-get.cjs.map +1 -1
- package/dist/actions/usage-get.d.cts +7 -3
- package/dist/actions/usage-get.d.cts.map +1 -1
- package/dist/actions/usage-get.d.mts +7 -3
- package/dist/actions/usage-get.d.mts.map +1 -1
- package/dist/actions/usage-get.mjs +2 -2
- package/dist/actions/usage-get.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["piloterr","executePiloterrTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { piloterr } from \"./app\";\nimport { executePiloterrTool } 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:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["piloterr","executePiloterrTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { piloterr } from \"./app\";\nimport { executePiloterrTool } 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 piloterr.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 executePiloterrTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,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,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { piloterr } from \"./app\";\nimport { executePiloterrTool } 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:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { piloterr } from \"./app\";\nimport { executePiloterrTool } 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 piloterr.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 executePiloterrTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -7,11 +7,11 @@ const PiloterrAuchanProduct_ReviewsDetailsSchema = zod.z.object({
|
|
|
7
7
|
rating_distribution: zod.z.object({}).describe("Distribution of ratings (1-5 stars).").nullable().optional()
|
|
8
8
|
}).describe("Customer reviews details.");
|
|
9
9
|
const PiloterrAuchanProductOutput = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Product unique identifier."),
|
|
11
|
-
url: zod.z.string().describe("Auchan product page URL."),
|
|
10
|
+
id: zod.z.string().describe("Product unique identifier.").nullable(),
|
|
11
|
+
url: zod.z.string().describe("Auchan product page URL.").nullable(),
|
|
12
12
|
brand: zod.z.string().describe("Brand of the product.").nullable().optional(),
|
|
13
13
|
image: zod.z.string().describe("Product image URL.").nullable().optional(),
|
|
14
|
-
title: zod.z.string().describe("Name/title of the product."),
|
|
14
|
+
title: zod.z.string().describe("Name/title of the product.").nullable(),
|
|
15
15
|
rating: zod.z.number().describe("Product rating score.").nullable().optional(),
|
|
16
16
|
features: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Product features including description, nutritional values, etc.").nullable().optional(),
|
|
17
17
|
attributes: zod.z.array(zod.z.string()).describe("Product attributes like size/quantity.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auchan-product.cjs","names":["z","action"],"sources":["../../src/actions/auchan-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrAuchanProductInput
|
|
1
|
+
{"version":3,"file":"auchan-product.cjs","names":["z","action"],"sources":["../../src/actions/auchan-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrAuchanProductInput = z.object({\n query: z.string().describe(\"The Auchan product URL to extract detailed data for.\"),\n}).describe(\"Request model for retrieving Auchan product details.\");\nconst PiloterrAuchanProduct_ReviewsDetailsSchema = z.object({\n average_rating: z.number().describe(\"Average rating score.\").nullable().optional(),\n rating_distribution: z.object({}).describe(\"Distribution of ratings (1-5 stars).\").nullable().optional(),\n}).describe(\"Customer reviews details.\");\nexport const PiloterrAuchanProductOutput = z.object({\n id: z.string().describe(\"Product unique identifier.\").nullable(),\n url: z.string().describe(\"Auchan product page URL.\").nullable(),\n brand: z.string().describe(\"Brand of the product.\").nullable().optional(),\n image: z.string().describe(\"Product image URL.\").nullable().optional(),\n title: z.string().describe(\"Name/title of the product.\").nullable(),\n rating: z.number().describe(\"Product rating score.\").nullable().optional(),\n features: z.record(z.string(), z.unknown()).describe(\"Product features including description, nutritional values, etc.\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Product attributes like size/quantity.\").nullable().optional(),\n reviews_count: z.number().int().describe(\"Number of customer reviews.\").nullable().optional(),\n reviews_details: PiloterrAuchanProduct_ReviewsDetailsSchema.nullable().optional(),\n}).describe(\"Detailed Auchan product information.\");\n\nexport const piloterrAuchanProduct = action(\"PILOTERR_AUCHAN_PRODUCT\", {\n slug: \"piloterr-auchan-product\",\n name: \"Auchan Product\",\n description: \"Tool to retrieve detailed Auchan product information. Use when you have an Auchan product URL.\",\n input: PiloterrAuchanProductInput,\n output: PiloterrAuchanProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACnF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,8BAA8BA,IAAAA,EAAE,OAA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Input: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PiloterrAuchanProductInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PiloterrAuchanProductOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
url: z.ZodNullable<z.ZodString>;
|
|
10
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
title: z.ZodNullable<z.ZodString>;
|
|
13
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
features: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
reviews_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
reviews_details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
average_rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
rating_distribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const piloterrAuchanProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
query: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { piloterrAuchanProduct };
|
|
9
27
|
//# sourceMappingURL=auchan-product.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auchan-product.d.cts","names":[],"sources":["../../src/actions/auchan-product.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"auchan-product.d.cts","names":[],"sources":["../../src/actions/auchan-product.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/auchan-product.d.ts
|
|
4
|
-
declare const PiloterrAuchanProductInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PiloterrAuchanProductInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PiloterrAuchanProductOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
url: z.ZodNullable<z.ZodString>;
|
|
10
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
title: z.ZodNullable<z.ZodString>;
|
|
13
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
features: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
reviews_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
reviews_details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
average_rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
rating_distribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const piloterrAuchanProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
query: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { piloterrAuchanProduct };
|
|
9
27
|
//# sourceMappingURL=auchan-product.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auchan-product.d.mts","names":[],"sources":["../../src/actions/auchan-product.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"auchan-product.d.mts","names":[],"sources":["../../src/actions/auchan-product.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -12,11 +12,11 @@ const piloterrAuchanProduct = action("PILOTERR_AUCHAN_PRODUCT", {
|
|
|
12
12
|
description: "Tool to retrieve detailed Auchan product information. Use when you have an Auchan product URL.",
|
|
13
13
|
input: PiloterrAuchanProductInput,
|
|
14
14
|
output: z.object({
|
|
15
|
-
id: z.string().describe("Product unique identifier."),
|
|
16
|
-
url: z.string().describe("Auchan product page URL."),
|
|
15
|
+
id: z.string().describe("Product unique identifier.").nullable(),
|
|
16
|
+
url: z.string().describe("Auchan product page URL.").nullable(),
|
|
17
17
|
brand: z.string().describe("Brand of the product.").nullable().optional(),
|
|
18
18
|
image: z.string().describe("Product image URL.").nullable().optional(),
|
|
19
|
-
title: z.string().describe("Name/title of the product."),
|
|
19
|
+
title: z.string().describe("Name/title of the product.").nullable(),
|
|
20
20
|
rating: z.number().describe("Product rating score.").nullable().optional(),
|
|
21
21
|
features: z.record(z.string(), z.unknown()).describe("Product features including description, nutritional values, etc.").nullable().optional(),
|
|
22
22
|
attributes: z.array(z.string()).describe("Product attributes like size/quantity.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auchan-product.mjs","names":[],"sources":["../../src/actions/auchan-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrAuchanProductInput
|
|
1
|
+
{"version":3,"file":"auchan-product.mjs","names":[],"sources":["../../src/actions/auchan-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrAuchanProductInput = z.object({\n query: z.string().describe(\"The Auchan product URL to extract detailed data for.\"),\n}).describe(\"Request model for retrieving Auchan product details.\");\nconst PiloterrAuchanProduct_ReviewsDetailsSchema = z.object({\n average_rating: z.number().describe(\"Average rating score.\").nullable().optional(),\n rating_distribution: z.object({}).describe(\"Distribution of ratings (1-5 stars).\").nullable().optional(),\n}).describe(\"Customer reviews details.\");\nexport const PiloterrAuchanProductOutput = z.object({\n id: z.string().describe(\"Product unique identifier.\").nullable(),\n url: z.string().describe(\"Auchan product page URL.\").nullable(),\n brand: z.string().describe(\"Brand of the product.\").nullable().optional(),\n image: z.string().describe(\"Product image URL.\").nullable().optional(),\n title: z.string().describe(\"Name/title of the product.\").nullable(),\n rating: z.number().describe(\"Product rating score.\").nullable().optional(),\n features: z.record(z.string(), z.unknown()).describe(\"Product features including description, nutritional values, etc.\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Product attributes like size/quantity.\").nullable().optional(),\n reviews_count: z.number().int().describe(\"Number of customer reviews.\").nullable().optional(),\n reviews_details: PiloterrAuchanProduct_ReviewsDetailsSchema.nullable().optional(),\n}).describe(\"Detailed Auchan product information.\");\n\nexport const piloterrAuchanProduct = action(\"PILOTERR_AUCHAN_PRODUCT\", {\n slug: \"piloterr-auchan-product\",\n name: \"Auchan Product\",\n description: \"Tool to retrieve detailed Auchan product information. Use when you have an Auchan product URL.\",\n input: PiloterrAuchanProductInput,\n output: PiloterrAuchanProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD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AAS,CAAC,CAAC,SAAS;EAC5F,iBAAiB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -6,20 +6,20 @@ const PiloterrAuchanSearchInput = zod.z.object({
|
|
|
6
6
|
query: zod.z.string().describe("Product search term or full Auchan search URL.")
|
|
7
7
|
}).describe("Request model for searching products on Auchan.");
|
|
8
8
|
const PiloterrAuchanSearch_AuchanProductSchema = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("Product ID (UUID)."),
|
|
10
|
-
url: zod.z.string().describe("Product detail page URL."),
|
|
9
|
+
id: zod.z.string().describe("Product ID (UUID).").nullable(),
|
|
10
|
+
url: zod.z.string().describe("Product detail page URL.").nullable(),
|
|
11
11
|
brand: zod.z.string().describe("Brand name of the product.").nullable().optional(),
|
|
12
12
|
image: zod.z.string().describe("Image URL of the product.").nullable().optional(),
|
|
13
|
-
title: zod.z.string().describe("Title/Name of the product."),
|
|
13
|
+
title: zod.z.string().describe("Title/Name of the product.").nullable(),
|
|
14
14
|
rating: zod.z.number().describe("Product rating.").nullable().optional(),
|
|
15
15
|
attributes: zod.z.array(zod.z.string()).describe("Product attributes (e.g. size, quantity).").nullable().optional(),
|
|
16
16
|
reviews_count: zod.z.number().int().describe("Number of reviews.").nullable().optional()
|
|
17
17
|
}).describe("Single product result from Auchan search.");
|
|
18
18
|
const PiloterrAuchanSearch_AuchanPaginationSchema = zod.z.object({
|
|
19
19
|
next: zod.z.number().int().describe("Next page number.").nullable().optional(),
|
|
20
|
-
current: zod.z.number().int().describe("Current page number."),
|
|
20
|
+
current: zod.z.number().int().describe("Current page number.").nullable(),
|
|
21
21
|
other_pages: zod.z.array(zod.z.number().int()).describe("Other available page numbers.").nullable().optional(),
|
|
22
|
-
has_next_page: zod.z.boolean().describe("Whether there are more pages.")
|
|
22
|
+
has_next_page: zod.z.boolean().describe("Whether there are more pages.").nullable()
|
|
23
23
|
}).describe("Pagination info for Auchan search results.");
|
|
24
24
|
const PiloterrAuchanSearchOutput = zod.z.object({
|
|
25
25
|
results: zod.z.array(PiloterrAuchanSearch_AuchanProductSchema).describe("List of product results found.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auchan-search.cjs","names":["z","action"],"sources":["../../src/actions/auchan-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrAuchanSearchInput
|
|
1
|
+
{"version":3,"file":"auchan-search.cjs","names":["z","action"],"sources":["../../src/actions/auchan-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrAuchanSearchInput = z.object({\n page: z.number().int().default(1).describe(\"Results page number (>=1).\").optional(),\n query: z.string().describe(\"Product search term or full Auchan search URL.\"),\n}).describe(\"Request model for searching products on Auchan.\");\nconst PiloterrAuchanSearch_AuchanProductSchema = z.object({\n id: z.string().describe(\"Product ID (UUID).\").nullable(),\n url: z.string().describe(\"Product detail page URL.\").nullable(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n image: z.string().describe(\"Image URL of the product.\").nullable().optional(),\n title: z.string().describe(\"Title/Name of the product.\").nullable(),\n rating: z.number().describe(\"Product rating.\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Product attributes (e.g. size, quantity).\").nullable().optional(),\n reviews_count: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n}).describe(\"Single product result from Auchan search.\");\nconst PiloterrAuchanSearch_AuchanPaginationSchema = z.object({\n next: z.number().int().describe(\"Next page number.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable(),\n other_pages: z.array(z.number().int()).describe(\"Other available page numbers.\").nullable().optional(),\n has_next_page: z.boolean().describe(\"Whether there are more pages.\").nullable(),\n}).describe(\"Pagination info for Auchan search results.\");\nexport const PiloterrAuchanSearchOutput = z.object({\n results: z.array(PiloterrAuchanSearch_AuchanProductSchema).describe(\"List of product results found.\").nullable().optional(),\n pagination: PiloterrAuchanSearch_AuchanPaginationSchema.nullable(),\n}).describe(\"Response model for Auchan product search.\");\n\nexport const piloterrAuchanSearch = action(\"PILOTERR_AUCHAN_SEARCH\", {\n slug: \"piloterr-auchan-search\",\n name: \"Auchan Product Search\",\n description: \"Tool to search for products on Auchan by query or search URL. Use when you need product listings and details from Auchan.\",\n input: PiloterrAuchanSearchInput,\n output: PiloterrAuchanSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AAC7E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACpE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,YAAY,4CAA4C,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/auchan-search.d.ts
|
|
4
|
-
declare const PiloterrAuchanSearchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PiloterrAuchanSearchInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
query: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PiloterrAuchanSearchOutput: z.ZodObject<{
|
|
9
|
+
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
url: z.ZodNullable<z.ZodString>;
|
|
12
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
title: z.ZodNullable<z.ZodString>;
|
|
15
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
|
+
reviews_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$strip>>>>;
|
|
19
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
20
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
other_pages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
23
|
+
has_next_page: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const piloterrAuchanSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
query: string;
|
|
28
|
+
page?: number | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { piloterrAuchanSearch };
|
|
9
32
|
//# sourceMappingURL=auchan-search.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auchan-search.d.cts","names":[],"sources":["../../src/actions/auchan-search.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"auchan-search.d.cts","names":[],"sources":["../../src/actions/auchan-search.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/auchan-search.d.ts
|
|
4
|
-
declare const PiloterrAuchanSearchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PiloterrAuchanSearchInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
query: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PiloterrAuchanSearchOutput: z.ZodObject<{
|
|
9
|
+
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
url: z.ZodNullable<z.ZodString>;
|
|
12
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
title: z.ZodNullable<z.ZodString>;
|
|
15
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
|
+
reviews_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$strip>>>>;
|
|
19
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
20
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
current: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
other_pages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
23
|
+
has_next_page: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const piloterrAuchanSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
query: string;
|
|
28
|
+
page?: number | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { piloterrAuchanSearch };
|
|
9
32
|
//# sourceMappingURL=auchan-search.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auchan-search.d.mts","names":[],"sources":["../../src/actions/auchan-search.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"auchan-search.d.mts","names":[],"sources":["../../src/actions/auchan-search.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -6,20 +6,20 @@ const PiloterrAuchanSearchInput = z.object({
|
|
|
6
6
|
query: z.string().describe("Product search term or full Auchan search URL.")
|
|
7
7
|
}).describe("Request model for searching products on Auchan.");
|
|
8
8
|
const PiloterrAuchanSearch_AuchanProductSchema = z.object({
|
|
9
|
-
id: z.string().describe("Product ID (UUID)."),
|
|
10
|
-
url: z.string().describe("Product detail page URL."),
|
|
9
|
+
id: z.string().describe("Product ID (UUID).").nullable(),
|
|
10
|
+
url: z.string().describe("Product detail page URL.").nullable(),
|
|
11
11
|
brand: z.string().describe("Brand name of the product.").nullable().optional(),
|
|
12
12
|
image: z.string().describe("Image URL of the product.").nullable().optional(),
|
|
13
|
-
title: z.string().describe("Title/Name of the product."),
|
|
13
|
+
title: z.string().describe("Title/Name of the product.").nullable(),
|
|
14
14
|
rating: z.number().describe("Product rating.").nullable().optional(),
|
|
15
15
|
attributes: z.array(z.string()).describe("Product attributes (e.g. size, quantity).").nullable().optional(),
|
|
16
16
|
reviews_count: z.number().int().describe("Number of reviews.").nullable().optional()
|
|
17
17
|
}).describe("Single product result from Auchan search.");
|
|
18
18
|
const PiloterrAuchanSearch_AuchanPaginationSchema = z.object({
|
|
19
19
|
next: z.number().int().describe("Next page number.").nullable().optional(),
|
|
20
|
-
current: z.number().int().describe("Current page number."),
|
|
20
|
+
current: z.number().int().describe("Current page number.").nullable(),
|
|
21
21
|
other_pages: z.array(z.number().int()).describe("Other available page numbers.").nullable().optional(),
|
|
22
|
-
has_next_page: z.boolean().describe("Whether there are more pages.")
|
|
22
|
+
has_next_page: z.boolean().describe("Whether there are more pages.").nullable()
|
|
23
23
|
}).describe("Pagination info for Auchan search results.");
|
|
24
24
|
const piloterrAuchanSearch = action("PILOTERR_AUCHAN_SEARCH", {
|
|
25
25
|
slug: "piloterr-auchan-search",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auchan-search.mjs","names":[],"sources":["../../src/actions/auchan-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrAuchanSearchInput
|
|
1
|
+
{"version":3,"file":"auchan-search.mjs","names":[],"sources":["../../src/actions/auchan-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrAuchanSearchInput = z.object({\n page: z.number().int().default(1).describe(\"Results page number (>=1).\").optional(),\n query: z.string().describe(\"Product search term or full Auchan search URL.\"),\n}).describe(\"Request model for searching products on Auchan.\");\nconst PiloterrAuchanSearch_AuchanProductSchema = z.object({\n id: z.string().describe(\"Product ID (UUID).\").nullable(),\n url: z.string().describe(\"Product detail page URL.\").nullable(),\n brand: z.string().describe(\"Brand name of the product.\").nullable().optional(),\n image: z.string().describe(\"Image URL of the product.\").nullable().optional(),\n title: z.string().describe(\"Title/Name of the product.\").nullable(),\n rating: z.number().describe(\"Product rating.\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Product attributes (e.g. size, quantity).\").nullable().optional(),\n reviews_count: z.number().int().describe(\"Number of reviews.\").nullable().optional(),\n}).describe(\"Single product result from Auchan search.\");\nconst PiloterrAuchanSearch_AuchanPaginationSchema = z.object({\n next: z.number().int().describe(\"Next page number.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable(),\n other_pages: z.array(z.number().int()).describe(\"Other available page numbers.\").nullable().optional(),\n has_next_page: z.boolean().describe(\"Whether there are more pages.\").nullable(),\n}).describe(\"Pagination info for Auchan search results.\");\nexport const PiloterrAuchanSearchOutput = z.object({\n results: z.array(PiloterrAuchanSearch_AuchanProductSchema).describe(\"List of product results found.\").nullable().optional(),\n pagination: PiloterrAuchanSearch_AuchanPaginationSchema.nullable(),\n}).describe(\"Response model for Auchan product search.\");\n\nexport const piloterrAuchanSearch = action(\"PILOTERR_AUCHAN_SEARCH\", {\n slug: \"piloterr-auchan-search\",\n name: \"Auchan Product Search\",\n description: \"Tool to search for products on Auchan by query or search URL. Use when you need product listings and details from Auchan.\",\n input: PiloterrAuchanSearchInput,\n output: PiloterrAuchanSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AAC7E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO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4C,SAAS;CACnE,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-product-info.cjs","names":["z","action"],"sources":["../../src/actions/get-product-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrGetProductInfoInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"A G2 product search query (product name or G2 URL).\"),\n nps_score: z.number().int().describe(\"Optional NPS score to filter reviews by.\").optional(),\n}).describe(\"Request model for retrieving detailed product information from G2.\");\nconst PiloterrGetProductInfo_ReviewSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Review date.\").nullable().optional(),\n title: z.string().describe(\"Review title.\").nullable().optional(),\n rating: z.number().describe(\"Review rating.\").nullable().optional(),\n content: z.string().describe(\"Review content.\").nullable().optional(),\n reviewer: z.string().describe(\"Reviewer name.\").nullable().optional(),\n}).describe(\"Product review details.\");\nconst PiloterrGetProductInfo_BreadcrumbSchema: z.ZodTypeAny = z.object({\n url: z.string().default(\"\").describe(\"Breadcrumb URL.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Breadcrumb name.\").nullable().optional(),\n position: z.number().int().default(0).describe(\"Position in breadcrumb trail.\").nullable().optional(),\n}).describe(\"Breadcrumb navigation item.\");\nconst PiloterrGetProductInfo_ComparisonSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Comparison URL.\").nullable().optional(),\n name: z.string().describe(\"Compared product name.\").nullable().optional(),\n}).describe(\"Product comparison information.\");\nconst PiloterrGetProductInfo_ScreenshotSchema: z.ZodTypeAny = z.object({\n url: z.string().default(\"\").describe(\"Screenshot URL.\").nullable().optional(),\n description: z.string().default(\"\").describe(\"Screenshot description.\").nullable().optional(),\n}).describe(\"Product screenshot with description.\");\nconst PiloterrGetProductInfo_AlternativeSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Alternative product URL.\").nullable().optional(),\n name: z.string().describe(\"Alternative product name.\").nullable().optional(),\n rating: z.number().describe(\"Alternative product rating.\").nullable().optional(),\n}).describe(\"Alternative product information.\");\nconst PiloterrGetProductInfo_PricingPlanSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Plan name.\").nullable().optional(),\n price: z.string().describe(\"Plan price.\").nullable().optional(),\n features: z.array(z.string()).describe(\"Plan features.\").nullable().optional(),\n}).describe(\"Pricing plan information.\");\nexport const PiloterrGetProductInfoOutput: z.ZodTypeAny = z.object({\n rating: z.number().describe(\"Overall product rating.\").nullable().optional(),\n reviews: z.array(PiloterrGetProductInfo_ReviewSchema).describe(\"List of product reviews.\").nullable().optional(),\n what_is: z.string().describe(\"Product 'what is' description.\").nullable().optional(),\n category: z.string().describe(\"Primary product category.\").nullable().optional(),\n breadcrumb: z.array(PiloterrGetProductInfo_BreadcrumbSchema).describe(\"Breadcrumb navigation.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of product categories.\").nullable().optional(),\n company_id: z.string().describe(\"Company identifier.\").nullable().optional(),\n is_claimed: z.boolean().default(false).describe(\"Whether the product profile is claimed.\").nullable().optional(),\n product_id: z.string().describe(\"Product identifier.\").nullable().optional(),\n comparisons: z.array(PiloterrGetProductInfo_ComparisonSchema).describe(\"Product comparisons.\").nullable().optional(),\n medal_image: z.string().describe(\"Medal/badge image URL.\").nullable().optional(),\n screenshots: z.array(PiloterrGetProductInfo_ScreenshotSchema).describe(\"Product screenshots.\").nullable().optional(),\n seller_name: z.string().describe(\"Seller name.\").nullable().optional(),\n twitter_url: z.string().describe(\"Twitter profile URL.\").nullable().optional(),\n alternatives: z.array(PiloterrGetProductInfo_AlternativeSchema).describe(\"Alternative products.\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn profile URL.\").nullable().optional(),\n product_link: z.string().describe(\"Product page link.\").nullable().optional(),\n product_logo: z.string().describe(\"Product logo URL.\").nullable().optional(),\n product_name: z.string().describe(\"Product name.\").nullable().optional(),\n product_type: z.string().describe(\"Product type.\").nullable().optional(),\n pricing_plans: z.array(PiloterrGetProductInfo_PricingPlanSchema).describe(\"Available pricing plans.\").nullable().optional(),\n reviews_count: z.number().int().describe(\"Total number of reviews.\").nullable().optional(),\n company_website: z.string().describe(\"Company website URL.\").nullable().optional(),\n product_website: z.string().describe(\"Product website URL.\").nullable().optional(),\n company_location: z.string().describe(\"Company location.\").nullable().optional(),\n discussions_link: z.string().describe(\"Discussions link.\").nullable().optional(),\n popular_mentions: z.array(z.string()).describe(\"Popular mentions.\").nullable().optional(),\n discussions_count: z.number().int().describe(\"Number of discussions.\").nullable().optional(),\n star_distribution: z.record(z.string(), z.unknown()).describe(\"Star rating distribution.\").nullable().optional(),\n product_description: z.string().describe(\"Detailed product description.\").nullable().optional(),\n company_year_founded: z.number().int().describe(\"Company founding year.\").nullable().optional(),\n twitter_followers_count: z.number().int().describe(\"Twitter followers count.\").nullable().optional(),\n linkedin_employees_count: z.number().int().describe(\"LinkedIn employees count.\").nullable().optional(),\n}).describe(\"Response model for G2 product information retrieval.\");\n\nexport const piloterrGetProductInfo = action(\"PILOTERR_GET_PRODUCT_INFO\", {\n slug: \"piloterr-get-product-info\",\n name: \"Piloterr Get Product Info\",\n description: \"Tool to retrieve detailed product information from G2. Use when you need full product details including ratings, reviews, pricing, and company info. Accepts a product name or G2 URL as query.\",\n input: PiloterrGetProductInfoInput,\n output: PiloterrGetProductInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAA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A,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-product-info.cjs","names":["z","action"],"sources":["../../src/actions/get-product-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrGetProductInfoInput = z.object({\n query: z.string().describe(\"A G2 product search query (product name or G2 URL).\"),\n nps_score: z.number().int().describe(\"Optional NPS score to filter reviews by.\").optional(),\n}).describe(\"Request model for retrieving detailed product information from G2.\");\nconst PiloterrGetProductInfo_ReviewSchema = z.object({\n date: z.string().describe(\"Review date.\").nullable().optional(),\n title: z.string().describe(\"Review title.\").nullable().optional(),\n rating: z.number().describe(\"Review rating.\").nullable().optional(),\n content: z.string().describe(\"Review content.\").nullable().optional(),\n reviewer: z.string().describe(\"Reviewer name.\").nullable().optional(),\n}).describe(\"Product review details.\");\nconst PiloterrGetProductInfo_BreadcrumbSchema = z.object({\n url: z.string().default(\"\").describe(\"Breadcrumb URL.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Breadcrumb name.\").nullable().optional(),\n position: z.number().int().default(0).describe(\"Position in breadcrumb trail.\").nullable().optional(),\n}).describe(\"Breadcrumb navigation item.\");\nconst PiloterrGetProductInfo_ComparisonSchema = z.object({\n url: z.string().describe(\"Comparison URL.\").nullable().optional(),\n name: z.string().describe(\"Compared product name.\").nullable().optional(),\n}).describe(\"Product comparison information.\");\nconst PiloterrGetProductInfo_ScreenshotSchema = z.object({\n url: z.string().default(\"\").describe(\"Screenshot URL.\").nullable().optional(),\n description: z.string().default(\"\").describe(\"Screenshot description.\").nullable().optional(),\n}).describe(\"Product screenshot with description.\");\nconst PiloterrGetProductInfo_AlternativeSchema = z.object({\n url: z.string().describe(\"Alternative product URL.\").nullable().optional(),\n name: z.string().describe(\"Alternative product name.\").nullable().optional(),\n rating: z.number().describe(\"Alternative product rating.\").nullable().optional(),\n}).describe(\"Alternative product information.\");\nconst PiloterrGetProductInfo_PricingPlanSchema = z.object({\n name: z.string().describe(\"Plan name.\").nullable().optional(),\n price: z.string().describe(\"Plan price.\").nullable().optional(),\n features: z.array(z.string()).describe(\"Plan features.\").nullable().optional(),\n}).describe(\"Pricing plan information.\");\nexport const PiloterrGetProductInfoOutput = z.object({\n rating: z.number().describe(\"Overall product rating.\").nullable().optional(),\n reviews: z.array(PiloterrGetProductInfo_ReviewSchema).describe(\"List of product reviews.\").nullable().optional(),\n what_is: z.string().describe(\"Product 'what is' description.\").nullable().optional(),\n category: z.string().describe(\"Primary product category.\").nullable().optional(),\n breadcrumb: z.array(PiloterrGetProductInfo_BreadcrumbSchema).describe(\"Breadcrumb navigation.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of product categories.\").nullable().optional(),\n company_id: z.string().describe(\"Company identifier.\").nullable().optional(),\n is_claimed: z.boolean().default(false).describe(\"Whether the product profile is claimed.\").nullable().optional(),\n product_id: z.string().describe(\"Product identifier.\").nullable().optional(),\n comparisons: z.array(PiloterrGetProductInfo_ComparisonSchema).describe(\"Product comparisons.\").nullable().optional(),\n medal_image: z.string().describe(\"Medal/badge image URL.\").nullable().optional(),\n screenshots: z.array(PiloterrGetProductInfo_ScreenshotSchema).describe(\"Product screenshots.\").nullable().optional(),\n seller_name: z.string().describe(\"Seller name.\").nullable().optional(),\n twitter_url: z.string().describe(\"Twitter profile URL.\").nullable().optional(),\n alternatives: z.array(PiloterrGetProductInfo_AlternativeSchema).describe(\"Alternative products.\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn profile URL.\").nullable().optional(),\n product_link: z.string().describe(\"Product page link.\").nullable().optional(),\n product_logo: z.string().describe(\"Product logo URL.\").nullable().optional(),\n product_name: z.string().describe(\"Product name.\").nullable().optional(),\n product_type: z.string().describe(\"Product type.\").nullable().optional(),\n pricing_plans: z.array(PiloterrGetProductInfo_PricingPlanSchema).describe(\"Available pricing plans.\").nullable().optional(),\n reviews_count: z.number().int().describe(\"Total number of reviews.\").nullable().optional(),\n company_website: z.string().describe(\"Company website URL.\").nullable().optional(),\n product_website: z.string().describe(\"Product website URL.\").nullable().optional(),\n company_location: z.string().describe(\"Company location.\").nullable().optional(),\n discussions_link: z.string().describe(\"Discussions link.\").nullable().optional(),\n popular_mentions: z.array(z.string()).describe(\"Popular mentions.\").nullable().optional(),\n discussions_count: z.number().int().describe(\"Number of discussions.\").nullable().optional(),\n star_distribution: z.record(z.string(), z.unknown()).describe(\"Star rating distribution.\").nullable().optional(),\n product_description: z.string().describe(\"Detailed product description.\").nullable().optional(),\n company_year_founded: z.number().int().describe(\"Company founding year.\").nullable().optional(),\n twitter_followers_count: z.number().int().describe(\"Twitter followers count.\").nullable().optional(),\n linkedin_employees_count: z.number().int().describe(\"LinkedIn employees count.\").nullable().optional(),\n}).describe(\"Response model for G2 product information retrieval.\");\n\nexport const piloterrGetProductInfo = action(\"PILOTERR_GET_PRODUCT_INFO\", {\n slug: \"piloterr-get-product-info\",\n name: \"Piloterr Get Product Info\",\n description: \"Tool to retrieve detailed product information from G2. Use when you need full product details including ratings, reviews, pricing, and company info. Accepts a product name or G2 URL as query.\",\n input: PiloterrGetProductInfoInput,\n output: PiloterrGetProductInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAM,0CAA0CA,IAAAA,EA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F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,73 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-product-info.d.ts
|
|
4
|
-
declare const PiloterrGetProductInfoInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PiloterrGetProductInfoInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodString;
|
|
6
|
+
nps_score: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PiloterrGetProductInfoOutput: z.ZodObject<{
|
|
9
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
reviews: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
reviewer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>>>>;
|
|
17
|
+
what_is: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
breadcrumb: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
21
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
22
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
23
|
+
}, z.core.$strip>>>>;
|
|
24
|
+
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
25
|
+
company_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
is_claimed: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
27
|
+
product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
comparisons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$strip>>>>;
|
|
32
|
+
medal_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
screenshots: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
35
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
36
|
+
}, z.core.$strip>>>>;
|
|
37
|
+
seller_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
alternatives: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
40
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
}, z.core.$strip>>>>;
|
|
44
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
product_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
product_logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
product_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
product_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
pricing_plans: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
50
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
features: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
53
|
+
}, z.core.$strip>>>>;
|
|
54
|
+
reviews_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
|
+
company_website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
product_website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
company_location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
discussions_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
popular_mentions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
60
|
+
discussions_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61
|
+
star_distribution: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
62
|
+
product_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
company_year_founded: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
64
|
+
twitter_followers_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
|
+
linkedin_employees_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
declare const piloterrGetProductInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
68
|
+
query: string;
|
|
69
|
+
nps_score?: number | undefined;
|
|
70
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
71
|
//#endregion
|
|
8
72
|
export { piloterrGetProductInfo };
|
|
9
73
|
//# sourceMappingURL=get-product-info.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-product-info.d.cts","names":[],"sources":["../../src/actions/get-product-info.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-product-info.d.cts","names":[],"sources":["../../src/actions/get-product-info.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAkC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoC5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,73 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-product-info.d.ts
|
|
4
|
-
declare const PiloterrGetProductInfoInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PiloterrGetProductInfoInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodString;
|
|
6
|
+
nps_score: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PiloterrGetProductInfoOutput: z.ZodObject<{
|
|
9
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
reviews: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
reviewer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>>>>;
|
|
17
|
+
what_is: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
breadcrumb: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
21
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
22
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
23
|
+
}, z.core.$strip>>>>;
|
|
24
|
+
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
25
|
+
company_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
is_claimed: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
27
|
+
product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
comparisons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$strip>>>>;
|
|
32
|
+
medal_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
screenshots: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
35
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
36
|
+
}, z.core.$strip>>>>;
|
|
37
|
+
seller_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
twitter_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
alternatives: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
40
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
}, z.core.$strip>>>>;
|
|
44
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
product_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
product_logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
product_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
product_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
pricing_plans: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
50
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
features: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
53
|
+
}, z.core.$strip>>>>;
|
|
54
|
+
reviews_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
|
+
company_website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
product_website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
company_location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
discussions_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
popular_mentions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
60
|
+
discussions_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61
|
+
star_distribution: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
62
|
+
product_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
company_year_founded: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
64
|
+
twitter_followers_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
|
+
linkedin_employees_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
declare const piloterrGetProductInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
68
|
+
query: string;
|
|
69
|
+
nps_score?: number | undefined;
|
|
70
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
71
|
//#endregion
|
|
8
72
|
export { piloterrGetProductInfo };
|
|
9
73
|
//# sourceMappingURL=get-product-info.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-product-info.d.mts","names":[],"sources":["../../src/actions/get-product-info.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-product-info.d.mts","names":[],"sources":["../../src/actions/get-product-info.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAkC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoC5B,sBAAA,gCAAsB,wBAAA"}
|