@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
|
@@ -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
|
|
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}).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}).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}).describe(\"Single organic search result.\");\nconst PiloterrSearch_RelatedSearchSchema = z.object({\n query: z.string().describe(\"Related search query.\").nullable().optional(),\n}).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}).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}).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":";;;AAIA,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,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,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AS,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,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/usage-get.ts
|
|
4
4
|
const PiloterrUsageGetInput = zod.z.object({}).describe("Request model for retrieving usage info. No parameters are required for this request.");
|
|
5
5
|
const PiloterrUsageGetOutput = zod.z.object({
|
|
6
|
-
plan: zod.z.string().describe("The plan name or description."),
|
|
7
|
-
remaining: zod.z.number().int().describe("Number of credits remaining."),
|
|
6
|
+
plan: zod.z.string().describe("The plan name or description.").nullable(),
|
|
7
|
+
remaining: zod.z.number().int().describe("Number of credits remaining.").nullable(),
|
|
8
8
|
renewal_date: zod.z.string().describe("Date when the plan renews (ISO 8601 format), or null if not applicable.").nullable().optional()
|
|
9
9
|
}).describe("Response model for usage information and remaining credits.");
|
|
10
10
|
const piloterrUsageGet = require_action.action("PILOTERR_USAGE_GET", {
|
|
@@ -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
|
|
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}).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":";;;AAIA,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,SAAS,6DAA6D;AAEzE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/usage-get.d.ts
|
|
4
|
-
declare const PiloterrUsageGetInput: z.
|
|
5
|
-
declare const PiloterrUsageGetOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PiloterrUsageGetInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PiloterrUsageGetOutput: z.ZodObject<{
|
|
6
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
renewal_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const piloterrUsageGet: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { piloterrUsageGet };
|
|
9
13
|
//# sourceMappingURL=usage-get.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage-get.d.cts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"usage-get.d.cts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/usage-get.d.ts
|
|
4
|
-
declare const PiloterrUsageGetInput: z.
|
|
5
|
-
declare const PiloterrUsageGetOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PiloterrUsageGetInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PiloterrUsageGetOutput: z.ZodObject<{
|
|
6
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
7
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
renewal_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const piloterrUsageGet: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { piloterrUsageGet };
|
|
9
13
|
//# sourceMappingURL=usage-get.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage-get.d.mts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"usage-get.d.mts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,8 +6,8 @@ const piloterrUsageGet = action("PILOTERR_USAGE_GET", {
|
|
|
6
6
|
description: "Tool to get usage information and remaining credits for your Piloterr account. Use when you need to check account usage and credit details.",
|
|
7
7
|
input: z.object({}).describe("Request model for retrieving usage info. No parameters are required for this request."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
plan: z.string().describe("The plan name or description."),
|
|
10
|
-
remaining: z.number().int().describe("Number of credits remaining."),
|
|
9
|
+
plan: z.string().describe("The plan name or description.").nullable(),
|
|
10
|
+
remaining: z.number().int().describe("Number of credits remaining.").nullable(),
|
|
11
11
|
renewal_date: z.string().describe("Date when the plan renews (ISO 8601 format), or null if not applicable.").nullable().optional()
|
|
12
12
|
}).describe("Response model for usage information and remaining credits.")
|
|
13
13
|
});
|
|
@@ -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
|
|
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}).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":";;AAWA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAWlD;CACP,QAXoC,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,SAAS,6DAOF;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const piloterrCatalog = {
|
|
|
7
7
|
"category": "AI Web Scraping",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/piloterr",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Piloterr API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The API key required for authenticating requests to the Piloterr API."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.piloterrCatalog = piloterrCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const piloterrCatalog = {\n \"slug\": \"piloterr\",\n \"name\": \"Piloterr\",\n \"description\": \"Piloterr is a developer-first platform offering over 50 ready-to-use APIs for web scraping and data extraction, enabling businesses to efficiently gather and integrate web data into their systems.\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/piloterr\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const piloterrCatalog = {\n \"slug\": \"piloterr\",\n \"name\": \"Piloterr\",\n \"description\": \"Piloterr is a developer-first platform offering over 50 ready-to-use APIs for web scraping and data extraction, enabling businesses to efficiently gather and integrate web data into their systems.\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/piloterr\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Piloterr API Key\",\n \"secret\": true,\n \"description\": \"The API key required for authenticating requests to the Piloterr API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const piloterrCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/piloterr";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Piloterr API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "The API key required for authenticating requests to the Piloterr API.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { piloterrCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const piloterrCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/piloterr";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "Piloterr API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "The API key required for authenticating requests to the Piloterr API.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { piloterrCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const piloterrCatalog = {
|
|
|
7
7
|
"category": "AI Web Scraping",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/piloterr",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Piloterr API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The API key required for authenticating requests to the Piloterr API."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { piloterrCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const piloterrCatalog = {\n \"slug\": \"piloterr\",\n \"name\": \"Piloterr\",\n \"description\": \"Piloterr is a developer-first platform offering over 50 ready-to-use APIs for web scraping and data extraction, enabling businesses to efficiently gather and integrate web data into their systems.\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/piloterr\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const piloterrCatalog = {\n \"slug\": \"piloterr\",\n \"name\": \"Piloterr\",\n \"description\": \"Piloterr is a developer-first platform offering over 50 ready-to-use APIs for web scraping and data extraction, enabling businesses to efficiently gather and integrate web data into their systems.\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/piloterr\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Piloterr API Key\",\n \"secret\": true,\n \"description\": \"The API key required for authenticating requests to the Piloterr API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/piloterr",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|