@keystrokehq/piloterr 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/auchan-product.cjs +1 -0
- package/dist/actions/auchan-product.cjs.map +1 -1
- package/dist/actions/auchan-product.d.cts +3 -15
- package/dist/actions/auchan-product.d.cts.map +1 -1
- package/dist/actions/auchan-product.d.mts +3 -15
- package/dist/actions/auchan-product.d.mts.map +1 -1
- package/dist/actions/auchan-product.mjs +1 -0
- package/dist/actions/auchan-product.mjs.map +1 -1
- package/dist/actions/auchan-search.cjs +1 -0
- package/dist/actions/auchan-search.cjs.map +1 -1
- package/dist/actions/auchan-search.d.cts +3 -16
- package/dist/actions/auchan-search.d.cts.map +1 -1
- package/dist/actions/auchan-search.d.mts +3 -16
- package/dist/actions/auchan-search.d.mts.map +1 -1
- package/dist/actions/auchan-search.mjs +1 -0
- package/dist/actions/auchan-search.mjs.map +1 -1
- package/dist/actions/get-product-info.cjs +1 -0
- package/dist/actions/get-product-info.cjs.map +1 -1
- package/dist/actions/get-product-info.d.cts +3 -16
- package/dist/actions/get-product-info.d.cts.map +1 -1
- package/dist/actions/get-product-info.d.mts +3 -16
- package/dist/actions/get-product-info.d.mts.map +1 -1
- package/dist/actions/get-product-info.mjs +1 -0
- package/dist/actions/get-product-info.mjs.map +1 -1
- package/dist/actions/list-chewy-products.cjs +1 -0
- package/dist/actions/list-chewy-products.cjs.map +1 -1
- package/dist/actions/list-chewy-products.d.cts +3 -15
- package/dist/actions/list-chewy-products.d.cts.map +1 -1
- package/dist/actions/list-chewy-products.d.mts +3 -15
- package/dist/actions/list-chewy-products.d.mts.map +1 -1
- package/dist/actions/list-chewy-products.mjs +1 -0
- package/dist/actions/list-chewy-products.mjs.map +1 -1
- package/dist/actions/list-eleclerc-stores.cjs +1 -0
- package/dist/actions/list-eleclerc-stores.cjs.map +1 -1
- package/dist/actions/list-eleclerc-stores.d.cts +3 -15
- package/dist/actions/list-eleclerc-stores.d.cts.map +1 -1
- package/dist/actions/list-eleclerc-stores.d.mts +3 -15
- package/dist/actions/list-eleclerc-stores.d.mts.map +1 -1
- package/dist/actions/list-eleclerc-stores.mjs +1 -0
- package/dist/actions/list-eleclerc-stores.mjs.map +1 -1
- package/dist/actions/list-google-countries.cjs +1 -0
- package/dist/actions/list-google-countries.cjs.map +1 -1
- package/dist/actions/list-google-countries.d.cts +3 -15
- package/dist/actions/list-google-countries.d.cts.map +1 -1
- package/dist/actions/list-google-countries.d.mts +3 -15
- package/dist/actions/list-google-countries.d.mts.map +1 -1
- package/dist/actions/list-google-countries.mjs +1 -0
- package/dist/actions/list-google-countries.mjs.map +1 -1
- package/dist/actions/list-google-languages.cjs +1 -0
- package/dist/actions/list-google-languages.cjs.map +1 -1
- package/dist/actions/list-google-languages.d.cts +3 -15
- package/dist/actions/list-google-languages.d.cts.map +1 -1
- package/dist/actions/list-google-languages.d.mts +3 -15
- package/dist/actions/list-google-languages.d.mts.map +1 -1
- package/dist/actions/list-google-languages.mjs +1 -0
- package/dist/actions/list-google-languages.mjs.map +1 -1
- package/dist/actions/list-google-locations.cjs +1 -0
- package/dist/actions/list-google-locations.cjs.map +1 -1
- package/dist/actions/list-google-locations.d.cts +3 -15
- package/dist/actions/list-google-locations.d.cts.map +1 -1
- package/dist/actions/list-google-locations.d.mts +3 -15
- package/dist/actions/list-google-locations.d.mts.map +1 -1
- package/dist/actions/list-google-locations.mjs +1 -0
- package/dist/actions/list-google-locations.mjs.map +1 -1
- package/dist/actions/list-leroy-merlin-products.cjs +1 -0
- package/dist/actions/list-leroy-merlin-products.cjs.map +1 -1
- package/dist/actions/list-leroy-merlin-products.d.cts +3 -15
- package/dist/actions/list-leroy-merlin-products.d.cts.map +1 -1
- package/dist/actions/list-leroy-merlin-products.d.mts +3 -15
- package/dist/actions/list-leroy-merlin-products.d.mts.map +1 -1
- package/dist/actions/list-leroy-merlin-products.mjs +1 -0
- package/dist/actions/list-leroy-merlin-products.mjs.map +1 -1
- package/dist/actions/list-linked-in-industries.cjs +1 -0
- package/dist/actions/list-linked-in-industries.cjs.map +1 -1
- package/dist/actions/list-linked-in-industries.d.cts +3 -15
- package/dist/actions/list-linked-in-industries.d.cts.map +1 -1
- package/dist/actions/list-linked-in-industries.d.mts +3 -15
- package/dist/actions/list-linked-in-industries.d.mts.map +1 -1
- package/dist/actions/list-linked-in-industries.mjs +1 -0
- package/dist/actions/list-linked-in-industries.mjs.map +1 -1
- package/dist/actions/search.cjs +1 -0
- package/dist/actions/search.cjs.map +1 -1
- package/dist/actions/search.d.cts +3 -21
- package/dist/actions/search.d.cts.map +1 -1
- package/dist/actions/search.d.mts +3 -21
- package/dist/actions/search.d.mts.map +1 -1
- package/dist/actions/search.mjs +1 -0
- package/dist/actions/search.mjs.map +1 -1
- package/dist/actions/usage-get.cjs +1 -0
- package/dist/actions/usage-get.cjs.map +1 -1
- package/dist/actions/usage-get.d.cts +3 -13
- package/dist/actions/usage-get.d.cts.map +1 -1
- package/dist/actions/usage-get.d.mts +3 -13
- package/dist/actions/usage-get.d.mts.map +1 -1
- package/dist/actions/usage-get.mjs +1 -0
- package/dist/actions/usage-get.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-leroy-merlin-products.d.mts","names":[],"sources":["../../src/actions/list-leroy-merlin-products.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-leroy-merlin-products.d.mts","names":[],"sources":["../../src/actions/list-leroy-merlin-products.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cASpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-leroy-merlin-products.mjs","names":[],"sources":["../../src/actions/list-leroy-merlin-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrListLeroyMerlinProductsInput = z.object({\n query: z.string().describe(\"Product identifier or product title to search for\"),\n}).describe(\"Request model for searching Leroy Merlin products.\");\nconst PiloterrListLeroyMerlinProducts_LeroyMerlinProductSchema = z.object({\n id: z.string().describe(\"Internal product identifier\").nullable(),\n url: z.string().describe(\"Direct link to the product page\").nullable(),\n title: z.string().describe(\"Product name/description\").nullable(),\n domain: z.string().describe(\"Geographic domain (e.g., fr for France)\").nullable(),\n}).passthrough().describe(\"Single Leroy Merlin product result.\");\nexport const PiloterrListLeroyMerlinProductsOutput = z.object({\n products: z.array(PiloterrListLeroyMerlinProducts_LeroyMerlinProductSchema).describe(\"List of Leroy Merlin products matching the query\"),\n}).passthrough().describe(\"Response model containing list of Leroy Merlin products.\");\n\nexport const piloterrListLeroyMerlinProducts = action(\"PILOTERR_LIST_LEROY_MERLIN_PRODUCTS\", {\n slug: \"piloterr-list-leroy-merlin-products\",\n name: \"List Leroy Merlin Products\",\n description: \"Tool to list Leroy Merlin product categories. Use when you need to search for Leroy Merlin products by name or identifier.\",\n input: PiloterrListLeroyMerlinProductsInput,\n output: PiloterrListLeroyMerlinProductsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-leroy-merlin-products.mjs","names":[],"sources":["../../src/actions/list-leroy-merlin-products.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrListLeroyMerlinProductsInput = z.object({\n query: z.string().describe(\"Product identifier or product title to search for\"),\n}).describe(\"Request model for searching Leroy Merlin products.\");\nconst PiloterrListLeroyMerlinProducts_LeroyMerlinProductSchema = z.object({\n id: z.string().describe(\"Internal product identifier\").nullable(),\n url: z.string().describe(\"Direct link to the product page\").nullable(),\n title: z.string().describe(\"Product name/description\").nullable(),\n domain: z.string().describe(\"Geographic domain (e.g., fr for France)\").nullable(),\n}).passthrough().describe(\"Single Leroy Merlin product result.\");\nexport const PiloterrListLeroyMerlinProductsOutput = z.object({\n products: z.array(PiloterrListLeroyMerlinProducts_LeroyMerlinProductSchema).describe(\"List of Leroy Merlin products matching the query\"),\n}).passthrough().describe(\"Response model containing list of Leroy Merlin products.\");\n\nexport const piloterrListLeroyMerlinProducts: AppAction<\n typeof PiloterrListLeroyMerlinProductsInput,\n typeof PiloterrListLeroyMerlinProductsOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_LIST_LEROY_MERLIN_PRODUCTS\", {\n slug: \"piloterr-list-leroy-merlin-products\",\n name: \"List Leroy Merlin Products\",\n description: \"Tool to list Leroy Merlin product categories. Use when you need to search for Leroy Merlin products by name or identifier.\",\n input: PiloterrListLeroyMerlinProductsInput,\n output: PiloterrListLeroyMerlinProductsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAChF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO,EAC5D,UAAU,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,kDAAkD,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-linked-in-industries.cjs","names":["z","action"],"sources":["../../src/actions/list-linked-in-industries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrListLinkedInIndustriesInput = z.object({\n query: z.string().describe(\"Filters results to industries matching the supplied string. Use industry name or keywords to search.\"),\n}).describe(\"Request model for listing LinkedIn industries.\");\nconst PiloterrListLinkedInIndustries_LinkedInIndustrySchema = z.object({\n id: z.number().int().describe(\"Internal identifier.\").nullable().optional(),\n label: z.string().describe(\"Industry name.\").nullable().optional(),\n level: z.string().describe(\"LinkedIn industry classification level.\").nullable().optional(),\n hierarchie: z.string().describe(\"Category hierarchy path.\").nullable().optional(),\n description: z.string().describe(\"Industry overview.\").nullable().optional(),\n industry_id: z.string().describe(\"LinkedIn's industry identifier.\").nullable().optional(),\n}).passthrough().describe(\"LinkedIn industry object with details.\");\nexport const PiloterrListLinkedInIndustriesOutput = z.object({\n industries: z.array(PiloterrListLinkedInIndustries_LinkedInIndustrySchema).describe(\"List of LinkedIn industries matching the query.\"),\n}).passthrough().describe(\"Response model containing list of LinkedIn industries.\");\n\nexport const piloterrListLinkedInIndustries = action(\"PILOTERR_LIST_LINKED_IN_INDUSTRIES\", {\n slug: \"piloterr-list-linked-in-industries\",\n name: \"List LinkedIn Industries\",\n description: \"Tool to list LinkedIn industry codes from Piloterr API. Use when you need to find LinkedIn industry identifiers for targeting or classification.\",\n input: PiloterrListLinkedInIndustriesInput,\n output: PiloterrListLinkedInIndustriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-linked-in-industries.cjs","names":["z","action"],"sources":["../../src/actions/list-linked-in-industries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrListLinkedInIndustriesInput = z.object({\n query: z.string().describe(\"Filters results to industries matching the supplied string. Use industry name or keywords to search.\"),\n}).describe(\"Request model for listing LinkedIn industries.\");\nconst PiloterrListLinkedInIndustries_LinkedInIndustrySchema = z.object({\n id: z.number().int().describe(\"Internal identifier.\").nullable().optional(),\n label: z.string().describe(\"Industry name.\").nullable().optional(),\n level: z.string().describe(\"LinkedIn industry classification level.\").nullable().optional(),\n hierarchie: z.string().describe(\"Category hierarchy path.\").nullable().optional(),\n description: z.string().describe(\"Industry overview.\").nullable().optional(),\n industry_id: z.string().describe(\"LinkedIn's industry identifier.\").nullable().optional(),\n}).passthrough().describe(\"LinkedIn industry object with details.\");\nexport const PiloterrListLinkedInIndustriesOutput = z.object({\n industries: z.array(PiloterrListLinkedInIndustries_LinkedInIndustrySchema).describe(\"List of LinkedIn industries matching the query.\"),\n}).passthrough().describe(\"Response model containing list of LinkedIn industries.\");\n\nexport const piloterrListLinkedInIndustries: AppAction<\n typeof PiloterrListLinkedInIndustriesInput,\n typeof PiloterrListLinkedInIndustriesOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_LIST_LINKED_IN_INDUSTRIES\", {\n slug: \"piloterr-list-linked-in-industries\",\n name: \"List LinkedIn Industries\",\n description: \"Tool to list LinkedIn industry codes from Piloterr API. Use when you need to find LinkedIn industry identifiers for targeting or classification.\",\n input: PiloterrListLinkedInIndustriesInput,\n output: PiloterrListLinkedInIndustriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,EACnI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,iDAAiD,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piloterr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-linked-in-industries.d.ts
|
|
@@ -14,21 +16,7 @@ declare const PiloterrListLinkedInIndustriesOutput: z.ZodObject<{
|
|
|
14
16
|
industry_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const piloterrListLinkedInIndustries:
|
|
18
|
-
query: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piloterr", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piloterr", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const piloterrListLinkedInIndustries: AppAction<typeof PiloterrListLinkedInIndustriesInput, typeof PiloterrListLinkedInIndustriesOutput, typeof piloterr.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { piloterrListLinkedInIndustries };
|
|
34
22
|
//# sourceMappingURL=list-linked-in-industries.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-linked-in-industries.d.cts","names":[],"sources":["../../src/actions/list-linked-in-industries.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-linked-in-industries.d.cts","names":[],"sources":["../../src/actions/list-linked-in-industries.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAWnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piloterr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-linked-in-industries.d.ts
|
|
@@ -14,21 +16,7 @@ declare const PiloterrListLinkedInIndustriesOutput: z.ZodObject<{
|
|
|
14
16
|
industry_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const piloterrListLinkedInIndustries:
|
|
18
|
-
query: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piloterr", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piloterr", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const piloterrListLinkedInIndustries: AppAction<typeof PiloterrListLinkedInIndustriesInput, typeof PiloterrListLinkedInIndustriesOutput, typeof piloterr.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { piloterrListLinkedInIndustries };
|
|
34
22
|
//# sourceMappingURL=list-linked-in-industries.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-linked-in-industries.d.mts","names":[],"sources":["../../src/actions/list-linked-in-industries.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-linked-in-industries.d.mts","names":[],"sources":["../../src/actions/list-linked-in-industries.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAWnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-linked-in-industries.mjs","names":[],"sources":["../../src/actions/list-linked-in-industries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrListLinkedInIndustriesInput = z.object({\n query: z.string().describe(\"Filters results to industries matching the supplied string. Use industry name or keywords to search.\"),\n}).describe(\"Request model for listing LinkedIn industries.\");\nconst PiloterrListLinkedInIndustries_LinkedInIndustrySchema = z.object({\n id: z.number().int().describe(\"Internal identifier.\").nullable().optional(),\n label: z.string().describe(\"Industry name.\").nullable().optional(),\n level: z.string().describe(\"LinkedIn industry classification level.\").nullable().optional(),\n hierarchie: z.string().describe(\"Category hierarchy path.\").nullable().optional(),\n description: z.string().describe(\"Industry overview.\").nullable().optional(),\n industry_id: z.string().describe(\"LinkedIn's industry identifier.\").nullable().optional(),\n}).passthrough().describe(\"LinkedIn industry object with details.\");\nexport const PiloterrListLinkedInIndustriesOutput = z.object({\n industries: z.array(PiloterrListLinkedInIndustries_LinkedInIndustrySchema).describe(\"List of LinkedIn industries matching the query.\"),\n}).passthrough().describe(\"Response model containing list of LinkedIn industries.\");\n\nexport const piloterrListLinkedInIndustries = action(\"PILOTERR_LIST_LINKED_IN_INDUSTRIES\", {\n slug: \"piloterr-list-linked-in-industries\",\n name: \"List LinkedIn Industries\",\n description: \"Tool to list LinkedIn industry codes from Piloterr API. Use when you need to find LinkedIn industry identifiers for targeting or classification.\",\n input: PiloterrListLinkedInIndustriesInput,\n output: PiloterrListLinkedInIndustriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-linked-in-industries.mjs","names":[],"sources":["../../src/actions/list-linked-in-industries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrListLinkedInIndustriesInput = z.object({\n query: z.string().describe(\"Filters results to industries matching the supplied string. Use industry name or keywords to search.\"),\n}).describe(\"Request model for listing LinkedIn industries.\");\nconst PiloterrListLinkedInIndustries_LinkedInIndustrySchema = z.object({\n id: z.number().int().describe(\"Internal identifier.\").nullable().optional(),\n label: z.string().describe(\"Industry name.\").nullable().optional(),\n level: z.string().describe(\"LinkedIn industry classification level.\").nullable().optional(),\n hierarchie: z.string().describe(\"Category hierarchy path.\").nullable().optional(),\n description: z.string().describe(\"Industry overview.\").nullable().optional(),\n industry_id: z.string().describe(\"LinkedIn's industry identifier.\").nullable().optional(),\n}).passthrough().describe(\"LinkedIn industry object with details.\");\nexport const PiloterrListLinkedInIndustriesOutput = z.object({\n industries: z.array(PiloterrListLinkedInIndustries_LinkedInIndustrySchema).describe(\"List of LinkedIn industries matching the query.\"),\n}).passthrough().describe(\"Response model containing list of LinkedIn industries.\");\n\nexport const piloterrListLinkedInIndustries: AppAction<\n typeof PiloterrListLinkedInIndustriesInput,\n typeof PiloterrListLinkedInIndustriesOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_LIST_LINKED_IN_INDUSTRIES\", {\n slug: \"piloterr-list-linked-in-industries\",\n name: \"List LinkedIn Industries\",\n description: \"Tool to list LinkedIn industry codes from Piloterr API. Use when you need to find LinkedIn industry identifiers for targeting or classification.\",\n input: PiloterrListLinkedInIndustriesInput,\n output: PiloterrListLinkedInIndustriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,EACnI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkD,EAAE,OAAO,EAC3D,YAAY,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,iDAAiD,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|
package/dist/actions/search.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.cjs","names":["z","action"],"sources":["../../src/actions/search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrSearchInput = z.object({\n gl: z.string().describe(\"Two-letter country code for Google search locale (e.g., 'us', 'uk', 'fr').\").optional(),\n hl: z.string().describe(\"Two-letter language code for search interface (e.g., 'en', 'es', 'fr').\").optional(),\n tbs: z.string().describe(\"Advanced search time filter: 'qdr:h' (hour), 'qdr:d' (day), 'qdr:w' (week), 'qdr:m' (month), 'qdr:y' (year).\").optional(),\n page: z.number().int().describe(\"Result page offset for pagination.\").optional(),\n uule: z.string().describe(\"Google-encoded location parameter. Cannot be used with location.\").optional(),\n query: z.string().describe(\"Search query string. Supports operators like inurl:, site:, intitle:.\"),\n location: z.string().describe(\"Search origin location (e.g., 'New York, NY', 'Paris, France'). Cannot be used with uule.\").optional(),\n}).describe(\"Request model for Google search via Piloterr API.\");\nconst PiloterrSearch_PaginationSchema = z.object({\n next: z.number().int().describe(\"Next page number.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable().optional(),\n other_pages: z.array(z.number().int()).describe(\"List of available page numbers.\").nullable().optional(),\n has_next_page: z.boolean().describe(\"Whether more pages are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for search results.\");\nconst PiloterrSearch_KnowledgeGraphSchema = z.object({\n type: z.string().describe(\"Type of knowledge graph entry.\").nullable().optional(),\n title: z.string().describe(\"Title of the knowledge graph.\").nullable().optional(),\n website: z.string().describe(\"Website URL.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes.\").nullable().optional(),\n description: z.string().describe(\"Description text.\").nullable().optional(),\n description_link: z.string().describe(\"Link for description.\").nullable().optional(),\n description_source: z.string().describe(\"Source of description.\").nullable().optional(),\n}).passthrough().describe(\"Knowledge graph panel if present in results.\");\nconst PiloterrSearch_OrganicResultSchema = z.object({\n link: z.string().describe(\"URL of the result.\").nullable().optional(),\n title: z.string().describe(\"Title of the result.\").nullable().optional(),\n domain: z.string().describe(\"Domain of the result.\").nullable().optional(),\n source: z.string().describe(\"Source of the result.\").nullable().optional(),\n snippet: z.string().describe(\"Snippet/description of the result.\").nullable().optional(),\n position: z.number().int().describe(\"Position in search results.\").nullable().optional(),\n displayed_link: z.string().describe(\"Displayed link in search results.\").nullable().optional(),\n snippet_matched: z.array(z.string()).describe(\"Matched keywords in snippet.\").nullable().optional(),\n}).passthrough().describe(\"Single organic search result.\");\nconst PiloterrSearch_RelatedSearchSchema = z.object({\n query: z.string().describe(\"Related search query.\").nullable().optional(),\n}).passthrough().describe(\"Related search query suggestion.\");\nconst PiloterrSearch_SearchInformationSchema = z.object({\n total_results: z.number().int().describe(\"Total number of results found.\").nullable().optional(),\n time_taken_displayed: z.number().describe(\"Time taken for search in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about the search results.\");\nexport const PiloterrSearchOutput = z.object({\n pagination: PiloterrSearch_PaginationSchema.nullable().optional(),\n knowledge_graph: PiloterrSearch_KnowledgeGraphSchema.nullable().optional(),\n organic_results: z.array(PiloterrSearch_OrganicResultSchema).describe(\"List of organic search results.\").nullable().optional(),\n related_searches: z.array(PiloterrSearch_RelatedSearchSchema).describe(\"Related search suggestions.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for search.\").nullable().optional(),\n search_information: PiloterrSearch_SearchInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for Piloterr Google search.\");\n\nexport const piloterrSearch = action(\"PILOTERR_SEARCH\", {\n slug: \"piloterr-search\",\n name: \"Piloterr Google Search\",\n description: \"Tool to perform Google web search via Piloterr API. Use when you need to search the web for information using Google.\",\n input: PiloterrSearchInput,\n output: PiloterrSearchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search.cjs","names":["z","action"],"sources":["../../src/actions/search.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrSearchInput = z.object({\n gl: z.string().describe(\"Two-letter country code for Google search locale (e.g., 'us', 'uk', 'fr').\").optional(),\n hl: z.string().describe(\"Two-letter language code for search interface (e.g., 'en', 'es', 'fr').\").optional(),\n tbs: z.string().describe(\"Advanced search time filter: 'qdr:h' (hour), 'qdr:d' (day), 'qdr:w' (week), 'qdr:m' (month), 'qdr:y' (year).\").optional(),\n page: z.number().int().describe(\"Result page offset for pagination.\").optional(),\n uule: z.string().describe(\"Google-encoded location parameter. Cannot be used with location.\").optional(),\n query: z.string().describe(\"Search query string. Supports operators like inurl:, site:, intitle:.\"),\n location: z.string().describe(\"Search origin location (e.g., 'New York, NY', 'Paris, France'). Cannot be used with uule.\").optional(),\n}).describe(\"Request model for Google search via Piloterr API.\");\nconst PiloterrSearch_PaginationSchema = z.object({\n next: z.number().int().describe(\"Next page number.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable().optional(),\n other_pages: z.array(z.number().int()).describe(\"List of available page numbers.\").nullable().optional(),\n has_next_page: z.boolean().describe(\"Whether more pages are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for search results.\");\nconst PiloterrSearch_KnowledgeGraphSchema = z.object({\n type: z.string().describe(\"Type of knowledge graph entry.\").nullable().optional(),\n title: z.string().describe(\"Title of the knowledge graph.\").nullable().optional(),\n website: z.string().describe(\"Website URL.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes.\").nullable().optional(),\n description: z.string().describe(\"Description text.\").nullable().optional(),\n description_link: z.string().describe(\"Link for description.\").nullable().optional(),\n description_source: z.string().describe(\"Source of description.\").nullable().optional(),\n}).passthrough().describe(\"Knowledge graph panel if present in results.\");\nconst PiloterrSearch_OrganicResultSchema = z.object({\n link: z.string().describe(\"URL of the result.\").nullable().optional(),\n title: z.string().describe(\"Title of the result.\").nullable().optional(),\n domain: z.string().describe(\"Domain of the result.\").nullable().optional(),\n source: z.string().describe(\"Source of the result.\").nullable().optional(),\n snippet: z.string().describe(\"Snippet/description of the result.\").nullable().optional(),\n position: z.number().int().describe(\"Position in search results.\").nullable().optional(),\n displayed_link: z.string().describe(\"Displayed link in search results.\").nullable().optional(),\n snippet_matched: z.array(z.string()).describe(\"Matched keywords in snippet.\").nullable().optional(),\n}).passthrough().describe(\"Single organic search result.\");\nconst PiloterrSearch_RelatedSearchSchema = z.object({\n query: z.string().describe(\"Related search query.\").nullable().optional(),\n}).passthrough().describe(\"Related search query suggestion.\");\nconst PiloterrSearch_SearchInformationSchema = z.object({\n total_results: z.number().int().describe(\"Total number of results found.\").nullable().optional(),\n time_taken_displayed: z.number().describe(\"Time taken for search in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about the search results.\");\nexport const PiloterrSearchOutput = z.object({\n pagination: PiloterrSearch_PaginationSchema.nullable().optional(),\n knowledge_graph: PiloterrSearch_KnowledgeGraphSchema.nullable().optional(),\n organic_results: z.array(PiloterrSearch_OrganicResultSchema).describe(\"List of organic search results.\").nullable().optional(),\n related_searches: z.array(PiloterrSearch_RelatedSearchSchema).describe(\"Related search suggestions.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for search.\").nullable().optional(),\n search_information: PiloterrSearch_SearchInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for Piloterr Google search.\");\n\nexport const piloterrSearch: AppAction<\n typeof PiloterrSearchInput,\n typeof PiloterrSearchOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_SEARCH\", {\n slug: \"piloterr-search\",\n name: \"Piloterr Google Search\",\n description: \"Tool to perform Google web search via Piloterr API. Use when you need to search the web for information using Google.\",\n input: PiloterrSearchInput,\n output: PiloterrSearchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC/G,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAM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,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piloterr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search.d.ts
|
|
@@ -45,27 +47,7 @@ declare const PiloterrSearchOutput: z.ZodObject<{
|
|
|
45
47
|
time_taken_displayed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
48
|
}, z.core.$loose>>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const piloterrSearch:
|
|
49
|
-
query: string;
|
|
50
|
-
gl?: string | undefined;
|
|
51
|
-
hl?: string | undefined;
|
|
52
|
-
tbs?: string | undefined;
|
|
53
|
-
page?: number | undefined;
|
|
54
|
-
uule?: string | undefined;
|
|
55
|
-
location?: string | undefined;
|
|
56
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piloterr", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piloterr", z.ZodObject<{
|
|
63
|
-
connectionId: z.ZodString;
|
|
64
|
-
entityId: z.ZodString;
|
|
65
|
-
instanceId: z.ZodString;
|
|
66
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
-
generic_api_key: z.ZodString;
|
|
68
|
-
}, z.core.$strip>>]>;
|
|
50
|
+
declare const piloterrSearch: AppAction<typeof PiloterrSearchInput, typeof PiloterrSearchOutput, typeof piloterr.credential>;
|
|
69
51
|
//#endregion
|
|
70
52
|
export { piloterrSearch };
|
|
71
53
|
//# sourceMappingURL=search.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.cts","names":[],"sources":["../../src/actions/search.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search.d.cts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAyCnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piloterr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search.d.ts
|
|
@@ -45,27 +47,7 @@ declare const PiloterrSearchOutput: z.ZodObject<{
|
|
|
45
47
|
time_taken_displayed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
48
|
}, z.core.$loose>>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const piloterrSearch:
|
|
49
|
-
query: string;
|
|
50
|
-
gl?: string | undefined;
|
|
51
|
-
hl?: string | undefined;
|
|
52
|
-
tbs?: string | undefined;
|
|
53
|
-
page?: number | undefined;
|
|
54
|
-
uule?: string | undefined;
|
|
55
|
-
location?: string | undefined;
|
|
56
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"piloterr", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piloterr", z.ZodObject<{
|
|
63
|
-
connectionId: z.ZodString;
|
|
64
|
-
entityId: z.ZodString;
|
|
65
|
-
instanceId: z.ZodString;
|
|
66
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
-
generic_api_key: z.ZodString;
|
|
68
|
-
}, z.core.$strip>>]>;
|
|
50
|
+
declare const piloterrSearch: AppAction<typeof PiloterrSearchInput, typeof PiloterrSearchOutput, typeof piloterr.credential>;
|
|
69
51
|
//#endregion
|
|
70
52
|
export { piloterrSearch };
|
|
71
53
|
//# sourceMappingURL=search.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.mts","names":[],"sources":["../../src/actions/search.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search.d.mts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAyCnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,QAAA,CAAS,UAAA"}
|
package/dist/actions/search.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.mjs","names":[],"sources":["../../src/actions/search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrSearchInput = z.object({\n gl: z.string().describe(\"Two-letter country code for Google search locale (e.g., 'us', 'uk', 'fr').\").optional(),\n hl: z.string().describe(\"Two-letter language code for search interface (e.g., 'en', 'es', 'fr').\").optional(),\n tbs: z.string().describe(\"Advanced search time filter: 'qdr:h' (hour), 'qdr:d' (day), 'qdr:w' (week), 'qdr:m' (month), 'qdr:y' (year).\").optional(),\n page: z.number().int().describe(\"Result page offset for pagination.\").optional(),\n uule: z.string().describe(\"Google-encoded location parameter. Cannot be used with location.\").optional(),\n query: z.string().describe(\"Search query string. Supports operators like inurl:, site:, intitle:.\"),\n location: z.string().describe(\"Search origin location (e.g., 'New York, NY', 'Paris, France'). Cannot be used with uule.\").optional(),\n}).describe(\"Request model for Google search via Piloterr API.\");\nconst PiloterrSearch_PaginationSchema = z.object({\n next: z.number().int().describe(\"Next page number.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable().optional(),\n other_pages: z.array(z.number().int()).describe(\"List of available page numbers.\").nullable().optional(),\n has_next_page: z.boolean().describe(\"Whether more pages are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for search results.\");\nconst PiloterrSearch_KnowledgeGraphSchema = z.object({\n type: z.string().describe(\"Type of knowledge graph entry.\").nullable().optional(),\n title: z.string().describe(\"Title of the knowledge graph.\").nullable().optional(),\n website: z.string().describe(\"Website URL.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes.\").nullable().optional(),\n description: z.string().describe(\"Description text.\").nullable().optional(),\n description_link: z.string().describe(\"Link for description.\").nullable().optional(),\n description_source: z.string().describe(\"Source of description.\").nullable().optional(),\n}).passthrough().describe(\"Knowledge graph panel if present in results.\");\nconst PiloterrSearch_OrganicResultSchema = z.object({\n link: z.string().describe(\"URL of the result.\").nullable().optional(),\n title: z.string().describe(\"Title of the result.\").nullable().optional(),\n domain: z.string().describe(\"Domain of the result.\").nullable().optional(),\n source: z.string().describe(\"Source of the result.\").nullable().optional(),\n snippet: z.string().describe(\"Snippet/description of the result.\").nullable().optional(),\n position: z.number().int().describe(\"Position in search results.\").nullable().optional(),\n displayed_link: z.string().describe(\"Displayed link in search results.\").nullable().optional(),\n snippet_matched: z.array(z.string()).describe(\"Matched keywords in snippet.\").nullable().optional(),\n}).passthrough().describe(\"Single organic search result.\");\nconst PiloterrSearch_RelatedSearchSchema = z.object({\n query: z.string().describe(\"Related search query.\").nullable().optional(),\n}).passthrough().describe(\"Related search query suggestion.\");\nconst PiloterrSearch_SearchInformationSchema = z.object({\n total_results: z.number().int().describe(\"Total number of results found.\").nullable().optional(),\n time_taken_displayed: z.number().describe(\"Time taken for search in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about the search results.\");\nexport const PiloterrSearchOutput = z.object({\n pagination: PiloterrSearch_PaginationSchema.nullable().optional(),\n knowledge_graph: PiloterrSearch_KnowledgeGraphSchema.nullable().optional(),\n organic_results: z.array(PiloterrSearch_OrganicResultSchema).describe(\"List of organic search results.\").nullable().optional(),\n related_searches: z.array(PiloterrSearch_RelatedSearchSchema).describe(\"Related search suggestions.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for search.\").nullable().optional(),\n search_information: PiloterrSearch_SearchInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for Piloterr Google search.\");\n\nexport const piloterrSearch = action(\"PILOTERR_SEARCH\", {\n slug: \"piloterr-search\",\n name: \"Piloterr Google Search\",\n description: \"Tool to perform Google web search via Piloterr API. Use when you need to search the web for information using Google.\",\n input: PiloterrSearchInput,\n output: PiloterrSearchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search.mjs","names":[],"sources":["../../src/actions/search.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrSearchInput = z.object({\n gl: z.string().describe(\"Two-letter country code for Google search locale (e.g., 'us', 'uk', 'fr').\").optional(),\n hl: z.string().describe(\"Two-letter language code for search interface (e.g., 'en', 'es', 'fr').\").optional(),\n tbs: z.string().describe(\"Advanced search time filter: 'qdr:h' (hour), 'qdr:d' (day), 'qdr:w' (week), 'qdr:m' (month), 'qdr:y' (year).\").optional(),\n page: z.number().int().describe(\"Result page offset for pagination.\").optional(),\n uule: z.string().describe(\"Google-encoded location parameter. Cannot be used with location.\").optional(),\n query: z.string().describe(\"Search query string. Supports operators like inurl:, site:, intitle:.\"),\n location: z.string().describe(\"Search origin location (e.g., 'New York, NY', 'Paris, France'). Cannot be used with uule.\").optional(),\n}).describe(\"Request model for Google search via Piloterr API.\");\nconst PiloterrSearch_PaginationSchema = z.object({\n next: z.number().int().describe(\"Next page number.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable().optional(),\n other_pages: z.array(z.number().int()).describe(\"List of available page numbers.\").nullable().optional(),\n has_next_page: z.boolean().describe(\"Whether more pages are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for search results.\");\nconst PiloterrSearch_KnowledgeGraphSchema = z.object({\n type: z.string().describe(\"Type of knowledge graph entry.\").nullable().optional(),\n title: z.string().describe(\"Title of the knowledge graph.\").nullable().optional(),\n website: z.string().describe(\"Website URL.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes.\").nullable().optional(),\n description: z.string().describe(\"Description text.\").nullable().optional(),\n description_link: z.string().describe(\"Link for description.\").nullable().optional(),\n description_source: z.string().describe(\"Source of description.\").nullable().optional(),\n}).passthrough().describe(\"Knowledge graph panel if present in results.\");\nconst PiloterrSearch_OrganicResultSchema = z.object({\n link: z.string().describe(\"URL of the result.\").nullable().optional(),\n title: z.string().describe(\"Title of the result.\").nullable().optional(),\n domain: z.string().describe(\"Domain of the result.\").nullable().optional(),\n source: z.string().describe(\"Source of the result.\").nullable().optional(),\n snippet: z.string().describe(\"Snippet/description of the result.\").nullable().optional(),\n position: z.number().int().describe(\"Position in search results.\").nullable().optional(),\n displayed_link: z.string().describe(\"Displayed link in search results.\").nullable().optional(),\n snippet_matched: z.array(z.string()).describe(\"Matched keywords in snippet.\").nullable().optional(),\n}).passthrough().describe(\"Single organic search result.\");\nconst PiloterrSearch_RelatedSearchSchema = z.object({\n query: z.string().describe(\"Related search query.\").nullable().optional(),\n}).passthrough().describe(\"Related search query suggestion.\");\nconst PiloterrSearch_SearchInformationSchema = z.object({\n total_results: z.number().int().describe(\"Total number of results found.\").nullable().optional(),\n time_taken_displayed: z.number().describe(\"Time taken for search in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about the search results.\");\nexport const PiloterrSearchOutput = z.object({\n pagination: PiloterrSearch_PaginationSchema.nullable().optional(),\n knowledge_graph: PiloterrSearch_KnowledgeGraphSchema.nullable().optional(),\n organic_results: z.array(PiloterrSearch_OrganicResultSchema).describe(\"List of organic search results.\").nullable().optional(),\n related_searches: z.array(PiloterrSearch_RelatedSearchSchema).describe(\"Related search suggestions.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for search.\").nullable().optional(),\n search_information: PiloterrSearch_SearchInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for Piloterr Google search.\");\n\nexport const piloterrSearch: AppAction<\n typeof PiloterrSearchInput,\n typeof PiloterrSearchOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_SEARCH\", {\n slug: \"piloterr-search\",\n name: \"Piloterr Google Search\",\n description: \"Tool to perform Google web search via Piloterr API. Use when you need to search the web for information using Google.\",\n input: PiloterrSearchInput,\n output: PiloterrSearchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC/G,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CA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AAS,uCAAuC;AAUjE,MAAa,iBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBkC,EAAE,OAAO;EAC3C,YAAY,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAChE,iBAAiB,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACzE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,kBAAkB,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,oBAAoB,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage-get.cjs","names":["z","action"],"sources":["../../src/actions/usage-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrUsageGetInput = z.object({}).describe(\"Request model for retrieving usage info. No parameters are required for this request.\");\nexport const PiloterrUsageGetOutput = z.object({\n plan: z.string().describe(\"The plan name or description.\").nullable(),\n remaining: z.number().int().describe(\"Number of credits remaining.\").nullable(),\n renewal_date: z.string().describe(\"Date when the plan renews (ISO 8601 format), or null if not applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for usage information and remaining credits.\");\n\nexport const piloterrUsageGet = action(\"PILOTERR_USAGE_GET\", {\n slug: \"piloterr-usage-get\",\n name: \"Get Usage\",\n description: \"Tool to get usage information and remaining credits for your Piloterr account. Use when you need to check account usage and credit details.\",\n input: PiloterrUsageGetInput,\n output: PiloterrUsageGetOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"usage-get.cjs","names":["z","action"],"sources":["../../src/actions/usage-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrUsageGetInput = z.object({}).describe(\"Request model for retrieving usage info. No parameters are required for this request.\");\nexport const PiloterrUsageGetOutput = z.object({\n plan: z.string().describe(\"The plan name or description.\").nullable(),\n remaining: z.number().int().describe(\"Number of credits remaining.\").nullable(),\n renewal_date: z.string().describe(\"Date when the plan renews (ISO 8601 format), or null if not applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for usage information and remaining credits.\");\n\nexport const piloterrUsageGet: AppAction<\n typeof PiloterrUsageGetInput,\n typeof PiloterrUsageGetOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_USAGE_GET\", {\n slug: \"piloterr-usage-get\",\n name: \"Get Usage\",\n description: \"Tool to get usage information and remaining credits for your Piloterr account. Use when you need to check account usage and credit details.\",\n input: PiloterrUsageGetInput,\n output: PiloterrUsageGetOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAClJ,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piloterr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/usage-get.d.ts
|
|
@@ -7,19 +9,7 @@ declare const PiloterrUsageGetOutput: z.ZodObject<{
|
|
|
7
9
|
remaining: z.ZodNullable<z.ZodNumber>;
|
|
8
10
|
renewal_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const piloterrUsageGet:
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piloterr", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const piloterrUsageGet: AppAction<typeof PiloterrUsageGetInput, typeof PiloterrUsageGetOutput, typeof piloterr.credential>;
|
|
23
13
|
//#endregion
|
|
24
14
|
export { piloterrUsageGet };
|
|
25
15
|
//# sourceMappingURL=usage-get.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage-get.d.cts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"usage-get.d.cts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { piloterr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/usage-get.d.ts
|
|
@@ -7,19 +9,7 @@ declare const PiloterrUsageGetOutput: z.ZodObject<{
|
|
|
7
9
|
remaining: z.ZodNullable<z.ZodNumber>;
|
|
8
10
|
renewal_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const piloterrUsageGet:
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"piloterr", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const piloterrUsageGet: AppAction<typeof PiloterrUsageGetInput, typeof PiloterrUsageGetOutput, typeof piloterr.credential>;
|
|
23
13
|
//#endregion
|
|
24
14
|
export { piloterrUsageGet };
|
|
25
15
|
//# sourceMappingURL=usage-get.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage-get.d.mts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"usage-get.d.mts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage-get.mjs","names":[],"sources":["../../src/actions/usage-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrUsageGetInput = z.object({}).describe(\"Request model for retrieving usage info. No parameters are required for this request.\");\nexport const PiloterrUsageGetOutput = z.object({\n plan: z.string().describe(\"The plan name or description.\").nullable(),\n remaining: z.number().int().describe(\"Number of credits remaining.\").nullable(),\n renewal_date: z.string().describe(\"Date when the plan renews (ISO 8601 format), or null if not applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for usage information and remaining credits.\");\n\nexport const piloterrUsageGet = action(\"PILOTERR_USAGE_GET\", {\n slug: \"piloterr-usage-get\",\n name: \"Get Usage\",\n description: \"Tool to get usage information and remaining credits for your Piloterr account. Use when you need to check account usage and credit details.\",\n input: PiloterrUsageGetInput,\n output: PiloterrUsageGetOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"usage-get.mjs","names":[],"sources":["../../src/actions/usage-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrUsageGetInput = z.object({}).describe(\"Request model for retrieving usage info. No parameters are required for this request.\");\nexport const PiloterrUsageGetOutput = z.object({\n plan: z.string().describe(\"The plan name or description.\").nullable(),\n remaining: z.number().int().describe(\"Number of credits remaining.\").nullable(),\n renewal_date: z.string().describe(\"Date when the plan renews (ISO 8601 format), or null if not applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for usage information and remaining credits.\");\n\nexport const piloterrUsageGet: AppAction<\n typeof PiloterrUsageGetInput,\n typeof PiloterrUsageGetOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_USAGE_GET\", {\n slug: \"piloterr-usage-get\",\n name: \"Get Usage\",\n description: \"Tool to get usage information and remaining credits for your Piloterr account. Use when you need to check account usage and credit details.\",\n input: PiloterrUsageGetInput,\n output: PiloterrUsageGetOutput,\n});\n"],"mappings":";;;AAaA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAelD;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const piloterr = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "piloterr",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.piloterr = piloterr;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const piloterr = defineApp({\n slug: \"piloterr\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const piloterr: KeystrokeApp<\"piloterr\", typeof credential> = defineApp({\n slug: \"piloterr\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const piloterr: KeystrokeApp<"piloterr", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { piloterr };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const piloterr: KeystrokeApp<"piloterr", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { piloterr };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const piloterr = defineApp({\n slug: \"piloterr\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const piloterr: KeystrokeApp<\"piloterr\", typeof credential> = defineApp({\n slug: \"piloterr\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { piloterr } from "./app.cjs";
|
|
1
2
|
import { piloterrAuchanProduct } from "./actions/auchan-product.cjs";
|
|
2
3
|
import { piloterrAuchanSearch } from "./actions/auchan-search.cjs";
|
|
3
4
|
import { piloterrGetProductInfo } from "./actions/get-product-info.cjs";
|
|
@@ -10,6 +11,5 @@ import { piloterrListLeroyMerlinProducts } from "./actions/list-leroy-merlin-pro
|
|
|
10
11
|
import { piloterrListLinkedInIndustries } from "./actions/list-linked-in-industries.cjs";
|
|
11
12
|
import { piloterrSearch } from "./actions/search.cjs";
|
|
12
13
|
import { piloterrUsageGet } from "./actions/usage-get.cjs";
|
|
13
|
-
import { piloterr } from "./app.cjs";
|
|
14
14
|
import { piloterrCatalog } from "./catalog.cjs";
|
|
15
15
|
export { piloterr, piloterrAuchanProduct, piloterrAuchanSearch, piloterrCatalog, piloterrGetProductInfo, piloterrListChewyProducts, piloterrListEleclercStores, piloterrListGoogleCountries, piloterrListGoogleLanguages, piloterrListGoogleLocations, piloterrListLeroyMerlinProducts, piloterrListLinkedInIndustries, piloterrSearch, piloterrUsageGet };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { piloterr } from "./app.mjs";
|
|
1
2
|
import { piloterrAuchanProduct } from "./actions/auchan-product.mjs";
|
|
2
3
|
import { piloterrAuchanSearch } from "./actions/auchan-search.mjs";
|
|
3
4
|
import { piloterrGetProductInfo } from "./actions/get-product-info.mjs";
|
|
@@ -10,6 +11,5 @@ import { piloterrListLeroyMerlinProducts } from "./actions/list-leroy-merlin-pro
|
|
|
10
11
|
import { piloterrListLinkedInIndustries } from "./actions/list-linked-in-industries.mjs";
|
|
11
12
|
import { piloterrSearch } from "./actions/search.mjs";
|
|
12
13
|
import { piloterrUsageGet } from "./actions/usage-get.mjs";
|
|
13
|
-
import { piloterr } from "./app.mjs";
|
|
14
14
|
import { piloterrCatalog } from "./catalog.mjs";
|
|
15
15
|
export { piloterr, piloterrAuchanProduct, piloterrAuchanSearch, piloterrCatalog, piloterrGetProductInfo, piloterrListChewyProducts, piloterrListEleclercStores, piloterrListGoogleCountries, piloterrListGoogleLanguages, piloterrListGoogleLocations, piloterrListLeroyMerlinProducts, piloterrListLinkedInIndustries, piloterrSearch, piloterrUsageGet };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/piloterr",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|