@keystrokehq/scrapegraph_ai 0.1.2 → 0.1.4
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/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-scraper-status.cjs","names":["z","action"],"sources":["../../src/actions/smart-scraper-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSmartScraperStatusInput = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request returned by the Start SmartScraper action\"),\n}).describe(\"Request model for checking the status of a SmartScraper job.\");\nexport const ScrapegraphAiSmartScraperStatusOutput = z.object({\n error: z.string().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the website. Only populated when status is 'completed'. Structure depends on the output_schema provided in the original request.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued' (waiting to be processed), 'processing' (being processed), 'completed' (finished successfully), or 'failed' (error occurred)\").nullable(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.string().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n}).describe(\"Response model for SmartScraper status checks.\");\n\nexport const scrapegraphAiSmartScraperStatus = action(\"SCRAPEGRAPH_AI_SMART_SCRAPER_STATUS\", {\n slug: \"scrapegraph_ai-smart-scraper-status\",\n name: \"SmartScraper Status\",\n description: \"Check the status and retrieve results of a SmartScraper web scraping job. Use this action to poll for completion after starting a SmartScraper job with wait=false. The request_id is returned by the Start SmartScraper action. Typical workflow: 1. Start a scraping job with SCRAPEGRAPH_AI_SMART_SCRAPER_START (wait=false) 2. Use the returned request_id to check status with this action 3. Poll until status is 'completed' or 'failed' 4. When completed, the 'result' field contains the extracted data. When completed, also check the 'error' field before consuming 'result', as 'failed' status populates 'error' instead of 'result'.\",\n input: ScrapegraphAiSmartScraperStatusInput,\n output: ScrapegraphAiSmartScraperStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACtI,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/N,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK,CAAC,CAAC,SAAS;CAC7M,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"smart-scraper-status.cjs","names":["z","action"],"sources":["../../src/actions/smart-scraper-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSmartScraperStatusInput = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request returned by the Start SmartScraper action\"),\n}).describe(\"Request model for checking the status of a SmartScraper job.\");\nexport const ScrapegraphAiSmartScraperStatusOutput = z.object({\n error: z.string().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the website. Only populated when status is 'completed'. Structure depends on the output_schema provided in the original request.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued' (waiting to be processed), 'processing' (being processed), 'completed' (finished successfully), or 'failed' (error occurred)\").nullable(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.string().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n}).passthrough().describe(\"Response model for SmartScraper status checks.\");\n\nexport const scrapegraphAiSmartScraperStatus = action(\"SCRAPEGRAPH_AI_SMART_SCRAPER_STATUS\", {\n slug: \"scrapegraph_ai-smart-scraper-status\",\n name: \"SmartScraper Status\",\n description: \"Check the status and retrieve results of a SmartScraper web scraping job. Use this action to poll for completion after starting a SmartScraper job with wait=false. The request_id is returned by the Start SmartScraper action. Typical workflow: 1. Start a scraping job with SCRAPEGRAPH_AI_SMART_SCRAPER_START (wait=false) 2. Use the returned request_id to check status with this action 3. Poll until status is 'completed' or 'failed' 4. When completed, the 'result' field contains the extracted data. When completed, also check the 'error' field before consuming 'result', as 'failed' status populates 'error' instead of 'result'.\",\n input: ScrapegraphAiSmartScraperStatusInput,\n output: ScrapegraphAiSmartScraperStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACtI,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/N,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK,CAAC,CAAC,SAAS;CAC7M,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const ScrapegraphAiSmartScraperStatusOutput: z.ZodObject<{
|
|
|
11
11
|
request_id: z.ZodNullable<z.ZodString>;
|
|
12
12
|
user_prompt: z.ZodNullable<z.ZodString>;
|
|
13
13
|
website_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const scrapegraphAiSmartScraperStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
request_id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ declare const ScrapegraphAiSmartScraperStatusOutput: z.ZodObject<{
|
|
|
11
11
|
request_id: z.ZodNullable<z.ZodString>;
|
|
12
12
|
user_prompt: z.ZodNullable<z.ZodString>;
|
|
13
13
|
website_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const scrapegraphAiSmartScraperStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
request_id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,7 +12,7 @@ const scrapegraphAiSmartScraperStatus = action("SCRAPEGRAPH_AI_SMART_SCRAPER_STA
|
|
|
12
12
|
request_id: z.string().describe("The unique identifier (UUID) of the SmartScraper request").nullable(),
|
|
13
13
|
user_prompt: z.string().describe("The natural language prompt describing what information to extract").nullable(),
|
|
14
14
|
website_url: z.string().describe("URL of the website being scraped. May be null if website_html was provided instead of a URL.").nullable().optional()
|
|
15
|
-
}).describe("Response model for SmartScraper status checks.")
|
|
15
|
+
}).passthrough().describe("Response model for SmartScraper status checks.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { scrapegraphAiSmartScraperStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-scraper-status.mjs","names":[],"sources":["../../src/actions/smart-scraper-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSmartScraperStatusInput = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request returned by the Start SmartScraper action\"),\n}).describe(\"Request model for checking the status of a SmartScraper job.\");\nexport const ScrapegraphAiSmartScraperStatusOutput = z.object({\n error: z.string().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the website. Only populated when status is 'completed'. Structure depends on the output_schema provided in the original request.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued' (waiting to be processed), 'processing' (being processed), 'completed' (finished successfully), or 'failed' (error occurred)\").nullable(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.string().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n}).describe(\"Response model for SmartScraper status checks.\");\n\nexport const scrapegraphAiSmartScraperStatus = action(\"SCRAPEGRAPH_AI_SMART_SCRAPER_STATUS\", {\n slug: \"scrapegraph_ai-smart-scraper-status\",\n name: \"SmartScraper Status\",\n description: \"Check the status and retrieve results of a SmartScraper web scraping job. Use this action to poll for completion after starting a SmartScraper job with wait=false. The request_id is returned by the Start SmartScraper action. Typical workflow: 1. Start a scraping job with SCRAPEGRAPH_AI_SMART_SCRAPER_START (wait=false) 2. Use the returned request_id to check status with this action 3. Poll until status is 'completed' or 'failed' 4. When completed, the 'result' field contains the extracted data. When completed, also check the 'error' field before consuming 'result', as 'failed' status populates 'error' instead of 'result'.\",\n input: ScrapegraphAiSmartScraperStatusInput,\n output: ScrapegraphAiSmartScraperStatusOutput,\n});\n"],"mappings":";;AAgBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkD,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACtI,CAAC,CAAC,CAAC,SAAS,8DAcH;CACP,QAdmD,EAAE,OAAO;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/N,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK,CAAC,CAAC,SAAS;EAC7M,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"smart-scraper-status.mjs","names":[],"sources":["../../src/actions/smart-scraper-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSmartScraperStatusInput = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request returned by the Start SmartScraper action\"),\n}).describe(\"Request model for checking the status of a SmartScraper job.\");\nexport const ScrapegraphAiSmartScraperStatusOutput = z.object({\n error: z.string().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the website. Only populated when status is 'completed'. Structure depends on the output_schema provided in the original request.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued' (waiting to be processed), 'processing' (being processed), 'completed' (finished successfully), or 'failed' (error occurred)\").nullable(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.string().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n}).passthrough().describe(\"Response model for SmartScraper status checks.\");\n\nexport const scrapegraphAiSmartScraperStatus = action(\"SCRAPEGRAPH_AI_SMART_SCRAPER_STATUS\", {\n slug: \"scrapegraph_ai-smart-scraper-status\",\n name: \"SmartScraper Status\",\n description: \"Check the status and retrieve results of a SmartScraper web scraping job. Use this action to poll for completion after starting a SmartScraper job with wait=false. The request_id is returned by the Start SmartScraper action. Typical workflow: 1. Start a scraping job with SCRAPEGRAPH_AI_SMART_SCRAPER_START (wait=false) 2. Use the returned request_id to check status with this action 3. Poll until status is 'completed' or 'failed' 4. When completed, the 'result' field contains the extracted data. When completed, also check the 'error' field before consuming 'result', as 'failed' status populates 'error' instead of 'result'.\",\n input: ScrapegraphAiSmartScraperStatusInput,\n output: ScrapegraphAiSmartScraperStatusOutput,\n});\n"],"mappings":";;AAgBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkD,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACtI,CAAC,CAAC,CAAC,SAAS,8DAcH;CACP,QAdmD,EAAE,OAAO;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/N,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK,CAAC,CAAC,SAAS;EAC7M,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ const ScrapegraphAiStartSmartCrawlerInput = zod.z.object({
|
|
|
23
23
|
render_heavy_js: zod.z.boolean().default(false).describe("Enable enhanced JavaScript rendering for Single Page Applications (SPAs) and sites with heavy JavaScript. May increase processing time. Default is false.").optional(),
|
|
24
24
|
same_domain_only: zod.z.boolean().default(true).describe("Whether to restrict crawling to only pages on the same domain as the starting URL. Default is true.").optional()
|
|
25
25
|
}).describe("Request schema to start a SmartCrawler job for multi-page AI extraction.");
|
|
26
|
-
const ScrapegraphAiStartSmartCrawlerOutput = zod.z.object({ task_id: zod.z.string().describe("Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.").nullable() }).describe("Response schema returned after initiating a SmartCrawler job.");
|
|
26
|
+
const ScrapegraphAiStartSmartCrawlerOutput = zod.z.object({ task_id: zod.z.string().describe("Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.").nullable() }).passthrough().describe("Response schema returned after initiating a SmartCrawler job.");
|
|
27
27
|
const scrapegraphAiStartSmartCrawler = require_action.action("SCRAPEGRAPH_AI_START_SMART_CRAWLER", {
|
|
28
28
|
slug: "scrapegraph_ai-start-smart-crawler",
|
|
29
29
|
name: "Start Smart Crawler (Async)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-smart-crawler.cjs","names":["z","action"],"sources":["../../src/actions/start-smart-crawler.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiStartSmartCrawlerInput = z.object({\n url: z.string().describe(\"The starting URL for the crawl. Must be a valid HTTP or HTTPS URL.\"),\n depth: z.number().int().default(1).describe(\"Maximum crawl depth - how many link levels to follow from the start URL. Default is 1.\").optional(),\n rules: z.object({\n exclude: z.array(z.string()).describe(\"Array of regex patterns to exclude URLs from crawling.\").optional(),\n same_domain: z.boolean().describe(\"Whether to restrict crawling to the same domain as the starting URL.\").optional(),\n exclude_paths: z.array(z.string()).describe(\"Array of path patterns to exclude from the crawl (e.g., ['/admin/*']). Takes precedence over include_paths.\").optional(),\n include_paths: z.array(z.string()).describe(\"Array of path patterns to include in the crawl (e.g., ['/blog/*']). exclude_paths takes precedence.\").optional(),\n}).describe(\"Crawl rules for filtering URLs during the crawl process.\").optional(),\n prompt: z.string().describe(\"Instructions for what data to extract during the crawl. Required when extraction_mode=true. Be specific about the information you want extracted.\").optional(),\n schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Helps ensure consistent, structured output in extraction mode.\").optional(),\n breadth: z.number().int().describe(\"Maximum number of links to crawl per depth level. If not specified (null), unlimited breadth is allowed. Ignored when sitemap=true.\").optional(),\n sitemap: z.boolean().default(false).describe(\"Whether to use sitemap.xml for URL discovery instead of link following. When enabled, ignores breadth parameter. Default is false.\").optional(),\n stealth: z.boolean().default(false).describe(\"Enable stealth mode to bypass bot detection and anti-scraping measures. Adds +4 credits per page. Use for sites with bot protection. Default is false.\").optional(),\n max_pages: z.number().int().default(10).describe(\"Maximum total number of pages to crawl across all depth levels. Default is 10.\").optional(),\n batch_size: z.number().int().default(1).describe(\"Number of pages to process in each batch during the crawl. Higher values may speed up large crawls. Default is 1.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to receive the job completion notification. The result will be POSTed to this URL when the crawl finishes.\").optional(),\n cache_website: z.boolean().default(false).describe(\"Whether to cache the website content for faster subsequent crawls. Default is false.\").optional(),\n extraction_mode: z.boolean().default(true).describe(\"When true, enables AI-powered extraction using LLM (default, 10 credits/page). When false, enables markdown conversion mode (NO AI processing, 2 credits/page, 80% cheaper).\").optional(),\n render_heavy_js: z.boolean().default(false).describe(\"Enable enhanced JavaScript rendering for Single Page Applications (SPAs) and sites with heavy JavaScript. May increase processing time. Default is false.\").optional(),\n same_domain_only: z.boolean().default(true).describe(\"Whether to restrict crawling to only pages on the same domain as the starting URL. Default is true.\").optional(),\n}).describe(\"Request schema to start a SmartCrawler job for multi-page AI extraction.\");\nexport const ScrapegraphAiStartSmartCrawlerOutput = z.object({\n task_id: z.string().describe(\"Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.\").nullable(),\n}).describe(\"Response schema returned after initiating a SmartCrawler job.\");\n\nexport const scrapegraphAiStartSmartCrawler = action(\"SCRAPEGRAPH_AI_START_SMART_CRAWLER\", {\n slug: \"scrapegraph_ai-start-smart-crawler\",\n name: \"Start Smart Crawler (Async)\",\n description: \"Tool to start a multi-page web crawl using SmartCrawler for AI-powered data extraction. Use when you need to extract structured data from multiple pages of a website. Returns immediately with a task_id - use the status check action to monitor progress and retrieve results.\",\n input: ScrapegraphAiStartSmartCrawlerInput,\n output: ScrapegraphAiStartSmartCrawlerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/I,OAAOA,IAAAA,EAAE,OAAO;EAChB,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACzG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACnH,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpK,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CAC1L,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CAC3L,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CACnL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC5L,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAChN,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC5I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC/K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACpK,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpJ,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC7O,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC3N,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,SAAS,+DAA+D;
|
|
1
|
+
{"version":3,"file":"start-smart-crawler.cjs","names":["z","action"],"sources":["../../src/actions/start-smart-crawler.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiStartSmartCrawlerInput = z.object({\n url: z.string().describe(\"The starting URL for the crawl. Must be a valid HTTP or HTTPS URL.\"),\n depth: z.number().int().default(1).describe(\"Maximum crawl depth - how many link levels to follow from the start URL. Default is 1.\").optional(),\n rules: z.object({\n exclude: z.array(z.string()).describe(\"Array of regex patterns to exclude URLs from crawling.\").optional(),\n same_domain: z.boolean().describe(\"Whether to restrict crawling to the same domain as the starting URL.\").optional(),\n exclude_paths: z.array(z.string()).describe(\"Array of path patterns to exclude from the crawl (e.g., ['/admin/*']). Takes precedence over include_paths.\").optional(),\n include_paths: z.array(z.string()).describe(\"Array of path patterns to include in the crawl (e.g., ['/blog/*']). exclude_paths takes precedence.\").optional(),\n}).describe(\"Crawl rules for filtering URLs during the crawl process.\").optional(),\n prompt: z.string().describe(\"Instructions for what data to extract during the crawl. Required when extraction_mode=true. Be specific about the information you want extracted.\").optional(),\n schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Helps ensure consistent, structured output in extraction mode.\").optional(),\n breadth: z.number().int().describe(\"Maximum number of links to crawl per depth level. If not specified (null), unlimited breadth is allowed. Ignored when sitemap=true.\").optional(),\n sitemap: z.boolean().default(false).describe(\"Whether to use sitemap.xml for URL discovery instead of link following. When enabled, ignores breadth parameter. Default is false.\").optional(),\n stealth: z.boolean().default(false).describe(\"Enable stealth mode to bypass bot detection and anti-scraping measures. Adds +4 credits per page. Use for sites with bot protection. Default is false.\").optional(),\n max_pages: z.number().int().default(10).describe(\"Maximum total number of pages to crawl across all depth levels. Default is 10.\").optional(),\n batch_size: z.number().int().default(1).describe(\"Number of pages to process in each batch during the crawl. Higher values may speed up large crawls. Default is 1.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to receive the job completion notification. The result will be POSTed to this URL when the crawl finishes.\").optional(),\n cache_website: z.boolean().default(false).describe(\"Whether to cache the website content for faster subsequent crawls. Default is false.\").optional(),\n extraction_mode: z.boolean().default(true).describe(\"When true, enables AI-powered extraction using LLM (default, 10 credits/page). When false, enables markdown conversion mode (NO AI processing, 2 credits/page, 80% cheaper).\").optional(),\n render_heavy_js: z.boolean().default(false).describe(\"Enable enhanced JavaScript rendering for Single Page Applications (SPAs) and sites with heavy JavaScript. May increase processing time. Default is false.\").optional(),\n same_domain_only: z.boolean().default(true).describe(\"Whether to restrict crawling to only pages on the same domain as the starting URL. Default is true.\").optional(),\n}).describe(\"Request schema to start a SmartCrawler job for multi-page AI extraction.\");\nexport const ScrapegraphAiStartSmartCrawlerOutput = z.object({\n task_id: z.string().describe(\"Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.\").nullable(),\n}).passthrough().describe(\"Response schema returned after initiating a SmartCrawler job.\");\n\nexport const scrapegraphAiStartSmartCrawler = action(\"SCRAPEGRAPH_AI_START_SMART_CRAWLER\", {\n slug: \"scrapegraph_ai-start-smart-crawler\",\n name: \"Start Smart Crawler (Async)\",\n description: \"Tool to start a multi-page web crawl using SmartCrawler for AI-powered data extraction. Use when you need to extract structured data from multiple pages of a website. Returns immediately with a task_id - use the status check action to monitor progress and retrieve results.\",\n input: ScrapegraphAiStartSmartCrawlerInput,\n output: ScrapegraphAiStartSmartCrawlerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/I,OAAOA,IAAAA,EAAE,OAAO;EAChB,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACzG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACnH,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpK,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CAC1L,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CAC3L,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CACnL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC5L,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAChN,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC5I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC/K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACpK,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpJ,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC7O,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC3N,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,7 +25,7 @@ declare const ScrapegraphAiStartSmartCrawlerInput: z.ZodObject<{
|
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
declare const ScrapegraphAiStartSmartCrawlerOutput: z.ZodObject<{
|
|
27
27
|
task_id: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const scrapegraphAiStartSmartCrawler: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
url: string;
|
|
31
31
|
depth?: number | undefined;
|
|
@@ -25,7 +25,7 @@ declare const ScrapegraphAiStartSmartCrawlerInput: z.ZodObject<{
|
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
declare const ScrapegraphAiStartSmartCrawlerOutput: z.ZodObject<{
|
|
27
27
|
task_id: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const scrapegraphAiStartSmartCrawler: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
url: string;
|
|
31
31
|
depth?: number | undefined;
|
|
@@ -26,7 +26,7 @@ const scrapegraphAiStartSmartCrawler = action("SCRAPEGRAPH_AI_START_SMART_CRAWLE
|
|
|
26
26
|
render_heavy_js: z.boolean().default(false).describe("Enable enhanced JavaScript rendering for Single Page Applications (SPAs) and sites with heavy JavaScript. May increase processing time. Default is false.").optional(),
|
|
27
27
|
same_domain_only: z.boolean().default(true).describe("Whether to restrict crawling to only pages on the same domain as the starting URL. Default is true.").optional()
|
|
28
28
|
}).describe("Request schema to start a SmartCrawler job for multi-page AI extraction."),
|
|
29
|
-
output: z.object({ task_id: z.string().describe("Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.").nullable() }).describe("Response schema returned after initiating a SmartCrawler job.")
|
|
29
|
+
output: z.object({ task_id: z.string().describe("Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.").nullable() }).passthrough().describe("Response schema returned after initiating a SmartCrawler job.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { scrapegraphAiStartSmartCrawler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-smart-crawler.mjs","names":[],"sources":["../../src/actions/start-smart-crawler.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiStartSmartCrawlerInput = z.object({\n url: z.string().describe(\"The starting URL for the crawl. Must be a valid HTTP or HTTPS URL.\"),\n depth: z.number().int().default(1).describe(\"Maximum crawl depth - how many link levels to follow from the start URL. Default is 1.\").optional(),\n rules: z.object({\n exclude: z.array(z.string()).describe(\"Array of regex patterns to exclude URLs from crawling.\").optional(),\n same_domain: z.boolean().describe(\"Whether to restrict crawling to the same domain as the starting URL.\").optional(),\n exclude_paths: z.array(z.string()).describe(\"Array of path patterns to exclude from the crawl (e.g., ['/admin/*']). Takes precedence over include_paths.\").optional(),\n include_paths: z.array(z.string()).describe(\"Array of path patterns to include in the crawl (e.g., ['/blog/*']). exclude_paths takes precedence.\").optional(),\n}).describe(\"Crawl rules for filtering URLs during the crawl process.\").optional(),\n prompt: z.string().describe(\"Instructions for what data to extract during the crawl. Required when extraction_mode=true. Be specific about the information you want extracted.\").optional(),\n schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Helps ensure consistent, structured output in extraction mode.\").optional(),\n breadth: z.number().int().describe(\"Maximum number of links to crawl per depth level. If not specified (null), unlimited breadth is allowed. Ignored when sitemap=true.\").optional(),\n sitemap: z.boolean().default(false).describe(\"Whether to use sitemap.xml for URL discovery instead of link following. When enabled, ignores breadth parameter. Default is false.\").optional(),\n stealth: z.boolean().default(false).describe(\"Enable stealth mode to bypass bot detection and anti-scraping measures. Adds +4 credits per page. Use for sites with bot protection. Default is false.\").optional(),\n max_pages: z.number().int().default(10).describe(\"Maximum total number of pages to crawl across all depth levels. Default is 10.\").optional(),\n batch_size: z.number().int().default(1).describe(\"Number of pages to process in each batch during the crawl. Higher values may speed up large crawls. Default is 1.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to receive the job completion notification. The result will be POSTed to this URL when the crawl finishes.\").optional(),\n cache_website: z.boolean().default(false).describe(\"Whether to cache the website content for faster subsequent crawls. Default is false.\").optional(),\n extraction_mode: z.boolean().default(true).describe(\"When true, enables AI-powered extraction using LLM (default, 10 credits/page). When false, enables markdown conversion mode (NO AI processing, 2 credits/page, 80% cheaper).\").optional(),\n render_heavy_js: z.boolean().default(false).describe(\"Enable enhanced JavaScript rendering for Single Page Applications (SPAs) and sites with heavy JavaScript. May increase processing time. Default is false.\").optional(),\n same_domain_only: z.boolean().default(true).describe(\"Whether to restrict crawling to only pages on the same domain as the starting URL. Default is true.\").optional(),\n}).describe(\"Request schema to start a SmartCrawler job for multi-page AI extraction.\");\nexport const ScrapegraphAiStartSmartCrawlerOutput = z.object({\n task_id: z.string().describe(\"Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.\").nullable(),\n}).describe(\"Response schema returned after initiating a SmartCrawler job.\");\n\nexport const scrapegraphAiStartSmartCrawler = action(\"SCRAPEGRAPH_AI_START_SMART_CRAWLER\", {\n slug: \"scrapegraph_ai-start-smart-crawler\",\n name: \"Start Smart Crawler (Async)\",\n description: \"Tool to start a multi-page web crawl using SmartCrawler for AI-powered data extraction. Use when you need to extract structured data from multiple pages of a website. Returns immediately with a task_id - use the status check action to monitor progress and retrieve results.\",\n input: ScrapegraphAiStartSmartCrawlerInput,\n output: ScrapegraphAiStartSmartCrawlerOutput,\n});\n"],"mappings":";;AA8BA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAC/I,OAAO,EAAE,OAAO;GAChB,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACzG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;GACnH,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;GACpK,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9J,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;EAC1L,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EAC3L,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;EACnL,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;EAC5L,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;EAChN,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC5I,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EAC/K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACpK,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACpJ,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;EAC7O,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;EAC3N,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACvK,CAAC,CAAC,CAAC,SAAS,0EASH;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,SAAS,+
|
|
1
|
+
{"version":3,"file":"start-smart-crawler.mjs","names":[],"sources":["../../src/actions/start-smart-crawler.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiStartSmartCrawlerInput = z.object({\n url: z.string().describe(\"The starting URL for the crawl. Must be a valid HTTP or HTTPS URL.\"),\n depth: z.number().int().default(1).describe(\"Maximum crawl depth - how many link levels to follow from the start URL. Default is 1.\").optional(),\n rules: z.object({\n exclude: z.array(z.string()).describe(\"Array of regex patterns to exclude URLs from crawling.\").optional(),\n same_domain: z.boolean().describe(\"Whether to restrict crawling to the same domain as the starting URL.\").optional(),\n exclude_paths: z.array(z.string()).describe(\"Array of path patterns to exclude from the crawl (e.g., ['/admin/*']). Takes precedence over include_paths.\").optional(),\n include_paths: z.array(z.string()).describe(\"Array of path patterns to include in the crawl (e.g., ['/blog/*']). exclude_paths takes precedence.\").optional(),\n}).describe(\"Crawl rules for filtering URLs during the crawl process.\").optional(),\n prompt: z.string().describe(\"Instructions for what data to extract during the crawl. Required when extraction_mode=true. Be specific about the information you want extracted.\").optional(),\n schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Helps ensure consistent, structured output in extraction mode.\").optional(),\n breadth: z.number().int().describe(\"Maximum number of links to crawl per depth level. If not specified (null), unlimited breadth is allowed. Ignored when sitemap=true.\").optional(),\n sitemap: z.boolean().default(false).describe(\"Whether to use sitemap.xml for URL discovery instead of link following. When enabled, ignores breadth parameter. Default is false.\").optional(),\n stealth: z.boolean().default(false).describe(\"Enable stealth mode to bypass bot detection and anti-scraping measures. Adds +4 credits per page. Use for sites with bot protection. Default is false.\").optional(),\n max_pages: z.number().int().default(10).describe(\"Maximum total number of pages to crawl across all depth levels. Default is 10.\").optional(),\n batch_size: z.number().int().default(1).describe(\"Number of pages to process in each batch during the crawl. Higher values may speed up large crawls. Default is 1.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to receive the job completion notification. The result will be POSTed to this URL when the crawl finishes.\").optional(),\n cache_website: z.boolean().default(false).describe(\"Whether to cache the website content for faster subsequent crawls. Default is false.\").optional(),\n extraction_mode: z.boolean().default(true).describe(\"When true, enables AI-powered extraction using LLM (default, 10 credits/page). When false, enables markdown conversion mode (NO AI processing, 2 credits/page, 80% cheaper).\").optional(),\n render_heavy_js: z.boolean().default(false).describe(\"Enable enhanced JavaScript rendering for Single Page Applications (SPAs) and sites with heavy JavaScript. May increase processing time. Default is false.\").optional(),\n same_domain_only: z.boolean().default(true).describe(\"Whether to restrict crawling to only pages on the same domain as the starting URL. Default is true.\").optional(),\n}).describe(\"Request schema to start a SmartCrawler job for multi-page AI extraction.\");\nexport const ScrapegraphAiStartSmartCrawlerOutput = z.object({\n task_id: z.string().describe(\"Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.\").nullable(),\n}).passthrough().describe(\"Response schema returned after initiating a SmartCrawler job.\");\n\nexport const scrapegraphAiStartSmartCrawler = action(\"SCRAPEGRAPH_AI_START_SMART_CRAWLER\", {\n slug: \"scrapegraph_ai-start-smart-crawler\",\n name: \"Start Smart Crawler (Async)\",\n description: \"Tool to start a multi-page web crawl using SmartCrawler for AI-powered data extraction. Use when you need to extract structured data from multiple pages of a website. Returns immediately with a task_id - use the status check action to monitor progress and retrieve results.\",\n input: ScrapegraphAiStartSmartCrawlerInput,\n output: ScrapegraphAiStartSmartCrawlerOutput,\n});\n"],"mappings":";;AA8BA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAC/I,OAAO,EAAE,OAAO;GAChB,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACzG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;GACnH,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;GACpK,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9J,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;EAC1L,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EAC3L,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;EACnL,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;EAC5L,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;EAChN,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC5I,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EAC/K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACpK,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACpJ,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;EAC7O,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;EAC3N,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACvK,CAAC,CAAC,CAAC,SAAS,0EASH;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const ScrapegraphAiSubmitFeedbackOutput = zod.z.object({
|
|
|
11
11
|
request_id: zod.z.string().describe("UUID of the original request this feedback is linked to").nullable(),
|
|
12
12
|
feedback_id: zod.z.string().describe("Unique identifier for the submitted feedback").nullable(),
|
|
13
13
|
feedback_timestamp: zod.z.string().describe("Timestamp when feedback was recorded (ISO-8601)").nullable()
|
|
14
|
-
}).describe("Response schema after submitting feedback.");
|
|
14
|
+
}).passthrough().describe("Response schema after submitting feedback.");
|
|
15
15
|
const scrapegraphAiSubmitFeedback = require_action.action("SCRAPEGRAPH_AI_SUBMIT_FEEDBACK", {
|
|
16
16
|
slug: "scrapegraph_ai-submit-feedback",
|
|
17
17
|
name: "Submit Feedback",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-feedback.cjs","names":["z","action"],"sources":["../../src/actions/submit-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitFeedbackInput = z.object({\n rating: z.number().int().describe(\"Star rating from 0 (lowest) to 5 (highest)\"),\n request_id: z.string().describe(\"UUID of the request/session this feedback is for\"),\n feedback_text: z.string().describe(\"Optional comments about the request\").optional(),\n}).describe(\"Request schema for submitting feedback on a previous scraping request.\");\nexport const ScrapegraphAiSubmitFeedbackOutput = z.object({\n message: z.string().describe(\"Confirmation message from the API\").nullable(),\n request_id: z.string().describe(\"UUID of the original request this feedback is linked to\").nullable(),\n feedback_id: z.string().describe(\"Unique identifier for the submitted feedback\").nullable(),\n feedback_timestamp: z.string().describe(\"Timestamp when feedback was recorded (ISO-8601)\").nullable(),\n}).describe(\"Response schema after submitting feedback.\");\n\nexport const scrapegraphAiSubmitFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-feedback\",\n name: \"Submit Feedback\",\n description: \"Submit feedback and ratings for completed ScrapeGraphAI requests.\",\n input: ScrapegraphAiSubmitFeedbackInput,\n output: ScrapegraphAiSubmitFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"submit-feedback.cjs","names":["z","action"],"sources":["../../src/actions/submit-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitFeedbackInput = z.object({\n rating: z.number().int().describe(\"Star rating from 0 (lowest) to 5 (highest)\"),\n request_id: z.string().describe(\"UUID of the request/session this feedback is for\"),\n feedback_text: z.string().describe(\"Optional comments about the request\").optional(),\n}).describe(\"Request schema for submitting feedback on a previous scraping request.\");\nexport const ScrapegraphAiSubmitFeedbackOutput = z.object({\n message: z.string().describe(\"Confirmation message from the API\").nullable(),\n request_id: z.string().describe(\"UUID of the original request this feedback is linked to\").nullable(),\n feedback_id: z.string().describe(\"Unique identifier for the submitted feedback\").nullable(),\n feedback_timestamp: z.string().describe(\"Timestamp when feedback was recorded (ISO-8601)\").nullable(),\n}).passthrough().describe(\"Response schema after submitting feedback.\");\n\nexport const scrapegraphAiSubmitFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-feedback\",\n name: \"Submit Feedback\",\n description: \"Submit feedback and ratings for completed ScrapeGraphAI requests.\",\n input: ScrapegraphAiSubmitFeedbackInput,\n output: ScrapegraphAiSubmitFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const ScrapegraphAiSubmitFeedbackOutput: z.ZodObject<{
|
|
|
11
11
|
request_id: z.ZodNullable<z.ZodString>;
|
|
12
12
|
feedback_id: z.ZodNullable<z.ZodString>;
|
|
13
13
|
feedback_timestamp: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const scrapegraphAiSubmitFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
rating: number;
|
|
17
17
|
request_id: string;
|
|
@@ -11,7 +11,7 @@ declare const ScrapegraphAiSubmitFeedbackOutput: z.ZodObject<{
|
|
|
11
11
|
request_id: z.ZodNullable<z.ZodString>;
|
|
12
12
|
feedback_id: z.ZodNullable<z.ZodString>;
|
|
13
13
|
feedback_timestamp: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const scrapegraphAiSubmitFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
rating: number;
|
|
17
17
|
request_id: string;
|
|
@@ -14,7 +14,7 @@ const scrapegraphAiSubmitFeedback = action("SCRAPEGRAPH_AI_SUBMIT_FEEDBACK", {
|
|
|
14
14
|
request_id: z.string().describe("UUID of the original request this feedback is linked to").nullable(),
|
|
15
15
|
feedback_id: z.string().describe("Unique identifier for the submitted feedback").nullable(),
|
|
16
16
|
feedback_timestamp: z.string().describe("Timestamp when feedback was recorded (ISO-8601)").nullable()
|
|
17
|
-
}).describe("Response schema after submitting feedback.")
|
|
17
|
+
}).passthrough().describe("Response schema after submitting feedback.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { scrapegraphAiSubmitFeedback };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-feedback.mjs","names":[],"sources":["../../src/actions/submit-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitFeedbackInput = z.object({\n rating: z.number().int().describe(\"Star rating from 0 (lowest) to 5 (highest)\"),\n request_id: z.string().describe(\"UUID of the request/session this feedback is for\"),\n feedback_text: z.string().describe(\"Optional comments about the request\").optional(),\n}).describe(\"Request schema for submitting feedback on a previous scraping request.\");\nexport const ScrapegraphAiSubmitFeedbackOutput = z.object({\n message: z.string().describe(\"Confirmation message from the API\").nullable(),\n request_id: z.string().describe(\"UUID of the original request this feedback is linked to\").nullable(),\n feedback_id: z.string().describe(\"Unique identifier for the submitted feedback\").nullable(),\n feedback_timestamp: z.string().describe(\"Timestamp when feedback was recorded (ISO-8601)\").nullable(),\n}).describe(\"Response schema after submitting feedback.\");\n\nexport const scrapegraphAiSubmitFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-feedback\",\n name: \"Submit Feedback\",\n description: \"Submit feedback and ratings for completed ScrapeGraphAI requests.\",\n input: ScrapegraphAiSubmitFeedbackInput,\n output: ScrapegraphAiSubmitFeedbackOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,wEAYH;CACP,QAZ+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"submit-feedback.mjs","names":[],"sources":["../../src/actions/submit-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitFeedbackInput = z.object({\n rating: z.number().int().describe(\"Star rating from 0 (lowest) to 5 (highest)\"),\n request_id: z.string().describe(\"UUID of the request/session this feedback is for\"),\n feedback_text: z.string().describe(\"Optional comments about the request\").optional(),\n}).describe(\"Request schema for submitting feedback on a previous scraping request.\");\nexport const ScrapegraphAiSubmitFeedbackOutput = z.object({\n message: z.string().describe(\"Confirmation message from the API\").nullable(),\n request_id: z.string().describe(\"UUID of the original request this feedback is linked to\").nullable(),\n feedback_id: z.string().describe(\"Unique identifier for the submitted feedback\").nullable(),\n feedback_timestamp: z.string().describe(\"Timestamp when feedback was recorded (ISO-8601)\").nullable(),\n}).passthrough().describe(\"Response schema after submitting feedback.\");\n\nexport const scrapegraphAiSubmitFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-feedback\",\n name: \"Submit Feedback\",\n description: \"Submit feedback and ratings for completed ScrapeGraphAI requests.\",\n input: ScrapegraphAiSubmitFeedbackInput,\n output: ScrapegraphAiSubmitFeedbackOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,wEAYH;CACP,QAZ+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const ScrapegraphAiSubmitProductFeedbackInput = zod.z.object({
|
|
|
20
20
|
requested_features: zod.z.string().describe("Features you'd like to see added").optional(),
|
|
21
21
|
improvement_suggestions: zod.z.string().describe("Your suggestions for product improvements").optional()
|
|
22
22
|
}).describe("Request schema for submitting product feedback about ScrapeGraphAI.");
|
|
23
|
-
const ScrapegraphAiSubmitProductFeedbackOutput = zod.z.object({ message: zod.z.string().default("Product feedback submitted successfully").describe("Confirmation message from the API").nullable().optional() }).describe("Response schema after submitting product feedback.");
|
|
23
|
+
const ScrapegraphAiSubmitProductFeedbackOutput = zod.z.object({ message: zod.z.string().default("Product feedback submitted successfully").describe("Confirmation message from the API").nullable().optional() }).passthrough().describe("Response schema after submitting product feedback.");
|
|
24
24
|
const scrapegraphAiSubmitProductFeedback = require_action.action("SCRAPEGRAPH_AI_SUBMIT_PRODUCT_FEEDBACK", {
|
|
25
25
|
slug: "scrapegraph_ai-submit-product-feedback",
|
|
26
26
|
name: "Submit Product Feedback",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-product-feedback.cjs","names":["z","action"],"sources":["../../src/actions/submit-product-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitProductFeedbackInput = z.object({\n name: z.string().describe(\"Your name\").optional(),\n email: z.string().describe(\"Your email address\").optional(),\n issues: z.string().describe(\"Any issues you've encountered\").optional(),\n rating: z.number().int().describe(\"Overall rating from 1 (lowest) to 5 (highest)\").optional(),\n company: z.string().describe(\"Your company name\").optional(),\n disliked: z.string().describe(\"What you disliked about the product\").optional(),\n use_cases: z.array(z.string()).describe(\"Your use cases for the product\").optional(),\n liked_most: z.string().describe(\"What you liked most about the product\").optional(),\n setup_easy: z.boolean().describe(\"Whether the setup process was easy\").optional(),\n can_contact: z.boolean().describe(\"Whether you consent to be contacted about your feedback\").optional(),\n feedback_id: z.string().describe(\"UUID of the feedback submission\"),\n contact_method: z.string().describe(\"Preferred method of contact\").optional(),\n how_discovered: z.string().describe(\"How you discovered ScrapeGraphAI\").optional(),\n recommend_score: z.number().int().describe(\"How likely you are to recommend this product (0-10 scale)\").optional(),\n usage_frequency: z.string().describe(\"How frequently you use the product\").optional(),\n requested_features: z.string().describe(\"Features you'd like to see added\").optional(),\n improvement_suggestions: z.string().describe(\"Your suggestions for product improvements\").optional(),\n}).describe(\"Request schema for submitting product feedback about ScrapeGraphAI.\");\nexport const ScrapegraphAiSubmitProductFeedbackOutput = z.object({\n message: z.string().default(\"Product feedback submitted successfully\").describe(\"Confirmation message from the API\").nullable().optional(),\n}).describe(\"Response schema after submitting product feedback.\");\n\nexport const scrapegraphAiSubmitProductFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_PRODUCT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-product-feedback\",\n name: \"Submit Product Feedback\",\n description: \"Submit product feedback for ScrapeGraphAI. Use to provide ratings, comments, suggestions, and other feedback about the product itself.\",\n input: ScrapegraphAiSubmitProductFeedbackInput,\n output: ScrapegraphAiSubmitProductFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,yCAAyC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"submit-product-feedback.cjs","names":["z","action"],"sources":["../../src/actions/submit-product-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitProductFeedbackInput = z.object({\n name: z.string().describe(\"Your name\").optional(),\n email: z.string().describe(\"Your email address\").optional(),\n issues: z.string().describe(\"Any issues you've encountered\").optional(),\n rating: z.number().int().describe(\"Overall rating from 1 (lowest) to 5 (highest)\").optional(),\n company: z.string().describe(\"Your company name\").optional(),\n disliked: z.string().describe(\"What you disliked about the product\").optional(),\n use_cases: z.array(z.string()).describe(\"Your use cases for the product\").optional(),\n liked_most: z.string().describe(\"What you liked most about the product\").optional(),\n setup_easy: z.boolean().describe(\"Whether the setup process was easy\").optional(),\n can_contact: z.boolean().describe(\"Whether you consent to be contacted about your feedback\").optional(),\n feedback_id: z.string().describe(\"UUID of the feedback submission\"),\n contact_method: z.string().describe(\"Preferred method of contact\").optional(),\n how_discovered: z.string().describe(\"How you discovered ScrapeGraphAI\").optional(),\n recommend_score: z.number().int().describe(\"How likely you are to recommend this product (0-10 scale)\").optional(),\n usage_frequency: z.string().describe(\"How frequently you use the product\").optional(),\n requested_features: z.string().describe(\"Features you'd like to see added\").optional(),\n improvement_suggestions: z.string().describe(\"Your suggestions for product improvements\").optional(),\n}).describe(\"Request schema for submitting product feedback about ScrapeGraphAI.\");\nexport const ScrapegraphAiSubmitProductFeedbackOutput = z.object({\n message: z.string().default(\"Product feedback submitted successfully\").describe(\"Confirmation message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response schema after submitting product feedback.\");\n\nexport const scrapegraphAiSubmitProductFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_PRODUCT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-product-feedback\",\n name: \"Submit Product Feedback\",\n description: \"Submit product feedback for ScrapeGraphAI. Use to provide ratings, comments, suggestions, and other feedback about the product itself.\",\n input: ScrapegraphAiSubmitProductFeedbackInput,\n output: ScrapegraphAiSubmitProductFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,yCAAyC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,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"}
|
|
@@ -22,7 +22,7 @@ declare const ScrapegraphAiSubmitProductFeedbackInput: z.ZodObject<{
|
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const ScrapegraphAiSubmitProductFeedbackOutput: z.ZodObject<{
|
|
24
24
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const scrapegraphAiSubmitProductFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
feedback_id: string;
|
|
28
28
|
name?: string | undefined;
|
|
@@ -22,7 +22,7 @@ declare const ScrapegraphAiSubmitProductFeedbackInput: z.ZodObject<{
|
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const ScrapegraphAiSubmitProductFeedbackOutput: z.ZodObject<{
|
|
24
24
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const scrapegraphAiSubmitProductFeedback: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
feedback_id: string;
|
|
28
28
|
name?: string | undefined;
|
|
@@ -23,7 +23,7 @@ const scrapegraphAiSubmitProductFeedback = action("SCRAPEGRAPH_AI_SUBMIT_PRODUCT
|
|
|
23
23
|
requested_features: z.string().describe("Features you'd like to see added").optional(),
|
|
24
24
|
improvement_suggestions: z.string().describe("Your suggestions for product improvements").optional()
|
|
25
25
|
}).describe("Request schema for submitting product feedback about ScrapeGraphAI."),
|
|
26
|
-
output: z.object({ message: z.string().default("Product feedback submitted successfully").describe("Confirmation message from the API").nullable().optional() }).describe("Response schema after submitting product feedback.")
|
|
26
|
+
output: z.object({ message: z.string().default("Product feedback submitted successfully").describe("Confirmation message from the API").nullable().optional() }).passthrough().describe("Response schema after submitting product feedback.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { scrapegraphAiSubmitProductFeedback };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-product-feedback.mjs","names":[],"sources":["../../src/actions/submit-product-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitProductFeedbackInput = z.object({\n name: z.string().describe(\"Your name\").optional(),\n email: z.string().describe(\"Your email address\").optional(),\n issues: z.string().describe(\"Any issues you've encountered\").optional(),\n rating: z.number().int().describe(\"Overall rating from 1 (lowest) to 5 (highest)\").optional(),\n company: z.string().describe(\"Your company name\").optional(),\n disliked: z.string().describe(\"What you disliked about the product\").optional(),\n use_cases: z.array(z.string()).describe(\"Your use cases for the product\").optional(),\n liked_most: z.string().describe(\"What you liked most about the product\").optional(),\n setup_easy: z.boolean().describe(\"Whether the setup process was easy\").optional(),\n can_contact: z.boolean().describe(\"Whether you consent to be contacted about your feedback\").optional(),\n feedback_id: z.string().describe(\"UUID of the feedback submission\"),\n contact_method: z.string().describe(\"Preferred method of contact\").optional(),\n how_discovered: z.string().describe(\"How you discovered ScrapeGraphAI\").optional(),\n recommend_score: z.number().int().describe(\"How likely you are to recommend this product (0-10 scale)\").optional(),\n usage_frequency: z.string().describe(\"How frequently you use the product\").optional(),\n requested_features: z.string().describe(\"Features you'd like to see added\").optional(),\n improvement_suggestions: z.string().describe(\"Your suggestions for product improvements\").optional(),\n}).describe(\"Request schema for submitting product feedback about ScrapeGraphAI.\");\nexport const ScrapegraphAiSubmitProductFeedbackOutput = z.object({\n message: z.string().default(\"Product feedback submitted successfully\").describe(\"Confirmation message from the API\").nullable().optional(),\n}).describe(\"Response schema after submitting product feedback.\");\n\nexport const scrapegraphAiSubmitProductFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_PRODUCT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-product-feedback\",\n name: \"Submit Product Feedback\",\n description: \"Submit product feedback for ScrapeGraphAI. Use to provide ratings, comments, suggestions, and other feedback about the product itself.\",\n input: ScrapegraphAiSubmitProductFeedbackInput,\n output: ScrapegraphAiSubmitProductFeedbackOutput,\n});\n"],"mappings":";;AA2BA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAClE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,yCAAyC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"submit-product-feedback.mjs","names":[],"sources":["../../src/actions/submit-product-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitProductFeedbackInput = z.object({\n name: z.string().describe(\"Your name\").optional(),\n email: z.string().describe(\"Your email address\").optional(),\n issues: z.string().describe(\"Any issues you've encountered\").optional(),\n rating: z.number().int().describe(\"Overall rating from 1 (lowest) to 5 (highest)\").optional(),\n company: z.string().describe(\"Your company name\").optional(),\n disliked: z.string().describe(\"What you disliked about the product\").optional(),\n use_cases: z.array(z.string()).describe(\"Your use cases for the product\").optional(),\n liked_most: z.string().describe(\"What you liked most about the product\").optional(),\n setup_easy: z.boolean().describe(\"Whether the setup process was easy\").optional(),\n can_contact: z.boolean().describe(\"Whether you consent to be contacted about your feedback\").optional(),\n feedback_id: z.string().describe(\"UUID of the feedback submission\"),\n contact_method: z.string().describe(\"Preferred method of contact\").optional(),\n how_discovered: z.string().describe(\"How you discovered ScrapeGraphAI\").optional(),\n recommend_score: z.number().int().describe(\"How likely you are to recommend this product (0-10 scale)\").optional(),\n usage_frequency: z.string().describe(\"How frequently you use the product\").optional(),\n requested_features: z.string().describe(\"Features you'd like to see added\").optional(),\n improvement_suggestions: z.string().describe(\"Your suggestions for product improvements\").optional(),\n}).describe(\"Request schema for submitting product feedback about ScrapeGraphAI.\");\nexport const ScrapegraphAiSubmitProductFeedbackOutput = z.object({\n message: z.string().default(\"Product feedback submitted successfully\").describe(\"Confirmation message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response schema after submitting product feedback.\");\n\nexport const scrapegraphAiSubmitProductFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_PRODUCT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-product-feedback\",\n name: \"Submit Product Feedback\",\n description: \"Submit product feedback for ScrapeGraphAI. Use to provide ratings, comments, suggestions, and other feedback about the product itself.\",\n input: ScrapegraphAiSubmitProductFeedbackInput,\n output: ScrapegraphAiSubmitProductFeedbackOutput,\n});\n"],"mappings":";;AA2BA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAClE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,yCAAyC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
package/dist/actions/toonify.cjs
CHANGED
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/toonify.ts
|
|
4
4
|
const ScrapegraphAiToonifyInput = zod.z.object({ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The JSON data to convert to TOON (Token-Oriented Object Notation) format. Can be any valid JSON object or array. TOON format reduces token usage by 30-60% compared to JSON while maintaining structure and readability. If not provided, returns empty response.").optional() }).describe("Request schema for converting JSON data to TOON format.");
|
|
5
|
-
const ScrapegraphAiToonifyOutput = zod.z.object({ result: zod.z.string().describe("The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.").nullable() }).describe("Response schema for the toonify action.");
|
|
5
|
+
const ScrapegraphAiToonifyOutput = zod.z.object({ result: zod.z.string().describe("The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.").nullable() }).passthrough().describe("Response schema for the toonify action.");
|
|
6
6
|
const scrapegraphAiToonify = require_action.action("SCRAPEGRAPH_AI_TOONIFY", {
|
|
7
7
|
slug: "scrapegraph_ai-toonify",
|
|
8
8
|
name: "Convert JSON to TOON Format",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toonify.cjs","names":["z","action"],"sources":["../../src/actions/toonify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiToonifyInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The JSON data to convert to TOON (Token-Oriented Object Notation) format. Can be any valid JSON object or array. TOON format reduces token usage by 30-60% compared to JSON while maintaining structure and readability. If not provided, returns empty response.\").optional(),\n}).describe(\"Request schema for converting JSON data to TOON format.\");\nexport const ScrapegraphAiToonifyOutput = z.object({\n result: z.string().describe(\"The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.\").nullable(),\n}).describe(\"Response schema for the toonify action.\");\n\nexport const scrapegraphAiToonify = action(\"SCRAPEGRAPH_AI_TOONIFY\", {\n slug: \"scrapegraph_ai-toonify\",\n name: \"Convert JSON to TOON Format\",\n description: \"Tool to convert JSON data to TOON (Token-Oriented Object Notation) format. Use when you need to reduce token usage for LLM processing while maintaining data structure.\",\n input: ScrapegraphAiToonifyInput,\n output: ScrapegraphAiToonifyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ,CAAC,CAAC,SAAS,EACjU,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS,EAC9P,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"toonify.cjs","names":["z","action"],"sources":["../../src/actions/toonify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiToonifyInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The JSON data to convert to TOON (Token-Oriented Object Notation) format. Can be any valid JSON object or array. TOON format reduces token usage by 30-60% compared to JSON while maintaining structure and readability. If not provided, returns empty response.\").optional(),\n}).describe(\"Request schema for converting JSON data to TOON format.\");\nexport const ScrapegraphAiToonifyOutput = z.object({\n result: z.string().describe(\"The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.\").nullable(),\n}).passthrough().describe(\"Response schema for the toonify action.\");\n\nexport const scrapegraphAiToonify = action(\"SCRAPEGRAPH_AI_TOONIFY\", {\n slug: \"scrapegraph_ai-toonify\",\n name: \"Convert JSON to TOON Format\",\n description: \"Tool to convert JSON data to TOON (Token-Oriented Object Notation) format. Use when you need to reduce token usage for LLM processing while maintaining data structure.\",\n input: ScrapegraphAiToonifyInput,\n output: ScrapegraphAiToonifyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ,CAAC,CAAC,SAAS,EACjU,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS,EAC9P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const ScrapegraphAiToonifyInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const ScrapegraphAiToonifyOutput: z.ZodObject<{
|
|
8
8
|
result: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const scrapegraphAiToonify: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
data?: Record<string, unknown> | undefined;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const ScrapegraphAiToonifyInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const ScrapegraphAiToonifyOutput: z.ZodObject<{
|
|
8
8
|
result: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const scrapegraphAiToonify: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
data?: Record<string, unknown> | undefined;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
package/dist/actions/toonify.mjs
CHANGED
|
@@ -5,7 +5,7 @@ const scrapegraphAiToonify = action("SCRAPEGRAPH_AI_TOONIFY", {
|
|
|
5
5
|
name: "Convert JSON to TOON Format",
|
|
6
6
|
description: "Tool to convert JSON data to TOON (Token-Oriented Object Notation) format. Use when you need to reduce token usage for LLM processing while maintaining data structure.",
|
|
7
7
|
input: z.object({ data: z.record(z.string(), z.unknown()).describe("The JSON data to convert to TOON (Token-Oriented Object Notation) format. Can be any valid JSON object or array. TOON format reduces token usage by 30-60% compared to JSON while maintaining structure and readability. If not provided, returns empty response.").optional() }).describe("Request schema for converting JSON data to TOON format."),
|
|
8
|
-
output: z.object({ result: z.string().describe("The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.").nullable() }).describe("Response schema for the toonify action.")
|
|
8
|
+
output: z.object({ result: z.string().describe("The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.").nullable() }).passthrough().describe("Response schema for the toonify action.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { scrapegraphAiToonify };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toonify.mjs","names":[],"sources":["../../src/actions/toonify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiToonifyInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The JSON data to convert to TOON (Token-Oriented Object Notation) format. Can be any valid JSON object or array. TOON format reduces token usage by 30-60% compared to JSON while maintaining structure and readability. If not provided, returns empty response.\").optional(),\n}).describe(\"Request schema for converting JSON data to TOON format.\");\nexport const ScrapegraphAiToonifyOutput = z.object({\n result: z.string().describe(\"The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.\").nullable(),\n}).describe(\"Response schema for the toonify action.\");\n\nexport const scrapegraphAiToonify = action(\"SCRAPEGRAPH_AI_TOONIFY\", {\n slug: \"scrapegraph_ai-toonify\",\n name: \"Convert JSON to TOON Format\",\n description: \"Tool to convert JSON data to TOON (Token-Oriented Object Notation) format. Use when you need to reduce token usage for LLM processing while maintaining data structure.\",\n input: ScrapegraphAiToonifyInput,\n output: ScrapegraphAiToonifyOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ,CAAC,CAAC,SAAS,EACjU,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QATwC,EAAE,OAAO,EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS,EAC9P,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"toonify.mjs","names":[],"sources":["../../src/actions/toonify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiToonifyInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The JSON data to convert to TOON (Token-Oriented Object Notation) format. Can be any valid JSON object or array. TOON format reduces token usage by 30-60% compared to JSON while maintaining structure and readability. If not provided, returns empty response.\").optional(),\n}).describe(\"Request schema for converting JSON data to TOON format.\");\nexport const ScrapegraphAiToonifyOutput = z.object({\n result: z.string().describe(\"The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.\").nullable(),\n}).passthrough().describe(\"Response schema for the toonify action.\");\n\nexport const scrapegraphAiToonify = action(\"SCRAPEGRAPH_AI_TOONIFY\", {\n slug: \"scrapegraph_ai-toonify\",\n name: \"Convert JSON to TOON Format\",\n description: \"Tool to convert JSON data to TOON (Token-Oriented Object Notation) format. Use when you need to reduce token usage for LLM processing while maintaining data structure.\",\n input: ScrapegraphAiToonifyInput,\n output: ScrapegraphAiToonifyOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ,CAAC,CAAC,SAAS,EACjU,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QATwC,EAAE,OAAO,EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS,EAC9P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ScrapegraphAiValidateApiKeyInput = zod.z.object({}).describe("Request sche
|
|
|
5
5
|
const ScrapegraphAiValidateApiKeyOutput = zod.z.object({
|
|
6
6
|
valid: zod.z.boolean().describe("Whether the API key is valid and active for use with ScrapeGraphAI services.").nullable(),
|
|
7
7
|
message: zod.z.string().describe("Additional information about the validation result or error details if validation failed.").nullable().optional()
|
|
8
|
-
}).describe("Response schema for API key validation results.");
|
|
8
|
+
}).passthrough().describe("Response schema for API key validation results.");
|
|
9
9
|
const scrapegraphAiValidateApiKey = require_action.action("SCRAPEGRAPH_AI_VALIDATE_API_KEY", {
|
|
10
10
|
slug: "scrapegraph_ai-validate-api-key",
|
|
11
11
|
name: "Validate API Key",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-api-key.cjs","names":["z","action"],"sources":["../../src/actions/validate-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiValidateApiKeyInput = z.object({}).describe(\"Request schema for validating your ScrapeGraphAI API key.\");\nexport const ScrapegraphAiValidateApiKeyOutput = z.object({\n valid: z.boolean().describe(\"Whether the API key is valid and active for use with ScrapeGraphAI services.\").nullable(),\n message: z.string().describe(\"Additional information about the validation result or error details if validation failed.\").nullable().optional(),\n}).describe(\"Response schema for API key validation results.\");\n\nexport const scrapegraphAiValidateApiKey = action(\"SCRAPEGRAPH_AI_VALIDATE_API_KEY\", {\n slug: \"scrapegraph_ai-validate-api-key\",\n name: \"Validate API Key\",\n description: \"Validate your ScrapeGraphAI API key to ensure it is active and authorized. Use this action to check API key validity before making other API calls.\",\n input: ScrapegraphAiValidateApiKeyInput,\n output: ScrapegraphAiValidateApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACjI,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"validate-api-key.cjs","names":["z","action"],"sources":["../../src/actions/validate-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiValidateApiKeyInput = z.object({}).describe(\"Request schema for validating your ScrapeGraphAI API key.\");\nexport const ScrapegraphAiValidateApiKeyOutput = z.object({\n valid: z.boolean().describe(\"Whether the API key is valid and active for use with ScrapeGraphAI services.\").nullable(),\n message: z.string().describe(\"Additional information about the validation result or error details if validation failed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for API key validation results.\");\n\nexport const scrapegraphAiValidateApiKey = action(\"SCRAPEGRAPH_AI_VALIDATE_API_KEY\", {\n slug: \"scrapegraph_ai-validate-api-key\",\n name: \"Validate API Key\",\n description: \"Validate your ScrapeGraphAI API key to ensure it is active and authorized. Use this action to check API key validity before making other API calls.\",\n input: ScrapegraphAiValidateApiKeyInput,\n output: ScrapegraphAiValidateApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACjI,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ declare const ScrapegraphAiValidateApiKeyInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const ScrapegraphAiValidateApiKeyOutput: z.ZodObject<{
|
|
6
6
|
valid: z.ZodNullable<z.ZodBoolean>;
|
|
7
7
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>;
|
|
9
9
|
declare const scrapegraphAiValidateApiKey: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { scrapegraphAiValidateApiKey };
|
|
@@ -5,7 +5,7 @@ declare const ScrapegraphAiValidateApiKeyInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const ScrapegraphAiValidateApiKeyOutput: z.ZodObject<{
|
|
6
6
|
valid: z.ZodNullable<z.ZodBoolean>;
|
|
7
7
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>;
|
|
9
9
|
declare const scrapegraphAiValidateApiKey: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { scrapegraphAiValidateApiKey };
|
|
@@ -8,7 +8,7 @@ const scrapegraphAiValidateApiKey = action("SCRAPEGRAPH_AI_VALIDATE_API_KEY", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
valid: z.boolean().describe("Whether the API key is valid and active for use with ScrapeGraphAI services.").nullable(),
|
|
10
10
|
message: z.string().describe("Additional information about the validation result or error details if validation failed.").nullable().optional()
|
|
11
|
-
}).describe("Response schema for API key validation results.")
|
|
11
|
+
}).passthrough().describe("Response schema for API key validation results.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { scrapegraphAiValidateApiKey };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-api-key.mjs","names":[],"sources":["../../src/actions/validate-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiValidateApiKeyInput = z.object({}).describe(\"Request schema for validating your ScrapeGraphAI API key.\");\nexport const ScrapegraphAiValidateApiKeyOutput = z.object({\n valid: z.boolean().describe(\"Whether the API key is valid and active for use with ScrapeGraphAI services.\").nullable(),\n message: z.string().describe(\"Additional information about the validation result or error details if validation failed.\").nullable().optional(),\n}).describe(\"Response schema for API key validation results.\");\n\nexport const scrapegraphAiValidateApiKey = action(\"SCRAPEGRAPH_AI_VALIDATE_API_KEY\", {\n slug: \"scrapegraph_ai-validate-api-key\",\n name: \"Validate API Key\",\n description: \"Validate your ScrapeGraphAI API key to ensure it is active and authorized. Use this action to check API key validity before making other API calls.\",\n input: ScrapegraphAiValidateApiKeyInput,\n output: ScrapegraphAiValidateApiKeyOutput,\n});\n"],"mappings":";;AAUA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAU7D;CACP,QAV+C,EAAE,OAAO;EACxD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACrH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"validate-api-key.mjs","names":[],"sources":["../../src/actions/validate-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiValidateApiKeyInput = z.object({}).describe(\"Request schema for validating your ScrapeGraphAI API key.\");\nexport const ScrapegraphAiValidateApiKeyOutput = z.object({\n valid: z.boolean().describe(\"Whether the API key is valid and active for use with ScrapeGraphAI services.\").nullable(),\n message: z.string().describe(\"Additional information about the validation result or error details if validation failed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for API key validation results.\");\n\nexport const scrapegraphAiValidateApiKey = action(\"SCRAPEGRAPH_AI_VALIDATE_API_KEY\", {\n slug: \"scrapegraph_ai-validate-api-key\",\n name: \"Validate API Key\",\n description: \"Validate your ScrapeGraphAI API key to ensure it is active and authorized. Use this action to check API key validity before making other API calls.\",\n input: ScrapegraphAiValidateApiKeyInput,\n output: ScrapegraphAiValidateApiKeyOutput,\n});\n"],"mappings":";;AAUA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAU7D;CACP,QAV+C,EAAE,OAAO;EACxD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACrH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const scrapegraphAiCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/scrapegraph_ai",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "ScrapeGraphAI API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your ScrapeGraphAI API key (from https://dashboard.scrapegraphai.com)"
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scrapegraphAiCatalog = {\n \"slug\": \"scrapegraph_ai\",\n \"name\": \"Scrapegraph Ai\",\n \"description\": \"ScrapeGraphAI is an AI-powered web scraping API that enables developers to extract structured data from any website using natural language prompts. Website https://scrapegraphai.com\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/scrapegraph_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scrapegraphAiCatalog = {\n \"slug\": \"scrapegraph_ai\",\n \"name\": \"Scrapegraph Ai\",\n \"description\": \"ScrapeGraphAI is an AI-powered web scraping API that enables developers to extract structured data from any website using natural language prompts. Website https://scrapegraphai.com\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/scrapegraph_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"ScrapeGraphAI API Key\",\n \"secret\": true,\n \"description\": \"Your ScrapeGraphAI API key (from https://dashboard.scrapegraphai.com)\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const scrapegraphAiCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "ScrapeGraphAI API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your ScrapeGraphAI API key (from https://dashboard.scrapegraphai.com)";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const scrapegraphAiCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "ScrapeGraphAI API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your ScrapeGraphAI API key (from https://dashboard.scrapegraphai.com)";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const scrapegraphAiCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/scrapegraph_ai",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "ScrapeGraphAI API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your ScrapeGraphAI API key (from https://dashboard.scrapegraphai.com)"
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scrapegraphAiCatalog = {\n \"slug\": \"scrapegraph_ai\",\n \"name\": \"Scrapegraph Ai\",\n \"description\": \"ScrapeGraphAI is an AI-powered web scraping API that enables developers to extract structured data from any website using natural language prompts. Website https://scrapegraphai.com\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/scrapegraph_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scrapegraphAiCatalog = {\n \"slug\": \"scrapegraph_ai\",\n \"name\": \"Scrapegraph Ai\",\n \"description\": \"ScrapeGraphAI is an AI-powered web scraping API that enables developers to extract structured data from any website using natural language prompts. Website https://scrapegraphai.com\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/scrapegraph_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"ScrapeGraphAI API Key\",\n \"secret\": true,\n \"description\": \"Your ScrapeGraphAI API key (from https://dashboard.scrapegraphai.com)\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|