@keystrokehq/scrapegraph_ai 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/convert-webpage-to-markdown-v2.cjs +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.cjs.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.d.cts +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.d.mts +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.mjs +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.mjs.map +1 -1
- package/dist/actions/generate-schema.cjs +1 -1
- package/dist/actions/generate-schema.cjs.map +1 -1
- package/dist/actions/generate-schema.d.cts +1 -1
- package/dist/actions/generate-schema.d.mts +1 -1
- package/dist/actions/generate-schema.mjs +1 -1
- package/dist/actions/generate-schema.mjs.map +1 -1
- package/dist/actions/get-agentic-scraper-history.cjs +2 -2
- package/dist/actions/get-agentic-scraper-history.cjs.map +1 -1
- package/dist/actions/get-agentic-scraper-history.d.cts +2 -2
- package/dist/actions/get-agentic-scraper-history.d.mts +2 -2
- package/dist/actions/get-agentic-scraper-history.mjs +2 -2
- package/dist/actions/get-agentic-scraper-history.mjs.map +1 -1
- package/dist/actions/get-crawler-history.cjs +2 -2
- package/dist/actions/get-crawler-history.cjs.map +1 -1
- package/dist/actions/get-crawler-history.d.cts +2 -2
- package/dist/actions/get-crawler-history.d.mts +2 -2
- package/dist/actions/get-crawler-history.mjs +2 -2
- package/dist/actions/get-crawler-history.mjs.map +1 -1
- package/dist/actions/get-credits.cjs +1 -1
- package/dist/actions/get-credits.cjs.map +1 -1
- package/dist/actions/get-credits.d.cts +1 -1
- package/dist/actions/get-credits.d.mts +1 -1
- package/dist/actions/get-credits.mjs +1 -1
- package/dist/actions/get-credits.mjs.map +1 -1
- package/dist/actions/get-endpoint-suggestions.cjs +2 -2
- package/dist/actions/get-endpoint-suggestions.cjs.map +1 -1
- package/dist/actions/get-endpoint-suggestions.d.cts +2 -2
- package/dist/actions/get-endpoint-suggestions.d.mts +2 -2
- package/dist/actions/get-endpoint-suggestions.mjs +2 -2
- package/dist/actions/get-endpoint-suggestions.mjs.map +1 -1
- package/dist/actions/get-live-session-url.cjs +1 -1
- package/dist/actions/get-live-session-url.cjs.map +1 -1
- package/dist/actions/get-live-session-url.d.cts +1 -1
- package/dist/actions/get-live-session-url.d.mts +1 -1
- package/dist/actions/get-live-session-url.mjs +1 -1
- package/dist/actions/get-live-session-url.mjs.map +1 -1
- package/dist/actions/get-markdownify-history.cjs +2 -2
- package/dist/actions/get-markdownify-history.cjs.map +1 -1
- package/dist/actions/get-markdownify-history.d.cts +2 -2
- package/dist/actions/get-markdownify-history.d.mts +2 -2
- package/dist/actions/get-markdownify-history.mjs +2 -2
- package/dist/actions/get-markdownify-history.mjs.map +1 -1
- package/dist/actions/get-scrape-history.cjs +2 -2
- package/dist/actions/get-scrape-history.cjs.map +1 -1
- package/dist/actions/get-scrape-history.d.cts +2 -2
- package/dist/actions/get-scrape-history.d.mts +2 -2
- package/dist/actions/get-scrape-history.mjs +2 -2
- package/dist/actions/get-scrape-history.mjs.map +1 -1
- package/dist/actions/get-searchscraper-history.cjs +2 -2
- package/dist/actions/get-searchscraper-history.cjs.map +1 -1
- package/dist/actions/get-searchscraper-history.d.cts +2 -2
- package/dist/actions/get-searchscraper-history.d.mts +2 -2
- package/dist/actions/get-searchscraper-history.mjs +2 -2
- package/dist/actions/get-searchscraper-history.mjs.map +1 -1
- package/dist/actions/get-sitemap-history.cjs +2 -2
- package/dist/actions/get-sitemap-history.cjs.map +1 -1
- package/dist/actions/get-sitemap-history.d.cts +2 -2
- package/dist/actions/get-sitemap-history.d.mts +2 -2
- package/dist/actions/get-sitemap-history.mjs +2 -2
- package/dist/actions/get-sitemap-history.mjs.map +1 -1
- package/dist/actions/get-smartscraper-history.cjs +2 -2
- package/dist/actions/get-smartscraper-history.cjs.map +1 -1
- package/dist/actions/get-smartscraper-history.d.cts +2 -2
- package/dist/actions/get-smartscraper-history.d.mts +2 -2
- package/dist/actions/get-smartscraper-history.mjs +2 -2
- package/dist/actions/get-smartscraper-history.mjs.map +1 -1
- package/dist/actions/get-usage-timeline.cjs +2 -2
- package/dist/actions/get-usage-timeline.cjs.map +1 -1
- package/dist/actions/get-usage-timeline.d.cts +2 -2
- package/dist/actions/get-usage-timeline.d.mts +2 -2
- package/dist/actions/get-usage-timeline.mjs +2 -2
- package/dist/actions/get-usage-timeline.mjs.map +1 -1
- package/dist/actions/get-webhook-logs.cjs +2 -2
- package/dist/actions/get-webhook-logs.cjs.map +1 -1
- package/dist/actions/get-webhook-logs.d.cts +2 -2
- package/dist/actions/get-webhook-logs.d.mts +2 -2
- package/dist/actions/get-webhook-logs.mjs +2 -2
- package/dist/actions/get-webhook-logs.mjs.map +1 -1
- package/dist/actions/list-scheduled-jobs.cjs +2 -2
- package/dist/actions/list-scheduled-jobs.cjs.map +1 -1
- package/dist/actions/list-scheduled-jobs.d.cts +2 -2
- package/dist/actions/list-scheduled-jobs.d.mts +2 -2
- package/dist/actions/list-scheduled-jobs.mjs +2 -2
- package/dist/actions/list-scheduled-jobs.mjs.map +1 -1
- package/dist/actions/markdownify-status.cjs +1 -1
- package/dist/actions/markdownify-status.cjs.map +1 -1
- package/dist/actions/markdownify-status.d.cts +1 -1
- package/dist/actions/markdownify-status.d.mts +1 -1
- package/dist/actions/markdownify-status.mjs +1 -1
- package/dist/actions/markdownify-status.mjs.map +1 -1
- package/dist/actions/save-endpoint.cjs +3 -3
- package/dist/actions/save-endpoint.cjs.map +1 -1
- package/dist/actions/save-endpoint.d.cts +5 -3
- package/dist/actions/save-endpoint.d.cts.map +1 -1
- package/dist/actions/save-endpoint.d.mts +5 -3
- package/dist/actions/save-endpoint.d.mts.map +1 -1
- package/dist/actions/save-endpoint.mjs +3 -3
- package/dist/actions/save-endpoint.mjs.map +1 -1
- package/dist/actions/search-scraper-status.cjs +1 -1
- package/dist/actions/search-scraper-status.cjs.map +1 -1
- package/dist/actions/search-scraper-status.d.cts +1 -1
- package/dist/actions/search-scraper-status.d.mts +1 -1
- package/dist/actions/search-scraper-status.mjs +1 -1
- package/dist/actions/search-scraper-status.mjs.map +1 -1
- package/dist/actions/search-scraper.cjs +1 -1
- package/dist/actions/search-scraper.cjs.map +1 -1
- package/dist/actions/search-scraper.d.cts +1 -1
- package/dist/actions/search-scraper.d.mts +1 -1
- package/dist/actions/search-scraper.mjs +1 -1
- package/dist/actions/search-scraper.mjs.map +1 -1
- package/dist/actions/smart-crawler-status.cjs +3 -3
- package/dist/actions/smart-crawler-status.cjs.map +1 -1
- package/dist/actions/smart-crawler-status.d.cts +3 -3
- package/dist/actions/smart-crawler-status.d.mts +3 -3
- package/dist/actions/smart-crawler-status.mjs +3 -3
- package/dist/actions/smart-crawler-status.mjs.map +1 -1
- package/dist/actions/smart-scraper-start.cjs +3 -3
- package/dist/actions/smart-scraper-start.cjs.map +1 -1
- package/dist/actions/smart-scraper-start.d.cts +5 -5
- package/dist/actions/smart-scraper-start.d.mts +5 -5
- package/dist/actions/smart-scraper-start.mjs +3 -3
- package/dist/actions/smart-scraper-start.mjs.map +1 -1
- package/dist/actions/smart-scraper-status.cjs +1 -1
- package/dist/actions/smart-scraper-status.cjs.map +1 -1
- package/dist/actions/smart-scraper-status.d.cts +1 -1
- package/dist/actions/smart-scraper-status.d.mts +1 -1
- package/dist/actions/smart-scraper-status.mjs +1 -1
- package/dist/actions/smart-scraper-status.mjs.map +1 -1
- package/dist/actions/start-smart-crawler.cjs +1 -1
- package/dist/actions/start-smart-crawler.cjs.map +1 -1
- package/dist/actions/start-smart-crawler.d.cts +1 -1
- package/dist/actions/start-smart-crawler.d.mts +1 -1
- package/dist/actions/start-smart-crawler.mjs +1 -1
- package/dist/actions/start-smart-crawler.mjs.map +1 -1
- package/dist/actions/submit-feedback.cjs +1 -1
- package/dist/actions/submit-feedback.cjs.map +1 -1
- package/dist/actions/submit-feedback.d.cts +1 -1
- package/dist/actions/submit-feedback.d.mts +1 -1
- package/dist/actions/submit-feedback.mjs +1 -1
- package/dist/actions/submit-feedback.mjs.map +1 -1
- package/dist/actions/submit-product-feedback.cjs +1 -1
- package/dist/actions/submit-product-feedback.cjs.map +1 -1
- package/dist/actions/submit-product-feedback.d.cts +1 -1
- package/dist/actions/submit-product-feedback.d.mts +1 -1
- package/dist/actions/submit-product-feedback.mjs +1 -1
- package/dist/actions/submit-product-feedback.mjs.map +1 -1
- package/dist/actions/toonify.cjs +1 -1
- package/dist/actions/toonify.cjs.map +1 -1
- package/dist/actions/toonify.d.cts +1 -1
- package/dist/actions/toonify.d.mts +1 -1
- package/dist/actions/toonify.mjs +1 -1
- package/dist/actions/toonify.mjs.map +1 -1
- package/dist/actions/validate-api-key.cjs +1 -1
- package/dist/actions/validate-api-key.cjs.map +1 -1
- package/dist/actions/validate-api-key.d.cts +1 -1
- package/dist/actions/validate-api-key.d.mts +1 -1
- package/dist/actions/validate-api-key.mjs +1 -1
- package/dist/actions/validate-api-key.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-endpoint-suggestions.mjs","names":[],"sources":["../../src/actions/get-endpoint-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetEndpointSuggestionsInput = z.object({\n prompt: z.string().describe(\"Natural language description of what data you want to extract. Be specific about the type of information needed (e.g., 'product listings', 'user profiles', 'news articles').\"),\n website_url: z.string().describe(\"The website URL to analyze for scraping opportunities. Must be a valid URL with https:// or http:// protocol.\"),\n}).describe(\"Request schema for getting AI-powered endpoint suggestions.\");\nconst ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema = z.object({\n method: z.string().describe(\"HTTP method recommended for this endpoint (e.g., GET, POST).\").nullable().optional(),\n endpoint: z.string().describe(\"Suggested endpoint name or path for this scraping scenario.\").nullable(),\n parameters: z.array(z.record(z.string(), z.unknown())).describe(\"List of parameters required for this endpoint (name, type, description, etc.).\"),\n target_url: z.string().describe(\"The specific URL or URL pattern to scrape for this endpoint.\").nullable(),\n description: z.string().describe(\"Human-readable description of what this endpoint extracts.\").nullable(),\n pydantic_schema: z.record(z.string(), z.unknown()).describe(\"Pydantic-compatible JSON schema defining the structure of extracted data.\"),\n extraction_prompt: z.string().describe(\"Recommended prompt for extracting data from this endpoint.\").nullable(),\n interaction_steps: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n}).describe(\"Schema for a single endpoint suggestion with scraping configuration.\");\nexport const ScrapegraphAiGetEndpointSuggestionsOutput = z.object({\n suggestions: z.array(ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema).describe(\"List of suggested endpoints with full configuration for scraping.\"),\n html_with_markdowns: z.unknown().describe(\"HTML content converted to Markdown format for analysis.\").nullable().optional(),\n}).describe(\"Response schema containing AI-generated endpoint suggestions.\");\n\nexport const scrapegraphAiGetEndpointSuggestions = action(\"SCRAPEGRAPH_AI_GET_ENDPOINT_SUGGESTIONS\", {\n slug: \"scrapegraph_ai-get-endpoint-suggestions\",\n name: \"Get Endpoint Suggestions\",\n description: \"Tool to get AI-powered suggestions for creating scraping endpoints. Use when you need to identify what data can be extracted from a website and how to structure the scraping logic.\",\n input: ScrapegraphAiGetEndpointSuggestionsInput,\n output: ScrapegraphAiGetEndpointSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K;CAC3M,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;AAClJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,+DAA+D,EAAE,OAAO;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E;CACvI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC9G,mBAAmB,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,sEAAsE;
|
|
1
|
+
{"version":3,"file":"get-endpoint-suggestions.mjs","names":[],"sources":["../../src/actions/get-endpoint-suggestions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetEndpointSuggestionsInput = z.object({\n prompt: z.string().describe(\"Natural language description of what data you want to extract. Be specific about the type of information needed (e.g., 'product listings', 'user profiles', 'news articles').\"),\n website_url: z.string().describe(\"The website URL to analyze for scraping opportunities. Must be a valid URL with https:// or http:// protocol.\"),\n}).describe(\"Request schema for getting AI-powered endpoint suggestions.\");\nconst ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema = z.object({\n method: z.string().describe(\"HTTP method recommended for this endpoint (e.g., GET, POST).\").nullable().optional(),\n endpoint: z.string().describe(\"Suggested endpoint name or path for this scraping scenario.\").nullable(),\n parameters: z.array(z.record(z.string(), z.unknown())).describe(\"List of parameters required for this endpoint (name, type, description, etc.).\"),\n target_url: z.string().describe(\"The specific URL or URL pattern to scrape for this endpoint.\").nullable(),\n description: z.string().describe(\"Human-readable description of what this endpoint extracts.\").nullable(),\n pydantic_schema: z.record(z.string(), z.unknown()).describe(\"Pydantic-compatible JSON schema defining the structure of extracted data.\"),\n extraction_prompt: z.string().describe(\"Recommended prompt for extracting data from this endpoint.\").nullable(),\n interaction_steps: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Schema for a single endpoint suggestion with scraping configuration.\");\nexport const ScrapegraphAiGetEndpointSuggestionsOutput = z.object({\n suggestions: z.array(ScrapegraphAiGetEndpointSuggestions_EndpointSuggestionSchema).describe(\"List of suggested endpoints with full configuration for scraping.\"),\n html_with_markdowns: z.unknown().describe(\"HTML content converted to Markdown format for analysis.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing AI-generated endpoint suggestions.\");\n\nexport const scrapegraphAiGetEndpointSuggestions = action(\"SCRAPEGRAPH_AI_GET_ENDPOINT_SUGGESTIONS\", {\n slug: \"scrapegraph_ai-get-endpoint-suggestions\",\n name: \"Get Endpoint Suggestions\",\n description: \"Tool to get AI-powered suggestions for creating scraping endpoints. Use when you need to identify what data can be extracted from a website and how to structure the scraping logic.\",\n input: ScrapegraphAiGetEndpointSuggestionsInput,\n output: ScrapegraphAiGetEndpointSuggestionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K;CAC3M,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;AAClJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,+DAA+D,EAAE,OAAO;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E;CACvI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC9G,mBAAmB,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAMhG,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,aAAa,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,mEAAmE;EAC/J,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const ScrapegraphAiGetLiveSessionUrlInput = zod.z.object({
|
|
|
8
8
|
const ScrapegraphAiGetLiveSessionUrlOutput = zod.z.object({
|
|
9
9
|
session_id: zod.z.string().describe("Unique identifier for this live browser session. Use this ID to reference or track the session.").nullable(),
|
|
10
10
|
session_url: zod.z.string().describe("The URL to access the live browser session. Open this URL to interact with the browser.").nullable()
|
|
11
|
-
}).describe("Response schema containing the live session URL and session identifier.");
|
|
11
|
+
}).passthrough().describe("Response schema containing the live session URL and session identifier.");
|
|
12
12
|
const scrapegraphAiGetLiveSessionUrl = require_action.action("SCRAPEGRAPH_AI_GET_LIVE_SESSION_URL", {
|
|
13
13
|
slug: "scrapegraph_ai-get-live-session-url",
|
|
14
14
|
name: "Get Live Session URL",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-live-session-url.cjs","names":["z","action"],"sources":["../../src/actions/get-live-session-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetLiveSessionUrlInput = z.object({\n url: z.string().describe(\"The URL of the webpage to open in the live browser session. Must be a valid HTTP/HTTPS URL.\"),\n timeout: z.number().int().default(300).describe(\"Timeout for the live session in seconds. Default is 300 seconds (5 minutes).\").optional(),\n}).describe(\"Request schema for getting a live browser session URL.\");\nexport const ScrapegraphAiGetLiveSessionUrlOutput = z.object({\n session_id: z.string().describe(\"Unique identifier for this live browser session. Use this ID to reference or track the session.\").nullable(),\n session_url: z.string().describe(\"The URL to access the live browser session. Open this URL to interact with the browser.\").nullable(),\n}).describe(\"Response schema containing the live session URL and session identifier.\");\n\nexport const scrapegraphAiGetLiveSessionUrl = action(\"SCRAPEGRAPH_AI_GET_LIVE_SESSION_URL\", {\n slug: \"scrapegraph_ai-get-live-session-url\",\n name: \"Get Live Session URL\",\n description: \"Tool to get a URL for a live browser session. Use when you need to interact with a webpage in real-time through a controlled browser environment.\",\n input: ScrapegraphAiGetLiveSessionUrlInput,\n output: ScrapegraphAiGetLiveSessionUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CACtH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,yEAAyE;
|
|
1
|
+
{"version":3,"file":"get-live-session-url.cjs","names":["z","action"],"sources":["../../src/actions/get-live-session-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetLiveSessionUrlInput = z.object({\n url: z.string().describe(\"The URL of the webpage to open in the live browser session. Must be a valid HTTP/HTTPS URL.\"),\n timeout: z.number().int().default(300).describe(\"Timeout for the live session in seconds. Default is 300 seconds (5 minutes).\").optional(),\n}).describe(\"Request schema for getting a live browser session URL.\");\nexport const ScrapegraphAiGetLiveSessionUrlOutput = z.object({\n session_id: z.string().describe(\"Unique identifier for this live browser session. Use this ID to reference or track the session.\").nullable(),\n session_url: z.string().describe(\"The URL to access the live browser session. Open this URL to interact with the browser.\").nullable(),\n}).passthrough().describe(\"Response schema containing the live session URL and session identifier.\");\n\nexport const scrapegraphAiGetLiveSessionUrl = action(\"SCRAPEGRAPH_AI_GET_LIVE_SESSION_URL\", {\n slug: \"scrapegraph_ai-get-live-session-url\",\n name: \"Get Live Session URL\",\n description: \"Tool to get a URL for a live browser session. Use when you need to interact with a webpage in real-time through a controlled browser environment.\",\n input: ScrapegraphAiGetLiveSessionUrlInput,\n output: ScrapegraphAiGetLiveSessionUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CACtH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const ScrapegraphAiGetLiveSessionUrlInput: z.ZodObject<{
|
|
|
8
8
|
declare const ScrapegraphAiGetLiveSessionUrlOutput: z.ZodObject<{
|
|
9
9
|
session_id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
session_url: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const scrapegraphAiGetLiveSessionUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
url: string;
|
|
14
14
|
timeout?: number | undefined;
|
|
@@ -8,7 +8,7 @@ declare const ScrapegraphAiGetLiveSessionUrlInput: z.ZodObject<{
|
|
|
8
8
|
declare const ScrapegraphAiGetLiveSessionUrlOutput: z.ZodObject<{
|
|
9
9
|
session_id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
session_url: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const scrapegraphAiGetLiveSessionUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
url: string;
|
|
14
14
|
timeout?: number | undefined;
|
|
@@ -11,7 +11,7 @@ const scrapegraphAiGetLiveSessionUrl = action("SCRAPEGRAPH_AI_GET_LIVE_SESSION_U
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
session_id: z.string().describe("Unique identifier for this live browser session. Use this ID to reference or track the session.").nullable(),
|
|
13
13
|
session_url: z.string().describe("The URL to access the live browser session. Open this URL to interact with the browser.").nullable()
|
|
14
|
-
}).describe("Response schema containing the live session URL and session identifier.")
|
|
14
|
+
}).passthrough().describe("Response schema containing the live session URL and session identifier.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { scrapegraphAiGetLiveSessionUrl };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-live-session-url.mjs","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetLiveSessionUrlInput = z.object({\n url: z.string().describe(\"The URL of the webpage to open in the live browser session. Must be a valid HTTP/HTTPS URL.\"),\n timeout: z.number().int().default(300).describe(\"Timeout for the live session in seconds. Default is 300 seconds (5 minutes).\").optional(),\n}).describe(\"Request schema for getting a live browser session URL.\");\nexport const ScrapegraphAiGetLiveSessionUrlOutput = z.object({\n session_id: z.string().describe(\"Unique identifier for this live browser session. Use this ID to reference or track the session.\").nullable(),\n session_url: z.string().describe(\"The URL to access the live browser session. Open this URL to interact with the browser.\").nullable(),\n}).describe(\"Response schema containing the live session URL and session identifier.\");\n\nexport const scrapegraphAiGetLiveSessionUrl = action(\"SCRAPEGRAPH_AI_GET_LIVE_SESSION_URL\", {\n slug: \"scrapegraph_ai-get-live-session-url\",\n name: \"Get Live Session URL\",\n description: \"Tool to get a URL for a live browser session. Use when you need to interact with a webpage in real-time through a controlled browser environment.\",\n input: ScrapegraphAiGetLiveSessionUrlInput,\n output: ScrapegraphAiGetLiveSessionUrlOutput,\n});\n"],"mappings":";;AAaA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;EACtH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC5I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-live-session-url.mjs","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetLiveSessionUrlInput = z.object({\n url: z.string().describe(\"The URL of the webpage to open in the live browser session. Must be a valid HTTP/HTTPS URL.\"),\n timeout: z.number().int().default(300).describe(\"Timeout for the live session in seconds. Default is 300 seconds (5 minutes).\").optional(),\n}).describe(\"Request schema for getting a live browser session URL.\");\nexport const ScrapegraphAiGetLiveSessionUrlOutput = z.object({\n session_id: z.string().describe(\"Unique identifier for this live browser session. Use this ID to reference or track the session.\").nullable(),\n session_url: z.string().describe(\"The URL to access the live browser session. Open this URL to interact with the browser.\").nullable(),\n}).passthrough().describe(\"Response schema containing the live session URL and session identifier.\");\n\nexport const scrapegraphAiGetLiveSessionUrl = action(\"SCRAPEGRAPH_AI_GET_LIVE_SESSION_URL\", {\n slug: \"scrapegraph_ai-get-live-session-url\",\n name: \"Get Live Session URL\",\n description: \"Tool to get a URL for a live browser session. Use when you need to interact with a webpage in real-time through a controlled browser environment.\",\n input: ScrapegraphAiGetLiveSessionUrlInput,\n output: ScrapegraphAiGetLiveSessionUrlOutput,\n});\n"],"mappings":";;AAaA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;EACtH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC5I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
|
|
@@ -17,11 +17,11 @@ const ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = zod.z.obje
|
|
|
17
17
|
website_url: zod.z.string().describe("URL of the website that was markdownified").nullable(),
|
|
18
18
|
requested_at: zod.z.string().describe("Timestamp when the request was initiated").nullable().optional(),
|
|
19
19
|
request_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters used for the markdownify request").nullable().optional()
|
|
20
|
-
}).describe("Schema representing a single markdownify request from the database.");
|
|
20
|
+
}).passthrough().describe("Schema representing a single markdownify request from the database.");
|
|
21
21
|
const ScrapegraphAiGetMarkdownifyHistoryOutput = zod.z.object({
|
|
22
22
|
next_key: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pagination key for retrieving the next page of results. Null if no more pages.").nullable().optional(),
|
|
23
23
|
requests: zod.z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe("List of markdownify requests for the current page")
|
|
24
|
-
}).describe("Response schema for markdownify history retrieval.");
|
|
24
|
+
}).passthrough().describe("Response schema for markdownify history retrieval.");
|
|
25
25
|
const scrapegraphAiGetMarkdownifyHistory = require_action.action("SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY", {
|
|
26
26
|
slug: "scrapegraph_ai-get-markdownify-history",
|
|
27
27
|
name: "Get Markdownify History",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markdownify-history.cjs","names":["z","action"],"sources":["../../src/actions/get-markdownify-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetMarkdownifyHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of markdownify jobs.\");\nconst ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = z.object({\n error: z.string().describe(\"Error information if the request failed\").nullable().optional(),\n status: z.string().describe(\"Current status of the request (e.g., queued, processing, completed, failed)\").nullable(),\n user_id: z.string().describe(\"User identifier who initiated the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.string().describe(\"Usage tracking identifier\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier for the processed webpage\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the request was completed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was markdownified\").nullable(),\n requested_at: z.string().describe(\"Timestamp when the request was initiated\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the markdownify request\").nullable().optional(),\n}).describe(\"Schema representing a single markdownify request from the database.\");\nexport const ScrapegraphAiGetMarkdownifyHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe(\"List of markdownify requests for the current page\"),\n}).describe(\"Response schema for markdownify history retrieval.\");\n\nexport const scrapegraphAiGetMarkdownifyHistory = action(\"SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY\", {\n slug: \"scrapegraph_ai-get-markdownify-history\",\n name: \"Get Markdownify History\",\n description: \"Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs. Use when you need to view past markdownify requests and their statuses.\",\n input: ScrapegraphAiGetMarkdownifyHistoryInput,\n output: ScrapegraphAiGetMarkdownifyHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,qEAAqE;
|
|
1
|
+
{"version":3,"file":"get-markdownify-history.cjs","names":["z","action"],"sources":["../../src/actions/get-markdownify-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetMarkdownifyHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of markdownify jobs.\");\nconst ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = z.object({\n error: z.string().describe(\"Error information if the request failed\").nullable().optional(),\n status: z.string().describe(\"Current status of the request (e.g., queued, processing, completed, failed)\").nullable(),\n user_id: z.string().describe(\"User identifier who initiated the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.string().describe(\"Usage tracking identifier\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier for the processed webpage\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the request was completed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was markdownified\").nullable(),\n requested_at: z.string().describe(\"Timestamp when the request was initiated\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the markdownify request\").nullable().optional(),\n}).passthrough().describe(\"Schema representing a single markdownify request from the database.\");\nexport const ScrapegraphAiGetMarkdownifyHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe(\"List of markdownify requests for the current page\"),\n}).passthrough().describe(\"Response schema for markdownify history retrieval.\");\n\nexport const scrapegraphAiGetMarkdownifyHistory = action(\"SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY\", {\n slug: \"scrapegraph_ai-get-markdownify-history\",\n name: \"Get Markdownify History\",\n description: \"Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs. Use when you need to view past markdownify requests and their statuses.\",\n input: ScrapegraphAiGetMarkdownifyHistoryInput,\n output: ScrapegraphAiGetMarkdownifyHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,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,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,UAAUA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,mDAAmD;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,8 +19,8 @@ declare const ScrapegraphAiGetMarkdownifyHistoryOutput: z.ZodObject<{
|
|
|
19
19
|
website_url: z.ZodNullable<z.ZodString>;
|
|
20
20
|
requested_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
request_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const scrapegraphAiGetMarkdownifyHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
page?: number | undefined;
|
|
26
26
|
page_size?: number | undefined;
|
|
@@ -19,8 +19,8 @@ declare const ScrapegraphAiGetMarkdownifyHistoryOutput: z.ZodObject<{
|
|
|
19
19
|
website_url: z.ZodNullable<z.ZodString>;
|
|
20
20
|
requested_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
request_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const scrapegraphAiGetMarkdownifyHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
page?: number | undefined;
|
|
26
26
|
page_size?: number | undefined;
|
|
@@ -17,7 +17,7 @@ const ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = z.object({
|
|
|
17
17
|
website_url: z.string().describe("URL of the website that was markdownified").nullable(),
|
|
18
18
|
requested_at: z.string().describe("Timestamp when the request was initiated").nullable().optional(),
|
|
19
19
|
request_params: z.record(z.string(), z.unknown()).describe("Parameters used for the markdownify request").nullable().optional()
|
|
20
|
-
}).describe("Schema representing a single markdownify request from the database.");
|
|
20
|
+
}).passthrough().describe("Schema representing a single markdownify request from the database.");
|
|
21
21
|
const scrapegraphAiGetMarkdownifyHistory = action("SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY", {
|
|
22
22
|
slug: "scrapegraph_ai-get-markdownify-history",
|
|
23
23
|
name: "Get Markdownify History",
|
|
@@ -26,7 +26,7 @@ const scrapegraphAiGetMarkdownifyHistory = action("SCRAPEGRAPH_AI_GET_MARKDOWNIF
|
|
|
26
26
|
output: z.object({
|
|
27
27
|
next_key: z.record(z.string(), z.unknown()).describe("Pagination key for retrieving the next page of results. Null if no more pages.").nullable().optional(),
|
|
28
28
|
requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe("List of markdownify requests for the current page")
|
|
29
|
-
}).describe("Response schema for markdownify history retrieval.")
|
|
29
|
+
}).passthrough().describe("Response schema for markdownify history retrieval.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { scrapegraphAiGetMarkdownifyHistory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markdownify-history.mjs","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetMarkdownifyHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of markdownify jobs.\");\nconst ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = z.object({\n error: z.string().describe(\"Error information if the request failed\").nullable().optional(),\n status: z.string().describe(\"Current status of the request (e.g., queued, processing, completed, failed)\").nullable(),\n user_id: z.string().describe(\"User identifier who initiated the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.string().describe(\"Usage tracking identifier\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier for the processed webpage\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the request was completed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was markdownified\").nullable(),\n requested_at: z.string().describe(\"Timestamp when the request was initiated\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the markdownify request\").nullable().optional(),\n}).describe(\"Schema representing a single markdownify request from the database.\");\nexport const ScrapegraphAiGetMarkdownifyHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe(\"List of markdownify requests for the current page\"),\n}).describe(\"Response schema for markdownify history retrieval.\");\n\nexport const scrapegraphAiGetMarkdownifyHistory = action(\"SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY\", {\n slug: \"scrapegraph_ai-get-markdownify-history\",\n name: \"Get Markdownify History\",\n description: \"Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs. Use when you need to view past markdownify requests and their statuses.\",\n input: ScrapegraphAiGetMarkdownifyHistoryInput,\n output: ScrapegraphAiGetMarkdownifyHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAA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,CAAC,CAAC,CAAC,SAAS,qEAAqE;
|
|
1
|
+
{"version":3,"file":"get-markdownify-history.mjs","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetMarkdownifyHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of markdownify jobs.\");\nconst ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = z.object({\n error: z.string().describe(\"Error information if the request failed\").nullable().optional(),\n status: z.string().describe(\"Current status of the request (e.g., queued, processing, completed, failed)\").nullable(),\n user_id: z.string().describe(\"User identifier who initiated the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.string().describe(\"Usage tracking identifier\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier for the processed webpage\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the request was completed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was markdownified\").nullable(),\n requested_at: z.string().describe(\"Timestamp when the request was initiated\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the markdownify request\").nullable().optional(),\n}).passthrough().describe(\"Schema representing a single markdownify request from the database.\");\nexport const ScrapegraphAiGetMarkdownifyHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe(\"List of markdownify requests for the current page\"),\n}).passthrough().describe(\"Response schema for markdownify history retrieval.\");\n\nexport const scrapegraphAiGetMarkdownifyHistory = action(\"SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY\", {\n slug: \"scrapegraph_ai-get-markdownify-history\",\n name: \"Get Markdownify History\",\n description: \"Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs. Use when you need to view past markdownify requests and their statuses.\",\n input: ScrapegraphAiGetMarkdownifyHistoryInput,\n output: ScrapegraphAiGetMarkdownifyHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gEAAgE,EAAE,OAAO;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAM/F,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,UAAU,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,mDAAmD;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -18,11 +18,11 @@ const ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = zod.z.object({
|
|
|
18
18
|
requested_at: zod.z.string().describe("ISO timestamp when the scrape request was submitted").nullable().optional(),
|
|
19
19
|
request_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters used for the scrape request (e.g., user_prompt, output_schema)").nullable().optional(),
|
|
20
20
|
render_heavy_js: zod.z.boolean().describe("Whether heavy JavaScript rendering was enabled for this request").nullable().optional()
|
|
21
|
-
}).describe("Schema for an individual scrape request from the history.");
|
|
21
|
+
}).passthrough().describe("Schema for an individual scrape request from the history.");
|
|
22
22
|
const ScrapegraphAiGetScrapeHistoryOutput = zod.z.object({
|
|
23
23
|
next_key: zod.z.record(zod.z.string(), zod.z.unknown()).nullable(),
|
|
24
24
|
requests: zod.z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe("List of scrape requests with their status, results, and metadata")
|
|
25
|
-
}).describe("Response schema containing the history of scrape requests.");
|
|
25
|
+
}).passthrough().describe("Response schema containing the history of scrape requests.");
|
|
26
26
|
const scrapegraphAiGetScrapeHistory = require_action.action("SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY", {
|
|
27
27
|
slug: "scrapegraph_ai-get-scrape-history",
|
|
28
28
|
name: "Get Scrape History",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scrape-history.cjs","names":["z","action"],"sources":["../../src/actions/get-scrape-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetScrapeHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of scrape requests to return per page. Maximum depends on API limits.\").optional(),\n}).describe(\"Request schema for retrieving the history of scrape jobs.\");\nconst ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = z.object({\n cost: z.number().int().describe(\"Number of credits consumed by this scrape request\").nullable().optional(),\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the scrape request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the scrape. Only present for completed requests.\").nullable().optional(),\n status: z.string().describe(\"Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier information for the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about the scrape request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the scrape request\").nullable(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp information when the scrape request was completed or failed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\").nullable(),\n requested_at: z.string().describe(\"ISO timestamp when the scrape request was submitted\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the scrape request (e.g., user_prompt, output_schema)\").nullable().optional(),\n render_heavy_js: z.boolean().describe(\"Whether heavy JavaScript rendering was enabled for this request\").nullable().optional(),\n}).describe(\"Schema for an individual scrape request from the history.\");\nexport const ScrapegraphAiGetScrapeHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).nullable(),\n requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe(\"List of scrape requests with their status, results, and metadata\"),\n}).describe(\"Response schema containing the history of scrape requests.\");\n\nexport const scrapegraphAiGetScrapeHistory = action(\"SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY\", {\n slug: \"scrapegraph_ai-get-scrape-history\",\n name: \"Get Scrape History\",\n description: \"Retrieve the history of scrape jobs from your ScrapeGraphAI account. Use this to check the status of past scrapes, view results, and track credit usage.\",\n input: ScrapegraphAiGetScrapeHistoryInput,\n output: ScrapegraphAiGetScrapeHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAA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AAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"get-scrape-history.cjs","names":["z","action"],"sources":["../../src/actions/get-scrape-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetScrapeHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of scrape requests to return per page. Maximum depends on API limits.\").optional(),\n}).describe(\"Request schema for retrieving the history of scrape jobs.\");\nconst ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = z.object({\n cost: z.number().int().describe(\"Number of credits consumed by this scrape request\").nullable().optional(),\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the scrape request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the scrape. Only present for completed requests.\").nullable().optional(),\n status: z.string().describe(\"Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier information for the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about the scrape request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the scrape request\").nullable(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp information when the scrape request was completed or failed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\").nullable(),\n requested_at: z.string().describe(\"ISO timestamp when the scrape request was submitted\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the scrape request (e.g., user_prompt, output_schema)\").nullable().optional(),\n render_heavy_js: z.boolean().describe(\"Whether heavy JavaScript rendering was enabled for this request\").nullable().optional(),\n}).passthrough().describe(\"Schema for an individual scrape request from the history.\");\nexport const ScrapegraphAiGetScrapeHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).nullable(),\n requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe(\"List of scrape requests with their status, results, and metadata\"),\n}).passthrough().describe(\"Response schema containing the history of scrape requests.\");\n\nexport const scrapegraphAiGetScrapeHistory = action(\"SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY\", {\n slug: \"scrapegraph_ai-get-scrape-history\",\n name: \"Get Scrape History\",\n description: \"Retrieve the history of scrape jobs from your ScrapeGraphAI account. Use this to check the status of past scrapes, view results, and track credit usage.\",\n input: ScrapegraphAiGetScrapeHistoryInput,\n output: ScrapegraphAiGetScrapeHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS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,kEAAkE;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,8 +20,8 @@ declare const ScrapegraphAiGetScrapeHistoryOutput: z.ZodObject<{
|
|
|
20
20
|
requested_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
request_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
render_heavy_js: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const scrapegraphAiGetScrapeHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
page?: number | undefined;
|
|
27
27
|
page_size?: number | undefined;
|
|
@@ -20,8 +20,8 @@ declare const ScrapegraphAiGetScrapeHistoryOutput: z.ZodObject<{
|
|
|
20
20
|
requested_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
request_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
render_heavy_js: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const scrapegraphAiGetScrapeHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
page?: number | undefined;
|
|
27
27
|
page_size?: number | undefined;
|
|
@@ -18,7 +18,7 @@ const ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = z.object({
|
|
|
18
18
|
requested_at: z.string().describe("ISO timestamp when the scrape request was submitted").nullable().optional(),
|
|
19
19
|
request_params: z.record(z.string(), z.unknown()).describe("Parameters used for the scrape request (e.g., user_prompt, output_schema)").nullable().optional(),
|
|
20
20
|
render_heavy_js: z.boolean().describe("Whether heavy JavaScript rendering was enabled for this request").nullable().optional()
|
|
21
|
-
}).describe("Schema for an individual scrape request from the history.");
|
|
21
|
+
}).passthrough().describe("Schema for an individual scrape request from the history.");
|
|
22
22
|
const scrapegraphAiGetScrapeHistory = action("SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY", {
|
|
23
23
|
slug: "scrapegraph_ai-get-scrape-history",
|
|
24
24
|
name: "Get Scrape History",
|
|
@@ -27,7 +27,7 @@ const scrapegraphAiGetScrapeHistory = action("SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY"
|
|
|
27
27
|
output: z.object({
|
|
28
28
|
next_key: z.record(z.string(), z.unknown()).nullable(),
|
|
29
29
|
requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe("List of scrape requests with their status, results, and metadata")
|
|
30
|
-
}).describe("Response schema containing the history of scrape requests.")
|
|
30
|
+
}).passthrough().describe("Response schema containing the history of scrape requests.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { scrapegraphAiGetScrapeHistory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scrape-history.mjs","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetScrapeHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of scrape requests to return per page. Maximum depends on API limits.\").optional(),\n}).describe(\"Request schema for retrieving the history of scrape jobs.\");\nconst ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = z.object({\n cost: z.number().int().describe(\"Number of credits consumed by this scrape request\").nullable().optional(),\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the scrape request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the scrape. Only present for completed requests.\").nullable().optional(),\n status: z.string().describe(\"Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier information for the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about the scrape request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the scrape request\").nullable(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp information when the scrape request was completed or failed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\").nullable(),\n requested_at: z.string().describe(\"ISO timestamp when the scrape request was submitted\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the scrape request (e.g., user_prompt, output_schema)\").nullable().optional(),\n render_heavy_js: z.boolean().describe(\"Whether heavy JavaScript rendering was enabled for this request\").nullable().optional(),\n}).describe(\"Schema for an individual scrape request from the history.\");\nexport const ScrapegraphAiGetScrapeHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).nullable(),\n requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe(\"List of scrape requests with their status, results, and metadata\"),\n}).describe(\"Response schema containing the history of scrape requests.\");\n\nexport const scrapegraphAiGetScrapeHistory = action(\"SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY\", {\n slug: \"scrapegraph_ai-get-scrape-history\",\n name: \"Get Scrape History\",\n description: \"Retrieve the history of scrape jobs from your ScrapeGraphAI account. Use this to check the status of past scrapes, view results, and track credit usage.\",\n input: ScrapegraphAiGetScrapeHistoryInput,\n output: ScrapegraphAiGetScrapeHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC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C,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"get-scrape-history.mjs","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetScrapeHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of scrape requests to return per page. Maximum depends on API limits.\").optional(),\n}).describe(\"Request schema for retrieving the history of scrape jobs.\");\nconst ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = z.object({\n cost: z.number().int().describe(\"Number of credits consumed by this scrape request\").nullable().optional(),\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the scrape request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the scrape. Only present for completed requests.\").nullable().optional(),\n status: z.string().describe(\"Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier information for the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about the scrape request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the scrape request\").nullable(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp information when the scrape request was completed or failed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\").nullable(),\n requested_at: z.string().describe(\"ISO timestamp when the scrape request was submitted\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the scrape request (e.g., user_prompt, output_schema)\").nullable().optional(),\n render_heavy_js: z.boolean().describe(\"Whether heavy JavaScript rendering was enabled for this request\").nullable().optional(),\n}).passthrough().describe(\"Schema for an individual scrape request from the history.\");\nexport const ScrapegraphAiGetScrapeHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).nullable(),\n requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe(\"List of scrape requests with their status, results, and metadata\"),\n}).passthrough().describe(\"Response schema containing the history of scrape requests.\");\n\nexport const scrapegraphAiGetScrapeHistory = action(\"SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY\", {\n slug: \"scrapegraph_ai-get-scrape-history\",\n name: \"Get Scrape History\",\n description: \"Retrieve the history of scrape jobs from your ScrapeGraphAI account. Use this to check the status of past scrapes, view results, and track credit usage.\",\n input: ScrapegraphAiGetScrapeHistoryInput,\n output: ScrapegraphAiGetScrapeHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,S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AC,CAAC,SAAS,kEAAkE;CACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -19,11 +19,11 @@ const ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = zod.z.
|
|
|
19
19
|
output_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The output schema used for structuring results.").nullable().optional(),
|
|
20
20
|
references_urls: zod.z.record(zod.z.string(), zod.z.unknown()).describe("URLs referenced during the search scraping process.").nullable().optional(),
|
|
21
21
|
extraction_query: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details about the extraction query parameters.").nullable().optional()
|
|
22
|
-
}).describe("Database model for a single searchscraper request in history.");
|
|
22
|
+
}).passthrough().describe("Database model for a single searchscraper request in history.");
|
|
23
23
|
const ScrapegraphAiGetSearchscraperHistoryOutput = zod.z.object({
|
|
24
24
|
next_key: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pagination token for fetching the next page of results. Null if no more pages.").nullable().optional(),
|
|
25
25
|
requests: zod.z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe("List of searchscraper requests in the history.")
|
|
26
|
-
}).describe("Response model for searchscraper history retrieval.");
|
|
26
|
+
}).passthrough().describe("Response model for searchscraper history retrieval.");
|
|
27
27
|
const scrapegraphAiGetSearchscraperHistory = require_action.action("SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY", {
|
|
28
28
|
slug: "scrapegraph_ai-get-searchscraper-history",
|
|
29
29
|
name: "Get Searchscraper History",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-searchscraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-searchscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSearchscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving searchscraper job history.\");\nconst ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = 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(\"Extracted search results (available when status is 'completed').\").nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'queued', 'processing', 'completed', or 'failed'.\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier associated with the request.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the searchscraper request.\").nullable().optional(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Information about when the request completed.\").nullable().optional(),\n user_prompt: z.string().describe(\"The search query or prompt submitted by the user.\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted.\").nullable().optional(),\n search_query: z.record(z.string(), z.unknown()).describe(\"Details about the search query parameters.\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"The output schema used for structuring results.\").nullable().optional(),\n references_urls: z.record(z.string(), z.unknown()).describe(\"URLs referenced during the search scraping process.\").nullable().optional(),\n extraction_query: z.record(z.string(), z.unknown()).describe(\"Details about the extraction query parameters.\").nullable().optional(),\n}).describe(\"Database model for a single searchscraper request in history.\");\nexport const ScrapegraphAiGetSearchscraperHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe(\"List of searchscraper requests in the history.\"),\n}).describe(\"Response model for searchscraper history retrieval.\");\n\nexport const scrapegraphAiGetSearchscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-searchscraper-history\",\n name: \"Get Searchscraper History\",\n description: \"Get the history of searchscraper jobs with pagination support. Use this to retrieve past searchscraper requests, their status, and results.\",\n input: ScrapegraphAiGetSearchscraperHistoryInput,\n output: ScrapegraphAiGetSearchscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,oEAAoEA,IAAAA,EAAE,OAAO;CACjF,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,kBAAkBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,+DAA+D;
|
|
1
|
+
{"version":3,"file":"get-searchscraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-searchscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSearchscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving searchscraper job history.\");\nconst ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = 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(\"Extracted search results (available when status is 'completed').\").nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'queued', 'processing', 'completed', or 'failed'.\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier associated with the request.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the searchscraper request.\").nullable().optional(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Information about when the request completed.\").nullable().optional(),\n user_prompt: z.string().describe(\"The search query or prompt submitted by the user.\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted.\").nullable().optional(),\n search_query: z.record(z.string(), z.unknown()).describe(\"Details about the search query parameters.\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"The output schema used for structuring results.\").nullable().optional(),\n references_urls: z.record(z.string(), z.unknown()).describe(\"URLs referenced during the search scraping process.\").nullable().optional(),\n extraction_query: z.record(z.string(), z.unknown()).describe(\"Details about the extraction query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Database model for a single searchscraper request in history.\");\nexport const ScrapegraphAiGetSearchscraperHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe(\"List of searchscraper requests in the history.\"),\n}).passthrough().describe(\"Response model for searchscraper history retrieval.\");\n\nexport const scrapegraphAiGetSearchscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-searchscraper-history\",\n name: \"Get Searchscraper History\",\n description: \"Get the history of searchscraper jobs with pagination support. Use this to retrieve past searchscraper requests, their status, and results.\",\n input: ScrapegraphAiGetSearchscraperHistoryInput,\n output: ScrapegraphAiGetSearchscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,oEAAoEA,IAAAA,EAAE,OAAO;CACjF,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,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AAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,UAAUA,IAAAA,EAAE,MAAM,iEAAiE,CAAC,CAAC,SAAS,gDAAgD;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,8 +21,8 @@ declare const ScrapegraphAiGetSearchscraperHistoryOutput: z.ZodObject<{
|
|
|
21
21
|
output_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
references_urls: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
23
|
extraction_query: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const scrapegraphAiGetSearchscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
page?: number | undefined;
|
|
28
28
|
page_size?: number | undefined;
|
|
@@ -21,8 +21,8 @@ declare const ScrapegraphAiGetSearchscraperHistoryOutput: z.ZodObject<{
|
|
|
21
21
|
output_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
references_urls: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
23
|
extraction_query: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const scrapegraphAiGetSearchscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
page?: number | undefined;
|
|
28
28
|
page_size?: number | undefined;
|
|
@@ -19,7 +19,7 @@ const ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = z.obje
|
|
|
19
19
|
output_schema: z.record(z.string(), z.unknown()).describe("The output schema used for structuring results.").nullable().optional(),
|
|
20
20
|
references_urls: z.record(z.string(), z.unknown()).describe("URLs referenced during the search scraping process.").nullable().optional(),
|
|
21
21
|
extraction_query: z.record(z.string(), z.unknown()).describe("Details about the extraction query parameters.").nullable().optional()
|
|
22
|
-
}).describe("Database model for a single searchscraper request in history.");
|
|
22
|
+
}).passthrough().describe("Database model for a single searchscraper request in history.");
|
|
23
23
|
const scrapegraphAiGetSearchscraperHistory = action("SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY", {
|
|
24
24
|
slug: "scrapegraph_ai-get-searchscraper-history",
|
|
25
25
|
name: "Get Searchscraper History",
|
|
@@ -28,7 +28,7 @@ const scrapegraphAiGetSearchscraperHistory = action("SCRAPEGRAPH_AI_GET_SEARCHSC
|
|
|
28
28
|
output: z.object({
|
|
29
29
|
next_key: z.record(z.string(), z.unknown()).describe("Pagination token for fetching the next page of results. Null if no more pages.").nullable().optional(),
|
|
30
30
|
requests: z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe("List of searchscraper requests in the history.")
|
|
31
|
-
}).describe("Response model for searchscraper history retrieval.")
|
|
31
|
+
}).passthrough().describe("Response model for searchscraper history retrieval.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { scrapegraphAiGetSearchscraperHistory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-searchscraper-history.mjs","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSearchscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving searchscraper job history.\");\nconst ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = 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(\"Extracted search results (available when status is 'completed').\").nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'queued', 'processing', 'completed', or 'failed'.\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier associated with the request.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the searchscraper request.\").nullable().optional(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Information about when the request completed.\").nullable().optional(),\n user_prompt: z.string().describe(\"The search query or prompt submitted by the user.\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted.\").nullable().optional(),\n search_query: z.record(z.string(), z.unknown()).describe(\"Details about the search query parameters.\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"The output schema used for structuring results.\").nullable().optional(),\n references_urls: z.record(z.string(), z.unknown()).describe(\"URLs referenced during the search scraping process.\").nullable().optional(),\n extraction_query: z.record(z.string(), z.unknown()).describe(\"Details about the extraction query parameters.\").nullable().optional(),\n}).describe(\"Database model for a single searchscraper request in history.\");\nexport const ScrapegraphAiGetSearchscraperHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe(\"List of searchscraper requests in the history.\"),\n}).describe(\"Response model for searchscraper history retrieval.\");\n\nexport const scrapegraphAiGetSearchscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-searchscraper-history\",\n name: \"Get Searchscraper History\",\n description: \"Get the history of searchscraper jobs with pagination support. Use this to retrieve past searchscraper requests, their status, and results.\",\n input: ScrapegraphAiGetSearchscraperHistoryInput,\n output: ScrapegraphAiGetSearchscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,oEAAoE,EAAE,OAAO;CACjF,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,+DAA+D;
|
|
1
|
+
{"version":3,"file":"get-searchscraper-history.mjs","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSearchscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving searchscraper job history.\");\nconst ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = 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(\"Extracted search results (available when status is 'completed').\").nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'queued', 'processing', 'completed', or 'failed'.\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier associated with the request.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the searchscraper request.\").nullable().optional(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Information about when the request completed.\").nullable().optional(),\n user_prompt: z.string().describe(\"The search query or prompt submitted by the user.\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted.\").nullable().optional(),\n search_query: z.record(z.string(), z.unknown()).describe(\"Details about the search query parameters.\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"The output schema used for structuring results.\").nullable().optional(),\n references_urls: z.record(z.string(), z.unknown()).describe(\"URLs referenced during the search scraping process.\").nullable().optional(),\n extraction_query: z.record(z.string(), z.unknown()).describe(\"Details about the extraction query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Database model for a single searchscraper request in history.\");\nexport const ScrapegraphAiGetSearchscraperHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe(\"List of searchscraper requests in the history.\"),\n}).passthrough().describe(\"Response model for searchscraper history retrieval.\");\n\nexport const scrapegraphAiGetSearchscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-searchscraper-history\",\n name: \"Get Searchscraper History\",\n description: \"Get the history of searchscraper jobs with pagination support. Use this to retrieve past searchscraper requests, their status,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,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAMzF,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,UAAU,EAAE,MAAM,iEAAiE,CAAC,CAAC,SAAS,gDAAgD;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -15,11 +15,11 @@ const ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = zod.z.object({
|
|
|
15
15
|
website_url: zod.z.string().describe("URL of the website from which the sitemap was extracted").nullable(),
|
|
16
16
|
requested_at: zod.z.string().describe("ISO 8601 timestamp indicating when the request was made").nullable(),
|
|
17
17
|
error_message: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Error details if the request failed. Contains error information as a dictionary.").nullable().optional()
|
|
18
|
-
}).describe("Model representing a single sitemap extraction job in the history.");
|
|
18
|
+
}).passthrough().describe("Model representing a single sitemap extraction job in the history.");
|
|
19
19
|
const ScrapegraphAiGetSitemapHistoryOutput = zod.z.object({
|
|
20
20
|
next_key: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pagination key for fetching the next page of results. Null if no more pages available.").nullable().optional(),
|
|
21
21
|
requests: zod.z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe("List of sitemap extraction jobs in the requested page")
|
|
22
|
-
}).describe("Response schema for sitemap extraction job history.");
|
|
22
|
+
}).passthrough().describe("Response schema for sitemap extraction job history.");
|
|
23
23
|
const scrapegraphAiGetSitemapHistory = require_action.action("SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY", {
|
|
24
24
|
slug: "scrapegraph_ai-get-sitemap-history",
|
|
25
25
|
name: "Get Sitemap History",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sitemap-history.cjs","names":["z","action"],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who made the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\").nullable(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\").nullable(),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\").nullable(),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\").nullable(),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACjI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,oEAAoE;
|
|
1
|
+
{"version":3,"file":"get-sitemap-history.cjs","names":["z","action"],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who made the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\").nullable(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\").nullable(),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\").nullable(),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\").nullable(),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).passthrough().describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,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AUA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,uDAAuD;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,8 +17,8 @@ declare const ScrapegraphAiGetSitemapHistoryOutput: z.ZodObject<{
|
|
|
17
17
|
website_url: z.ZodNullable<z.ZodString>;
|
|
18
18
|
requested_at: z.ZodNullable<z.ZodString>;
|
|
19
19
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const scrapegraphAiGetSitemapHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
page?: number | undefined;
|
|
24
24
|
page_size?: number | undefined;
|
|
@@ -17,8 +17,8 @@ declare const ScrapegraphAiGetSitemapHistoryOutput: z.ZodObject<{
|
|
|
17
17
|
website_url: z.ZodNullable<z.ZodString>;
|
|
18
18
|
requested_at: z.ZodNullable<z.ZodString>;
|
|
19
19
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const scrapegraphAiGetSitemapHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
page?: number | undefined;
|
|
24
24
|
page_size?: number | undefined;
|
|
@@ -15,7 +15,7 @@ const ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({
|
|
|
15
15
|
website_url: z.string().describe("URL of the website from which the sitemap was extracted").nullable(),
|
|
16
16
|
requested_at: z.string().describe("ISO 8601 timestamp indicating when the request was made").nullable(),
|
|
17
17
|
error_message: z.record(z.string(), z.unknown()).describe("Error details if the request failed. Contains error information as a dictionary.").nullable().optional()
|
|
18
|
-
}).describe("Model representing a single sitemap extraction job in the history.");
|
|
18
|
+
}).passthrough().describe("Model representing a single sitemap extraction job in the history.");
|
|
19
19
|
const scrapegraphAiGetSitemapHistory = action("SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY", {
|
|
20
20
|
slug: "scrapegraph_ai-get-sitemap-history",
|
|
21
21
|
name: "Get Sitemap History",
|
|
@@ -24,7 +24,7 @@ const scrapegraphAiGetSitemapHistory = action("SCRAPEGRAPH_AI_GET_SITEMAP_HISTOR
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
next_key: z.record(z.string(), z.unknown()).describe("Pagination key for fetching the next page of results. Null if no more pages available.").nullable().optional(),
|
|
26
26
|
requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe("List of sitemap extraction jobs in the requested page")
|
|
27
|
-
}).describe("Response schema for sitemap extraction job history.")
|
|
27
|
+
}).passthrough().describe("Response schema for sitemap extraction job history.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { scrapegraphAiGetSitemapHistory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sitemap-history.mjs","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who made the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\").nullable(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\").nullable(),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\").nullable(),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\").nullable(),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,0DAA0D,EAAE,OAAO;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACjI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,oEAAoE;
|
|
1
|
+
{"version":3,"file":"get-sitemap-history.mjs","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who made the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\").nullable(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\").nullable(),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\").nullable(),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\").nullable(),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).passthrough().describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACz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
|
|
@@ -19,11 +19,11 @@ const ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = zod.z.ob
|
|
|
19
19
|
requested_at: zod.z.string().describe("ISO 8601 timestamp when the request was submitted").nullable(),
|
|
20
20
|
output_schema: zod.z.unknown().describe("JSON Schema defining the structure of extracted data").nullable().optional(),
|
|
21
21
|
request_params: zod.z.unknown().describe("Parameters used for the scraping request (headers, cookies, output_schema, etc.)").nullable().optional()
|
|
22
|
-
}).describe("Individual smartscraper request record from history.");
|
|
22
|
+
}).passthrough().describe("Individual smartscraper request record from history.");
|
|
23
23
|
const ScrapegraphAiGetSmartscraperHistoryOutput = zod.z.object({
|
|
24
24
|
next_key: zod.z.unknown().describe("Pagination token for fetching the next page of results. Null if no more pages.").nullable().optional(),
|
|
25
25
|
requests: zod.z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe("List of smartscraper requests in the current page, ordered by most recent first")
|
|
26
|
-
}).describe("Response schema containing smartscraper job history.");
|
|
26
|
+
}).passthrough().describe("Response schema containing smartscraper job history.");
|
|
27
27
|
const scrapegraphAiGetSmartscraperHistory = require_action.action("SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY", {
|
|
28
28
|
slug: "scrapegraph_ai-get-smartscraper-history",
|
|
29
29
|
name: "Get Smartscraper History",
|