@keystrokehq/scrapingant 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.
Files changed (43) hide show
  1. package/dist/actions/extract-content-as-markdown.cjs +1 -1
  2. package/dist/actions/extract-content-as-markdown.cjs.map +1 -1
  3. package/dist/actions/extract-content-as-markdown.d.cts +1 -1
  4. package/dist/actions/extract-content-as-markdown.d.mts +1 -1
  5. package/dist/actions/extract-content-as-markdown.mjs +1 -1
  6. package/dist/actions/extract-content-as-markdown.mjs.map +1 -1
  7. package/dist/actions/extract-data-with-ai.cjs +1 -1
  8. package/dist/actions/extract-data-with-ai.cjs.map +1 -1
  9. package/dist/actions/extract-data-with-ai.d.cts +1 -1
  10. package/dist/actions/extract-data-with-ai.d.mts +1 -1
  11. package/dist/actions/extract-data-with-ai.mjs +1 -1
  12. package/dist/actions/extract-data-with-ai.mjs.map +1 -1
  13. package/dist/actions/get-api-credits-usage.cjs +1 -1
  14. package/dist/actions/get-api-credits-usage.cjs.map +1 -1
  15. package/dist/actions/get-api-credits-usage.d.cts +1 -1
  16. package/dist/actions/get-api-credits-usage.d.mts +1 -1
  17. package/dist/actions/get-api-credits-usage.mjs +1 -1
  18. package/dist/actions/get-api-credits-usage.mjs.map +1 -1
  19. package/dist/actions/scrape-web-page.cjs +1 -1
  20. package/dist/actions/scrape-web-page.cjs.map +1 -1
  21. package/dist/actions/scrape-web-page.d.cts +1 -1
  22. package/dist/actions/scrape-web-page.d.mts +1 -1
  23. package/dist/actions/scrape-web-page.mjs +1 -1
  24. package/dist/actions/scrape-web-page.mjs.map +1 -1
  25. package/dist/actions/scrape-webpage-post.cjs +1 -1
  26. package/dist/actions/scrape-webpage-post.cjs.map +1 -1
  27. package/dist/actions/scrape-webpage-post.d.cts +1 -1
  28. package/dist/actions/scrape-webpage-post.d.mts +1 -1
  29. package/dist/actions/scrape-webpage-post.mjs +1 -1
  30. package/dist/actions/scrape-webpage-post.mjs.map +1 -1
  31. package/dist/actions/scrape-webpage-put.cjs +1 -1
  32. package/dist/actions/scrape-webpage-put.cjs.map +1 -1
  33. package/dist/actions/scrape-webpage-put.d.cts +1 -1
  34. package/dist/actions/scrape-webpage-put.d.mts +1 -1
  35. package/dist/actions/scrape-webpage-put.mjs +1 -1
  36. package/dist/actions/scrape-webpage-put.mjs.map +1 -1
  37. package/dist/actions/scrape-with-extended-json-output.cjs +4 -4
  38. package/dist/actions/scrape-with-extended-json-output.cjs.map +1 -1
  39. package/dist/actions/scrape-with-extended-json-output.d.cts +5 -5
  40. package/dist/actions/scrape-with-extended-json-output.d.mts +5 -5
  41. package/dist/actions/scrape-with-extended-json-output.mjs +4 -4
  42. package/dist/actions/scrape-with-extended-json-output.mjs.map +1 -1
  43. package/package.json +1 -1
