@keystrokehq/scrapegraph_ai 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.cjs +1 -0
- package/dist/actions/convert-webpage-to-markdown-v2.cjs.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.d.cts +3 -25
- package/dist/actions/convert-webpage-to-markdown-v2.d.cts.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.d.mts +3 -25
- package/dist/actions/convert-webpage-to-markdown-v2.d.mts.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.mjs +1 -0
- package/dist/actions/convert-webpage-to-markdown-v2.mjs.map +1 -1
- package/dist/actions/generate-schema.cjs +1 -0
- package/dist/actions/generate-schema.cjs.map +1 -1
- package/dist/actions/generate-schema.d.cts +3 -16
- package/dist/actions/generate-schema.d.cts.map +1 -1
- package/dist/actions/generate-schema.d.mts +3 -16
- package/dist/actions/generate-schema.d.mts.map +1 -1
- package/dist/actions/generate-schema.mjs +1 -0
- package/dist/actions/generate-schema.mjs.map +1 -1
- package/dist/actions/get-agentic-scraper-history.cjs +1 -0
- package/dist/actions/get-agentic-scraper-history.cjs.map +1 -1
- package/dist/actions/get-agentic-scraper-history.d.cts +3 -16
- package/dist/actions/get-agentic-scraper-history.d.cts.map +1 -1
- package/dist/actions/get-agentic-scraper-history.d.mts +3 -16
- package/dist/actions/get-agentic-scraper-history.d.mts.map +1 -1
- package/dist/actions/get-agentic-scraper-history.mjs +1 -0
- package/dist/actions/get-agentic-scraper-history.mjs.map +1 -1
- package/dist/actions/get-crawler-history.cjs +1 -0
- package/dist/actions/get-crawler-history.cjs.map +1 -1
- package/dist/actions/get-crawler-history.d.cts +3 -16
- package/dist/actions/get-crawler-history.d.cts.map +1 -1
- package/dist/actions/get-crawler-history.d.mts +3 -16
- package/dist/actions/get-crawler-history.d.mts.map +1 -1
- package/dist/actions/get-crawler-history.mjs +1 -0
- package/dist/actions/get-crawler-history.mjs.map +1 -1
- package/dist/actions/get-credits.cjs +1 -0
- package/dist/actions/get-credits.cjs.map +1 -1
- package/dist/actions/get-credits.d.cts +3 -13
- package/dist/actions/get-credits.d.cts.map +1 -1
- package/dist/actions/get-credits.d.mts +3 -13
- package/dist/actions/get-credits.d.mts.map +1 -1
- package/dist/actions/get-credits.mjs +1 -0
- package/dist/actions/get-credits.mjs.map +1 -1
- package/dist/actions/get-endpoint-suggestions.cjs +1 -0
- package/dist/actions/get-endpoint-suggestions.cjs.map +1 -1
- package/dist/actions/get-endpoint-suggestions.d.cts +3 -16
- package/dist/actions/get-endpoint-suggestions.d.cts.map +1 -1
- package/dist/actions/get-endpoint-suggestions.d.mts +3 -16
- package/dist/actions/get-endpoint-suggestions.d.mts.map +1 -1
- package/dist/actions/get-endpoint-suggestions.mjs +1 -0
- package/dist/actions/get-endpoint-suggestions.mjs.map +1 -1
- package/dist/actions/get-live-session-url.cjs +1 -0
- package/dist/actions/get-live-session-url.cjs.map +1 -1
- package/dist/actions/get-live-session-url.d.cts +3 -16
- package/dist/actions/get-live-session-url.d.cts.map +1 -1
- package/dist/actions/get-live-session-url.d.mts +3 -16
- package/dist/actions/get-live-session-url.d.mts.map +1 -1
- package/dist/actions/get-live-session-url.mjs +1 -0
- package/dist/actions/get-live-session-url.mjs.map +1 -1
- package/dist/actions/get-markdownify-history.cjs +1 -0
- package/dist/actions/get-markdownify-history.cjs.map +1 -1
- package/dist/actions/get-markdownify-history.d.cts +3 -16
- package/dist/actions/get-markdownify-history.d.cts.map +1 -1
- package/dist/actions/get-markdownify-history.d.mts +3 -16
- package/dist/actions/get-markdownify-history.d.mts.map +1 -1
- package/dist/actions/get-markdownify-history.mjs +1 -0
- package/dist/actions/get-markdownify-history.mjs.map +1 -1
- package/dist/actions/get-scrape-history.cjs +1 -0
- package/dist/actions/get-scrape-history.cjs.map +1 -1
- package/dist/actions/get-scrape-history.d.cts +3 -16
- package/dist/actions/get-scrape-history.d.cts.map +1 -1
- package/dist/actions/get-scrape-history.d.mts +3 -16
- package/dist/actions/get-scrape-history.d.mts.map +1 -1
- package/dist/actions/get-scrape-history.mjs +1 -0
- package/dist/actions/get-scrape-history.mjs.map +1 -1
- package/dist/actions/get-searchscraper-history.cjs +1 -0
- package/dist/actions/get-searchscraper-history.cjs.map +1 -1
- package/dist/actions/get-searchscraper-history.d.cts +3 -16
- package/dist/actions/get-searchscraper-history.d.cts.map +1 -1
- package/dist/actions/get-searchscraper-history.d.mts +3 -16
- package/dist/actions/get-searchscraper-history.d.mts.map +1 -1
- package/dist/actions/get-searchscraper-history.mjs +1 -0
- package/dist/actions/get-searchscraper-history.mjs.map +1 -1
- package/dist/actions/get-sitemap-history.cjs +1 -0
- package/dist/actions/get-sitemap-history.cjs.map +1 -1
- package/dist/actions/get-sitemap-history.d.cts +3 -16
- package/dist/actions/get-sitemap-history.d.cts.map +1 -1
- package/dist/actions/get-sitemap-history.d.mts +3 -16
- package/dist/actions/get-sitemap-history.d.mts.map +1 -1
- package/dist/actions/get-sitemap-history.mjs +1 -0
- package/dist/actions/get-sitemap-history.mjs.map +1 -1
- package/dist/actions/get-smartscraper-history.cjs +1 -0
- package/dist/actions/get-smartscraper-history.cjs.map +1 -1
- package/dist/actions/get-smartscraper-history.d.cts +3 -16
- package/dist/actions/get-smartscraper-history.d.cts.map +1 -1
- package/dist/actions/get-smartscraper-history.d.mts +3 -16
- package/dist/actions/get-smartscraper-history.d.mts.map +1 -1
- package/dist/actions/get-smartscraper-history.mjs +1 -0
- package/dist/actions/get-smartscraper-history.mjs.map +1 -1
- package/dist/actions/get-usage-timeline.cjs +1 -0
- package/dist/actions/get-usage-timeline.cjs.map +1 -1
- package/dist/actions/get-usage-timeline.d.cts +3 -15
- package/dist/actions/get-usage-timeline.d.cts.map +1 -1
- package/dist/actions/get-usage-timeline.d.mts +3 -15
- package/dist/actions/get-usage-timeline.d.mts.map +1 -1
- package/dist/actions/get-usage-timeline.mjs +1 -0
- package/dist/actions/get-usage-timeline.mjs.map +1 -1
- package/dist/actions/get-webhook-logs.cjs +1 -0
- package/dist/actions/get-webhook-logs.cjs.map +1 -1
- package/dist/actions/get-webhook-logs.d.cts +3 -15
- package/dist/actions/get-webhook-logs.d.cts.map +1 -1
- package/dist/actions/get-webhook-logs.d.mts +3 -15
- package/dist/actions/get-webhook-logs.d.mts.map +1 -1
- package/dist/actions/get-webhook-logs.mjs +1 -0
- package/dist/actions/get-webhook-logs.mjs.map +1 -1
- package/dist/actions/list-scheduled-jobs.cjs +1 -0
- package/dist/actions/list-scheduled-jobs.cjs.map +1 -1
- package/dist/actions/list-scheduled-jobs.d.cts +3 -18
- package/dist/actions/list-scheduled-jobs.d.cts.map +1 -1
- package/dist/actions/list-scheduled-jobs.d.mts +3 -18
- package/dist/actions/list-scheduled-jobs.d.mts.map +1 -1
- package/dist/actions/list-scheduled-jobs.mjs +1 -0
- package/dist/actions/list-scheduled-jobs.mjs.map +1 -1
- package/dist/actions/markdownify-status.cjs +1 -0
- package/dist/actions/markdownify-status.cjs.map +1 -1
- package/dist/actions/markdownify-status.d.cts +3 -15
- package/dist/actions/markdownify-status.d.cts.map +1 -1
- package/dist/actions/markdownify-status.d.mts +3 -15
- package/dist/actions/markdownify-status.d.mts.map +1 -1
- package/dist/actions/markdownify-status.mjs +1 -0
- package/dist/actions/markdownify-status.mjs.map +1 -1
- package/dist/actions/save-endpoint.cjs +1 -0
- package/dist/actions/save-endpoint.cjs.map +1 -1
- package/dist/actions/save-endpoint.d.cts +3 -33
- package/dist/actions/save-endpoint.d.cts.map +1 -1
- package/dist/actions/save-endpoint.d.mts +3 -33
- package/dist/actions/save-endpoint.d.mts.map +1 -1
- package/dist/actions/save-endpoint.mjs +1 -0
- package/dist/actions/save-endpoint.mjs.map +1 -1
- package/dist/actions/search-scraper-status.cjs +1 -0
- package/dist/actions/search-scraper-status.cjs.map +1 -1
- package/dist/actions/search-scraper-status.d.cts +3 -15
- package/dist/actions/search-scraper-status.d.cts.map +1 -1
- package/dist/actions/search-scraper-status.d.mts +3 -15
- package/dist/actions/search-scraper-status.d.mts.map +1 -1
- package/dist/actions/search-scraper-status.mjs +1 -0
- package/dist/actions/search-scraper-status.mjs.map +1 -1
- package/dist/actions/search-scraper.cjs +1 -0
- package/dist/actions/search-scraper.cjs.map +1 -1
- package/dist/actions/search-scraper.d.cts +3 -19
- package/dist/actions/search-scraper.d.cts.map +1 -1
- package/dist/actions/search-scraper.d.mts +3 -19
- package/dist/actions/search-scraper.d.mts.map +1 -1
- package/dist/actions/search-scraper.mjs +1 -0
- package/dist/actions/search-scraper.mjs.map +1 -1
- package/dist/actions/smart-crawler-status.cjs +1 -0
- package/dist/actions/smart-crawler-status.cjs.map +1 -1
- package/dist/actions/smart-crawler-status.d.cts +3 -15
- package/dist/actions/smart-crawler-status.d.cts.map +1 -1
- package/dist/actions/smart-crawler-status.d.mts +3 -15
- package/dist/actions/smart-crawler-status.d.mts.map +1 -1
- package/dist/actions/smart-crawler-status.mjs +1 -0
- package/dist/actions/smart-crawler-status.mjs.map +1 -1
- package/dist/actions/smart-scraper-start.cjs +1 -0
- package/dist/actions/smart-scraper-start.cjs.map +1 -1
- package/dist/actions/smart-scraper-start.d.cts +3 -29
- package/dist/actions/smart-scraper-start.d.cts.map +1 -1
- package/dist/actions/smart-scraper-start.d.mts +3 -29
- package/dist/actions/smart-scraper-start.d.mts.map +1 -1
- package/dist/actions/smart-scraper-start.mjs +1 -0
- package/dist/actions/smart-scraper-start.mjs.map +1 -1
- package/dist/actions/smart-scraper-status.cjs +1 -0
- package/dist/actions/smart-scraper-status.cjs.map +1 -1
- package/dist/actions/smart-scraper-status.d.cts +3 -15
- package/dist/actions/smart-scraper-status.d.cts.map +1 -1
- package/dist/actions/smart-scraper-status.d.mts +3 -15
- package/dist/actions/smart-scraper-status.d.mts.map +1 -1
- package/dist/actions/smart-scraper-status.mjs +1 -0
- package/dist/actions/smart-scraper-status.mjs.map +1 -1
- package/dist/actions/start-smart-crawler.cjs +1 -0
- package/dist/actions/start-smart-crawler.cjs.map +1 -1
- package/dist/actions/start-smart-crawler.d.cts +3 -34
- package/dist/actions/start-smart-crawler.d.cts.map +1 -1
- package/dist/actions/start-smart-crawler.d.mts +3 -34
- package/dist/actions/start-smart-crawler.d.mts.map +1 -1
- package/dist/actions/start-smart-crawler.mjs +1 -0
- package/dist/actions/start-smart-crawler.mjs.map +1 -1
- package/dist/actions/submit-feedback.cjs +1 -0
- package/dist/actions/submit-feedback.cjs.map +1 -1
- package/dist/actions/submit-feedback.d.cts +3 -17
- package/dist/actions/submit-feedback.d.cts.map +1 -1
- package/dist/actions/submit-feedback.d.mts +3 -17
- package/dist/actions/submit-feedback.d.mts.map +1 -1
- package/dist/actions/submit-feedback.mjs +1 -0
- package/dist/actions/submit-feedback.mjs.map +1 -1
- package/dist/actions/submit-product-feedback.cjs +1 -0
- package/dist/actions/submit-product-feedback.cjs.map +1 -1
- package/dist/actions/submit-product-feedback.d.cts +3 -31
- package/dist/actions/submit-product-feedback.d.cts.map +1 -1
- package/dist/actions/submit-product-feedback.d.mts +3 -31
- package/dist/actions/submit-product-feedback.d.mts.map +1 -1
- package/dist/actions/submit-product-feedback.mjs +1 -0
- package/dist/actions/submit-product-feedback.mjs.map +1 -1
- package/dist/actions/toonify.cjs +1 -0
- package/dist/actions/toonify.cjs.map +1 -1
- package/dist/actions/toonify.d.cts +3 -15
- package/dist/actions/toonify.d.cts.map +1 -1
- package/dist/actions/toonify.d.mts +3 -15
- package/dist/actions/toonify.d.mts.map +1 -1
- package/dist/actions/toonify.mjs +1 -0
- package/dist/actions/toonify.mjs.map +1 -1
- package/dist/actions/validate-api-key.cjs +1 -0
- package/dist/actions/validate-api-key.cjs.map +1 -1
- package/dist/actions/validate-api-key.d.cts +3 -13
- package/dist/actions/validate-api-key.d.cts.map +1 -1
- package/dist/actions/validate-api-key.d.mts +3 -13
- package/dist/actions/validate-api-key.d.mts.map +1 -1
- package/dist/actions/validate-api-key.mjs +1 -0
- package/dist/actions/validate-api-key.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["scrapegraphAi","executeScrapegraphAiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { scrapegraphAi } from \"./app\";\nimport { executeScrapegraphAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["scrapegraphAi","executeScrapegraphAiTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { scrapegraphAi } from \"./app\";\nimport { executeScrapegraphAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof scrapegraphAi.credential> {\n return scrapegraphAi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeScrapegraphAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO6D;CAC7D,OAAOA,YAAAA,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { scrapegraphAi } from \"./app\";\nimport { executeScrapegraphAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { scrapegraphAi } from \"./app\";\nimport { executeScrapegraphAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof scrapegraphAi.credential> {\n return scrapegraphAi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeScrapegraphAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO6D;CAC7D,OAAO,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-webpage-to-markdown-v2.cjs","names":["z","action"],"sources":["../../src/actions/convert-webpage-to-markdown-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiConvertWebpageToMarkdownV2Input = z.object({\n mock: z.boolean().describe(\"If true, return mock test data instead of actual conversion. Useful for testing without consuming credits. Default: false.\").optional(),\n steps: z.array(z.record(z.string(), z.unknown())).describe(\"Browser interaction steps to perform before extracting content (e.g., clicking buttons, filling forms, scrolling).\").optional(),\n stream: z.boolean().describe(\"Whether to return streaming response. Default: false.\").optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Optional headers to send with the request, including cookies and user agent. Use to customize request behavior or handle authentication.\").optional(),\n stealth: z.boolean().describe(\"Enable stealth mode to bypass bot protection using advanced anti-detection techniques. Adds +4 credits to the request cost. Default: false.\").optional(),\n wait_ms: z.number().int().describe(\"The number of milliseconds to wait before scraping the website. Useful for pages that load content dynamically. Default: 3000ms.\").optional(),\n branding: z.boolean().describe(\"Include ScrapeGraphAI branding in the response. Default: false.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to send the job result to when processing completes. Enables async notification of completion.\").optional(),\n website_url: z.string().describe(\"The URL of the webpage to convert to Markdown. Must be a valid HTTP/HTTPS URL.\"),\n country_code: z.string().describe(\"The country code to use for the scrape (e.g., 'US', 'GB', 'FR'). Determines the geographic location for the request.\").optional(),\n render_heavy_js: z.boolean().describe(\"Enable rendering of heavy JavaScript. Use for Single Page Applications (SPAs) that require full JavaScript execution. Default: false.\").optional(),\n}).describe(\"Request schema for the Markdownify V2 action with full parameter support.\");\nexport const ScrapegraphAiConvertWebpageToMarkdownV2Output = z.object({\n error: z.string().describe(\"Error message if the job failed. Present when status is 'failed'.\").nullable().optional(),\n result: z.string().describe(\"The converted Markdown content. Only present when status is 'completed'.\").nullable().optional(),\n status: z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Current status of the markdownify job. Possible values: queued, processing, completed, failed.\").nullable(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request.\").nullable(),\n website_url: z.string().describe(\"The URL of the webpage that was converted.\").nullable(),\n}).passthrough().describe(\"Response schema for the Markdownify V2 action.\");\n\nexport const scrapegraphAiConvertWebpageToMarkdownV2 = action(\"SCRAPEGRAPH_AI_CONVERT_WEBPAGE_TO_MARKDOWN_V2\", {\n slug: \"scrapegraph_ai-convert-webpage-to-markdown-v2\",\n name: \"Convert Webpage to Markdown (V2)\",\n description: \"Tool to convert any webpage into clean, well-formatted Markdown with full parameter control. Use when you need advanced options like stealth mode, custom headers, or webhook notifications. Supports all Markdownify API parameters.\",\n input: ScrapegraphAiConvertWebpageToMarkdownV2Input,\n output: ScrapegraphAiConvertWebpageToMarkdownV2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-webpage-to-markdown-v2.cjs","names":["z","action"],"sources":["../../src/actions/convert-webpage-to-markdown-v2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiConvertWebpageToMarkdownV2Input = z.object({\n mock: z.boolean().describe(\"If true, return mock test data instead of actual conversion. Useful for testing without consuming credits. Default: false.\").optional(),\n steps: z.array(z.record(z.string(), z.unknown())).describe(\"Browser interaction steps to perform before extracting content (e.g., clicking buttons, filling forms, scrolling).\").optional(),\n stream: z.boolean().describe(\"Whether to return streaming response. Default: false.\").optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Optional headers to send with the request, including cookies and user agent. Use to customize request behavior or handle authentication.\").optional(),\n stealth: z.boolean().describe(\"Enable stealth mode to bypass bot protection using advanced anti-detection techniques. Adds +4 credits to the request cost. Default: false.\").optional(),\n wait_ms: z.number().int().describe(\"The number of milliseconds to wait before scraping the website. Useful for pages that load content dynamically. Default: 3000ms.\").optional(),\n branding: z.boolean().describe(\"Include ScrapeGraphAI branding in the response. Default: false.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to send the job result to when processing completes. Enables async notification of completion.\").optional(),\n website_url: z.string().describe(\"The URL of the webpage to convert to Markdown. Must be a valid HTTP/HTTPS URL.\"),\n country_code: z.string().describe(\"The country code to use for the scrape (e.g., 'US', 'GB', 'FR'). Determines the geographic location for the request.\").optional(),\n render_heavy_js: z.boolean().describe(\"Enable rendering of heavy JavaScript. Use for Single Page Applications (SPAs) that require full JavaScript execution. Default: false.\").optional(),\n}).describe(\"Request schema for the Markdownify V2 action with full parameter support.\");\nexport const ScrapegraphAiConvertWebpageToMarkdownV2Output = z.object({\n error: z.string().describe(\"Error message if the job failed. Present when status is 'failed'.\").nullable().optional(),\n result: z.string().describe(\"The converted Markdown content. Only present when status is 'completed'.\").nullable().optional(),\n status: z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Current status of the markdownify job. Possible values: queued, processing, completed, failed.\").nullable(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request.\").nullable(),\n website_url: z.string().describe(\"The URL of the webpage that was converted.\").nullable(),\n}).passthrough().describe(\"Response schema for the Markdownify V2 action.\");\n\nexport const scrapegraphAiConvertWebpageToMarkdownV2: AppAction<\n typeof ScrapegraphAiConvertWebpageToMarkdownV2Input,\n typeof ScrapegraphAiConvertWebpageToMarkdownV2Output,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_CONVERT_WEBPAGE_TO_MARKDOWN_V2\", {\n slug: \"scrapegraph_ai-convert-webpage-to-markdown-v2\",\n name: \"Convert Webpage to Markdown (V2)\",\n description: \"Tool to convert any webpage into clean, well-formatted Markdown with full parameter control. Use when you need advanced options like stealth mode, custom headers, or webhook notifications. Supports all Markdownify API parameters.\",\n input: ScrapegraphAiConvertWebpageToMarkdownV2Input,\n output: ScrapegraphAiConvertWeb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AAC,SAAS;CACpH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAc;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACpL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,0CAITC,eAAAA,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/convert-webpage-to-markdown-v2.d.ts
|
|
@@ -26,31 +28,7 @@ declare const ScrapegraphAiConvertWebpageToMarkdownV2Output: z.ZodObject<{
|
|
|
26
28
|
request_id: z.ZodNullable<z.ZodString>;
|
|
27
29
|
website_url: z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const scrapegraphAiConvertWebpageToMarkdownV2:
|
|
30
|
-
website_url: string;
|
|
31
|
-
mock?: boolean | undefined;
|
|
32
|
-
steps?: Record<string, unknown>[] | undefined;
|
|
33
|
-
stream?: boolean | undefined;
|
|
34
|
-
headers?: Record<string, unknown> | undefined;
|
|
35
|
-
stealth?: boolean | undefined;
|
|
36
|
-
wait_ms?: number | undefined;
|
|
37
|
-
branding?: boolean | undefined;
|
|
38
|
-
webhook_url?: string | undefined;
|
|
39
|
-
country_code?: string | undefined;
|
|
40
|
-
render_heavy_js?: boolean | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const scrapegraphAiConvertWebpageToMarkdownV2: AppAction<typeof ScrapegraphAiConvertWebpageToMarkdownV2Input, typeof ScrapegraphAiConvertWebpageToMarkdownV2Output, typeof scrapegraphAi.credential>;
|
|
54
32
|
//#endregion
|
|
55
33
|
export { scrapegraphAiConvertWebpageToMarkdownV2 };
|
|
56
34
|
//# sourceMappingURL=convert-webpage-to-markdown-v2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-webpage-to-markdown-v2.d.cts","names":[],"sources":["../../src/actions/convert-webpage-to-markdown-v2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-webpage-to-markdown-v2.d.cts","names":[],"sources":["../../src/actions/convert-webpage-to-markdown-v2.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAQ7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/convert-webpage-to-markdown-v2.d.ts
|
|
@@ -26,31 +28,7 @@ declare const ScrapegraphAiConvertWebpageToMarkdownV2Output: z.ZodObject<{
|
|
|
26
28
|
request_id: z.ZodNullable<z.ZodString>;
|
|
27
29
|
website_url: z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const scrapegraphAiConvertWebpageToMarkdownV2:
|
|
30
|
-
website_url: string;
|
|
31
|
-
mock?: boolean | undefined;
|
|
32
|
-
steps?: Record<string, unknown>[] | undefined;
|
|
33
|
-
stream?: boolean | undefined;
|
|
34
|
-
headers?: Record<string, unknown> | undefined;
|
|
35
|
-
stealth?: boolean | undefined;
|
|
36
|
-
wait_ms?: number | undefined;
|
|
37
|
-
branding?: boolean | undefined;
|
|
38
|
-
webhook_url?: string | undefined;
|
|
39
|
-
country_code?: string | undefined;
|
|
40
|
-
render_heavy_js?: boolean | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const scrapegraphAiConvertWebpageToMarkdownV2: AppAction<typeof ScrapegraphAiConvertWebpageToMarkdownV2Input, typeof ScrapegraphAiConvertWebpageToMarkdownV2Output, typeof scrapegraphAi.credential>;
|
|
54
32
|
//#endregion
|
|
55
33
|
export { scrapegraphAiConvertWebpageToMarkdownV2 };
|
|
56
34
|
//# sourceMappingURL=convert-webpage-to-markdown-v2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-webpage-to-markdown-v2.d.mts","names":[],"sources":["../../src/actions/convert-webpage-to-markdown-v2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-webpage-to-markdown-v2.d.mts","names":[],"sources":["../../src/actions/convert-webpage-to-markdown-v2.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAQ7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-webpage-to-markdown-v2.mjs","names":[],"sources":["../../src/actions/convert-webpage-to-markdown-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiConvertWebpageToMarkdownV2Input = z.object({\n mock: z.boolean().describe(\"If true, return mock test data instead of actual conversion. Useful for testing without consuming credits. Default: false.\").optional(),\n steps: z.array(z.record(z.string(), z.unknown())).describe(\"Browser interaction steps to perform before extracting content (e.g., clicking buttons, filling forms, scrolling).\").optional(),\n stream: z.boolean().describe(\"Whether to return streaming response. Default: false.\").optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Optional headers to send with the request, including cookies and user agent. Use to customize request behavior or handle authentication.\").optional(),\n stealth: z.boolean().describe(\"Enable stealth mode to bypass bot protection using advanced anti-detection techniques. Adds +4 credits to the request cost. Default: false.\").optional(),\n wait_ms: z.number().int().describe(\"The number of milliseconds to wait before scraping the website. Useful for pages that load content dynamically. Default: 3000ms.\").optional(),\n branding: z.boolean().describe(\"Include ScrapeGraphAI branding in the response. Default: false.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to send the job result to when processing completes. Enables async notification of completion.\").optional(),\n website_url: z.string().describe(\"The URL of the webpage to convert to Markdown. Must be a valid HTTP/HTTPS URL.\"),\n country_code: z.string().describe(\"The country code to use for the scrape (e.g., 'US', 'GB', 'FR'). Determines the geographic location for the request.\").optional(),\n render_heavy_js: z.boolean().describe(\"Enable rendering of heavy JavaScript. Use for Single Page Applications (SPAs) that require full JavaScript execution. Default: false.\").optional(),\n}).describe(\"Request schema for the Markdownify V2 action with full parameter support.\");\nexport const ScrapegraphAiConvertWebpageToMarkdownV2Output = z.object({\n error: z.string().describe(\"Error message if the job failed. Present when status is 'failed'.\").nullable().optional(),\n result: z.string().describe(\"The converted Markdown content. Only present when status is 'completed'.\").nullable().optional(),\n status: z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Current status of the markdownify job. Possible values: queued, processing, completed, failed.\").nullable(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request.\").nullable(),\n website_url: z.string().describe(\"The URL of the webpage that was converted.\").nullable(),\n}).passthrough().describe(\"Response schema for the Markdownify V2 action.\");\n\nexport const scrapegraphAiConvertWebpageToMarkdownV2 = action(\"SCRAPEGRAPH_AI_CONVERT_WEBPAGE_TO_MARKDOWN_V2\", {\n slug: \"scrapegraph_ai-convert-webpage-to-markdown-v2\",\n name: \"Convert Webpage to Markdown (V2)\",\n description: \"Tool to convert any webpage into clean, well-formatted Markdown with full parameter control. Use when you need advanced options like stealth mode, custom headers, or webhook notifications. Supports all Markdownify API parameters.\",\n input: ScrapegraphAiConvertWebpageToMarkdownV2Input,\n output: ScrapegraphAiConvertWebpageToMarkdownV2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-webpage-to-markdown-v2.mjs","names":[],"sources":["../../src/actions/convert-webpage-to-markdown-v2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiConvertWebpageToMarkdownV2Input = z.object({\n mock: z.boolean().describe(\"If true, return mock test data instead of actual conversion. Useful for testing without consuming credits. Default: false.\").optional(),\n steps: z.array(z.record(z.string(), z.unknown())).describe(\"Browser interaction steps to perform before extracting content (e.g., clicking buttons, filling forms, scrolling).\").optional(),\n stream: z.boolean().describe(\"Whether to return streaming response. Default: false.\").optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Optional headers to send with the request, including cookies and user agent. Use to customize request behavior or handle authentication.\").optional(),\n stealth: z.boolean().describe(\"Enable stealth mode to bypass bot protection using advanced anti-detection techniques. Adds +4 credits to the request cost. Default: false.\").optional(),\n wait_ms: z.number().int().describe(\"The number of milliseconds to wait before scraping the website. Useful for pages that load content dynamically. Default: 3000ms.\").optional(),\n branding: z.boolean().describe(\"Include ScrapeGraphAI branding in the response. Default: false.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to send the job result to when processing completes. Enables async notification of completion.\").optional(),\n website_url: z.string().describe(\"The URL of the webpage to convert to Markdown. Must be a valid HTTP/HTTPS URL.\"),\n country_code: z.string().describe(\"The country code to use for the scrape (e.g., 'US', 'GB', 'FR'). Determines the geographic location for the request.\").optional(),\n render_heavy_js: z.boolean().describe(\"Enable rendering of heavy JavaScript. Use for Single Page Applications (SPAs) that require full JavaScript execution. Default: false.\").optional(),\n}).describe(\"Request schema for the Markdownify V2 action with full parameter support.\");\nexport const ScrapegraphAiConvertWebpageToMarkdownV2Output = z.object({\n error: z.string().describe(\"Error message if the job failed. Present when status is 'failed'.\").nullable().optional(),\n result: z.string().describe(\"The converted Markdown content. Only present when status is 'completed'.\").nullable().optional(),\n status: z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Current status of the markdownify job. Possible values: queued, processing, completed, failed.\").nullable(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request.\").nullable(),\n website_url: z.string().describe(\"The URL of the webpage that was converted.\").nullable(),\n}).passthrough().describe(\"Response schema for the Markdownify V2 action.\");\n\nexport const scrapegraphAiConvertWebpageToMarkdownV2: AppAction<\n typeof ScrapegraphAiConvertWebpageToMarkdownV2Input,\n typeof ScrapegraphAiConvertWebpageToMarkdownV2Output,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_CONVERT_WEBPAGE_TO_MARKDOWN_V2\", {\n slug: \"scrapegraph_ai-convert-webpage-to-markdown-v2\",\n name: \"Convert Webpage to Markdown (V2)\",\n description: \"Tool to convert any webpage into clean, well-formatted Markdown with full parameter control. Use when you need advanced options like stealth mode, custom headers, or webhook notifications. Supports all Markdownify API parameters.\",\n input: ScrapegraphAiConvertWebpageToMarkdownV2Input,\n output: ScrapegraphAiConvertWebpageToMarkdownV2Output,\n});\n"],"mappings":";;;AA2BA,MAAa,0CAIT,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7B0D,EAAE,OAAO;EACnE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EAClK,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC1L,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;EACzM,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;EACtL,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;EAChL,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACxJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EACnK,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC1L,CAAC,CAAC,CAAC,SAAS,2EAiBH;CACP,QAjB2D,EAAE,OAAO;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,KAAK;GAAC;GAAU;GAAc;GAAa;EAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACpL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-schema.cjs","names":["z","action"],"sources":["../../src/actions/generate-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGenerateSchemaInput = z.object({\n user_prompt: z.string().describe(\"The user's search query describing what data structure to generate. Be specific about the fields and structure you need (e.g., 'Extract product name, price, and availability from an e-commerce product page').\"),\n existing_schema: z.record(z.string(), z.unknown()).describe(\"Optional existing JSON schema to modify or extend. If provided, the API will refine this schema based on the user_prompt.\").optional(),\n}).describe(\"Request schema for generating or modifying a JSON schema based on a search query.\");\nexport const ScrapegraphAiGenerateSchemaOutput = z.object({\n error: z.string().describe(\"Error message if schema generation encountered any issues.\").nullable().optional(),\n status: z.string().describe(\"Status of the schema generation request (e.g., 'success', 'completed').\").nullable(),\n request_id: z.string().describe(\"Unique identifier for this schema generation request.\").nullable(),\n user_prompt: z.string().describe(\"The original user prompt that was provided in the request.\").nullable(),\n refined_prompt: z.string().describe(\"The refined version of the search query, optimized by the API for better schema generation.\").nullable(),\n generated_schema: z.record(z.string(), z.unknown()).describe(\"The generated JSON schema based on the user prompt. This schema can be used for structured data extraction.\"),\n}).passthrough().describe(\"Response schema for the generated JSON schema.\");\n\nexport const scrapegraphAiGenerateSchema = action(\"SCRAPEGRAPH_AI_GENERATE_SCHEMA\", {\n slug: \"scrapegraph_ai-generate-schema\",\n name: \"Generate Schema\",\n description: \"Generate or modify a JSON schema based on a search query for structured data extraction. Use when you need a schema template for scraping specific data fields.\",\n input: ScrapegraphAiGenerateSchemaInput,\n output: ScrapegraphAiGenerateSchemaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-schema.cjs","names":["z","action"],"sources":["../../src/actions/generate-schema.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGenerateSchemaInput = z.object({\n user_prompt: z.string().describe(\"The user's search query describing what data structure to generate. Be specific about the fields and structure you need (e.g., 'Extract product name, price, and availability from an e-commerce product page').\"),\n existing_schema: z.record(z.string(), z.unknown()).describe(\"Optional existing JSON schema to modify or extend. If provided, the API will refine this schema based on the user_prompt.\").optional(),\n}).describe(\"Request schema for generating or modifying a JSON schema based on a search query.\");\nexport const ScrapegraphAiGenerateSchemaOutput = z.object({\n error: z.string().describe(\"Error message if schema generation encountered any issues.\").nullable().optional(),\n status: z.string().describe(\"Status of the schema generation request (e.g., 'success', 'completed').\").nullable(),\n request_id: z.string().describe(\"Unique identifier for this schema generation request.\").nullable(),\n user_prompt: z.string().describe(\"The original user prompt that was provided in the request.\").nullable(),\n refined_prompt: z.string().describe(\"The refined version of the search query, optimized by the API for better schema generation.\").nullable(),\n generated_schema: z.record(z.string(), z.unknown()).describe(\"The generated JSON schema based on the user prompt. This schema can be used for structured data extraction.\"),\n}).passthrough().describe(\"Response schema for the generated JSON schema.\");\n\nexport const scrapegraphAiGenerateSchema: AppAction<\n typeof ScrapegraphAiGenerateSchemaInput,\n typeof ScrapegraphAiGenerateSchemaOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GENERATE_SCHEMA\", {\n slug: \"scrapegraph_ai-generate-schema\",\n name: \"Generate Schema\",\n description: \"Generate or modify a JSON schema based on a search query for structured data extraction. Use when you need a schema template for scraping specific data fields.\",\n input: ScrapegraphAiGenerateSchemaInput,\n output: ScrapegraphAiGenerateSchemaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;CACnP,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC5I,kBAAkBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G;AAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/generate-schema.d.ts
|
|
@@ -13,22 +15,7 @@ declare const ScrapegraphAiGenerateSchemaOutput: z.ZodObject<{
|
|
|
13
15
|
refined_prompt: z.ZodNullable<z.ZodString>;
|
|
14
16
|
generated_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const scrapegraphAiGenerateSchema:
|
|
17
|
-
user_prompt: string;
|
|
18
|
-
existing_schema?: Record<string, unknown> | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const scrapegraphAiGenerateSchema: AppAction<typeof ScrapegraphAiGenerateSchemaInput, typeof ScrapegraphAiGenerateSchemaOutput, typeof scrapegraphAi.credential>;
|
|
32
19
|
//#endregion
|
|
33
20
|
export { scrapegraphAiGenerateSchema };
|
|
34
21
|
//# sourceMappingURL=generate-schema.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-schema.d.cts","names":[],"sources":["../../src/actions/generate-schema.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-schema.d.cts","names":[],"sources":["../../src/actions/generate-schema.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/generate-schema.d.ts
|
|
@@ -13,22 +15,7 @@ declare const ScrapegraphAiGenerateSchemaOutput: z.ZodObject<{
|
|
|
13
15
|
refined_prompt: z.ZodNullable<z.ZodString>;
|
|
14
16
|
generated_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const scrapegraphAiGenerateSchema:
|
|
17
|
-
user_prompt: string;
|
|
18
|
-
existing_schema?: Record<string, unknown> | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const scrapegraphAiGenerateSchema: AppAction<typeof ScrapegraphAiGenerateSchemaInput, typeof ScrapegraphAiGenerateSchemaOutput, typeof scrapegraphAi.credential>;
|
|
32
19
|
//#endregion
|
|
33
20
|
export { scrapegraphAiGenerateSchema };
|
|
34
21
|
//# sourceMappingURL=generate-schema.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-schema.d.mts","names":[],"sources":["../../src/actions/generate-schema.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-schema.d.mts","names":[],"sources":["../../src/actions/generate-schema.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-schema.mjs","names":[],"sources":["../../src/actions/generate-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGenerateSchemaInput = z.object({\n user_prompt: z.string().describe(\"The user's search query describing what data structure to generate. Be specific about the fields and structure you need (e.g., 'Extract product name, price, and availability from an e-commerce product page').\"),\n existing_schema: z.record(z.string(), z.unknown()).describe(\"Optional existing JSON schema to modify or extend. If provided, the API will refine this schema based on the user_prompt.\").optional(),\n}).describe(\"Request schema for generating or modifying a JSON schema based on a search query.\");\nexport const ScrapegraphAiGenerateSchemaOutput = z.object({\n error: z.string().describe(\"Error message if schema generation encountered any issues.\").nullable().optional(),\n status: z.string().describe(\"Status of the schema generation request (e.g., 'success', 'completed').\").nullable(),\n request_id: z.string().describe(\"Unique identifier for this schema generation request.\").nullable(),\n user_prompt: z.string().describe(\"The original user prompt that was provided in the request.\").nullable(),\n refined_prompt: z.string().describe(\"The refined version of the search query, optimized by the API for better schema generation.\").nullable(),\n generated_schema: z.record(z.string(), z.unknown()).describe(\"The generated JSON schema based on the user prompt. This schema can be used for structured data extraction.\"),\n}).passthrough().describe(\"Response schema for the generated JSON schema.\");\n\nexport const scrapegraphAiGenerateSchema = action(\"SCRAPEGRAPH_AI_GENERATE_SCHEMA\", {\n slug: \"scrapegraph_ai-generate-schema\",\n name: \"Generate Schema\",\n description: \"Generate or modify a JSON schema based on a search query for structured data extraction. Use when you need a schema template for scraping specific data fields.\",\n input: ScrapegraphAiGenerateSchemaInput,\n output: ScrapegraphAiGenerateSchemaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-schema.mjs","names":[],"sources":["../../src/actions/generate-schema.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGenerateSchemaInput = z.object({\n user_prompt: z.string().describe(\"The user's search query describing what data structure to generate. Be specific about the fields and structure you need (e.g., 'Extract product name, price, and availability from an e-commerce product page').\"),\n existing_schema: z.record(z.string(), z.unknown()).describe(\"Optional existing JSON schema to modify or extend. If provided, the API will refine this schema based on the user_prompt.\").optional(),\n}).describe(\"Request schema for generating or modifying a JSON schema based on a search query.\");\nexport const ScrapegraphAiGenerateSchemaOutput = z.object({\n error: z.string().describe(\"Error message if schema generation encountered any issues.\").nullable().optional(),\n status: z.string().describe(\"Status of the schema generation request (e.g., 'success', 'completed').\").nullable(),\n request_id: z.string().describe(\"Unique identifier for this schema generation request.\").nullable(),\n user_prompt: z.string().describe(\"The original user prompt that was provided in the request.\").nullable(),\n refined_prompt: z.string().describe(\"The refined version of the search query, optimized by the API for better schema generation.\").nullable(),\n generated_schema: z.record(z.string(), z.unknown()).describe(\"The generated JSON schema based on the user prompt. This schema can be used for structured data extraction.\"),\n}).passthrough().describe(\"Response schema for the generated JSON schema.\");\n\nexport const scrapegraphAiGenerateSchema: AppAction<\n typeof ScrapegraphAiGenerateSchemaInput,\n typeof ScrapegraphAiGenerateSchemaOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GENERATE_SCHEMA\", {\n slug: \"scrapegraph_ai-generate-schema\",\n name: \"Generate Schema\",\n description: \"Generate or modify a JSON schema based on a search query for structured data extraction. Use when you need a schema template for scraping specific data fields.\",\n input: ScrapegraphAiGenerateSchemaInput,\n output: ScrapegraphAiGenerateSchemaOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB8C,EAAE,OAAO;EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;EACnP,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACpM,CAAC,CAAC,CAAC,SAAS,mFAkBH;CACP,QAlB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EAC5I,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G;CAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-agentic-scraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-agentic-scraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetAgenticScraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Use to navigate through pages of history results.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of history records to return per page. Maximum is typically 100.\").optional(),\n}).describe(\"Request model for retrieving agentic scraper job history.\");\nconst ScrapegraphAiGetAgenticScraperHistory_AgenticScraperRequestItemSchema = z.object({\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Scraping results when the request is completed\").nullable().optional(),\n status: z.string().describe(\"Current status of the agentic scraper request (e.g., 'queued', 'processing', 'completed', 'failed')\").nullable(),\n user_id: z.string().describe(\"User identifier who created the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.record(z.string(), z.unknown()).describe(\"Usage tracking identifier for billing purposes\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the agentic scraper request\").nullable(),\n total_cost: z.record(z.string(), z.unknown()).describe(\"Total cost of the scraping operation\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier of the webpage being scraped\").nullable(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp when the request finished processing\").nullable().optional(),\n user_prompt: z.record(z.string(), z.unknown()).describe(\"User prompt or instructions for the agentic scraper\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\").nullable(),\n requested_at: z.string().describe(\"Timestamp when the request was created (ISO 8601 format)\").nullable(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Expected output schema for the scraper results\").nullable().optional(),\n}).passthrough().describe(\"Individual agentic scraper request record in history.\");\nexport const ScrapegraphAiGetAgenticScraperHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if on the last page.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetAgenticScraperHistory_AgenticScraperRequestItemSchema).describe(\"List of agentic scraper request records for the current page\"),\n}).passthrough().describe(\"Response model for agentic scraper history listing.\");\n\nexport const scrapegraphAiGetAgenticScraperHistory = action(\"SCRAPEGRAPH_AI_GET_AGENTIC_SCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-agentic-scraper-history\",\n name: \"Get Agentic Scraper History\",\n description: \"Retrieve paginated history of agentic scraper jobs. Use to view past scraping requests, their status, and results.\",\n input: ScrapegraphAiGetAgenticScraperHistoryInput,\n output: ScrapegraphAiGetAgenticScraperHistoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-agentic-scraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-agentic-scraper-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetAgenticScraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Use to navigate through pages of history results.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of history records to return per page. Maximum is typically 100.\").optional(),\n}).describe(\"Request model for retrieving agentic scraper job history.\");\nconst ScrapegraphAiGetAgenticScraperHistory_AgenticScraperRequestItemSchema = z.object({\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Scraping results when the request is completed\").nullable().optional(),\n status: z.string().describe(\"Current status of the agentic scraper request (e.g., 'queued', 'processing', 'completed', 'failed')\").nullable(),\n user_id: z.string().describe(\"User identifier who created the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.record(z.string(), z.unknown()).describe(\"Usage tracking identifier for billing purposes\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the agentic scraper request\").nullable(),\n total_cost: z.record(z.string(), z.unknown()).describe(\"Total cost of the scraping operation\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier of the webpage being scraped\").nullable(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp when the request finished processing\").nullable().optional(),\n user_prompt: z.record(z.string(), z.unknown()).describe(\"User prompt or instructions for the agentic scraper\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\").nullable(),\n requested_at: z.string().describe(\"Timestamp when the request was created (ISO 8601 format)\").nullable(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Expected output schema for the scraper results\").nullable().optional(),\n}).passthrough().describe(\"Individual agentic scraper request record in history.\");\nexport const ScrapegraphAiGetAgenticScraperHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if on the last page.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetAgenticScraperHistory_AgenticScraperRequestItemSchema).describe(\"List of agentic scraper request records for the current page\"),\n}).passthrough().describe(\"Response model for agentic scraper history listing.\");\n\nexport const scrapegraphAiGetAgenticScraperHistory: AppAction<\n typeof ScrapegraphAiGetAgenticScraperHistoryInput,\n typeof ScrapegraphAiGetAgenticScraperHistoryOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GET_AGENTIC_SCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-agentic-scraper-history\",\n name: \"Get Agentic Scraper History\",\n description: \"Retrieve paginated history of agentic scraper jobs. Use to view past scraping requests, their status, and results.\",\n input: ScrapegraphAiGetAgenticScraperHistoryInput,\n output: ScrapegraphAiGetAgenticScraperHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,wEAAwEA,IAAAA,EAAE,OAAO;CACrF,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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Q,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,UAAUA,IAAAA,EAAE,MAAM,qEAAqE,CAAC,CAAC,SAAS,8DAA8D;AAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,wCAITC,eAAAA,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-agentic-scraper-history.d.ts
|
|
@@ -24,22 +26,7 @@ declare const ScrapegraphAiGetAgenticScraperHistoryOutput: z.ZodObject<{
|
|
|
24
26
|
output_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
27
|
}, z.core.$loose>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const scrapegraphAiGetAgenticScraperHistory:
|
|
28
|
-
page?: number | undefined;
|
|
29
|
-
page_size?: number | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const scrapegraphAiGetAgenticScraperHistory: AppAction<typeof ScrapegraphAiGetAgenticScraperHistoryInput, typeof ScrapegraphAiGetAgenticScraperHistoryOutput, typeof scrapegraphAi.credential>;
|
|
43
30
|
//#endregion
|
|
44
31
|
export { scrapegraphAiGetAgenticScraperHistory };
|
|
45
32
|
//# sourceMappingURL=get-agentic-scraper-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-agentic-scraper-history.d.cts","names":[],"sources":["../../src/actions/get-agentic-scraper-history.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-agentic-scraper-history.d.cts","names":[],"sources":["../../src/actions/get-agentic-scraper-history.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAoB1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-agentic-scraper-history.d.ts
|
|
@@ -24,22 +26,7 @@ declare const ScrapegraphAiGetAgenticScraperHistoryOutput: z.ZodObject<{
|
|
|
24
26
|
output_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
27
|
}, z.core.$loose>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const scrapegraphAiGetAgenticScraperHistory:
|
|
28
|
-
page?: number | undefined;
|
|
29
|
-
page_size?: number | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const scrapegraphAiGetAgenticScraperHistory: AppAction<typeof ScrapegraphAiGetAgenticScraperHistoryInput, typeof ScrapegraphAiGetAgenticScraperHistoryOutput, typeof scrapegraphAi.credential>;
|
|
43
30
|
//#endregion
|
|
44
31
|
export { scrapegraphAiGetAgenticScraperHistory };
|
|
45
32
|
//# sourceMappingURL=get-agentic-scraper-history.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-agentic-scraper-history.d.mts","names":[],"sources":["../../src/actions/get-agentic-scraper-history.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-agentic-scraper-history.d.mts","names":[],"sources":["../../src/actions/get-agentic-scraper-history.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAoB1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-agentic-scraper-history.mjs","names":[],"sources":["../../src/actions/get-agentic-scraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetAgenticScraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Use to navigate through pages of history results.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of history records to return per page. Maximum is typically 100.\").optional(),\n}).describe(\"Request model for retrieving agentic scraper job history.\");\nconst ScrapegraphAiGetAgenticScraperHistory_AgenticScraperRequestItemSchema = z.object({\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Scraping results when the request is completed\").nullable().optional(),\n status: z.string().describe(\"Current status of the agentic scraper request (e.g., 'queued', 'processing', 'completed', 'failed')\").nullable(),\n user_id: z.string().describe(\"User identifier who created the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.record(z.string(), z.unknown()).describe(\"Usage tracking identifier for billing purposes\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the agentic scraper request\").nullable(),\n total_cost: z.record(z.string(), z.unknown()).describe(\"Total cost of the scraping operation\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier of the webpage being scraped\").nullable(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp when the request finished processing\").nullable().optional(),\n user_prompt: z.record(z.string(), z.unknown()).describe(\"User prompt or instructions for the agentic scraper\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\").nullable(),\n requested_at: z.string().describe(\"Timestamp when the request was created (ISO 8601 format)\").nullable(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Expected output schema for the scraper results\").nullable().optional(),\n}).passthrough().describe(\"Individual agentic scraper request record in history.\");\nexport const ScrapegraphAiGetAgenticScraperHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if on the last page.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetAgenticScraperHistory_AgenticScraperRequestItemSchema).describe(\"List of agentic scraper request records for the current page\"),\n}).passthrough().describe(\"Response model for agentic scraper history listing.\");\n\nexport const scrapegraphAiGetAgenticScraperHistory = action(\"SCRAPEGRAPH_AI_GET_AGENTIC_SCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-agentic-scraper-history\",\n name: \"Get Agentic Scraper History\",\n description: \"Retrieve paginated history of agentic scraper jobs. Use to view past scraping requests, their status, and results.\",\n input: ScrapegraphAiGetAgenticScraperHistoryInput,\n output: ScrapegraphAiGetAgenticScraperHistoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-agentic-scraper-history.mjs","names":[],"sources":["../../src/actions/get-agentic-scraper-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetAgenticScraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Use to navigate through pages of history results.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of history records to return per page. Maximum is typically 100.\").optional(),\n}).describe(\"Request model for retrieving agentic scraper job history.\");\nconst ScrapegraphAiGetAgenticScraperHistory_AgenticScraperRequestItemSchema = z.object({\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Scraping results when the request is completed\").nullable().optional(),\n status: z.string().describe(\"Current status of the agentic scraper request (e.g., 'queued', 'processing', 'completed', 'failed')\").nullable(),\n user_id: z.string().describe(\"User identifier who created the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.record(z.string(), z.unknown()).describe(\"Usage tracking identifier for billing purposes\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the agentic scraper request\").nullable(),\n total_cost: z.record(z.string(), z.unknown()).describe(\"Total cost of the scraping operation\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier of the webpage being scraped\").nullable(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp when the request finished processing\").nullable().optional(),\n user_prompt: z.record(z.string(), z.unknown()).describe(\"User prompt or instructions for the agentic scraper\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\").nullable(),\n requested_at: z.string().describe(\"Timestamp when the request was created (ISO 8601 format)\").nullable(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Expected output schema for the scraper results\").nullable().optional(),\n}).passthrough().describe(\"Individual agentic scraper request record in history.\");\nexport const ScrapegraphAiGetAgenticScraperHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if on the last page.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetAgenticScraperHistory_AgenticScraperRequestItemSchema).describe(\"List of agentic scraper request records for the current page\"),\n}).passthrough().describe(\"Response model for agentic scraper history listing.\");\n\nexport const scrapegraphAiGetAgenticScraperHistory: AppAction<\n typeof ScrapegraphAiGetAgenticScraperHistoryInput,\n typeof ScrapegraphAiGetAgenticScraperHistoryOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GET_AGENTIC_SCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-agentic-scraper-history\",\n name: \"Get Agentic Scraper History\",\n description: \"Retrieve paginated history of agentic scraper jobs. Use to view past scraping requests, their status, and results.\",\n input: ScrapegraphAiGetAgenticScraperHistoryInput,\n output: ScrapegraphAiGetAgenticScraperHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACvI,CAAC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O,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAMjF,MAAa,wCAIT,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyD,EAAE,OAAO;EAClE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,UAAU,EAAE,MAAM,qEAAqE,CAAC,CAAC,SAAS,8DAA8D;CAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-crawler-history.cjs","names":["z","action"],"sources":["../../src/actions/get-crawler-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetCrawlerHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be a positive integer.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of crawler history records to return per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving crawler job history.\");\nconst ScrapegraphAiGetCrawlerHistory_CrawlStatusSchema = z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Status values for crawler jobs.\");\nconst ScrapegraphAiGetCrawlerHistory_CrawlerRequestDBSchema = z.object({\n url: z.string().describe(\"URL that was crawled.\").nullable(),\n error: z.string().describe(\"Error message if the crawl failed.\").nullable().optional(),\n prompt: z.string().describe(\"Extraction prompt if used in the crawl.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Crawl results and extracted data.\").nullable().optional(),\n status: ScrapegraphAiGetCrawlerHistory_CrawlStatusSchema.nullable(),\n task_id: z.string().describe(\"Associated task identifier if available.\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who created the request.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n max_pages: z.number().int().describe(\"Maximum number of pages configured for this crawl.\").nullable(),\n request_id: z.string().describe(\"Unique identifier for the crawler request.\").nullable(),\n result_url: z.string().describe(\"URL where results can be accessed.\").nullable().optional(),\n total_cost: z.number().describe(\"Total cost of the crawl operation.\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the crawl completed in ISO 8601 date-time format.\").nullable().optional(),\n crawled_urls: z.array(z.string()).describe(\"List of URLs crawled during the job.\").nullable().optional(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this crawl.\").nullable().optional(),\n requested_at: z.string().describe(\"Timestamp when the crawl request was created in ISO 8601 date-time format.\").nullable(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Original request parameters for the crawl.\").nullable().optional(),\n pages_processed: z.number().int().describe(\"Number of pages successfully processed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single crawler request record from DynamoDB.\");\nexport const ScrapegraphAiGetCrawlerHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page. Null if on the last page.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetCrawlerHistory_CrawlerRequestDBSchema).describe(\"List of crawler request records for the requested page.\"),\n}).passthrough().describe(\"Response model for crawler history retrieval.\");\n\nexport const scrapegraphAiGetCrawlerHistory = action(\"SCRAPEGRAPH_AI_GET_CRAWLER_HISTORY\", {\n slug: \"scrapegraph_ai-get-crawler-history\",\n name: \"Get Crawler History\",\n description: \"Retrieve the history of crawler jobs for your account. Returns paginated list of past crawler requests with their status, results, and metadata.\",\n input: ScrapegraphAiGetCrawlerHistoryInput,\n output: ScrapegraphAiGetCrawlerHistoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-crawler-history.cjs","names":["z","action"],"sources":["../../src/actions/get-crawler-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetCrawlerHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be a positive integer.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of crawler history records to return per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving crawler job history.\");\nconst ScrapegraphAiGetCrawlerHistory_CrawlStatusSchema = z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Status values for crawler jobs.\");\nconst ScrapegraphAiGetCrawlerHistory_CrawlerRequestDBSchema = z.object({\n url: z.string().describe(\"URL that was crawled.\").nullable(),\n error: z.string().describe(\"Error message if the crawl failed.\").nullable().optional(),\n prompt: z.string().describe(\"Extraction prompt if used in the crawl.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Crawl results and extracted data.\").nullable().optional(),\n status: ScrapegraphAiGetCrawlerHistory_CrawlStatusSchema.nullable(),\n task_id: z.string().describe(\"Associated task identifier if available.\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who created the request.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n max_pages: z.number().int().describe(\"Maximum number of pages configured for this crawl.\").nullable(),\n request_id: z.string().describe(\"Unique identifier for the crawler request.\").nullable(),\n result_url: z.string().describe(\"URL where results can be accessed.\").nullable().optional(),\n total_cost: z.number().describe(\"Total cost of the crawl operation.\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the crawl completed in ISO 8601 date-time format.\").nullable().optional(),\n crawled_urls: z.array(z.string()).describe(\"List of URLs crawled during the job.\").nullable().optional(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this crawl.\").nullable().optional(),\n requested_at: z.string().describe(\"Timestamp when the crawl request was created in ISO 8601 date-time format.\").nullable(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Original request parameters for the crawl.\").nullable().optional(),\n pages_processed: z.number().int().describe(\"Number of pages successfully processed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single crawler request record from DynamoDB.\");\nexport const ScrapegraphAiGetCrawlerHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page. Null if on the last page.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetCrawlerHistory_CrawlerRequestDBSchema).describe(\"List of crawler request records for the requested page.\"),\n}).passthrough().describe(\"Response model for crawler history retrieval.\");\n\nexport const scrapegraphAiGetCrawlerHistory: AppAction<\n typeof ScrapegraphAiGetCrawlerHistoryInput,\n typeof ScrapegraphAiGetCrawlerHistoryOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GET_CRAWLER_HISTORY\", {\n slug: \"scrapegraph_ai-get-crawler-history\",\n name: \"Get Crawler History\",\n description: \"Retrieve the history of crawler jobs for your account. Returns paginated list of past crawler requests with their status, results, and metadata.\",\n input: ScrapegraphAiGetCrawlerHistoryInput,\n output: ScrapegraphAiGetCrawlerHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAmDA,IAAAA,EAAE,KAA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js";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-crawler-history.d.ts
|
|
@@ -33,22 +35,7 @@ declare const ScrapegraphAiGetCrawlerHistoryOutput: z.ZodObject<{
|
|
|
33
35
|
pages_processed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
36
|
}, z.core.$loose>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const scrapegraphAiGetCrawlerHistory:
|
|
37
|
-
page?: number | undefined;
|
|
38
|
-
page_size?: number | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const scrapegraphAiGetCrawlerHistory: AppAction<typeof ScrapegraphAiGetCrawlerHistoryInput, typeof ScrapegraphAiGetCrawlerHistoryOutput, typeof scrapegraphAi.credential>;
|
|
52
39
|
//#endregion
|
|
53
40
|
export { scrapegraphAiGetCrawlerHistory };
|
|
54
41
|
//# sourceMappingURL=get-crawler-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-crawler-history.d.cts","names":[],"sources":["../../src/actions/get-crawler-history.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-crawler-history.d.cts","names":[],"sources":["../../src/actions/get-crawler-history.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAyBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-crawler-history.d.ts
|
|
@@ -33,22 +35,7 @@ declare const ScrapegraphAiGetCrawlerHistoryOutput: z.ZodObject<{
|
|
|
33
35
|
pages_processed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
36
|
}, z.core.$loose>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const scrapegraphAiGetCrawlerHistory:
|
|
37
|
-
page?: number | undefined;
|
|
38
|
-
page_size?: number | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const scrapegraphAiGetCrawlerHistory: AppAction<typeof ScrapegraphAiGetCrawlerHistoryInput, typeof ScrapegraphAiGetCrawlerHistoryOutput, typeof scrapegraphAi.credential>;
|
|
52
39
|
//#endregion
|
|
53
40
|
export { scrapegraphAiGetCrawlerHistory };
|
|
54
41
|
//# sourceMappingURL=get-crawler-history.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-crawler-history.d.mts","names":[],"sources":["../../src/actions/get-crawler-history.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-crawler-history.d.mts","names":[],"sources":["../../src/actions/get-crawler-history.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAyBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-crawler-history.mjs","names":[],"sources":["../../src/actions/get-crawler-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetCrawlerHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be a positive integer.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of crawler history records to return per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving crawler job history.\");\nconst ScrapegraphAiGetCrawlerHistory_CrawlStatusSchema = z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Status values for crawler jobs.\");\nconst ScrapegraphAiGetCrawlerHistory_CrawlerRequestDBSchema = z.object({\n url: z.string().describe(\"URL that was crawled.\").nullable(),\n error: z.string().describe(\"Error message if the crawl failed.\").nullable().optional(),\n prompt: z.string().describe(\"Extraction prompt if used in the crawl.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Crawl results and extracted data.\").nullable().optional(),\n status: ScrapegraphAiGetCrawlerHistory_CrawlStatusSchema.nullable(),\n task_id: z.string().describe(\"Associated task identifier if available.\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who created the request.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n max_pages: z.number().int().describe(\"Maximum number of pages configured for this crawl.\").nullable(),\n request_id: z.string().describe(\"Unique identifier for the crawler request.\").nullable(),\n result_url: z.string().describe(\"URL where results can be accessed.\").nullable().optional(),\n total_cost: z.number().describe(\"Total cost of the crawl operation.\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the crawl completed in ISO 8601 date-time format.\").nullable().optional(),\n crawled_urls: z.array(z.string()).describe(\"List of URLs crawled during the job.\").nullable().optional(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this crawl.\").nullable().optional(),\n requested_at: z.string().describe(\"Timestamp when the crawl request was created in ISO 8601 date-time format.\").nullable(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Original request parameters for the crawl.\").nullable().optional(),\n pages_processed: z.number().int().describe(\"Number of pages successfully processed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single crawler request record from DynamoDB.\");\nexport const ScrapegraphAiGetCrawlerHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page. Null if on the last page.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetCrawlerHistory_CrawlerRequestDBSchema).describe(\"List of crawler request records for the requested page.\"),\n}).passthrough().describe(\"Response model for crawler history retrieval.\");\n\nexport const scrapegraphAiGetCrawlerHistory = action(\"SCRAPEGRAPH_AI_GET_CRAWLER_HISTORY\", {\n slug: \"scrapegraph_ai-get-crawler-history\",\n name: \"Get Crawler History\",\n description: \"Retrieve the history of crawler jobs for your account. Returns paginated list of past crawler requests with their status, results, and metadata.\",\n input: ScrapegraphAiGetCrawlerHistoryInput,\n output: ScrapegraphAiGetCrawlerHistoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-crawler-history.mjs","names":[],"sources":["../../src/actions/get-crawler-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiGetCrawlerHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be a positive integer.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of crawler history records to return per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving crawler job history.\");\nconst ScrapegraphAiGetCrawlerHistory_CrawlStatusSchema = z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Status values for crawler jobs.\");\nconst ScrapegraphAiGetCrawlerHistory_CrawlerRequestDBSchema = z.object({\n url: z.string().describe(\"URL that was crawled.\").nullable(),\n error: z.string().describe(\"Error message if the crawl failed.\").nullable().optional(),\n prompt: z.string().describe(\"Extraction prompt if used in the crawl.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Crawl results and extracted data.\").nullable().optional(),\n status: ScrapegraphAiGetCrawlerHistory_CrawlStatusSchema.nullable(),\n task_id: z.string().describe(\"Associated task identifier if available.\").nullable().optional(),\n user_id: z.string().describe(\"ID of the user who created the request.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n max_pages: z.number().int().describe(\"Maximum number of pages configured for this crawl.\").nullable(),\n request_id: z.string().describe(\"Unique identifier for the crawler request.\").nullable(),\n result_url: z.string().describe(\"URL where results can be accessed.\").nullable().optional(),\n total_cost: z.number().describe(\"Total cost of the crawl operation.\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the crawl completed in ISO 8601 date-time format.\").nullable().optional(),\n crawled_urls: z.array(z.string()).describe(\"List of URLs crawled during the job.\").nullable().optional(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this crawl.\").nullable().optional(),\n requested_at: z.string().describe(\"Timestamp when the crawl request was created in ISO 8601 date-time format.\").nullable(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Original request parameters for the crawl.\").nullable().optional(),\n pages_processed: z.number().int().describe(\"Number of pages successfully processed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single crawler request record from DynamoDB.\");\nexport const ScrapegraphAiGetCrawlerHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page. Null if on the last page.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetCrawlerHistory_CrawlerRequestDBSchema).describe(\"List of crawler request records for the requested page.\"),\n}).passthrough().describe(\"Response model for crawler history retrieval.\");\n\nexport const scrapegraphAiGetCrawlerHistory: AppAction<\n typeof ScrapegraphAiGetCrawlerHistoryInput,\n typeof ScrapegraphAiGetCrawlerHistoryOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_GET_CRAWLER_HISTORY\", {\n slug: \"scrapegraph_ai-get-crawler-history\",\n name: \"Get Crawler History\",\n description: \"Retrieve the history of crawler jobs for your account. Returns paginated list of past crawler requests with their status, results, and metadata.\",\n input: ScrapegraphAiGetCrawlerHistoryInput,\n output: ScrapegraphAiGetCrawlerHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAmD,EAAE,KAAK;CAAC;CAAU;CAAc;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC3J,MAAM,wDAA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