@keystrokehq/scrape_do 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/cancel-async-job.cjs +1 -1
- package/dist/actions/cancel-async-job.cjs.map +1 -1
- package/dist/actions/cancel-async-job.d.cts +1 -1
- package/dist/actions/cancel-async-job.d.mts +1 -1
- package/dist/actions/cancel-async-job.mjs +1 -1
- package/dist/actions/cancel-async-job.mjs.map +1 -1
- package/dist/actions/create-async-job.cjs +3 -3
- package/dist/actions/create-async-job.cjs.map +1 -1
- package/dist/actions/create-async-job.d.cts +5 -5
- package/dist/actions/create-async-job.d.mts +5 -5
- package/dist/actions/create-async-job.mjs +3 -3
- package/dist/actions/create-async-job.mjs.map +1 -1
- package/dist/actions/get-account-info.cjs +1 -1
- package/dist/actions/get-account-info.cjs.map +1 -1
- package/dist/actions/get-account-info.d.cts +1 -1
- package/dist/actions/get-account-info.d.mts +1 -1
- package/dist/actions/get-account-info.mjs +1 -1
- package/dist/actions/get-account-info.mjs.map +1 -1
- package/dist/actions/get-amazon-offers.cjs +7 -7
- package/dist/actions/get-amazon-offers.cjs.map +1 -1
- package/dist/actions/get-amazon-offers.d.cts +8 -8
- package/dist/actions/get-amazon-offers.d.mts +8 -8
- package/dist/actions/get-amazon-offers.mjs +7 -7
- package/dist/actions/get-amazon-offers.mjs.map +1 -1
- package/dist/actions/get-amazon-product.cjs +7 -7
- package/dist/actions/get-amazon-product.cjs.map +1 -1
- package/dist/actions/get-amazon-product.d.cts +7 -7
- package/dist/actions/get-amazon-product.d.mts +7 -7
- package/dist/actions/get-amazon-product.mjs +7 -7
- package/dist/actions/get-amazon-product.mjs.map +1 -1
- package/dist/actions/get-amazon-raw-html.cjs +1 -1
- package/dist/actions/get-amazon-raw-html.cjs.map +1 -1
- package/dist/actions/get-amazon-raw-html.d.cts +1 -1
- package/dist/actions/get-amazon-raw-html.d.mts +1 -1
- package/dist/actions/get-amazon-raw-html.mjs +1 -1
- package/dist/actions/get-amazon-raw-html.mjs.map +1 -1
- package/dist/actions/get-async-account-info.cjs +1 -1
- package/dist/actions/get-async-account-info.cjs.map +1 -1
- package/dist/actions/get-async-account-info.d.cts +1 -1
- package/dist/actions/get-async-account-info.d.mts +1 -1
- package/dist/actions/get-async-account-info.mjs +1 -1
- package/dist/actions/get-async-account-info.mjs.map +1 -1
- package/dist/actions/get-async-job.cjs +2 -2
- package/dist/actions/get-async-job.cjs.map +1 -1
- package/dist/actions/get-async-job.d.cts +2 -2
- package/dist/actions/get-async-job.d.mts +2 -2
- package/dist/actions/get-async-job.mjs +2 -2
- package/dist/actions/get-async-job.mjs.map +1 -1
- package/dist/actions/get-async-task.cjs +2 -2
- package/dist/actions/get-async-task.cjs.map +1 -1
- package/dist/actions/get-async-task.d.cts +2 -2
- package/dist/actions/get-async-task.d.mts +2 -2
- package/dist/actions/get-async-task.mjs +2 -2
- package/dist/actions/get-async-task.mjs.map +1 -1
- package/dist/actions/get-page.cjs +1 -1
- package/dist/actions/get-page.cjs.map +1 -1
- package/dist/actions/get-page.d.cts +1 -1
- package/dist/actions/get-page.d.mts +1 -1
- package/dist/actions/get-page.mjs +1 -1
- package/dist/actions/get-page.mjs.map +1 -1
- package/dist/actions/list-async-jobs.cjs +2 -2
- package/dist/actions/list-async-jobs.cjs.map +1 -1
- package/dist/actions/list-async-jobs.d.cts +2 -2
- package/dist/actions/list-async-jobs.d.mts +2 -2
- package/dist/actions/list-async-jobs.mjs +2 -2
- package/dist/actions/list-async-jobs.mjs.map +1 -1
- package/dist/actions/proxy-mode.cjs +1 -1
- package/dist/actions/proxy-mode.cjs.map +1 -1
- package/dist/actions/proxy-mode.d.cts +1 -1
- package/dist/actions/proxy-mode.d.mts +1 -1
- package/dist/actions/proxy-mode.mjs +1 -1
- package/dist/actions/proxy-mode.mjs.map +1 -1
- package/dist/actions/scrape-url-post.cjs +2 -2
- package/dist/actions/scrape-url-post.cjs.map +1 -1
- package/dist/actions/scrape-url-post.d.cts +2 -2
- package/dist/actions/scrape-url-post.d.mts +2 -2
- package/dist/actions/scrape-url-post.mjs +2 -2
- package/dist/actions/scrape-url-post.mjs.map +1 -1
- package/dist/actions/search-amazon.cjs +4 -4
- package/dist/actions/search-amazon.cjs.map +1 -1
- package/dist/actions/search-amazon.d.cts +4 -4
- package/dist/actions/search-amazon.d.mts +4 -4
- package/dist/actions/search-amazon.mjs +4 -4
- package/dist/actions/search-amazon.mjs.map +1 -1
- package/dist/actions/set-block-urls.cjs +1 -1
- package/dist/actions/set-block-urls.cjs.map +1 -1
- package/dist/actions/set-block-urls.d.cts +1 -1
- package/dist/actions/set-block-urls.d.mts +1 -1
- package/dist/actions/set-block-urls.mjs +1 -1
- package/dist/actions/set-block-urls.mjs.map +1 -1
- package/dist/actions/set-regional-geo-code.cjs +1 -1
- package/dist/actions/set-regional-geo-code.cjs.map +1 -1
- package/dist/actions/set-regional-geo-code.d.cts +1 -1
- package/dist/actions/set-regional-geo-code.d.mts +1 -1
- package/dist/actions/set-regional-geo-code.mjs +1 -1
- package/dist/actions/set-regional-geo-code.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -13,12 +13,12 @@ const ScrapeDoSearchAmazonInput = z.object({
|
|
|
13
13
|
const ScrapeDoSearchAmazon_ProductPriceSchema = z.object({
|
|
14
14
|
amount: z.number().describe("Price amount").nullable().optional(),
|
|
15
15
|
currencyCode: z.string().describe("Currency code (e.g., USD, EUR)").nullable().optional()
|
|
16
|
-
}).describe("Price information for a product.");
|
|
16
|
+
}).passthrough().describe("Price information for a product.");
|
|
17
17
|
const ScrapeDoSearchAmazon_ProductRatingSchema = z.object({
|
|
18
18
|
count: z.number().int().describe("Number of ratings").nullable().optional(),
|
|
19
19
|
stars: z.union([z.string(), z.number().int()]).nullable().optional(),
|
|
20
20
|
value: z.number().describe("Rating value (e.g., 4.5)").nullable().optional()
|
|
21
|
-
}).describe("Rating information for a product.");
|
|
21
|
+
}).passthrough().describe("Rating information for a product.");
|
|
22
22
|
const ScrapeDoSearchAmazon_ProductSchema = z.object({
|
|
23
23
|
url: z.string().describe("Product detail page URL").nullable().optional(),
|
|
24
24
|
asin: z.string().describe("Amazon Standard Identification Number").nullable().optional(),
|
|
@@ -31,7 +31,7 @@ const ScrapeDoSearchAmazon_ProductSchema = z.object({
|
|
|
31
31
|
position: z.number().int().describe("Position on the search results page").nullable().optional(),
|
|
32
32
|
isSponsored: z.boolean().describe("Whether this is a sponsored product placement").nullable().optional(),
|
|
33
33
|
reviewCount: z.string().describe("Number of product reviews").nullable().optional()
|
|
34
|
-
}).describe("Individual product information from search results.");
|
|
34
|
+
}).passthrough().describe("Individual product information from search results.");
|
|
35
35
|
const scrapeDoSearchAmazon = action("SCRAPE_DO_SEARCH_AMAZON", {
|
|
36
36
|
slug: "scrape_do-search-amazon",
|
|
37
37
|
name: "Search Amazon products",
|
|
@@ -45,7 +45,7 @@ const scrapeDoSearchAmazon = action("SCRAPE_DO_SEARCH_AMAZON", {
|
|
|
45
45
|
products: z.array(ScrapeDoSearchAmazon_ProductSchema).describe("List of product results from the search").nullable().optional(),
|
|
46
46
|
errorMessage: z.string().describe("Error message if request failed").nullable().optional(),
|
|
47
47
|
totalResults: z.string().describe("Total results count as displayed by Amazon").nullable().optional()
|
|
48
|
-
}).describe("Response model for Amazon search results.")
|
|
48
|
+
}).passthrough().describe("Response model for Amazon search results.")
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
51
|
export { scrapeDoSearchAmazon };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-amazon.mjs","names":[],"sources":["../../src/actions/search-amazon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapeDoSearchAmazonInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (default: 1)\").optional(),\n \"super\": z.boolean().describe(\"Enable residential/mobile proxies for higher success rates. Costs 10x credits (default: false)\").optional(),\n geocode: z.string().describe(\"Country code for Amazon marketplace (e.g., us, gb, de, jp, ca, fr, it, es, in)\"),\n keyword: z.string().describe(\"Search query term (will be URL-encoded automatically)\"),\n zipcode: z.string().describe(\"Postal/ZIP code formatted according to country requirements (e.g., 10001 for US, SW1A 1AA for UK)\"),\n language: z.string().describe(\"Language code in ISO 639-1 format (e.g., EN, DE, FR, ES)\").optional(),\n include_html: z.boolean().describe(\"When true, includes the full raw HTML alongside structured JSON (default: false)\").optional(),\n}).describe(\"Request model for searching Amazon.\");\nconst ScrapeDoSearchAmazon_ProductPriceSchema = z.object({\n amount: z.number().describe(\"Price amount\").nullable().optional(),\n currencyCode: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable().optional(),\n}).describe(\"Price information for a product.\");\nconst ScrapeDoSearchAmazon_ProductRatingSchema = z.object({\n count: z.number().int().describe(\"Number of ratings\").nullable().optional(),\n stars: z.union([z.string(), z.number().int()]).nullable().optional(),\n value: z.number().describe(\"Rating value (e.g., 4.5)\").nullable().optional(),\n}).describe(\"Rating information for a product.\");\nconst ScrapeDoSearchAmazon_ProductSchema = z.object({\n url: z.string().describe(\"Product detail page URL\").nullable().optional(),\n asin: z.string().describe(\"Amazon Standard Identification Number\").nullable().optional(),\n badge: z.string().describe(\"Special badge if present (e.g., Best Seller, Overall Pick)\").nullable().optional(),\n price: ScrapeDoSearchAmazon_ProductPriceSchema.nullable().optional(),\n title: z.string().describe(\"Product title\").nullable().optional(),\n rating: ScrapeDoSearchAmazon_ProductRatingSchema.nullable().optional(),\n isPrime: z.boolean().describe(\"Whether Amazon Prime shipping is available\").nullable().optional(),\n imageUrl: z.string().describe(\"Product thumbnail image URL\").nullable().optional(),\n position: z.number().int().describe(\"Position on the search results page\").nullable().optional(),\n isSponsored: z.boolean().describe(\"Whether this is a sponsored product placement\").nullable().optional(),\n reviewCount: z.string().describe(\"Number of product reviews\").nullable().optional(),\n}).describe(\"Individual product information from search results.\");\nexport const ScrapeDoSearchAmazonOutput = z.object({\n html: z.string().describe(\"Full raw HTML when include_html=true\").nullable().optional(),\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n status: z.string().describe(\"Request status (success or error)\").nullable().optional(),\n keyword: z.string().describe(\"The search query that was executed\").nullable().optional(),\n products: z.array(ScrapeDoSearchAmazon_ProductSchema).describe(\"List of product results from the search\").nullable().optional(),\n errorMessage: z.string().describe(\"Error message if request failed\").nullable().optional(),\n totalResults: z.string().describe(\"Total results count as displayed by Amazon\").nullable().optional(),\n}).describe(\"Response model for Amazon search results.\");\n\nexport const scrapeDoSearchAmazon = action(\"SCRAPE_DO_SEARCH_AMAZON\", {\n slug: \"scrape_do-search-amazon\",\n name: \"Search Amazon products\",\n description: \"Tool to search Amazon and scrape product listings with structured results. Performs keyword searches and returns structured product data including titles, prices, ratings, Prime status, sponsored flags, and position rankings in JSON format. Use when you need to search for products on Amazon marketplace or gather product information from search results.\",\n input: ScrapeDoSearchAmazonInput,\n output: ScrapeDoSearchAmazonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACzI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAChI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"search-amazon.mjs","names":[],"sources":["../../src/actions/search-amazon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapeDoSearchAmazonInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (default: 1)\").optional(),\n \"super\": z.boolean().describe(\"Enable residential/mobile proxies for higher success rates. Costs 10x credits (default: false)\").optional(),\n geocode: z.string().describe(\"Country code for Amazon marketplace (e.g., us, gb, de, jp, ca, fr, it, es, in)\"),\n keyword: z.string().describe(\"Search query term (will be URL-encoded automatically)\"),\n zipcode: z.string().describe(\"Postal/ZIP code formatted according to country requirements (e.g., 10001 for US, SW1A 1AA for UK)\"),\n language: z.string().describe(\"Language code in ISO 639-1 format (e.g., EN, DE, FR, ES)\").optional(),\n include_html: z.boolean().describe(\"When true, includes the full raw HTML alongside structured JSON (default: false)\").optional(),\n}).describe(\"Request model for searching Amazon.\");\nconst ScrapeDoSearchAmazon_ProductPriceSchema = z.object({\n amount: z.number().describe(\"Price amount\").nullable().optional(),\n currencyCode: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable().optional(),\n}).passthrough().describe(\"Price information for a product.\");\nconst ScrapeDoSearchAmazon_ProductRatingSchema = z.object({\n count: z.number().int().describe(\"Number of ratings\").nullable().optional(),\n stars: z.union([z.string(), z.number().int()]).nullable().optional(),\n value: z.number().describe(\"Rating value (e.g., 4.5)\").nullable().optional(),\n}).passthrough().describe(\"Rating information for a product.\");\nconst ScrapeDoSearchAmazon_ProductSchema = z.object({\n url: z.string().describe(\"Product detail page URL\").nullable().optional(),\n asin: z.string().describe(\"Amazon Standard Identification Number\").nullable().optional(),\n badge: z.string().describe(\"Special badge if present (e.g., Best Seller, Overall Pick)\").nullable().optional(),\n price: ScrapeDoSearchAmazon_ProductPriceSchema.nullable().optional(),\n title: z.string().describe(\"Product title\").nullable().optional(),\n rating: ScrapeDoSearchAmazon_ProductRatingSchema.nullable().optional(),\n isPrime: z.boolean().describe(\"Whether Amazon Prime shipping is available\").nullable().optional(),\n imageUrl: z.string().describe(\"Product thumbnail image URL\").nullable().optional(),\n position: z.number().int().describe(\"Position on the search results page\").nullable().optional(),\n isSponsored: z.boolean().describe(\"Whether this is a sponsored product placement\").nullable().optional(),\n reviewCount: z.string().describe(\"Number of product reviews\").nullable().optional(),\n}).passthrough().describe(\"Individual product information from search results.\");\nexport const ScrapeDoSearchAmazonOutput = z.object({\n html: z.string().describe(\"Full raw HTML when include_html=true\").nullable().optional(),\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n status: z.string().describe(\"Request status (success or error)\").nullable().optional(),\n keyword: z.string().describe(\"The search query that was executed\").nullable().optional(),\n products: z.array(ScrapeDoSearchAmazon_ProductSchema).describe(\"List of product results from the search\").nullable().optional(),\n errorMessage: z.string().describe(\"Error message if request failed\").nullable().optional(),\n totalResults: z.string().describe(\"Total results count as displayed by Amazon\").nullable().optional(),\n}).passthrough().describe(\"Response model for Amazon search results.\");\n\nexport const scrapeDoSearchAmazon = action(\"SCRAPE_DO_SEARCH_AMAZON\", {\n slug: \"scrape_do-search-amazon\",\n name: \"Search Amazon products\",\n description: \"Tool to search Amazon and scrape product listings with structured results. Performs keyword searches and returns structured product data including titles, prices, ratings, Prime status, sponsored flags, and position rankings in JSON format. Use when you need to search for products on Amazon marketplace or gather product information from search results.\",\n input: ScrapeDoSearchAmazonInput,\n output: ScrapeDoSearchAmazonOutput,\n});\n"],"mappings":"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"}
|
|
@@ -5,7 +5,7 @@ const ScrapeDoSetBlockUrlsInput = zod.z.object({ urls: zod.z.array(zod.z.string(
|
|
|
5
5
|
const ScrapeDoSetBlockUrlsOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().default("").describe("Success message confirming URLs have been blocked.").nullable().optional(),
|
|
7
7
|
blocked_urls: zod.z.array(zod.z.string()).default([]).describe("List of URLs that were successfully blocked.").nullable().optional()
|
|
8
|
-
}).describe("Response model for SetBlockUrls action.");
|
|
8
|
+
}).passthrough().describe("Response model for SetBlockUrls action.");
|
|
9
9
|
const scrapeDoSetBlockUrls = require_action.action("SCRAPE_DO_SET_BLOCK_URLS", {
|
|
10
10
|
slug: "scrape_do-set-block-urls",
|
|
11
11
|
name: "Block specific URLs during scraping",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-block-urls.cjs","names":["z","action"],"sources":["../../src/actions/set-block-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapeDoSetBlockUrlsInput = z.object({\n urls: z.array(z.string()).describe(\"List of URL patterns to block during scraping. Can be full URLs or patterns.\"),\n}).describe(\"Request model for SetBlockUrls action.\");\nexport const ScrapeDoSetBlockUrlsOutput = z.object({\n message: z.string().default(\"\").describe(\"Success message confirming URLs have been blocked.\").nullable().optional(),\n blocked_urls: z.array(z.string()).default([]).describe(\"List of URLs that were successfully blocked.\").nullable().optional(),\n}).describe(\"Response model for SetBlockUrls action.\");\n\nexport const scrapeDoSetBlockUrls = action(\"SCRAPE_DO_SET_BLOCK_URLS\", {\n slug: \"scrape_do-set-block-urls\",\n name: \"Block specific URLs during scraping\",\n description: \"This tool allows users to block specific URLs during the scraping process. It's particularly useful for blocking unwanted resources like analytics scripts, advertisements, or any other URLs that might interfere with the scraping process or slow it down. It provides granular control by allowing users to specify URL patterns to block, thereby improving scraping performance and maintaining privacy.\",\n input: ScrapeDoSetBlockUrlsInput,\n output: ScrapeDoSetBlockUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,EACnH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"set-block-urls.cjs","names":["z","action"],"sources":["../../src/actions/set-block-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapeDoSetBlockUrlsInput = z.object({\n urls: z.array(z.string()).describe(\"List of URL patterns to block during scraping. Can be full URLs or patterns.\"),\n}).describe(\"Request model for SetBlockUrls action.\");\nexport const ScrapeDoSetBlockUrlsOutput = z.object({\n message: z.string().default(\"\").describe(\"Success message confirming URLs have been blocked.\").nullable().optional(),\n blocked_urls: z.array(z.string()).default([]).describe(\"List of URLs that were successfully blocked.\").nullable().optional(),\n}).passthrough().describe(\"Response model for SetBlockUrls action.\");\n\nexport const scrapeDoSetBlockUrls = action(\"SCRAPE_DO_SET_BLOCK_URLS\", {\n slug: \"scrape_do-set-block-urls\",\n name: \"Block specific URLs during scraping\",\n description: \"This tool allows users to block specific URLs during the scraping process. It's particularly useful for blocking unwanted resources like analytics scripts, advertisements, or any other URLs that might interfere with the scraping process or slow it down. It provides granular control by allowing users to specify URL patterns to block, thereby improving scraping performance and maintaining privacy.\",\n input: ScrapeDoSetBlockUrlsInput,\n output: ScrapeDoSetBlockUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,EACnH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ScrapeDoSetBlockUrlsInput: z.ZodObject<{
|
|
|
7
7
|
declare const ScrapeDoSetBlockUrlsOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
blocked_urls: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodString>>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const scrapeDoSetBlockUrls: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
urls: string[];
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const ScrapeDoSetBlockUrlsInput: z.ZodObject<{
|
|
|
7
7
|
declare const ScrapeDoSetBlockUrlsOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
blocked_urls: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodString>>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const scrapeDoSetBlockUrls: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
urls: string[];
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const scrapeDoSetBlockUrls = action("SCRAPE_DO_SET_BLOCK_URLS", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().default("").describe("Success message confirming URLs have been blocked.").nullable().optional(),
|
|
10
10
|
blocked_urls: z.array(z.string()).default([]).describe("List of URLs that were successfully blocked.").nullable().optional()
|
|
11
|
-
}).describe("Response model for SetBlockUrls action.")
|
|
11
|
+
}).passthrough().describe("Response model for SetBlockUrls action.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { scrapeDoSetBlockUrls };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-block-urls.mjs","names":[],"sources":["../../src/actions/set-block-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapeDoSetBlockUrlsInput = z.object({\n urls: z.array(z.string()).describe(\"List of URL patterns to block during scraping. Can be full URLs or patterns.\"),\n}).describe(\"Request model for SetBlockUrls action.\");\nexport const ScrapeDoSetBlockUrlsOutput = z.object({\n message: z.string().default(\"\").describe(\"Success message confirming URLs have been blocked.\").nullable().optional(),\n blocked_urls: z.array(z.string()).default([]).describe(\"List of URLs that were successfully blocked.\").nullable().optional(),\n}).describe(\"Response model for SetBlockUrls action.\");\n\nexport const scrapeDoSetBlockUrls = action(\"SCRAPE_DO_SET_BLOCK_URLS\", {\n slug: \"scrape_do-set-block-urls\",\n name: \"Block specific URLs during scraping\",\n description: \"This tool allows users to block specific URLs during the scraping process. It's particularly useful for blocking unwanted resources like analytics scripts, advertisements, or any other URLs that might interfere with the scraping process or slow it down. It provides granular control by allowing users to specify URL patterns to block, thereby improving scraping performance and maintaining privacy.\",\n input: ScrapeDoSetBlockUrlsInput,\n output: ScrapeDoSetBlockUrlsOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,EACnH,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"set-block-urls.mjs","names":[],"sources":["../../src/actions/set-block-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapeDoSetBlockUrlsInput = z.object({\n urls: z.array(z.string()).describe(\"List of URL patterns to block during scraping. Can be full URLs or patterns.\"),\n}).describe(\"Request model for SetBlockUrls action.\");\nexport const ScrapeDoSetBlockUrlsOutput = z.object({\n message: z.string().default(\"\").describe(\"Success message confirming URLs have been blocked.\").nullable().optional(),\n blocked_urls: z.array(z.string()).default([]).describe(\"List of URLs that were successfully blocked.\").nullable().optional(),\n}).passthrough().describe(\"Response model for SetBlockUrls action.\");\n\nexport const scrapeDoSetBlockUrls = action(\"SCRAPE_DO_SET_BLOCK_URLS\", {\n slug: \"scrape_do-set-block-urls\",\n name: \"Block specific URLs during scraping\",\n description: \"This tool allows users to block specific URLs during the scraping process. It's particularly useful for blocking unwanted resources like analytics scripts, advertisements, or any other URLs that might interfere with the scraping process or slow it down. It provides granular control by allowing users to specify URL patterns to block, thereby improving scraping performance and maintaining privacy.\",\n input: ScrapeDoSetBlockUrlsInput,\n output: ScrapeDoSetBlockUrlsOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,EACnH,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const ScrapeDoSetRegionalGeoCodeInput = zod.z.object({
|
|
|
15
15
|
const ScrapeDoSetRegionalGeoCodeOutput = zod.z.object({
|
|
16
16
|
status: zod.z.string().describe("Status of the regional geolocation setting request").nullable(),
|
|
17
17
|
message: zod.z.string().describe("Response message from the API").nullable()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const scrapeDoSetRegionalGeoCode = require_action.action("SCRAPE_DO_SET_REGIONAL_GEO_CODE", {
|
|
20
20
|
slug: "scrape_do-set-regional-geo-code",
|
|
21
21
|
name: "Set Regional Geolocation for Scraping",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-regional-geo-code.cjs","names":["z","action"],"sources":["../../src/actions/set-regional-geo-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapeDoSetRegionalGeoCodeInput = z.object({\n url: z.string().describe(\"The target URL to scrape with the specified regional geo code\"),\n regional_geo_code: z.enum([\"europe\", \"asia\", \"africa\", \"oceania\", \"northamerica\", \"southamerica\"]).describe(\"The region code to target for scraping requests\"),\n});\nexport const ScrapeDoSetRegionalGeoCodeOutput = z.object({\n status: z.string().describe(\"Status of the regional geolocation setting request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n});\n\nexport const scrapeDoSetRegionalGeoCode = action(\"SCRAPE_DO_SET_REGIONAL_GEO_CODE\", {\n slug: \"scrape_do-set-regional-geo-code\",\n name: \"Set Regional Geolocation for Scraping\",\n description: \"This tool allows users to set a broader geographical targeting by specifying a region code instead of a specific country code. This is useful when you want to scrape content from an entire region rather than a specific country. Note that this feature requires super mode to be enabled and is only available for Business Plan or higher subscriptions.\",\n input: ScrapeDoSetRegionalGeoCodeInput,\n output: ScrapeDoSetRegionalGeoCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACxF,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAU;EAAW;EAAgB;CAAc,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC/J,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC;
|
|
1
|
+
{"version":3,"file":"set-regional-geo-code.cjs","names":["z","action"],"sources":["../../src/actions/set-regional-geo-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapeDoSetRegionalGeoCodeInput = z.object({\n url: z.string().describe(\"The target URL to scrape with the specified regional geo code\"),\n regional_geo_code: z.enum([\"europe\", \"asia\", \"africa\", \"oceania\", \"northamerica\", \"southamerica\"]).describe(\"The region code to target for scraping requests\"),\n});\nexport const ScrapeDoSetRegionalGeoCodeOutput = z.object({\n status: z.string().describe(\"Status of the regional geolocation setting request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough();\n\nexport const scrapeDoSetRegionalGeoCode = action(\"SCRAPE_DO_SET_REGIONAL_GEO_CODE\", {\n slug: \"scrape_do-set-regional-geo-code\",\n name: \"Set Regional Geolocation for Scraping\",\n description: \"This tool allows users to set a broader geographical targeting by specifying a region code instead of a specific country code. This is useful when you want to scrape content from an entire region rather than a specific country. Note that this feature requires super mode to be enabled and is only available for Business Plan or higher subscriptions.\",\n input: ScrapeDoSetRegionalGeoCodeInput,\n output: ScrapeDoSetRegionalGeoCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACxF,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAU;EAAW;EAAgB;CAAc,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC/J,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const ScrapeDoSetRegionalGeoCodeInput: z.ZodObject<{
|
|
|
15
15
|
declare const ScrapeDoSetRegionalGeoCodeOutput: z.ZodObject<{
|
|
16
16
|
status: z.ZodNullable<z.ZodString>;
|
|
17
17
|
message: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const scrapeDoSetRegionalGeoCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
url: string;
|
|
21
21
|
regional_geo_code: "europe" | "asia" | "africa" | "oceania" | "northamerica" | "southamerica";
|
|
@@ -15,7 +15,7 @@ declare const ScrapeDoSetRegionalGeoCodeInput: z.ZodObject<{
|
|
|
15
15
|
declare const ScrapeDoSetRegionalGeoCodeOutput: z.ZodObject<{
|
|
16
16
|
status: z.ZodNullable<z.ZodString>;
|
|
17
17
|
message: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const scrapeDoSetRegionalGeoCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
url: string;
|
|
21
21
|
regional_geo_code: "europe" | "asia" | "africa" | "oceania" | "northamerica" | "southamerica";
|
|
@@ -18,7 +18,7 @@ const scrapeDoSetRegionalGeoCode = action("SCRAPE_DO_SET_REGIONAL_GEO_CODE", {
|
|
|
18
18
|
output: z.object({
|
|
19
19
|
status: z.string().describe("Status of the regional geolocation setting request").nullable(),
|
|
20
20
|
message: z.string().describe("Response message from the API").nullable()
|
|
21
|
-
})
|
|
21
|
+
}).passthrough()
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { scrapeDoSetRegionalGeoCode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-regional-geo-code.mjs","names":[],"sources":["../../src/actions/set-regional-geo-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapeDoSetRegionalGeoCodeInput = z.object({\n url: z.string().describe(\"The target URL to scrape with the specified regional geo code\"),\n regional_geo_code: z.enum([\"europe\", \"asia\", \"africa\", \"oceania\", \"northamerica\", \"southamerica\"]).describe(\"The region code to target for scraping requests\"),\n});\nexport const ScrapeDoSetRegionalGeoCodeOutput = z.object({\n status: z.string().describe(\"Status of the regional geolocation setting request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n});\n\nexport const scrapeDoSetRegionalGeoCode = action(\"SCRAPE_DO_SET_REGIONAL_GEO_CODE\", {\n slug: \"scrape_do-set-regional-geo-code\",\n name: \"Set Regional Geolocation for Scraping\",\n description: \"This tool allows users to set a broader geographical targeting by specifying a region code instead of a specific country code. This is useful when you want to scrape content from an entire region rather than a specific country. Note that this feature requires super mode to be enabled and is only available for Business Plan or higher subscriptions.\",\n input: ScrapeDoSetRegionalGeoCodeInput,\n output: ScrapeDoSetRegionalGeoCodeOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EACxF,mBAAmB,EAAE,KAAK;GAAC;GAAU;GAAQ;GAAU;GAAW;GAAgB;EAAc,CAAC,CAAC,CAAC,SAAS,iDAAiD;CAC/J,CAUS;CACP,QAV8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,
|
|
1
|
+
{"version":3,"file":"set-regional-geo-code.mjs","names":[],"sources":["../../src/actions/set-regional-geo-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapeDoSetRegionalGeoCodeInput = z.object({\n url: z.string().describe(\"The target URL to scrape with the specified regional geo code\"),\n regional_geo_code: z.enum([\"europe\", \"asia\", \"africa\", \"oceania\", \"northamerica\", \"southamerica\"]).describe(\"The region code to target for scraping requests\"),\n});\nexport const ScrapeDoSetRegionalGeoCodeOutput = z.object({\n status: z.string().describe(\"Status of the regional geolocation setting request\").nullable(),\n message: z.string().describe(\"Response message from the API\").nullable(),\n}).passthrough();\n\nexport const scrapeDoSetRegionalGeoCode = action(\"SCRAPE_DO_SET_REGIONAL_GEO_CODE\", {\n slug: \"scrape_do-set-regional-geo-code\",\n name: \"Set Regional Geolocation for Scraping\",\n description: \"This tool allows users to set a broader geographical targeting by specifying a region code instead of a specific country code. This is useful when you want to scrape content from an entire region rather than a specific country. Note that this feature requires super mode to be enabled and is only available for Business Plan or higher subscriptions.\",\n input: ScrapeDoSetRegionalGeoCodeInput,\n output: ScrapeDoSetRegionalGeoCodeOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EACxF,mBAAmB,EAAE,KAAK;GAAC;GAAU;GAAQ;GAAU;GAAW;GAAgB;EAAc,CAAC,CAAC,CAAC,SAAS,iDAAiD;CAC/J,CAUS;CACP,QAV8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|