@@ -22,7 +22,7 @@ const ScrapingantExtractContentAsMarkdownOutput = zod.z.object({
22
22
  url: zod.z.string().describe("The original URL of the scraped page.").nullable().optional(),
23
23
  detail: zod.z.string().describe("Error detail if the request failed.").nullable().optional(),
24
24
  markdown: zod.z.string().describe("The extracted content in Markdown format.").nullable().optional()
25
- });
25
+ }).passthrough();
26
26
  const scrapingantExtractContentAsMarkdown = require_action.action("SCRAPINGANT_EXTRACT_CONTENT_AS_MARKDOWN", {
27
27
  slug: "scrapingant-extract-content-as-markdown",
28
28
  name: "Extract Content as Markdown",
@@ -1 +1 @@
1
- {"version":3,"file":"extract-content-as-markdown.cjs","names":["z","action"],"sources":["../../src/actions/extract-content-as-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantExtractContentAsMarkdownInput = z.object({\n url: z.string().describe(\"The URL of the web page to scrape and convert to Markdown.\"),\n method: z.enum([\"get\", \"post\", \"put\", \"delete\"]).default(\"get\").describe(\"HTTP method to use for the request.\").optional(),\n browser: z.boolean().describe(\"Enables the use of a headless browser for scraping. Default is true.\").optional(),\n cookies: z.string().describe(\"Cookies to include with the request.\").optional(),\n js_snippet: z.string().describe(\"Base64-encoded JavaScript to execute on the page after it loads.\").optional(),\n proxy_type: z.string().describe(\"Specifies the type of proxy to use.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy (e.g., US, GB).\").optional(),\n block_resource: z.array(z.string()).describe(\"List of resource types to block (e.g., image, script, stylesheet, font, media, websocket, other).\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result.\").optional(),\n return_page_source: z.boolean().describe(\"Returns the raw HTML as received from the server, without JavaScript rendering. Default is false.\").optional(),\n});\nexport const ScrapingantExtractContentAsMarkdownOutput = z.object({\n url: z.string().describe(\"The original URL of the scraped page.\").nullable().optional(),\n detail: z.string().describe(\"Error detail if the request failed.\").nullable().optional(),\n markdown: z.string().describe(\"The extracted content in Markdown format.\").nullable().optional(),\n});\n\nexport const scrapingantExtractContentAsMarkdown = action(\"SCRAPINGANT_EXTRACT_CONTENT_AS_MARKDOWN\", {\n slug: \"scrapingant-extract-content-as-markdown\",\n name: \"Extract Content as Markdown\",\n description: \"This tool extracts content from a given URL and converts it into Markdown format. It is particularly useful for preparing text for Language Learning Models (LLMs) and Retrieval-Augmented Generation (RAG) systems. It supports GET, POST, PUT, and DELETE methods.\",\n input: ScrapingantExtractContentAsMarkdownInput,\n output: ScrapingantExtractContentAsMarkdownOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACrF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;EAAO;CAAQ,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACnG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3J,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;AACzJ,CAAC;AACD,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AAED,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"extract-content-as-markdown.cjs","names":["z","action"],"sources":["../../src/actions/extract-content-as-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantExtractContentAsMarkdownInput = z.object({\n url: z.string().describe(\"The URL of the web page to scrape and convert to Markdown.\"),\n method: z.enum([\"get\", \"post\", \"put\", \"delete\"]).default(\"get\").describe(\"HTTP method to use for the request.\").optional(),\n browser: z.boolean().describe(\"Enables the use of a headless browser for scraping. Default is true.\").optional(),\n cookies: z.string().describe(\"Cookies to include with the request.\").optional(),\n js_snippet: z.string().describe(\"Base64-encoded JavaScript to execute on the page after it loads.\").optional(),\n proxy_type: z.string().describe(\"Specifies the type of proxy to use.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy (e.g., US, GB).\").optional(),\n block_resource: z.array(z.string()).describe(\"List of resource types to block (e.g., image, script, stylesheet, font, media, websocket, other).\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result.\").optional(),\n return_page_source: z.boolean().describe(\"Returns the raw HTML as received from the server, without JavaScript rendering. Default is false.\").optional(),\n});\nexport const ScrapingantExtractContentAsMarkdownOutput = z.object({\n url: z.string().describe(\"The original URL of the scraped page.\").nullable().optional(),\n detail: z.string().describe(\"Error detail if the request failed.\").nullable().optional(),\n markdown: z.string().describe(\"The extracted content in Markdown format.\").nullable().optional(),\n}).passthrough();\n\nexport const scrapingantExtractContentAsMarkdown = action(\"SCRAPINGANT_EXTRACT_CONTENT_AS_MARKDOWN\", {\n slug: \"scrapingant-extract-content-as-markdown\",\n name: \"Extract Content as Markdown\",\n description: \"This tool extracts content from a given URL and converts it into Markdown format. It is particularly useful for preparing text for Language Learning Models (LLMs) and Retrieval-Augmented Generation (RAG) systems. It supports GET, POST, PUT, and DELETE methods.\",\n input: ScrapingantExtractContentAsMarkdownInput,\n output: ScrapingantExtractContentAsMarkdownOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACrF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;EAAO;CAAQ,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACnG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3J,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;AACzJ,CAAC;AACD,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,7 +22,7 @@ declare const ScrapingantExtractContentAsMarkdownOutput: z.ZodObject<{
22
22
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  markdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const scrapingantExtractContentAsMarkdown: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  url: string;
28
28
  method?: "get" | "post" | "put" | "delete" | undefined;
@@ -22,7 +22,7 @@ declare const ScrapingantExtractContentAsMarkdownOutput: z.ZodObject<{
22
22
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  markdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const scrapingantExtractContentAsMarkdown: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  url: string;
28
28
  method?: "get" | "post" | "put" | "delete" | undefined;
@@ -25,7 +25,7 @@ const scrapingantExtractContentAsMarkdown = action("SCRAPINGANT_EXTRACT_CONTENT_
25
25
  url: z.string().describe("The original URL of the scraped page.").nullable().optional(),
26
26
  detail: z.string().describe("Error detail if the request failed.").nullable().optional(),
27
27
  markdown: z.string().describe("The extracted content in Markdown format.").nullable().optional()
28
- })
28
+ }).passthrough()
29
29
  });
30
30
  //#endregion
31
31
  export { scrapingantExtractContentAsMarkdown };
@@ -1 +1 @@
1
- {"version":3,"file":"extract-content-as-markdown.mjs","names":[],"sources":["../../src/actions/extract-content-as-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantExtractContentAsMarkdownInput = z.object({\n url: z.string().describe(\"The URL of the web page to scrape and convert to Markdown.\"),\n method: z.enum([\"get\", \"post\", \"put\", \"delete\"]).default(\"get\").describe(\"HTTP method to use for the request.\").optional(),\n browser: z.boolean().describe(\"Enables the use of a headless browser for scraping. Default is true.\").optional(),\n cookies: z.string().describe(\"Cookies to include with the request.\").optional(),\n js_snippet: z.string().describe(\"Base64-encoded JavaScript to execute on the page after it loads.\").optional(),\n proxy_type: z.string().describe(\"Specifies the type of proxy to use.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy (e.g., US, GB).\").optional(),\n block_resource: z.array(z.string()).describe(\"List of resource types to block (e.g., image, script, stylesheet, font, media, websocket, other).\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result.\").optional(),\n return_page_source: z.boolean().describe(\"Returns the raw HTML as received from the server, without JavaScript rendering. Default is false.\").optional(),\n});\nexport const ScrapingantExtractContentAsMarkdownOutput = z.object({\n url: z.string().describe(\"The original URL of the scraped page.\").nullable().optional(),\n detail: z.string().describe(\"Error detail if the request failed.\").nullable().optional(),\n markdown: z.string().describe(\"The extracted content in Markdown format.\").nullable().optional(),\n});\n\nexport const scrapingantExtractContentAsMarkdown = action(\"SCRAPINGANT_EXTRACT_CONTENT_AS_MARKDOWN\", {\n slug: \"scrapingant-extract-content-as-markdown\",\n name: \"Extract Content as Markdown\",\n description: \"This tool extracts content from a given URL and converts it into Markdown format. It is particularly useful for preparing text for Language Learning Models (LLMs) and Retrieval-Augmented Generation (RAG) systems. It supports GET, POST, PUT, and DELETE methods.\",\n input: ScrapingantExtractContentAsMarkdownInput,\n output: ScrapingantExtractContentAsMarkdownOutput,\n});\n"],"mappings":";;AAsBA,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBsD,EAAE,OAAO;EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACrF,QAAQ,EAAE,KAAK;GAAC;GAAO;GAAQ;GAAO;EAAQ,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACnG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC3J,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzJ,CAWS;CACP,QAXuD,EAAE,OAAO;EAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"extract-content-as-markdown.mjs","names":[],"sources":["../../src/actions/extract-content-as-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantExtractContentAsMarkdownInput = z.object({\n url: z.string().describe(\"The URL of the web page to scrape and convert to Markdown.\"),\n method: z.enum([\"get\", \"post\", \"put\", \"delete\"]).default(\"get\").describe(\"HTTP method to use for the request.\").optional(),\n browser: z.boolean().describe(\"Enables the use of a headless browser for scraping. Default is true.\").optional(),\n cookies: z.string().describe(\"Cookies to include with the request.\").optional(),\n js_snippet: z.string().describe(\"Base64-encoded JavaScript to execute on the page after it loads.\").optional(),\n proxy_type: z.string().describe(\"Specifies the type of proxy to use.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy (e.g., US, GB).\").optional(),\n block_resource: z.array(z.string()).describe(\"List of resource types to block (e.g., image, script, stylesheet, font, media, websocket, other).\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result.\").optional(),\n return_page_source: z.boolean().describe(\"Returns the raw HTML as received from the server, without JavaScript rendering. Default is false.\").optional(),\n});\nexport const ScrapingantExtractContentAsMarkdownOutput = z.object({\n url: z.string().describe(\"The original URL of the scraped page.\").nullable().optional(),\n detail: z.string().describe(\"Error detail if the request failed.\").nullable().optional(),\n markdown: z.string().describe(\"The extracted content in Markdown format.\").nullable().optional(),\n}).passthrough();\n\nexport const scrapingantExtractContentAsMarkdown = action(\"SCRAPINGANT_EXTRACT_CONTENT_AS_MARKDOWN\", {\n slug: \"scrapingant-extract-content-as-markdown\",\n name: \"Extract Content as Markdown\",\n description: \"This tool extracts content from a given URL and converts it into Markdown format. It is particularly useful for preparing text for Language Learning Models (LLMs) and Retrieval-Augmented Generation (RAG) systems. It supports GET, POST, PUT, and DELETE methods.\",\n input: ScrapingantExtractContentAsMarkdownInput,\n output: ScrapingantExtractContentAsMarkdownOutput,\n});\n"],"mappings":";;AAsBA,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBsD,EAAE,OAAO;EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACrF,QAAQ,EAAE,KAAK;GAAC;GAAO;GAAQ;GAAO;EAAQ,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACnG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC3J,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzJ,CAWS;CACP,QAXuD,EAAE,OAAO;EAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -15,7 +15,7 @@ const ScrapingantExtractDataWithAiOutput = zod.z.object({
15
15
  text: zod.z.string().describe("Text content of the page. Only populated when return_text is set to true.").nullable().optional(),
16
16
  content: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Extracted data as a JSON object with the requested properties as keys. Can contain nested objects, arrays, strings, numbers, and booleans.").nullable().optional(),
17
17
  status_code: zod.z.number().int().describe("HTTP status code of the response from the target website.").nullable().optional()
18
- });
18
+ }).passthrough();
19
19
  const scrapingantExtractDataWithAi = require_action.action("SCRAPINGANT_EXTRACT_DATA_WITH_AI", {
20
20
  slug: "scrapingant-extract-data-with-ai",
21
21
  name: "Extract Data with AI",
@@ -1 +1 @@
1
- {"version":3,"file":"extract-data-with-ai.cjs","names":["z","action"],"sources":["../../src/actions/extract-data-with-ai.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantExtractDataWithAiInput = z.object({\n url: z.string().describe(\"The URL of the page to extract data from.\"),\n cookies: z.string().describe(\"Cookies to use for the request. (e.g. cookie1=value1; cookie2=value2)\").optional(),\n proxy_type: z.string().describe(\"Proxy type to use for the request. (datacenter, residential)\").optional(),\n return_text: z.boolean().describe(\"Return text content of the page. (default: false)\").optional(),\n proxy_country: z.string().describe(\"Proxy country to use for the request. (e.g. US, GB, DE)\").optional(),\n enable_javascript: z.boolean().describe(\"Enable browser rendering. (default: true)\").optional(),\n wait_for_selector: z.string().describe(\"Wait for a specific selector to appear on the page before extracting data.\").optional(),\n extract_properties: z.string().describe(\"A free-form text describing the data you want to extract.\"),\n});\nexport const ScrapingantExtractDataWithAiOutput = z.object({\n text: z.string().describe(\"Text content of the page. Only populated when return_text is set to true.\").nullable().optional(),\n content: z.record(z.string(), z.unknown()).describe(\"Extracted data as a JSON object with the requested properties as keys. Can contain nested objects, arrays, strings, numbers, and booleans.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response from the target website.\").nullable().optional(),\n});\n\nexport const scrapingantExtractDataWithAi = action(\"SCRAPINGANT_EXTRACT_DATA_WITH_AI\", {\n slug: \"scrapingant-extract-data-with-ai\",\n name: \"Extract Data with AI\",\n description: \"This tool allows you to extract structured data from a web page using ScrapingAnt's AI-powered extraction capabilities. You provide a URL and an AI query (prompt) describing what data you want to extract, and the tool returns the extracted data in a structured format. It supports additional parameters for browser rendering, proxies, and cookies to handle dynamic content and localization.\",\n input: ScrapingantExtractDataWithAiInput,\n output: ScrapingantExtractDataWithAiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACvG,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC9H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AACrG,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtN,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"extract-data-with-ai.cjs","names":["z","action"],"sources":["../../src/actions/extract-data-with-ai.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantExtractDataWithAiInput = z.object({\n url: z.string().describe(\"The URL of the page to extract data from.\"),\n cookies: z.string().describe(\"Cookies to use for the request. (e.g. cookie1=value1; cookie2=value2)\").optional(),\n proxy_type: z.string().describe(\"Proxy type to use for the request. (datacenter, residential)\").optional(),\n return_text: z.boolean().describe(\"Return text content of the page. (default: false)\").optional(),\n proxy_country: z.string().describe(\"Proxy country to use for the request. (e.g. US, GB, DE)\").optional(),\n enable_javascript: z.boolean().describe(\"Enable browser rendering. (default: true)\").optional(),\n wait_for_selector: z.string().describe(\"Wait for a specific selector to appear on the page before extracting data.\").optional(),\n extract_properties: z.string().describe(\"A free-form text describing the data you want to extract.\"),\n});\nexport const ScrapingantExtractDataWithAiOutput = z.object({\n text: z.string().describe(\"Text content of the page. Only populated when return_text is set to true.\").nullable().optional(),\n content: z.record(z.string(), z.unknown()).describe(\"Extracted data as a JSON object with the requested properties as keys. Can contain nested objects, arrays, strings, numbers, and booleans.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response from the target website.\").nullable().optional(),\n}).passthrough();\n\nexport const scrapingantExtractDataWithAi = action(\"SCRAPINGANT_EXTRACT_DATA_WITH_AI\", {\n slug: \"scrapingant-extract-data-with-ai\",\n name: \"Extract Data with AI\",\n description: \"This tool allows you to extract structured data from a web page using ScrapingAnt's AI-powered extraction capabilities. You provide a URL and an AI query (prompt) describing what data you want to extract, and the tool returns the extracted data in a structured format. It supports additional parameters for browser rendering, proxies, and cookies to handle dynamic content and localization.\",\n input: ScrapingantExtractDataWithAiInput,\n output: ScrapingantExtractDataWithAiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACvG,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC9H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AACrG,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtN,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,7 +15,7 @@ declare const ScrapingantExtractDataWithAiOutput: z.ZodObject<{
15
15
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  content: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
17
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const scrapingantExtractDataWithAi: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  url: string;
21
21
  extract_properties: string;
@@ -15,7 +15,7 @@ declare const ScrapingantExtractDataWithAiOutput: z.ZodObject<{
15
15
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  content: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17
17
  status_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const scrapingantExtractDataWithAi: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  url: string;
21
21
  extract_properties: string;
@@ -18,7 +18,7 @@ const scrapingantExtractDataWithAi = action("SCRAPINGANT_EXTRACT_DATA_WITH_AI",
18
18
  text: z.string().describe("Text content of the page. Only populated when return_text is set to true.").nullable().optional(),
19
19
  content: z.record(z.string(), z.unknown()).describe("Extracted data as a JSON object with the requested properties as keys. Can contain nested objects, arrays, strings, numbers, and booleans.").nullable().optional(),
20
20
  status_code: z.number().int().describe("HTTP status code of the response from the target website.").nullable().optional()
21
- })
21
+ }).passthrough()
22
22
  });
23
23
  //#endregion
24
24
  export { scrapingantExtractDataWithAi };
@@ -1 +1 @@
1
- {"version":3,"file":"extract-data-with-ai.mjs","names":[],"sources":["../../src/actions/extract-data-with-ai.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantExtractDataWithAiInput = z.object({\n url: z.string().describe(\"The URL of the page to extract data from.\"),\n cookies: z.string().describe(\"Cookies to use for the request. (e.g. cookie1=value1; cookie2=value2)\").optional(),\n proxy_type: z.string().describe(\"Proxy type to use for the request. (datacenter, residential)\").optional(),\n return_text: z.boolean().describe(\"Return text content of the page. (default: false)\").optional(),\n proxy_country: z.string().describe(\"Proxy country to use for the request. (e.g. US, GB, DE)\").optional(),\n enable_javascript: z.boolean().describe(\"Enable browser rendering. (default: true)\").optional(),\n wait_for_selector: z.string().describe(\"Wait for a specific selector to appear on the page before extracting data.\").optional(),\n extract_properties: z.string().describe(\"A free-form text describing the data you want to extract.\"),\n});\nexport const ScrapingantExtractDataWithAiOutput = z.object({\n text: z.string().describe(\"Text content of the page. Only populated when return_text is set to true.\").nullable().optional(),\n content: z.record(z.string(), z.unknown()).describe(\"Extracted data as a JSON object with the requested properties as keys. Can contain nested objects, arrays, strings, numbers, and booleans.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response from the target website.\").nullable().optional(),\n});\n\nexport const scrapingantExtractDataWithAi = action(\"SCRAPINGANT_EXTRACT_DATA_WITH_AI\", {\n slug: \"scrapingant-extract-data-with-ai\",\n name: \"Extract Data with AI\",\n description: \"This tool allows you to extract structured data from a web page using ScrapingAnt's AI-powered extraction capabilities. You provide a URL and an AI query (prompt) describing what data you want to extract, and the tool returns the extracted data in a structured format. It supports additional parameters for browser rendering, proxies, and cookies to handle dynamic content and localization.\",\n input: ScrapingantExtractDataWithAiInput,\n output: ScrapingantExtractDataWithAiOutput,\n});\n"],"mappings":";;AAoBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACvG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC9H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACrG,CAWS;CACP,QAXgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtN,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"extract-data-with-ai.mjs","names":[],"sources":["../../src/actions/extract-data-with-ai.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantExtractDataWithAiInput = z.object({\n url: z.string().describe(\"The URL of the page to extract data from.\"),\n cookies: z.string().describe(\"Cookies to use for the request. (e.g. cookie1=value1; cookie2=value2)\").optional(),\n proxy_type: z.string().describe(\"Proxy type to use for the request. (datacenter, residential)\").optional(),\n return_text: z.boolean().describe(\"Return text content of the page. (default: false)\").optional(),\n proxy_country: z.string().describe(\"Proxy country to use for the request. (e.g. US, GB, DE)\").optional(),\n enable_javascript: z.boolean().describe(\"Enable browser rendering. (default: true)\").optional(),\n wait_for_selector: z.string().describe(\"Wait for a specific selector to appear on the page before extracting data.\").optional(),\n extract_properties: z.string().describe(\"A free-form text describing the data you want to extract.\"),\n});\nexport const ScrapingantExtractDataWithAiOutput = z.object({\n text: z.string().describe(\"Text content of the page. Only populated when return_text is set to true.\").nullable().optional(),\n content: z.record(z.string(), z.unknown()).describe(\"Extracted data as a JSON object with the requested properties as keys. Can contain nested objects, arrays, strings, numbers, and booleans.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code of the response from the target website.\").nullable().optional(),\n}).passthrough();\n\nexport const scrapingantExtractDataWithAi = action(\"SCRAPINGANT_EXTRACT_DATA_WITH_AI\", {\n slug: \"scrapingant-extract-data-with-ai\",\n name: \"Extract Data with AI\",\n description: \"This tool allows you to extract structured data from a web page using ScrapingAnt's AI-powered extraction capabilities. You provide a URL and an AI query (prompt) describing what data you want to extract, and the tool returns the extracted data in a structured format. It supports additional parameters for browser rendering, proxies, and cookies to handle dynamic content and localization.\",\n input: ScrapingantExtractDataWithAiInput,\n output: ScrapingantExtractDataWithAiOutput,\n});\n"],"mappings":";;AAoBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACvG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC9H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACrG,CAWS;CACP,QAXgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtN,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -8,7 +8,7 @@ const ScrapingantGetApiCreditsUsageOutput = zod.z.object({
8
8
  start_date: zod.z.string().describe("The start date of the current billing period in ISO 8601 format (e.g., '2026-01-08T11:34:42.437390').").nullable(),
9
9
  remained_credits: zod.z.number().int().describe("The number of API credits remaining for the current billing period.").nullable(),
10
10
  plan_total_credits: zod.z.number().int().describe("The total number of API credits included in the current subscription plan.").nullable()
11
- }).describe("Response model for GetApiCreditsUsage action.");
11
+ }).passthrough().describe("Response model for GetApiCreditsUsage action.");
12
12
  const scrapingantGetApiCreditsUsage = require_action.action("SCRAPINGANT_GET_API_CREDITS_USAGE", {
13
13
  slug: "scrapingant-get-api-credits-usage",
14
14
  name: "Get API Credits Usage",
@@ -1 +1 @@
1
- {"version":3,"file":"get-api-credits-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-api-credits-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantGetApiCreditsUsageInput = z.object({}).describe(\"Request model for GetApiCreditsUsage action.\\nThis action does not require any specific request parameters beyond authentication.\");\nexport const ScrapingantGetApiCreditsUsageOutput = z.object({\n end_date: z.string().describe(\"The end date of the current billing period in ISO 8601 format (e.g., '2026-02-07T11:34:42.437395').\").nullable(),\n plan_name: z.string().describe(\"The name of the current subscription plan (e.g., 'Free', 'Hobby', 'Business').\").nullable(),\n start_date: z.string().describe(\"The start date of the current billing period in ISO 8601 format (e.g., '2026-01-08T11:34:42.437390').\").nullable(),\n remained_credits: z.number().int().describe(\"The number of API credits remaining for the current billing period.\").nullable(),\n plan_total_credits: z.number().int().describe(\"The total number of API credits included in the current subscription plan.\").nullable(),\n}).describe(\"Response model for GetApiCreditsUsage action.\");\n\nexport const scrapingantGetApiCreditsUsage = action(\"SCRAPINGANT_GET_API_CREDITS_USAGE\", {\n slug: \"scrapingant-get-api-credits-usage\",\n name: \"Get API Credits Usage\",\n description: \"This tool retrieves the current API credit usage status for the authenticated ScrapingAnt account. It enables users to monitor their consumption of API credits, check their current usage against the subscription limits, and manage their API credits effectively.\",\n input: ScrapingantGetApiCreditsUsageInput,\n output: ScrapingantGetApiCreditsUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC3M,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC5H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-api-credits-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-api-credits-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantGetApiCreditsUsageInput = z.object({}).describe(\"Request model for GetApiCreditsUsage action.\\nThis action does not require any specific request parameters beyond authentication.\");\nexport const ScrapingantGetApiCreditsUsageOutput = z.object({\n end_date: z.string().describe(\"The end date of the current billing period in ISO 8601 format (e.g., '2026-02-07T11:34:42.437395').\").nullable(),\n plan_name: z.string().describe(\"The name of the current subscription plan (e.g., 'Free', 'Hobby', 'Business').\").nullable(),\n start_date: z.string().describe(\"The start date of the current billing period in ISO 8601 format (e.g., '2026-01-08T11:34:42.437390').\").nullable(),\n remained_credits: z.number().int().describe(\"The number of API credits remaining for the current billing period.\").nullable(),\n plan_total_credits: z.number().int().describe(\"The total number of API credits included in the current subscription plan.\").nullable(),\n}).passthrough().describe(\"Response model for GetApiCreditsUsage action.\");\n\nexport const scrapingantGetApiCreditsUsage = action(\"SCRAPINGANT_GET_API_CREDITS_USAGE\", {\n slug: \"scrapingant-get-api-credits-usage\",\n name: \"Get API Credits Usage\",\n description: \"This tool retrieves the current API credit usage status for the authenticated ScrapingAnt account. It enables users to monitor their consumption of API credits, check their current usage against the subscription limits, and manage their API credits effectively.\",\n input: ScrapingantGetApiCreditsUsageInput,\n output: ScrapingantGetApiCreditsUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mIAAmI;AAC3M,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC5H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const ScrapingantGetApiCreditsUsageOutput: z.ZodObject<{
8
8
  start_date: z.ZodNullable<z.ZodString>;
9
9
  remained_credits: z.ZodNullable<z.ZodNumber>;
10
10
  plan_total_credits: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const scrapingantGetApiCreditsUsage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { scrapingantGetApiCreditsUsage };
@@ -8,7 +8,7 @@ declare const ScrapingantGetApiCreditsUsageOutput: z.ZodObject<{
8
8
  start_date: z.ZodNullable<z.ZodString>;
9
9
  remained_credits: z.ZodNullable<z.ZodNumber>;
10
10
  plan_total_credits: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const scrapingantGetApiCreditsUsage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
13
  //#endregion
14
14
  export { scrapingantGetApiCreditsUsage };
@@ -11,7 +11,7 @@ const scrapingantGetApiCreditsUsage = action("SCRAPINGANT_GET_API_CREDITS_USAGE"
11
11
  start_date: z.string().describe("The start date of the current billing period in ISO 8601 format (e.g., '2026-01-08T11:34:42.437390').").nullable(),
12
12
  remained_credits: z.number().int().describe("The number of API credits remaining for the current billing period.").nullable(),
13
13
  plan_total_credits: z.number().int().describe("The total number of API credits included in the current subscription plan.").nullable()
14
- }).describe("Response model for GetApiCreditsUsage action.")
14
+ }).passthrough().describe("Response model for GetApiCreditsUsage action.")
15
15
  });
16
16
  //#endregion
17
17
  export { scrapingantGetApiCreditsUsage };
@@ -1 +1 @@
1
- {"version":3,"file":"get-api-credits-usage.mjs","names":[],"sources":["../../src/actions/get-api-credits-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantGetApiCreditsUsageInput = z.object({}).describe(\"Request model for GetApiCreditsUsage action.\\nThis action does not require any specific request parameters beyond authentication.\");\nexport const ScrapingantGetApiCreditsUsageOutput = z.object({\n end_date: z.string().describe(\"The end date of the current billing period in ISO 8601 format (e.g., '2026-02-07T11:34:42.437395').\").nullable(),\n plan_name: z.string().describe(\"The name of the current subscription plan (e.g., 'Free', 'Hobby', 'Business').\").nullable(),\n start_date: z.string().describe(\"The start date of the current billing period in ISO 8601 format (e.g., '2026-01-08T11:34:42.437390').\").nullable(),\n remained_credits: z.number().int().describe(\"The number of API credits remaining for the current billing period.\").nullable(),\n plan_total_credits: z.number().int().describe(\"The total number of API credits included in the current subscription plan.\").nullable(),\n}).describe(\"Response model for GetApiCreditsUsage action.\");\n\nexport const scrapingantGetApiCreditsUsage = action(\"SCRAPINGANT_GET_API_CREDITS_USAGE\", {\n slug: \"scrapingant-get-api-credits-usage\",\n name: \"Get API Credits Usage\",\n description: \"This tool retrieves the current API credit usage status for the authenticated ScrapingAnt account. It enables users to monitor their consumption of API credits, check their current usage against the subscription limits, and manage their API credits effectively.\",\n input: ScrapingantGetApiCreditsUsageInput,\n output: ScrapingantGetApiCreditsUsageOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mIAa/D;CACP,QAbiD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAClJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC5H,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-api-credits-usage.mjs","names":[],"sources":["../../src/actions/get-api-credits-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantGetApiCreditsUsageInput = z.object({}).describe(\"Request model for GetApiCreditsUsage action.\\nThis action does not require any specific request parameters beyond authentication.\");\nexport const ScrapingantGetApiCreditsUsageOutput = z.object({\n end_date: z.string().describe(\"The end date of the current billing period in ISO 8601 format (e.g., '2026-02-07T11:34:42.437395').\").nullable(),\n plan_name: z.string().describe(\"The name of the current subscription plan (e.g., 'Free', 'Hobby', 'Business').\").nullable(),\n start_date: z.string().describe(\"The start date of the current billing period in ISO 8601 format (e.g., '2026-01-08T11:34:42.437390').\").nullable(),\n remained_credits: z.number().int().describe(\"The number of API credits remaining for the current billing period.\").nullable(),\n plan_total_credits: z.number().int().describe(\"The total number of API credits included in the current subscription plan.\").nullable(),\n}).passthrough().describe(\"Response model for GetApiCreditsUsage action.\");\n\nexport const scrapingantGetApiCreditsUsage = action(\"SCRAPINGANT_GET_API_CREDITS_USAGE\", {\n slug: \"scrapingant-get-api-credits-usage\",\n name: \"Get API Credits Usage\",\n description: \"This tool retrieves the current API credit usage status for the authenticated ScrapingAnt account. It enables users to monitor their consumption of API credits, check their current usage against the subscription limits, and manage their API credits effectively.\",\n input: ScrapingantGetApiCreditsUsageInput,\n output: ScrapingantGetApiCreditsUsageOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mIAa/D;CACP,QAbiD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EAClJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC5H,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
@@ -26,7 +26,7 @@ const ScrapingantScrapeWebPageInput = zod.z.object({
26
26
  wait_for_selector: zod.z.string().describe("CSS selector to wait for before returning the result. Requires headless browser.").optional(),
27
27
  return_page_source: zod.z.boolean().default(false).describe("Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.").optional()
28
28
  });
29
- const ScrapingantScrapeWebPageOutput = zod.z.object({ content: zod.z.string().describe("The HTML content of the scraped web page.").nullable() });
29
+ const ScrapingantScrapeWebPageOutput = zod.z.object({ content: zod.z.string().describe("The HTML content of the scraped web page.").nullable() }).passthrough();
30
30
  const scrapingantScrapeWebPage = require_action.action("SCRAPINGANT_SCRAPE_WEB_PAGE", {
31
31
  slug: "scrapingant-scrape-web-page",
32
32
  name: "Scrape Web Page",
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-web-page.cjs","names":["z","action"],"sources":["../../src/actions/scrape-web-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebPageInput = z.object({\n url: z.string().describe(\"URL of the web page to scrape.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request.\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute on the page. Requires headless browser.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block. Requires headless browser.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires headless browser.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebPageOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page.\").nullable(),\n});\n\nexport const scrapingantScrapeWebPage = action(\"SCRAPINGANT_SCRAPE_WEB_PAGE\", {\n slug: \"scrapingant-scrape-web-page\",\n name: \"Scrape Web Page\",\n description: \"This tool scrapes a web page using the ScrapingAnt API. It fetches the HTML content of the specified URL. Users can customize the scraping behavior by enabling a headless browser, using proxies, waiting for specific elements, executing JavaScript, passing cookies, and blocking certain resources.\",\n input: ScrapingantScrapeWebPageInput,\n output: ScrapingantScrapeWebPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACzD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAc;EAAS;EAAS;EAAQ;EAAU;EAAa;EAAO;EAAS;EAAe;EAAa;EAAY;CAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC/P,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAChM,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACrF,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"scrape-web-page.cjs","names":["z","action"],"sources":["../../src/actions/scrape-web-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebPageInput = z.object({\n url: z.string().describe(\"URL of the web page to scrape.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request.\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute on the page. Requires headless browser.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block. Requires headless browser.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires headless browser.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebPageOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page.\").nullable(),\n}).passthrough();\n\nexport const scrapingantScrapeWebPage = action(\"SCRAPINGANT_SCRAPE_WEB_PAGE\", {\n slug: \"scrapingant-scrape-web-page\",\n name: \"Scrape Web Page\",\n description: \"This tool scrapes a web page using the ScrapingAnt API. It fetches the HTML content of the specified URL. Users can customize the scraping behavior by enabling a headless browser, using proxies, waiting for specific elements, executing JavaScript, passing cookies, and blocking certain resources.\",\n input: ScrapingantScrapeWebPageInput,\n output: ScrapingantScrapeWebPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACzD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAc;EAAS;EAAS;EAAQ;EAAU;EAAa;EAAO;EAAS;EAAe;EAAa;EAAY;CAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC/P,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAChM,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -31,7 +31,7 @@ declare const ScrapingantScrapeWebPageInput: z.ZodObject<{
31
31
  }, z.core.$strip>;
32
32
  declare const ScrapingantScrapeWebPageOutput: z.ZodObject<{
33
33
  content: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const scrapingantScrapeWebPage: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  url: string;
37
37
  browser?: boolean | undefined;
@@ -31,7 +31,7 @@ declare const ScrapingantScrapeWebPageInput: z.ZodObject<{
31
31
  }, z.core.$strip>;
32
32
  declare const ScrapingantScrapeWebPageOutput: z.ZodObject<{
33
33
  content: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const scrapingantScrapeWebPage: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  url: string;
37
37
  browser?: boolean | undefined;
@@ -29,7 +29,7 @@ const scrapingantScrapeWebPage = action("SCRAPINGANT_SCRAPE_WEB_PAGE", {
29
29
  wait_for_selector: z.string().describe("CSS selector to wait for before returning the result. Requires headless browser.").optional(),
30
30
  return_page_source: z.boolean().default(false).describe("Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.").optional()
31
31
  }),
32
- output: z.object({ content: z.string().describe("The HTML content of the scraped web page.").nullable() })
32
+ output: z.object({ content: z.string().describe("The HTML content of the scraped web page.").nullable() }).passthrough()
33
33
  });
34
34
  //#endregion
35
35
  export { scrapingantScrapeWebPage };
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-web-page.mjs","names":[],"sources":["../../src/actions/scrape-web-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebPageInput = z.object({\n url: z.string().describe(\"URL of the web page to scrape.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request.\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute on the page. Requires headless browser.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block. Requires headless browser.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires headless browser.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebPageOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page.\").nullable(),\n});\n\nexport const scrapingantScrapeWebPage = action(\"SCRAPINGANT_SCRAPE_WEB_PAGE\", {\n slug: \"scrapingant-scrape-web-page\",\n name: \"Scrape Web Page\",\n description: \"This tool scrapes a web page using the ScrapingAnt API. It fetches the HTML content of the specified URL. Users can customize the scraping behavior by enabling a headless browser, using proxies, waiting for specific elements, executing JavaScript, passing cookies, and blocking certain resources.\",\n input: ScrapingantScrapeWebPageInput,\n output: ScrapingantScrapeWebPageOutput,\n});\n"],"mappings":";;AAmBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACzD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAY;GAAc;GAAS;GAAS;GAAQ;GAAU;GAAa;GAAO;GAAS;GAAe;GAAa;GAAY;EAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC/P,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACpI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAChM,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACrF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"scrape-web-page.mjs","names":[],"sources":["../../src/actions/scrape-web-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebPageInput = z.object({\n url: z.string().describe(\"URL of the web page to scrape.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request.\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute on the page. Requires headless browser.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block. Requires headless browser.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires headless browser.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebPageOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page.\").nullable(),\n}).passthrough();\n\nexport const scrapingantScrapeWebPage = action(\"SCRAPINGANT_SCRAPE_WEB_PAGE\", {\n slug: \"scrapingant-scrape-web-page\",\n name: \"Scrape Web Page\",\n description: \"This tool scrapes a web page using the ScrapingAnt API. It fetches the HTML content of the specified URL. Users can customize the scraping behavior by enabling a headless browser, using proxies, waiting for specific elements, executing JavaScript, passing cookies, and blocking certain resources.\",\n input: ScrapingantScrapeWebPageInput,\n output: ScrapingantScrapeWebPageOutput,\n});\n"],"mappings":";;AAmBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACzD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAY;GAAc;GAAS;GAAS;GAAQ;GAAU;GAAa;GAAO;GAAS;GAAe;GAAa;GAAY;EAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC/P,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACpI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAChM,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -27,7 +27,7 @@ const ScrapingantScrapeWebpagePostInput = zod.z.object({
27
27
  wait_for_selector: zod.z.string().describe("CSS selector to wait for before returning the result. Requires browser=True.").optional(),
28
28
  return_page_source: zod.z.boolean().default(false).describe("Enable to return the raw HTML from the server without JavaScript rendering. Requires browser=True. Defaults to False.").optional()
29
29
  });
30
- const ScrapingantScrapeWebpagePostOutput = zod.z.object({ content: zod.z.string().describe("The HTML content of the scraped web page returned from the POST request.").nullable() });
30
+ const ScrapingantScrapeWebpagePostOutput = zod.z.object({ content: zod.z.string().describe("The HTML content of the scraped web page returned from the POST request.").nullable() }).passthrough();
31
31
  const scrapingantScrapeWebpagePost = require_action.action("SCRAPINGANT_SCRAPE_WEBPAGE_POST", {
32
32
  slug: "scrapingant-scrape-webpage-post",
33
33
  name: "Scrape Webpage via POST",
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-webpage-post.cjs","names":["z","action"],"sources":["../../src/actions/scrape-webpage-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebpagePostInput = z.object({\n url: z.string().describe(\"URL of the target web page to scrape using POST request.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request to the target site. Format: cookie_name1=cookie_value1;cookie_name2=cookie_value2\").optional(),\n post_data: z.record(z.string(), z.unknown()).describe(\"POST data to send to the target web page. This will be forwarded transparently to the target. Useful for form submissions and APIs requiring POST requests.\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute once the page is loaded. Requires browser=True.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use for the request. Defaults to datacenter.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy. If not specified, a random country will be used.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block. Prevents cloud browser from loading specified resource types. Requires browser=True.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires browser=True.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires browser=True. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebpagePostOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page returned from the POST request.\").nullable(),\n});\n\nexport const scrapingantScrapeWebpagePost = action(\"SCRAPINGANT_SCRAPE_WEBPAGE_POST\", {\n slug: \"scrapingant-scrape-webpage-post\",\n name: \"Scrape Webpage via POST\",\n description: \"Tool to perform a POST request through ScrapingAnt's proxy to scrape a webpage. Use when you need to scrape pages that require POST method, such as form submissions or APIs that only accept POST requests. Data is forwarded transparently to the target web page.\",\n input: ScrapingantScrapeWebpagePostInput,\n output: ScrapingantScrapeWebpagePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACnF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACrK,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAC9N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACrI,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAc;EAAS;EAAS;EAAQ;EAAU;EAAa;EAAO;EAAS;EAAe;EAAa;EAAY;CAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACzT,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAChI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC5L,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EACpH,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"scrape-webpage-post.cjs","names":["z","action"],"sources":["../../src/actions/scrape-webpage-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebpagePostInput = z.object({\n url: z.string().describe(\"URL of the target web page to scrape using POST request.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request to the target site. Format: cookie_name1=cookie_value1;cookie_name2=cookie_value2\").optional(),\n post_data: z.record(z.string(), z.unknown()).describe(\"POST data to send to the target web page. This will be forwarded transparently to the target. Useful for form submissions and APIs requiring POST requests.\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute once the page is loaded. Requires browser=True.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use for the request. Defaults to datacenter.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy. If not specified, a random country will be used.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block. Prevents cloud browser from loading specified resource types. Requires browser=True.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires browser=True.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires browser=True. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebpagePostOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page returned from the POST request.\").nullable(),\n}).passthrough();\n\nexport const scrapingantScrapeWebpagePost = action(\"SCRAPINGANT_SCRAPE_WEBPAGE_POST\", {\n slug: \"scrapingant-scrape-webpage-post\",\n name: \"Scrape Webpage via POST\",\n description: \"Tool to perform a POST request through ScrapingAnt's proxy to scrape a webpage. Use when you need to scrape pages that require POST method, such as form submissions or APIs that only accept POST requests. Data is forwarded transparently to the target web page.\",\n input: ScrapingantScrapeWebpagePostInput,\n output: ScrapingantScrapeWebpagePostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACnF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACrK,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAC9N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACnJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACrI,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAc;EAAS;EAAS;EAAQ;EAAU;EAAa;EAAO;EAAS;EAAe;EAAa;EAAY;CAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACzT,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAChI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC5L,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -32,7 +32,7 @@ declare const ScrapingantScrapeWebpagePostInput: z.ZodObject<{
32
32
  }, z.core.$strip>;
33
33
  declare const ScrapingantScrapeWebpagePostOutput: z.ZodObject<{
34
34
  content: z.ZodNullable<z.ZodString>;
35
- }, z.core.$strip>;
35
+ }, z.core.$loose>;
36
36
  declare const scrapingantScrapeWebpagePost: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  url: string;
38
38
  browser?: boolean | undefined;
@@ -32,7 +32,7 @@ declare const ScrapingantScrapeWebpagePostInput: z.ZodObject<{
32
32
  }, z.core.$strip>;
33
33
  declare const ScrapingantScrapeWebpagePostOutput: z.ZodObject<{
34
34
  content: z.ZodNullable<z.ZodString>;
35
- }, z.core.$strip>;
35
+ }, z.core.$loose>;
36
36
  declare const scrapingantScrapeWebpagePost: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  url: string;
38
38
  browser?: boolean | undefined;
@@ -30,7 +30,7 @@ const scrapingantScrapeWebpagePost = action("SCRAPINGANT_SCRAPE_WEBPAGE_POST", {
30
30
  wait_for_selector: z.string().describe("CSS selector to wait for before returning the result. Requires browser=True.").optional(),
31
31
  return_page_source: z.boolean().default(false).describe("Enable to return the raw HTML from the server without JavaScript rendering. Requires browser=True. Defaults to False.").optional()
32
32
  }),
33
- output: z.object({ content: z.string().describe("The HTML content of the scraped web page returned from the POST request.").nullable() })
33
+ output: z.object({ content: z.string().describe("The HTML content of the scraped web page returned from the POST request.").nullable() }).passthrough()
34
34
  });
35
35
  //#endregion
36
36
  export { scrapingantScrapeWebpagePost };
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-webpage-post.mjs","names":[],"sources":["../../src/actions/scrape-webpage-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebpagePostInput = z.object({\n url: z.string().describe(\"URL of the target web page to scrape using POST request.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request to the target site. Format: cookie_name1=cookie_value1;cookie_name2=cookie_value2\").optional(),\n post_data: z.record(z.string(), z.unknown()).describe(\"POST data to send to the target web page. This will be forwarded transparently to the target. Useful for form submissions and APIs requiring POST requests.\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute once the page is loaded. Requires browser=True.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use for the request. Defaults to datacenter.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy. If not specified, a random country will be used.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block. Prevents cloud browser from loading specified resource types. Requires browser=True.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires browser=True.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires browser=True. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebpagePostOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page returned from the POST request.\").nullable(),\n});\n\nexport const scrapingantScrapeWebpagePost = action(\"SCRAPINGANT_SCRAPE_WEBPAGE_POST\", {\n slug: \"scrapingant-scrape-webpage-post\",\n name: \"Scrape Webpage via POST\",\n description: \"Tool to perform a POST request through ScrapingAnt's proxy to scrape a webpage. Use when you need to scrape pages that require POST method, such as form submissions or APIs that only accept POST requests. Data is forwarded transparently to the target web page.\",\n input: ScrapingantScrapeWebpagePostInput,\n output: ScrapingantScrapeWebpagePostOutput,\n});\n"],"mappings":";;AAoBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACnF,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACrK,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;EAC9N,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACnJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACrI,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAY;GAAc;GAAS;GAAS;GAAQ;GAAU;GAAa;GAAO;GAAS;GAAe;GAAa;GAAY;EAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACzT,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAChI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC5L,CASS;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EACpH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"scrape-webpage-post.mjs","names":[],"sources":["../../src/actions/scrape-webpage-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebpagePostInput = z.object({\n url: z.string().describe(\"URL of the target web page to scrape using POST request.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request to the target site. Format: cookie_name1=cookie_value1;cookie_name2=cookie_value2\").optional(),\n post_data: z.record(z.string(), z.unknown()).describe(\"POST data to send to the target web page. This will be forwarded transparently to the target. Useful for form submissions and APIs requiring POST requests.\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute once the page is loaded. Requires browser=True.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use for the request. Defaults to datacenter.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy. If not specified, a random country will be used.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block. Prevents cloud browser from loading specified resource types. Requires browser=True.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires browser=True.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires browser=True. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebpagePostOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page returned from the POST request.\").nullable(),\n}).passthrough();\n\nexport const scrapingantScrapeWebpagePost = action(\"SCRAPINGANT_SCRAPE_WEBPAGE_POST\", {\n slug: \"scrapingant-scrape-webpage-post\",\n name: \"Scrape Webpage via POST\",\n description: \"Tool to perform a POST request through ScrapingAnt's proxy to scrape a webpage. Use when you need to scrape pages that require POST method, such as form submissions or APIs that only accept POST requests. Data is forwarded transparently to the target web page.\",\n input: ScrapingantScrapeWebpagePostInput,\n output: ScrapingantScrapeWebpagePostOutput,\n});\n"],"mappings":";;AAoBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACnF,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACrK,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;EAC9N,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACnJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACrI,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAY;GAAc;GAAS;GAAS;GAAQ;GAAU;GAAa;GAAO;GAAS;GAAe;GAAa;GAAY;EAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACzT,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAChI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC5L,CASS;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -28,7 +28,7 @@ const ScrapingantScrapeWebpagePutInput = zod.z.object({
28
28
  wait_for_selector: zod.z.string().describe("CSS selector to wait for before returning the result. Requires headless browser.").optional(),
29
29
  return_page_source: zod.z.boolean().default(false).describe("Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.").optional()
30
30
  });
31
- const ScrapingantScrapeWebpagePutOutput = zod.z.object({ content: zod.z.string().describe("The HTML content of the scraped web page returned by the PUT request.").nullable() });
31
+ const ScrapingantScrapeWebpagePutOutput = zod.z.object({ content: zod.z.string().describe("The HTML content of the scraped web page returned by the PUT request.").nullable() }).passthrough();
32
32
  const scrapingantScrapeWebpagePut = require_action.action("SCRAPINGANT_SCRAPE_WEBPAGE_PUT", {
33
33
  slug: "scrapingant-scrape-webpage-put",
34
34
  name: "Scrape Webpage with PUT",
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-webpage-put.cjs","names":["z","action"],"sources":["../../src/actions/scrape-webpage-put.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebpagePutInput = z.object({\n url: z.string().describe(\"URL of the web page to scrape using PUT method.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request to the target site. Format: cookie_name1=cookie_value1;cookie_name2=cookie_value2\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute on the page once loaded. Requires headless browser.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use. Defaults to datacenter.\").optional(),\n content_type: z.string().describe(\"Content-Type header to use for the PUT request. Will be sent as Ant-Content-Type header.\").optional(),\n request_body: z.string().describe(\"Request body data to send with the PUT request. This data will be forwarded transparently to the target web page.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy. If not specified, request will be made from a random country.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block from loading. Requires headless browser.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires headless browser.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebpagePutOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page returned by the PUT request.\").nullable(),\n});\n\nexport const scrapingantScrapeWebpagePut = action(\"SCRAPINGANT_SCRAPE_WEBPAGE_PUT\", {\n slug: \"scrapingant-scrape-webpage-put\",\n name: \"Scrape Webpage with PUT\",\n description: \"Tool to perform a PUT request through ScrapingAnt's proxy to scrape a webpage that requires PUT method. Use when the target webpage requires PUT method for data submission. Data is forwarded transparently to the target web page.\",\n input: ScrapingantScrapeWebpagePutInput,\n output: ScrapingantScrapeWebpagePutOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACrK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC7I,YAAYA,IAAAA,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACnI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACvI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAc;EAAS;EAAS;EAAQ;EAAU;EAAa;EAAO;EAAS;EAAe;EAAa;EAAY;CAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC5Q,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAChM,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EACjH,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"scrape-webpage-put.cjs","names":["z","action"],"sources":["../../src/actions/scrape-webpage-put.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebpagePutInput = z.object({\n url: z.string().describe(\"URL of the web page to scrape using PUT method.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request to the target site. Format: cookie_name1=cookie_value1;cookie_name2=cookie_value2\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute on the page once loaded. Requires headless browser.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use. Defaults to datacenter.\").optional(),\n content_type: z.string().describe(\"Content-Type header to use for the PUT request. Will be sent as Ant-Content-Type header.\").optional(),\n request_body: z.string().describe(\"Request body data to send with the PUT request. This data will be forwarded transparently to the target web page.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy. If not specified, request will be made from a random country.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block from loading. Requires headless browser.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires headless browser.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebpagePutOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page returned by the PUT request.\").nullable(),\n}).passthrough();\n\nexport const scrapingantScrapeWebpagePut = action(\"SCRAPINGANT_SCRAPE_WEBPAGE_PUT\", {\n slug: \"scrapingant-scrape-webpage-put\",\n name: \"Scrape Webpage with PUT\",\n description: \"Tool to perform a PUT request through ScrapingAnt's proxy to scrape a webpage that requires PUT method. Use when the target webpage requires PUT method for data submission. Data is forwarded transparently to the target web page.\",\n input: ScrapingantScrapeWebpagePutInput,\n output: ScrapingantScrapeWebpagePutOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACrK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC7I,YAAYA,IAAAA,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACnI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACvI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAc;EAAS;EAAS;EAAQ;EAAU;EAAa;EAAO;EAAS;EAAe;EAAa;EAAY;CAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC5Q,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAChM,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -33,7 +33,7 @@ declare const ScrapingantScrapeWebpagePutInput: z.ZodObject<{
33
33
  }, z.core.$strip>;
34
34
  declare const ScrapingantScrapeWebpagePutOutput: z.ZodObject<{
35
35
  content: z.ZodNullable<z.ZodString>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const scrapingantScrapeWebpagePut: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  url: string;
39
39
  browser?: boolean | undefined;
@@ -33,7 +33,7 @@ declare const ScrapingantScrapeWebpagePutInput: z.ZodObject<{
33
33
  }, z.core.$strip>;
34
34
  declare const ScrapingantScrapeWebpagePutOutput: z.ZodObject<{
35
35
  content: z.ZodNullable<z.ZodString>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const scrapingantScrapeWebpagePut: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  url: string;
39
39
  browser?: boolean | undefined;
@@ -31,7 +31,7 @@ const scrapingantScrapeWebpagePut = action("SCRAPINGANT_SCRAPE_WEBPAGE_PUT", {
31
31
  wait_for_selector: z.string().describe("CSS selector to wait for before returning the result. Requires headless browser.").optional(),
32
32
  return_page_source: z.boolean().default(false).describe("Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.").optional()
33
33
  }),
34
- output: z.object({ content: z.string().describe("The HTML content of the scraped web page returned by the PUT request.").nullable() })
34
+ output: z.object({ content: z.string().describe("The HTML content of the scraped web page returned by the PUT request.").nullable() }).passthrough()
35
35
  });
36
36
  //#endregion
37
37
  export { scrapingantScrapeWebpagePut };
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-webpage-put.mjs","names":[],"sources":["../../src/actions/scrape-webpage-put.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebpagePutInput = z.object({\n url: z.string().describe(\"URL of the web page to scrape using PUT method.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request to the target site. Format: cookie_name1=cookie_value1;cookie_name2=cookie_value2\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute on the page once loaded. Requires headless browser.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use. Defaults to datacenter.\").optional(),\n content_type: z.string().describe(\"Content-Type header to use for the PUT request. Will be sent as Ant-Content-Type header.\").optional(),\n request_body: z.string().describe(\"Request body data to send with the PUT request. This data will be forwarded transparently to the target web page.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy. If not specified, request will be made from a random country.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block from loading. Requires headless browser.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires headless browser.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebpagePutOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page returned by the PUT request.\").nullable(),\n});\n\nexport const scrapingantScrapeWebpagePut = action(\"SCRAPINGANT_SCRAPE_WEBPAGE_PUT\", {\n slug: \"scrapingant-scrape-webpage-put\",\n name: \"Scrape Webpage with PUT\",\n description: \"Tool to perform a PUT request through ScrapingAnt's proxy to scrape a webpage that requires PUT method. Use when the target webpage requires PUT method for data submission. Data is forwarded transparently to the target web page.\",\n input: ScrapingantScrapeWebpagePutInput,\n output: ScrapingantScrapeWebpagePutOutput,\n});\n"],"mappings":";;AAqBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACrK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC7I,YAAY,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACnI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACvI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EAChK,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAClJ,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAY;GAAc;GAAS;GAAS;GAAQ;GAAU;GAAa;GAAO;GAAS;GAAe;GAAa;GAAY;EAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC5Q,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACpI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAChM,CASS;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EACjH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"scrape-webpage-put.mjs","names":[],"sources":["../../src/actions/scrape-webpage-put.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWebpagePutInput = z.object({\n url: z.string().describe(\"URL of the web page to scrape using PUT method.\"),\n browser: z.boolean().default(true).describe(\"Enable to use a headless browser for scraping. Defaults to True. If False, JavaScript will not be rendered.\").optional(),\n cookies: z.string().describe(\"Cookies to pass with the scraping request to the target site. Format: cookie_name1=cookie_value1;cookie_name2=cookie_value2\").optional(),\n js_snippet: z.string().describe(\"Base64 encoded JavaScript snippet to execute on the page once loaded. Requires headless browser.\").optional(),\n proxy_type: z.enum([\"datacenter\", \"residential\"]).describe(\"Specifies the type of proxy to use. Defaults to datacenter.\").optional(),\n content_type: z.string().describe(\"Content-Type header to use for the PUT request. Will be sent as Ant-Content-Type header.\").optional(),\n request_body: z.string().describe(\"Request body data to send with the PUT request. This data will be forwarded transparently to the target web page.\").optional(),\n proxy_country: z.string().describe(\"Specifies the country for the proxy. If not specified, request will be made from a random country.\").optional(),\n block_resource: z.array(z.enum([\"document\", \"stylesheet\", \"image\", \"media\", \"font\", \"script\", \"texttrack\", \"xhr\", \"fetch\", \"eventsource\", \"websocket\", \"manifest\", \"other\"])).describe(\"List of resource types to block from loading. Requires headless browser.\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the result. Requires headless browser.\").optional(),\n return_page_source: z.boolean().default(false).describe(\"Enable to return the raw HTML from the server without JavaScript rendering. Requires headless browser. Defaults to False.\").optional(),\n});\nexport const ScrapingantScrapeWebpagePutOutput = z.object({\n content: z.string().describe(\"The HTML content of the scraped web page returned by the PUT request.\").nullable(),\n}).passthrough();\n\nexport const scrapingantScrapeWebpagePut = action(\"SCRAPINGANT_SCRAPE_WEBPAGE_PUT\", {\n slug: \"scrapingant-scrape-webpage-put\",\n name: \"Scrape Webpage with PUT\",\n description: \"Tool to perform a PUT request through ScrapingAnt's proxy to scrape a webpage that requires PUT method. Use when the target webpage requires PUT method for data submission. Data is forwarded transparently to the target web page.\",\n input: ScrapingantScrapeWebpagePutInput,\n output: ScrapingantScrapeWebpagePutOutput,\n});\n"],"mappings":";;AAqBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACrK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC7I,YAAY,EAAE,KAAK,CAAC,cAAc,aAAa,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACnI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACvI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EAChK,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAClJ,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAY;GAAc;GAAS;GAAS;GAAQ;GAAU;GAAa;GAAO;GAAS;GAAe;GAAa;GAAY;EAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC5Q,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACpI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAChM,CASS;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -14,7 +14,7 @@ const ScrapingantScrapeWithExtendedJsonOutputInput = zod.z.object({
14
14
  const ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema = zod.z.object({
15
15
  name: zod.z.string().nullable(),
16
16
  value: zod.z.string().nullable()
17
- });
17
+ }).passthrough();
18
18
  const ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema = zod.z.object({
19
19
  url: zod.z.string().nullable(),
20
20
  body: zod.z.string().nullable().optional(),
@@ -22,11 +22,11 @@ const ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema = zod.z.object({
22
22
  status: zod.z.number().int().nullable(),
23
23
  headers: zod.z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema),
24
24
  request_body: zod.z.string().nullable().optional()
25
- });
25
+ }).passthrough();
26
26
  const ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema = zod.z.object({
27
27
  src: zod.z.string().nullable(),
28
28
  html: zod.z.string().nullable()
29
- });
29
+ }).passthrough();
30
30
  const ScrapingantScrapeWithExtendedJsonOutputOutput = zod.z.object({
31
31
  html: zod.z.string().describe("The full HTML content of the scraped web page, including all rendered content.").nullable(),
32
32
  text: zod.z.string().describe("Plain text content extracted from the web page with HTML tags stripped.").nullable(),
@@ -35,7 +35,7 @@ const ScrapingantScrapeWithExtendedJsonOutputOutput = zod.z.object({
35
35
  headers: zod.z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema).describe("HTTP response headers from the target web page as name-value pairs."),
36
36
  iframes: zod.z.array(ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema).describe("Content of iframes embedded in the web page (only available when browser=True)."),
37
37
  status_code: zod.z.number().int().describe("The HTTP status code returned by the target web page (e.g., 200 for success, 404 for not found).").nullable()
38
- });
38
+ }).passthrough();
39
39
  const scrapingantScrapeWithExtendedJsonOutput = require_action.action("SCRAPINGANT_SCRAPE_WITH_EXTENDED_JSON_OUTPUT", {
40
40
  slug: "scrapingant-scrape-with-extended-json-output",
41
41
  name: "Scrape with Extended JSON Output",
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-with-extended-json-output.cjs","names":["z","action"],"sources":["../../src/actions/scrape-with-extended-json-output.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWithExtendedJsonOutputInput = z.object({\n url: z.string().describe(\"The full URL of the web page to scrape (must include protocol, e.g., https://).\"),\n browser: z.boolean().describe(\"Enable or disable headless browser rendering. When True (default), JavaScript is executed and dynamic content is loaded. Set to False for faster scraping of static pages.\").optional(),\n cookies: z.string().describe(\"Custom cookies to send with the request. Format: 'name1=value1; name2=value2'.\").optional(),\n timeout: z.number().int().describe(\"Maximum time in seconds to wait for the page to load. Must be between 5 and 60. Default is 60 seconds.\").optional(),\n proxy_type: z.string().describe(\"Type of proxy to use: 'datacenter' (faster, cheaper) or 'residential' (better for anti-bot sites). Default is 'datacenter'.\").optional(),\n proxy_country: z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2) for geographic proxy location (e.g., 'US', 'GB', 'DE').\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the page content. Useful for pages with dynamic content that loads after initial page load.\").optional(),\n return_page_source: z.boolean().describe(\"When True, returns the raw HTML from the server without JavaScript rendering. Useful for faster scraping when JS execution is not needed.\").optional(),\n});\nconst ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema = z.object({\n name: z.string().nullable(),\n value: z.string().nullable(),\n});\nconst ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema = z.object({\n url: z.string().nullable(),\n body: z.string().nullable().optional(),\n method: z.string().nullable(),\n status: z.number().int().nullable(),\n headers: z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema),\n request_body: z.string().nullable().optional(),\n});\nconst ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema = z.object({\n src: z.string().nullable(),\n html: z.string().nullable(),\n});\nexport const ScrapingantScrapeWithExtendedJsonOutputOutput = z.object({\n html: z.string().describe(\"The full HTML content of the scraped web page, including all rendered content.\").nullable(),\n text: z.string().describe(\"Plain text content extracted from the web page with HTML tags stripped.\").nullable(),\n xhrs: z.array(ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema).describe(\"XHR and Fetch requests made by the web page during rendering (only available when browser=True). Useful for capturing API calls made by JavaScript.\"),\n cookies: z.string().describe(\"Cookies set by the target web page during the request (format: 'name=value; name2=value2').\").nullable(),\n headers: z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema).describe(\"HTTP response headers from the target web page as name-value pairs.\"),\n iframes: z.array(ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema).describe(\"Content of iframes embedded in the web page (only available when browser=True).\"),\n status_code: z.number().int().describe(\"The HTTP status code returned by the target web page (e.g., 200 for success, 404 for not found).\").nullable(),\n});\n\nexport const scrapingantScrapeWithExtendedJsonOutput = action(\"SCRAPINGANT_SCRAPE_WITH_EXTENDED_JSON_OUTPUT\", {\n slug: \"scrapingant-scrape-with-extended-json-output\",\n name: \"Scrape with Extended JSON Output\",\n description: \"Scrapes a web page and returns comprehensive data including HTML content, plain text, cookies, HTTP headers, XHR/Fetch requests, and iframe content. This tool uses ScrapingAnt's extended endpoint which provides much richer data than standard scraping: - Full HTML and extracted plain text content - All cookies and HTTP response headers from the target page - Captured XHR/Fetch API requests made by the page (useful for finding hidden APIs) - Content from embedded iframes Best used when you need more than just the HTML - such as analyzing cookies, headers, or JavaScript API calls made by a page. For simple HTML scraping, consider using the basic scrape tool instead for lower API credit usage.\",\n input: ScrapingantScrapeWithExtendedJsonOutputInput,\n output: ScrapingantScrapeWithExtendedJsonOutputOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC1G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACrN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACtJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACxK,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACpJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACzL,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;AACjM,CAAC;AACD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAC7B,CAAC;AACD,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,SAASA,IAAAA,EAAE,MAAM,wDAAwD;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/C,CAAC;AACD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAC5B,CAAC;AACD,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,qJAAqJ;CACnO,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,qEAAqE;CACzJ,SAASA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,iFAAiF;CACrK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AACtJ,CAAC;AAED,MAAa,0CAA0CC,eAAAA,OAAO,gDAAgD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"scrape-with-extended-json-output.cjs","names":["z","action"],"sources":["../../src/actions/scrape-with-extended-json-output.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWithExtendedJsonOutputInput = z.object({\n url: z.string().describe(\"The full URL of the web page to scrape (must include protocol, e.g., https://).\"),\n browser: z.boolean().describe(\"Enable or disable headless browser rendering. When True (default), JavaScript is executed and dynamic content is loaded. Set to False for faster scraping of static pages.\").optional(),\n cookies: z.string().describe(\"Custom cookies to send with the request. Format: 'name1=value1; name2=value2'.\").optional(),\n timeout: z.number().int().describe(\"Maximum time in seconds to wait for the page to load. Must be between 5 and 60. Default is 60 seconds.\").optional(),\n proxy_type: z.string().describe(\"Type of proxy to use: 'datacenter' (faster, cheaper) or 'residential' (better for anti-bot sites). Default is 'datacenter'.\").optional(),\n proxy_country: z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2) for geographic proxy location (e.g., 'US', 'GB', 'DE').\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the page content. Useful for pages with dynamic content that loads after initial page load.\").optional(),\n return_page_source: z.boolean().describe(\"When True, returns the raw HTML from the server without JavaScript rendering. Useful for faster scraping when JS execution is not needed.\").optional(),\n});\nconst ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema = z.object({\n name: z.string().nullable(),\n value: z.string().nullable(),\n}).passthrough();\nconst ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema = z.object({\n url: z.string().nullable(),\n body: z.string().nullable().optional(),\n method: z.string().nullable(),\n status: z.number().int().nullable(),\n headers: z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema),\n request_body: z.string().nullable().optional(),\n}).passthrough();\nconst ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema = z.object({\n src: z.string().nullable(),\n html: z.string().nullable(),\n}).passthrough();\nexport const ScrapingantScrapeWithExtendedJsonOutputOutput = z.object({\n html: z.string().describe(\"The full HTML content of the scraped web page, including all rendered content.\").nullable(),\n text: z.string().describe(\"Plain text content extracted from the web page with HTML tags stripped.\").nullable(),\n xhrs: z.array(ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema).describe(\"XHR and Fetch requests made by the web page during rendering (only available when browser=True). Useful for capturing API calls made by JavaScript.\"),\n cookies: z.string().describe(\"Cookies set by the target web page during the request (format: 'name=value; name2=value2').\").nullable(),\n headers: z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema).describe(\"HTTP response headers from the target web page as name-value pairs.\"),\n iframes: z.array(ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema).describe(\"Content of iframes embedded in the web page (only available when browser=True).\"),\n status_code: z.number().int().describe(\"The HTTP status code returned by the target web page (e.g., 200 for success, 404 for not found).\").nullable(),\n}).passthrough();\n\nexport const scrapingantScrapeWithExtendedJsonOutput = action(\"SCRAPINGANT_SCRAPE_WITH_EXTENDED_JSON_OUTPUT\", {\n slug: \"scrapingant-scrape-with-extended-json-output\",\n name: \"Scrape with Extended JSON Output\",\n description: \"Scrapes a web page and returns comprehensive data including HTML content, plain text, cookies, HTTP headers, XHR/Fetch requests, and iframe content. This tool uses ScrapingAnt's extended endpoint which provides much richer data than standard scraping: - Full HTML and extracted plain text content - All cookies and HTTP response headers from the target page - Captured XHR/Fetch API requests made by the page (useful for finding hidden APIs) - Content from embedded iframes Best used when you need more than just the HTML - such as analyzing cookies, headers, or JavaScript API calls made by a page. For simple HTML scraping, consider using the basic scrape tool instead for lower API credit usage.\",\n input: ScrapingantScrapeWithExtendedJsonOutputInput,\n output: ScrapingantScrapeWithExtendedJsonOutputOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC1G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACrN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACtJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACxK,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACpJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACzL,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;AACjM,CAAC;AACD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAC7B,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,SAASA,IAAAA,EAAE,MAAM,wDAAwD;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/C,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAC5B,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,qJAAqJ;CACnO,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,qEAAqE;CACzJ,SAASA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,iFAAiF;CACrK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0CAA0CC,eAAAA,OAAO,gDAAgD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,20 +22,20 @@ declare const ScrapingantScrapeWithExtendedJsonOutputOutput: z.ZodObject<{
22
22
  headers: z.ZodArray<z.ZodObject<{
23
23
  name: z.ZodNullable<z.ZodString>;
24
24
  value: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
26
  request_body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>;
27
+ }, z.core.$loose>>;
28
28
  cookies: z.ZodNullable<z.ZodString>;
29
29
  headers: z.ZodArray<z.ZodObject<{
30
30
  name: z.ZodNullable<z.ZodString>;
31
31
  value: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>>;
32
+ }, z.core.$loose>>;
33
33
  iframes: z.ZodArray<z.ZodObject<{
34
34
  src: z.ZodNullable<z.ZodString>;
35
35
  html: z.ZodNullable<z.ZodString>;
36
- }, z.core.$strip>>;
36
+ }, z.core.$loose>>;
37
37
  status_code: z.ZodNullable<z.ZodNumber>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const scrapingantScrapeWithExtendedJsonOutput: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  url: string;
41
41
  browser?: boolean | undefined;
@@ -22,20 +22,20 @@ declare const ScrapingantScrapeWithExtendedJsonOutputOutput: z.ZodObject<{
22
22
  headers: z.ZodArray<z.ZodObject<{
23
23
  name: z.ZodNullable<z.ZodString>;
24
24
  value: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
26
  request_body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>;
27
+ }, z.core.$loose>>;
28
28
  cookies: z.ZodNullable<z.ZodString>;
29
29
  headers: z.ZodArray<z.ZodObject<{
30
30
  name: z.ZodNullable<z.ZodString>;
31
31
  value: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>>;
32
+ }, z.core.$loose>>;
33
33
  iframes: z.ZodArray<z.ZodObject<{
34
34
  src: z.ZodNullable<z.ZodString>;
35
35
  html: z.ZodNullable<z.ZodString>;
36
- }, z.core.$strip>>;
36
+ }, z.core.$loose>>;
37
37
  status_code: z.ZodNullable<z.ZodNumber>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const scrapingantScrapeWithExtendedJsonOutput: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  url: string;
41
41
  browser?: boolean | undefined;
@@ -14,7 +14,7 @@ const ScrapingantScrapeWithExtendedJsonOutputInput = z.object({
14
14
  const ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema = z.object({
15
15
  name: z.string().nullable(),
16
16
  value: z.string().nullable()
17
- });
17
+ }).passthrough();
18
18
  const ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema = z.object({
19
19
  url: z.string().nullable(),
20
20
  body: z.string().nullable().optional(),
@@ -22,11 +22,11 @@ const ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema = z.object({
22
22
  status: z.number().int().nullable(),
23
23
  headers: z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema),
24
24
  request_body: z.string().nullable().optional()
25
- });
25
+ }).passthrough();
26
26
  const ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema = z.object({
27
27
  src: z.string().nullable(),
28
28
  html: z.string().nullable()
29
- });
29
+ }).passthrough();
30
30
  const scrapingantScrapeWithExtendedJsonOutput = action("SCRAPINGANT_SCRAPE_WITH_EXTENDED_JSON_OUTPUT", {
31
31
  slug: "scrapingant-scrape-with-extended-json-output",
32
32
  name: "Scrape with Extended JSON Output",
@@ -40,7 +40,7 @@ const scrapingantScrapeWithExtendedJsonOutput = action("SCRAPINGANT_SCRAPE_WITH_
40
40
  headers: z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema).describe("HTTP response headers from the target web page as name-value pairs."),
41
41
  iframes: z.array(ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema).describe("Content of iframes embedded in the web page (only available when browser=True)."),
42
42
  status_code: z.number().int().describe("The HTTP status code returned by the target web page (e.g., 200 for success, 404 for not found).").nullable()
43
- })
43
+ }).passthrough()
44
44
  });
45
45
  //#endregion
46
46
  export { scrapingantScrapeWithExtendedJsonOutput };
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-with-extended-json-output.mjs","names":[],"sources":["../../src/actions/scrape-with-extended-json-output.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWithExtendedJsonOutputInput = z.object({\n url: z.string().describe(\"The full URL of the web page to scrape (must include protocol, e.g., https://).\"),\n browser: z.boolean().describe(\"Enable or disable headless browser rendering. When True (default), JavaScript is executed and dynamic content is loaded. Set to False for faster scraping of static pages.\").optional(),\n cookies: z.string().describe(\"Custom cookies to send with the request. Format: 'name1=value1; name2=value2'.\").optional(),\n timeout: z.number().int().describe(\"Maximum time in seconds to wait for the page to load. Must be between 5 and 60. Default is 60 seconds.\").optional(),\n proxy_type: z.string().describe(\"Type of proxy to use: 'datacenter' (faster, cheaper) or 'residential' (better for anti-bot sites). Default is 'datacenter'.\").optional(),\n proxy_country: z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2) for geographic proxy location (e.g., 'US', 'GB', 'DE').\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the page content. Useful for pages with dynamic content that loads after initial page load.\").optional(),\n return_page_source: z.boolean().describe(\"When True, returns the raw HTML from the server without JavaScript rendering. Useful for faster scraping when JS execution is not needed.\").optional(),\n});\nconst ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema = z.object({\n name: z.string().nullable(),\n value: z.string().nullable(),\n});\nconst ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema = z.object({\n url: z.string().nullable(),\n body: z.string().nullable().optional(),\n method: z.string().nullable(),\n status: z.number().int().nullable(),\n headers: z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema),\n request_body: z.string().nullable().optional(),\n});\nconst ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema = z.object({\n src: z.string().nullable(),\n html: z.string().nullable(),\n});\nexport const ScrapingantScrapeWithExtendedJsonOutputOutput = z.object({\n html: z.string().describe(\"The full HTML content of the scraped web page, including all rendered content.\").nullable(),\n text: z.string().describe(\"Plain text content extracted from the web page with HTML tags stripped.\").nullable(),\n xhrs: z.array(ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema).describe(\"XHR and Fetch requests made by the web page during rendering (only available when browser=True). Useful for capturing API calls made by JavaScript.\"),\n cookies: z.string().describe(\"Cookies set by the target web page during the request (format: 'name=value; name2=value2').\").nullable(),\n headers: z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema).describe(\"HTTP response headers from the target web page as name-value pairs.\"),\n iframes: z.array(ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema).describe(\"Content of iframes embedded in the web page (only available when browser=True).\"),\n status_code: z.number().int().describe(\"The HTTP status code returned by the target web page (e.g., 200 for success, 404 for not found).\").nullable(),\n});\n\nexport const scrapingantScrapeWithExtendedJsonOutput = action(\"SCRAPINGANT_SCRAPE_WITH_EXTENDED_JSON_OUTPUT\", {\n slug: \"scrapingant-scrape-with-extended-json-output\",\n name: \"Scrape with Extended JSON Output\",\n description: \"Scrapes a web page and returns comprehensive data including HTML content, plain text, cookies, HTTP headers, XHR/Fetch requests, and iframe content. This tool uses ScrapingAnt's extended endpoint which provides much richer data than standard scraping: - Full HTML and extracted plain text content - All cookies and HTTP response headers from the target page - Captured XHR/Fetch API requests made by the page (useful for finding hidden APIs) - Content from embedded iframes Best used when you need more than just the HTML - such as analyzing cookies, headers, or JavaScript API calls made by a page. For simple HTML scraping, consider using the basic scrape tool instead for lower API credit usage.\",\n input: ScrapingantScrapeWithExtendedJsonOutputInput,\n output: ScrapingantScrapeWithExtendedJsonOutputOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+C,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC1G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACrN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACtJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACxK,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACpJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACzL,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;AACjM,CAAC;AACD,MAAM,2DAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS;AAC7B,CAAC;AACD,MAAM,wDAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,SAAS,EAAE,MAAM,wDAAwD;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/C,CAAC;AACD,MAAM,2DAA2D,EAAE,OAAO;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;AAC5B,CAAC;AAWD,MAAa,0CAA0C,OAAO,gDAAgD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,qJAAqJ;EACnO,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,qEAAqE;EACzJ,SAAS,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,iFAAiF;EACrK,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACtJ,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"scrape-with-extended-json-output.mjs","names":[],"sources":["../../src/actions/scrape-with-extended-json-output.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapingantScrapeWithExtendedJsonOutputInput = z.object({\n url: z.string().describe(\"The full URL of the web page to scrape (must include protocol, e.g., https://).\"),\n browser: z.boolean().describe(\"Enable or disable headless browser rendering. When True (default), JavaScript is executed and dynamic content is loaded. Set to False for faster scraping of static pages.\").optional(),\n cookies: z.string().describe(\"Custom cookies to send with the request. Format: 'name1=value1; name2=value2'.\").optional(),\n timeout: z.number().int().describe(\"Maximum time in seconds to wait for the page to load. Must be between 5 and 60. Default is 60 seconds.\").optional(),\n proxy_type: z.string().describe(\"Type of proxy to use: 'datacenter' (faster, cheaper) or 'residential' (better for anti-bot sites). Default is 'datacenter'.\").optional(),\n proxy_country: z.string().describe(\"Two-letter country code (ISO 3166-1 alpha-2) for geographic proxy location (e.g., 'US', 'GB', 'DE').\").optional(),\n wait_for_selector: z.string().describe(\"CSS selector to wait for before returning the page content. Useful for pages with dynamic content that loads after initial page load.\").optional(),\n return_page_source: z.boolean().describe(\"When True, returns the raw HTML from the server without JavaScript rendering. Useful for faster scraping when JS execution is not needed.\").optional(),\n});\nconst ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema = z.object({\n name: z.string().nullable(),\n value: z.string().nullable(),\n}).passthrough();\nconst ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema = z.object({\n url: z.string().nullable(),\n body: z.string().nullable().optional(),\n method: z.string().nullable(),\n status: z.number().int().nullable(),\n headers: z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema),\n request_body: z.string().nullable().optional(),\n}).passthrough();\nconst ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema = z.object({\n src: z.string().nullable(),\n html: z.string().nullable(),\n}).passthrough();\nexport const ScrapingantScrapeWithExtendedJsonOutputOutput = z.object({\n html: z.string().describe(\"The full HTML content of the scraped web page, including all rendered content.\").nullable(),\n text: z.string().describe(\"Plain text content extracted from the web page with HTML tags stripped.\").nullable(),\n xhrs: z.array(ScrapingantScrapeWithExtendedJsonOutput_XhrItemSchema).describe(\"XHR and Fetch requests made by the web page during rendering (only available when browser=True). Useful for capturing API calls made by JavaScript.\"),\n cookies: z.string().describe(\"Cookies set by the target web page during the request (format: 'name=value; name2=value2').\").nullable(),\n headers: z.array(ScrapingantScrapeWithExtendedJsonOutput_HeaderItemSchema).describe(\"HTTP response headers from the target web page as name-value pairs.\"),\n iframes: z.array(ScrapingantScrapeWithExtendedJsonOutput_IframeItemSchema).describe(\"Content of iframes embedded in the web page (only available when browser=True).\"),\n status_code: z.number().int().describe(\"The HTTP status code returned by the target web page (e.g., 200 for success, 404 for not found).\").nullable(),\n}).passthrough();\n\nexport const scrapingantScrapeWithExtendedJsonOutput = action(\"SCRAPINGANT_SCRAPE_WITH_EXTENDED_JSON_OUTPUT\", {\n slug: \"scrapingant-scrape-with-extended-json-output\",\n name: \"Scrape with Extended JSON Output\",\n description: \"Scrapes a web page and returns comprehensive data including HTML content, plain text, cookies, HTTP headers, XHR/Fetch requests, and iframe content. This tool uses ScrapingAnt's extended endpoint which provides much richer data than standard scraping: - Full HTML and extracted plain text content - All cookies and HTTP response headers from the target page - Captured XHR/Fetch API requests made by the page (useful for finding hidden APIs) - Content from embedded iframes Best used when you need more than just the HTML - such as analyzing cookies, headers, or JavaScript API calls made by a page. For simple HTML scraping, consider using the basic scrape tool instead for lower API credit usage.\",\n input: ScrapingantScrapeWithExtendedJsonOutputInput,\n output: ScrapingantScrapeWithExtendedJsonOutputOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+C,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC1G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CACrN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACtJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACxK,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACpJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACzL,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;AACjM,CAAC;AACD,MAAM,2DAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS;AAC7B,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wDAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,SAAS,EAAE,MAAM,wDAAwD;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/C,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2DAA2D,EAAE,OAAO;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;AAC5B,CAAC,CAAC,CAAC,YAAY;AAWf,MAAa,0CAA0C,OAAO,gDAAgD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,qJAAqJ;EACnO,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,qEAAqE;EACzJ,SAAS,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,iFAAiF;EACrK,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/scrapingant",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"