@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":"get-smartscraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-smartscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSmartscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1). Use to navigate through multiple pages of history.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page (1-100). Default is 10.\").optional(),\n}).describe(\"Request schema for retrieving smartscraper job history.\");\nconst ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object({\n error: z.unknown().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.unknown().describe(\"Extracted data from the website. Only populated when status is 'completed'.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.unknown().describe(\"Internal identifier for the user who submitted the request\").nullable().optional(),\n metadata: z.unknown().describe(\"Additional metadata associated with the request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n webpage_id: z.unknown().describe(\"Internal identifier for the webpage being scraped\").nullable().optional(),\n finished_at: z.unknown().describe(\"ISO 8601 timestamp when the request finished processing. Null if still in progress.\").nullable().optional(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.unknown().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted\").nullable(),\n output_schema: z.unknown().describe(\"JSON Schema defining the structure of extracted data\").nullable().optional(),\n request_params: z.unknown().describe(\"Parameters used for the scraping request (headers, cookies, output_schema, etc.)\").nullable().optional(),\n}).describe(\"Individual smartscraper request record from history.\");\nexport const ScrapegraphAiGetSmartscraperHistoryOutput = z.object({\n next_key: z.unknown().describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe(\"List of smartscraper requests in the current page, ordered by most recent first\"),\n}).describe(\"Response schema containing smartscraper job history.\");\n\nexport const scrapegraphAiGetSmartscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-smartscraper-history\",\n name: \"Get Smartscraper History\",\n description: \"Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.\",\n input: ScrapegraphAiGetSmartscraperHistoryInput,\n output: ScrapegraphAiGetSmartscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CA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FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"get-smartscraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-smartscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSmartscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1). Use to navigate through multiple pages of history.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page (1-100). Default is 10.\").optional(),\n}).describe(\"Request schema for retrieving smartscraper job history.\");\nconst ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object({\n error: z.unknown().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.unknown().describe(\"Extracted data from the website. Only populated when status is 'completed'.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.unknown().describe(\"Internal identifier for the user who submitted the request\").nullable().optional(),\n metadata: z.unknown().describe(\"Additional metadata associated with the request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n webpage_id: z.unknown().describe(\"Internal identifier for the webpage being scraped\").nullable().optional(),\n finished_at: z.unknown().describe(\"ISO 8601 timestamp when the request finished processing. Null if still in progress.\").nullable().optional(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.unknown().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted\").nullable(),\n output_schema: z.unknown().describe(\"JSON Schema defining the structure of extracted data\").nullable().optional(),\n request_params: z.unknown().describe(\"Parameters used for the scraping request (headers, cookies, output_schema, etc.)\").nullable().optional(),\n}).passthrough().describe(\"Individual smartscraper request record from history.\");\nexport const ScrapegraphAiGetSmartscraperHistoryOutput = z.object({\n next_key: z.unknown().describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe(\"List of smartscraper requests in the current page, ordered by most recent first\"),\n}).passthrough().describe(\"Response schema containing smartscraper job history.\");\n\nexport const scrapegraphAiGetSmartscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-smartscraper-history\",\n name: \"Get Smartscraper History\",\n description: \"Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.\",\n input: ScrapegraphAiGetSmartscraperHistoryInput,\n output: ScrapegraphAiGetSmartscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kEAAkEA,IAAAA,EAAE,OAAO;CAC/E,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,Q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CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,UAAUA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,iFAAiF;AAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,8 +21,8 @@ declare const ScrapegraphAiGetSmartscraperHistoryOutput: z.ZodObject<{
|
|
|
21
21
|
requested_at: z.ZodNullable<z.ZodString>;
|
|
22
22
|
output_schema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
23
23
|
request_params: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const scrapegraphAiGetSmartscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
page?: number | undefined;
|
|
28
28
|
page_size?: number | undefined;
|
|
@@ -21,8 +21,8 @@ declare const ScrapegraphAiGetSmartscraperHistoryOutput: z.ZodObject<{
|
|
|
21
21
|
requested_at: z.ZodNullable<z.ZodString>;
|
|
22
22
|
output_schema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
23
23
|
request_params: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const scrapegraphAiGetSmartscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
page?: number | undefined;
|
|
28
28
|
page_size?: number | undefined;
|
|
@@ -19,7 +19,7 @@ const ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object
|
|
|
19
19
|
requested_at: z.string().describe("ISO 8601 timestamp when the request was submitted").nullable(),
|
|
20
20
|
output_schema: z.unknown().describe("JSON Schema defining the structure of extracted data").nullable().optional(),
|
|
21
21
|
request_params: z.unknown().describe("Parameters used for the scraping request (headers, cookies, output_schema, etc.)").nullable().optional()
|
|
22
|
-
}).describe("Individual smartscraper request record from history.");
|
|
22
|
+
}).passthrough().describe("Individual smartscraper request record from history.");
|
|
23
23
|
const scrapegraphAiGetSmartscraperHistory = action("SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY", {
|
|
24
24
|
slug: "scrapegraph_ai-get-smartscraper-history",
|
|
25
25
|
name: "Get Smartscraper History",
|
|
@@ -28,7 +28,7 @@ const scrapegraphAiGetSmartscraperHistory = action("SCRAPEGRAPH_AI_GET_SMARTSCRA
|
|
|
28
28
|
output: z.object({
|
|
29
29
|
next_key: z.unknown().describe("Pagination token for fetching the next page of results. Null if no more pages.").nullable().optional(),
|
|
30
30
|
requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe("List of smartscraper requests in the current page, ordered by most recent first")
|
|
31
|
-
}).describe("Response schema containing smartscraper job history.")
|
|
31
|
+
}).passthrough().describe("Response schema containing smartscraper job history.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { scrapegraphAiGetSmartscraperHistory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-smartscraper-history.mjs","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSmartscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1). Use to navigate through multiple pages of history.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page (1-100). Default is 10.\").optional(),\n}).describe(\"Request schema for retrieving smartscraper job history.\");\nconst ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object({\n error: z.unknown().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.unknown().describe(\"Extracted data from the website. Only populated when status is 'completed'.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.unknown().describe(\"Internal identifier for the user who submitted the request\").nullable().optional(),\n metadata: z.unknown().describe(\"Additional metadata associated with the request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n webpage_id: z.unknown().describe(\"Internal identifier for the webpage being scraped\").nullable().optional(),\n finished_at: z.unknown().describe(\"ISO 8601 timestamp when the request finished processing. Null if still in progress.\").nullable().optional(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.unknown().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted\").nullable(),\n output_schema: z.unknown().describe(\"JSON Schema defining the structure of extracted data\").nullable().optional(),\n request_params: z.unknown().describe(\"Parameters used for the scraping request (headers, cookies, output_schema, etc.)\").nullable().optional(),\n}).describe(\"Individual smartscraper request record from history.\");\nexport const ScrapegraphAiGetSmartscraperHistoryOutput = z.object({\n next_key: z.unknown().describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe(\"List of smartscraper requests in the current page, ordered by most recent first\"),\n}).describe(\"Response schema containing smartscraper job history.\");\n\nexport const scrapegraphAiGetSmartscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-smartscraper-history\",\n name: \"Get Smartscraper History\",\n description: \"Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.\",\n input: ScrapegraphAiGetSmartscraperHistoryInput,\n output: Scr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c,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"get-smartscraper-history.mjs","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSmartscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1). Use to navigate through multiple pages of history.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page (1-100). Default is 10.\").optional(),\n}).describe(\"Request schema for retrieving smartscraper job history.\");\nconst ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object({\n error: z.unknown().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.unknown().describe(\"Extracted data from the website. Only populated when status is 'completed'.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.unknown().describe(\"Internal identifier for the user who submitted the request\").nullable().optional(),\n metadata: z.unknown().describe(\"Additional metadata associated with the request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n webpage_id: z.unknown().describe(\"Internal identifier for the webpage being scraped\").nullable().optional(),\n finished_at: z.unknown().describe(\"ISO 8601 timestamp when the request finished processing. Null if still in progress.\").nullable().optional(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.unknown().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted\").nullable(),\n output_schema: z.unknown().describe(\"JSON Schema defining the structure of extracted data\").nullable().optional(),\n request_params: z.unknown().describe(\"Parameters used for the scraping request (headers, cookies, output_schema, etc.)\").nullable().optional(),\n}).passthrough().describe(\"Individual smartscraper request record from history.\");\nexport const ScrapegraphAiGetSmartscraperHistoryOutput = z.object({\n next_key: z.unknown().describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe(\"List of smartscraper requests in the current page, ordered by most recent first\"),\n}).passthrough().describe(\"Response schema containing smartscraper job history.\");\n\nexport const scrapegraphAiGetSmartscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-smartscraper-history\",\n name: \"Get Smartscraper History\",\n description: \"Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.\",\n input: ScrapegraphAiGetSmartscraperHistoryInput,\n output: ScrapegraphAiGetSmartscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpJ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kEAAkE,EAAE,OAAO;CAC/E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,i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OhB;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const ScrapegraphAiGetUsageTimelineInput = zod.z.object({ days: zod.z.enum([
|
|
|
10
10
|
const ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = zod.z.object({
|
|
11
11
|
service: zod.z.string().describe("Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').").nullable(),
|
|
12
12
|
timestamp: zod.z.string().describe("ISO 8601 timestamp when the service was accessed.").nullable()
|
|
13
|
-
}).describe("Individual usage timeline entry representing a service usage event.");
|
|
14
|
-
const ScrapegraphAiGetUsageTimelineOutput = zod.z.object({ timeline: zod.z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe("Ordered list of service usage events with timestamps, suitable for chart rendering.") }).describe("Response schema containing usage timeline data for account visualization.");
|
|
13
|
+
}).passthrough().describe("Individual usage timeline entry representing a service usage event.");
|
|
14
|
+
const ScrapegraphAiGetUsageTimelineOutput = zod.z.object({ timeline: zod.z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe("Ordered list of service usage events with timestamps, suitable for chart rendering.") }).passthrough().describe("Response schema containing usage timeline data for account visualization.");
|
|
15
15
|
const scrapegraphAiGetUsageTimeline = require_action.action("SCRAPEGRAPH_AI_GET_USAGE_TIMELINE", {
|
|
16
16
|
slug: "scrapegraph_ai-get-usage-timeline",
|
|
17
17
|
name: "Get Usage Timeline",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage-timeline.cjs","names":["z","action"],"sources":["../../src/actions/get-usage-timeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetUsageTimelineInput = z.object({\n days: z.enum([\"7\", \"14\", \"30\", \"all\"]).default(\"all\").describe(\"Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.\").optional(),\n}).describe(\"Request schema for retrieving usage timeline statistics.\");\nconst ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({\n service: z.string().describe(\"Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the service was accessed.\").nullable(),\n}).describe(\"Individual usage timeline entry representing a service usage event.\");\nexport const ScrapegraphAiGetUsageTimelineOutput = z.object({\n timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe(\"Ordered list of service usage events with timestamps, suitable for chart rendering.\"),\n}).describe(\"Response schema containing usage timeline data for account visualization.\");\n\nexport const scrapegraphAiGetUsageTimeline = action(\"SCRAPEGRAPH_AI_GET_USAGE_TIMELINE\", {\n slug: \"scrapegraph_ai-get-usage-timeline\",\n name: \"Get Usage Timeline\",\n description: \"Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.\",\n input: ScrapegraphAiGetUsageTimelineInput,\n output: ScrapegraphAiGetUsageTimelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAK;CAAM;CAAM;AAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,EAC1N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,qEAAqE;
|
|
1
|
+
{"version":3,"file":"get-usage-timeline.cjs","names":["z","action"],"sources":["../../src/actions/get-usage-timeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetUsageTimelineInput = z.object({\n days: z.enum([\"7\", \"14\", \"30\", \"all\"]).default(\"all\").describe(\"Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.\").optional(),\n}).describe(\"Request schema for retrieving usage timeline statistics.\");\nconst ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({\n service: z.string().describe(\"Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the service was accessed.\").nullable(),\n}).passthrough().describe(\"Individual usage timeline entry representing a service usage event.\");\nexport const ScrapegraphAiGetUsageTimelineOutput = z.object({\n timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe(\"Ordered list of service usage events with timestamps, suitable for chart rendering.\"),\n}).passthrough().describe(\"Response schema containing usage timeline data for account visualization.\");\n\nexport const scrapegraphAiGetUsageTimeline = action(\"SCRAPEGRAPH_AI_GET_USAGE_TIMELINE\", {\n slug: \"scrapegraph_ai-get-usage-timeline\",\n name: \"Get Usage Timeline\",\n description: \"Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.\",\n input: ScrapegraphAiGetUsageTimelineInput,\n output: ScrapegraphAiGetUsageTimelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAK;CAAM;CAAM;AAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,EAC1N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,UAAUA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qFAAqF,EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ declare const ScrapegraphAiGetUsageTimelineOutput: z.ZodObject<{
|
|
|
13
13
|
timeline: z.ZodArray<z.ZodObject<{
|
|
14
14
|
service: z.ZodNullable<z.ZodString>;
|
|
15
15
|
timestamp: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const scrapegraphAiGetUsageTimeline: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
days?: "7" | "14" | "30" | "all" | undefined;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -13,8 +13,8 @@ declare const ScrapegraphAiGetUsageTimelineOutput: z.ZodObject<{
|
|
|
13
13
|
timeline: z.ZodArray<z.ZodObject<{
|
|
14
14
|
service: z.ZodNullable<z.ZodString>;
|
|
15
15
|
timestamp: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const scrapegraphAiGetUsageTimeline: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
days?: "7" | "14" | "30" | "all" | undefined;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,13 +10,13 @@ const ScrapegraphAiGetUsageTimelineInput = z.object({ days: z.enum([
|
|
|
10
10
|
const ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({
|
|
11
11
|
service: z.string().describe("Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').").nullable(),
|
|
12
12
|
timestamp: z.string().describe("ISO 8601 timestamp when the service was accessed.").nullable()
|
|
13
|
-
}).describe("Individual usage timeline entry representing a service usage event.");
|
|
13
|
+
}).passthrough().describe("Individual usage timeline entry representing a service usage event.");
|
|
14
14
|
const scrapegraphAiGetUsageTimeline = action("SCRAPEGRAPH_AI_GET_USAGE_TIMELINE", {
|
|
15
15
|
slug: "scrapegraph_ai-get-usage-timeline",
|
|
16
16
|
name: "Get Usage Timeline",
|
|
17
17
|
description: "Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.",
|
|
18
18
|
input: ScrapegraphAiGetUsageTimelineInput,
|
|
19
|
-
output: z.object({ timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe("Ordered list of service usage events with timestamps, suitable for chart rendering.") }).describe("Response schema containing usage timeline data for account visualization.")
|
|
19
|
+
output: z.object({ timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe("Ordered list of service usage events with timestamps, suitable for chart rendering.") }).passthrough().describe("Response schema containing usage timeline data for account visualization.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { scrapegraphAiGetUsageTimeline };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage-timeline.mjs","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetUsageTimelineInput = z.object({\n days: z.enum([\"7\", \"14\", \"30\", \"all\"]).default(\"all\").describe(\"Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.\").optional(),\n}).describe(\"Request schema for retrieving usage timeline statistics.\");\nconst ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({\n service: z.string().describe(\"Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the service was accessed.\").nullable(),\n}).describe(\"Individual usage timeline entry representing a service usage event.\");\nexport const ScrapegraphAiGetUsageTimelineOutput = z.object({\n timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe(\"Ordered list of service usage events with timestamps, suitable for chart rendering.\"),\n}).describe(\"Response schema containing usage timeline data for account visualization.\");\n\nexport const scrapegraphAiGetUsageTimeline = action(\"SCRAPEGRAPH_AI_GET_USAGE_TIMELINE\", {\n slug: \"scrapegraph_ai-get-usage-timeline\",\n name: \"Get Usage Timeline\",\n description: \"Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.\",\n input: ScrapegraphAiGetUsageTimelineInput,\n output: ScrapegraphAiGetUsageTimelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,EACzD,MAAM,EAAE,KAAK;CAAC;CAAK;CAAM;CAAM;AAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,EAC1N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oDAAoD,EAAE,OAAO;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,qEAAqE;
|
|
1
|
+
{"version":3,"file":"get-usage-timeline.mjs","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetUsageTimelineInput = z.object({\n days: z.enum([\"7\", \"14\", \"30\", \"all\"]).default(\"all\").describe(\"Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.\").optional(),\n}).describe(\"Request schema for retrieving usage timeline statistics.\");\nconst ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({\n service: z.string().describe(\"Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the service was accessed.\").nullable(),\n}).passthrough().describe(\"Individual usage timeline entry representing a service usage event.\");\nexport const ScrapegraphAiGetUsageTimelineOutput = z.object({\n timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe(\"Ordered list of service usage events with timestamps, suitable for chart rendering.\"),\n}).passthrough().describe(\"Response schema containing usage timeline data for account visualization.\");\n\nexport const scrapegraphAiGetUsageTimeline = action(\"SCRAPEGRAPH_AI_GET_USAGE_TIMELINE\", {\n slug: \"scrapegraph_ai-get-usage-timeline\",\n name: \"Get Usage Timeline\",\n description: \"Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.\",\n input: ScrapegraphAiGetUsageTimelineInput,\n output: ScrapegraphAiGetUsageTimelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,EACzD,MAAM,EAAE,KAAK;CAAC;CAAK;CAAM;CAAM;AAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,EAC1N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oDAAoD,EAAE,OAAO;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAK/F,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,UAAU,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qFAAqF,EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAOhB;AACV,CAAC"}
|
|
@@ -12,11 +12,11 @@ const ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema = zod.z.object({
|
|
|
12
12
|
error_message: zod.z.string().describe("Error message if the webhook delivery failed.").nullable().optional(),
|
|
13
13
|
response_code: zod.z.number().int().describe("HTTP status code returned by the webhook endpoint.").nullable().optional(),
|
|
14
14
|
attempt_number: zod.z.number().int().describe("The attempt number for this delivery (for retries).").nullable().optional()
|
|
15
|
-
}).describe("Represents a single webhook delivery log entry.");
|
|
15
|
+
}).passthrough().describe("Represents a single webhook delivery log entry.");
|
|
16
16
|
const ScrapegraphAiGetWebhookLogsOutput = zod.z.object({
|
|
17
17
|
logs: zod.z.array(ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema).describe("List of webhook delivery log entries for the specified crawler job.").nullable().optional(),
|
|
18
18
|
total_count: zod.z.number().int().describe("Total number of webhook delivery attempts.").nullable().optional()
|
|
19
|
-
}).describe("Response model for retrieving webhook delivery logs.");
|
|
19
|
+
}).passthrough().describe("Response model for retrieving webhook delivery logs.");
|
|
20
20
|
const scrapegraphAiGetWebhookLogs = require_action.action("SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS", {
|
|
21
21
|
slug: "scrapegraph_ai-get-webhook-logs",
|
|
22
22
|
name: "Get Webhook Logs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-logs.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetWebhookLogsInput = z.object({\n crawler_id: z.string().describe(\"The unique identifier of the crawler job to retrieve webhook logs for. Obtained from starting a crawler job.\"),\n}).describe(\"Request model for retrieving webhook delivery logs for a crawler job.\");\nconst ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema = z.object({\n url: z.string().describe(\"The webhook URL that was called.\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook delivery (e.g., 'success', 'failed', 'pending').\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"The payload that was sent to the webhook endpoint.\").nullable().optional(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of when the webhook was sent.\").nullable().optional(),\n crawler_id: z.string().describe(\"The crawler job ID associated with this webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for this webhook delivery attempt.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if the webhook delivery failed.\").nullable().optional(),\n response_code: z.number().int().describe(\"HTTP status code returned by the webhook endpoint.\").nullable().optional(),\n attempt_number: z.number().int().describe(\"The attempt number for this delivery (for retries).\").nullable().optional(),\n}).describe(\"Represents a single webhook delivery log entry.\");\nexport const ScrapegraphAiGetWebhookLogsOutput = z.object({\n logs: z.array(ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema).describe(\"List of webhook delivery log entries for the specified crawler job.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of webhook delivery attempts.\").nullable().optional(),\n}).describe(\"Response model for retrieving webhook delivery logs.\");\n\nexport const scrapegraphAiGetWebhookLogs = action(\"SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS\", {\n slug: \"scrapegraph_ai-get-webhook-logs\",\n name: \"Get Webhook Logs\",\n description: \"Tool to retrieve webhook delivery logs for a crawler job. Use when you need to check the status and history of webhook notifications sent for a specific crawler execution.\",\n input: ScrapegraphAiGetWebhookLogsInput,\n output: ScrapegraphAiGetWebhookLogsOutput,\n});\n"],"mapp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../../src/actions/get-webhook-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetWebhookLogsInput = z.object({\n crawler_id: z.string().describe(\"The unique identifier of the crawler job to retrieve webhook logs for. Obtained from starting a crawler job.\"),\n}).describe(\"Request model for retrieving webhook delivery logs for a crawler job.\");\nconst ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema = z.object({\n url: z.string().describe(\"The webhook URL that was called.\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook delivery (e.g., 'success', 'failed', 'pending').\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"The payload that was sent to the webhook endpoint.\").nullable().optional(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of when the webhook was sent.\").nullable().optional(),\n crawler_id: z.string().describe(\"The crawler job ID associated with this webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for this webhook delivery attempt.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if the webhook delivery failed.\").nullable().optional(),\n response_code: z.number().int().describe(\"HTTP status code returned by the webhook endpoint.\").nullable().optional(),\n attempt_number: z.number().int().describe(\"The attempt number for this delivery (for retries).\").nullable().optional(),\n}).passthrough().describe(\"Represents a single webhook delivery log entry.\");\nexport const ScrapegraphAiGetWebhookLogsOutput = z.object({\n logs: z.array(ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema).describe(\"List of webhook delivery log entries for the specified crawler job.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of webhook delivery attempts.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving webhook delivery logs.\");\n\nexport const scrapegraphAiGetWebhookLogs = action(\"SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS\", {\n slug: \"scrapegraph_ai-get-webhook-logs\",\n name: \"Get Webhook Logs\",\n description: \"Tool to retrieve webhook delivery logs for a crawler job. Use when you need to check the status and history of webhook notifications sent for a specific crawler execution.\",\n input: ScrapegraphAiGetWebhookLogsInput,\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iD;AAC3E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,9 +15,9 @@ declare const ScrapegraphAiGetWebhookLogsOutput: z.ZodObject<{
|
|
|
15
15
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
response_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
attempt_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
19
|
total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const scrapegraphAiGetWebhookLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
crawler_id: string;
|
|
23
23
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,9 +15,9 @@ declare const ScrapegraphAiGetWebhookLogsOutput: z.ZodObject<{
|
|
|
15
15
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
response_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
attempt_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
19
|
total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const scrapegraphAiGetWebhookLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
crawler_id: string;
|
|
23
23
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,7 +12,7 @@ const ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema = z.object({
|
|
|
12
12
|
error_message: z.string().describe("Error message if the webhook delivery failed.").nullable().optional(),
|
|
13
13
|
response_code: z.number().int().describe("HTTP status code returned by the webhook endpoint.").nullable().optional(),
|
|
14
14
|
attempt_number: z.number().int().describe("The attempt number for this delivery (for retries).").nullable().optional()
|
|
15
|
-
}).describe("Represents a single webhook delivery log entry.");
|
|
15
|
+
}).passthrough().describe("Represents a single webhook delivery log entry.");
|
|
16
16
|
const scrapegraphAiGetWebhookLogs = action("SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS", {
|
|
17
17
|
slug: "scrapegraph_ai-get-webhook-logs",
|
|
18
18
|
name: "Get Webhook Logs",
|
|
@@ -21,7 +21,7 @@ const scrapegraphAiGetWebhookLogs = action("SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS", {
|
|
|
21
21
|
output: z.object({
|
|
22
22
|
logs: z.array(ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema).describe("List of webhook delivery log entries for the specified crawler job.").nullable().optional(),
|
|
23
23
|
total_count: z.number().int().describe("Total number of webhook delivery attempts.").nullable().optional()
|
|
24
|
-
}).describe("Response model for retrieving webhook delivery logs.")
|
|
24
|
+
}).passthrough().describe("Response model for retrieving webhook delivery logs.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { scrapegraphAiGetWebhookLogs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-logs.mjs","names":[],"sources":["../../src/actions/get-webhook-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetWebhookLogsInput = z.object({\n crawler_id: z.string().describe(\"The unique identifier of the crawler job to retrieve webhook logs for. Obtained from starting a crawler job.\"),\n}).describe(\"Request model for retrieving webhook delivery logs for a crawler job.\");\nconst ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema = z.object({\n url: z.string().describe(\"The webhook URL that was called.\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook delivery (e.g., 'success', 'failed', 'pending').\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"The payload that was sent to the webhook endpoint.\").nullable().optional(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of when the webhook was sent.\").nullable().optional(),\n crawler_id: z.string().describe(\"The crawler job ID associated with this webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for this webhook delivery attempt.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if the webhook delivery failed.\").nullable().optional(),\n response_code: z.number().int().describe(\"HTTP status code returned by the webhook endpoint.\").nullable().optional(),\n attempt_number: z.number().int().describe(\"The attempt number for this delivery (for retries).\").nullable().optional(),\n}).describe(\"Represents a single webhook delivery log entry.\");\nexport const ScrapegraphAiGetWebhookLogsOutput = z.object({\n logs: z.array(ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema).describe(\"List of webhook delivery log entries for the specified crawler job.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of webhook delivery attempts.\").nullable().optional(),\n}).describe(\"Response model for retrieving webhook delivery logs.\");\n\nexport const scrapegraphAiGetWebhookLogs = action(\"SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS\", {\n slug: \"scrapegraph_ai-get-webhook-logs\",\n name: \"Get Webhook Logs\",\n description: \"Tool to retrieve webhook delivery logs for a crawler job. Use when you need to check the status and history of webhook notifications sent for a specific crawler execution.\",\n input: ScrapegraphAiGetWebhookLogsInput,\n output: ScrapegraphAiGetWebhookLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EAChJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"get-webhook-logs.mjs","names":[],"sources":["../../src/actions/get-webhook-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetWebhookLogsInput = z.object({\n crawler_id: z.string().describe(\"The unique identifier of the crawler job to retrieve webhook logs for. Obtained from starting a crawler job.\"),\n}).describe(\"Request model for retrieving webhook delivery logs for a crawler job.\");\nconst ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema = z.object({\n url: z.string().describe(\"The webhook URL that was called.\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook delivery (e.g., 'success', 'failed', 'pending').\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"The payload that was sent to the webhook endpoint.\").nullable().optional(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of when the webhook was sent.\").nullable().optional(),\n crawler_id: z.string().describe(\"The crawler job ID associated with this webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for this webhook delivery attempt.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if the webhook delivery failed.\").nullable().optional(),\n response_code: z.number().int().describe(\"HTTP status code returned by the webhook endpoint.\").nullable().optional(),\n attempt_number: z.number().int().describe(\"The attempt number for this delivery (for retries).\").nullable().optional(),\n}).passthrough().describe(\"Represents a single webhook delivery log entry.\");\nexport const ScrapegraphAiGetWebhookLogsOutput = z.object({\n logs: z.array(ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema).describe(\"List of webhook delivery log entries for the specified crawler job.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of webhook delivery attempts.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving webhook delivery logs.\");\n\nexport const scrapegraphAiGetWebhookLogs = action(\"SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS\", {\n slug: \"scrapegraph_ai-get-webhook-logs\",\n name: \"Get Webhook Logs\",\n description: \"Tool to retrieve webhook delivery logs for a crawler job. Use when you need to check the status and history of webhook notifications sent for a specific crawler execution.\",\n input: ScrapegraphAiGetWebhookLogsIn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D,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -19,13 +19,13 @@ const ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema = zod.z.object({
|
|
|
19
19
|
next_run_at: zod.z.unknown().describe("Timestamp of the next scheduled execution, or null if not scheduled").nullable().optional(),
|
|
20
20
|
service_type: zod.z.string().describe("Type of service (e.g., 'smartscraper', 'markdownify', 'searchscraper')").nullable(),
|
|
21
21
|
cron_expression: zod.z.string().describe("Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)").nullable()
|
|
22
|
-
}).describe("Schema for a single scheduled job.");
|
|
22
|
+
}).passthrough().describe("Schema for a single scheduled job.");
|
|
23
23
|
const ScrapegraphAiListScheduledJobsOutput = zod.z.object({
|
|
24
24
|
jobs: zod.z.array(ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema).describe("List of scheduled jobs on the current page"),
|
|
25
25
|
page: zod.z.number().int().describe("Current page number").nullable(),
|
|
26
26
|
total: zod.z.number().int().describe("Total number of scheduled jobs matching the filters").nullable(),
|
|
27
27
|
page_size: zod.z.number().int().describe("Number of jobs per page").nullable()
|
|
28
|
-
}).describe("Response model for listing scheduled scraping jobs with pagination.");
|
|
28
|
+
}).passthrough().describe("Response model for listing scheduled scraping jobs with pagination.");
|
|
29
29
|
const scrapegraphAiListScheduledJobs = require_action.action("SCRAPEGRAPH_AI_LIST_SCHEDULED_JOBS", {
|
|
30
30
|
slug: "scrapegraph_ai-list-scheduled-jobs",
|
|
31
31
|
name: "List Scheduled Jobs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-scheduled-jobs.cjs","names":["z","action"],"sources":["../../src/actions/list-scheduled-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiListScheduledJobsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n is_active: z.string().describe(\"Filter jobs by active status. Use 'true' to show only active jobs, 'false' for inactive jobs, or omit to show all jobs.\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of jobs to return per page. Must be between 1 and 100.\").optional(),\n service_type: z.string().describe(\"Filter jobs by service type (e.g., 'smartscraper', 'markdownify', 'searchscraper'). If not provided, returns jobs of all service types.\").optional(),\n}).describe(\"Request model for listing scheduled scraping jobs.\");\nconst ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the scheduled job\").nullable(),\n user_id: z.string().describe(\"User ID who owns this scheduled job\").nullable(),\n job_name: z.string().describe(\"Name of the scheduled job\").nullable(),\n is_active: z.boolean().describe(\"Whether the job is currently active and will run on schedule\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the job was created\").nullable(),\n job_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for the job, containing parameters like website_url, user_prompt, etc.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the job was last updated\").nullable(),\n last_run_at: z.unknown().describe(\"Timestamp of the last execution, or null if never run\").nullable().optional(),\n next_run_at: z.unknown().describe(\"Timestamp of the next scheduled execution, or null if not scheduled\").nullable().optional(),\n service_type: z.string().describe(\"Type of service (e.g., 'smartscraper', 'markdownify', 'searchscraper')\").nullable(),\n cron_expression: z.string().describe(\"Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)\").nullable(),\n}).describe(\"Schema for a single scheduled job.\");\nexport const ScrapegraphAiListScheduledJobsOutput = z.object({\n jobs: z.array(ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema).describe(\"List of scheduled jobs on the current page\"),\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of scheduled jobs matching the filters\").nullable(),\n page_size: z.number().int().describe(\"Number of jobs per page\").nullable(),\n}).describe(\"Response model for listing scheduled scraping jobs with pagination.\");\n\nexport const scrapegraphAiListScheduledJobs = action(\"SCRAPEGRAPH_AI_LIST_SCHEDULED_JOBS\", {\n slug: \"scrapegraph_ai-list-scheduled-jobs\",\n name: \"List Scheduled Jobs\",\n description: \"Retrieve a paginated list of all scheduled scraping jobs for your account. Use this action to view and manage your scheduled jobs, including their configuration, cron schedules, and active status. Supports filtering by service type and active status.\",\n input: ScrapegraphAiListScheduledJobsInput,\n output: ScrapegraphAiListScheduledJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACnK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"list-scheduled-jobs.cjs","names":["z","action"],"sources":["../../src/actions/list-scheduled-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiListScheduledJobsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n is_active: z.string().describe(\"Filter jobs by active status. Use 'true' to show only active jobs, 'false' for inactive jobs, or omit to show all jobs.\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of jobs to return per page. Must be between 1 and 100.\").optional(),\n service_type: z.string().describe(\"Filter jobs by service type (e.g., 'smartscraper', 'markdownify', 'searchscraper'). If not provided, returns jobs of all service types.\").optional(),\n}).describe(\"Request model for listing scheduled scraping jobs.\");\nconst ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the scheduled job\").nullable(),\n user_id: z.string().describe(\"User ID who owns this scheduled job\").nullable(),\n job_name: z.string().describe(\"Name of the scheduled job\").nullable(),\n is_active: z.boolean().describe(\"Whether the job is currently active and will run on schedule\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the job was created\").nullable(),\n job_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for the job, containing parameters like website_url, user_prompt, etc.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the job was last updated\").nullable(),\n last_run_at: z.unknown().describe(\"Timestamp of the last execution, or null if never run\").nullable().optional(),\n next_run_at: z.unknown().describe(\"Timestamp of the next scheduled execution, or null if not scheduled\").nullable().optional(),\n service_type: z.string().describe(\"Type of service (e.g., 'smartscraper', 'markdownify', 'searchscraper')\").nullable(),\n cron_expression: z.string().describe(\"Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)\").nullable(),\n}).passthrough().describe(\"Schema for a single scheduled job.\");\nexport const ScrapegraphAiListScheduledJobsOutput = z.object({\n jobs: z.array(ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema).describe(\"List of scheduled jobs on the current page\"),\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of scheduled jobs matching the filters\").nullable(),\n page_size: z.number().int().describe(\"Number of jobs per page\").nullable(),\n}).passthrough().describe(\"Response model for listing scheduled scraping jobs with pagination.\");\n\nexport const scrapegraphAiListScheduledJobs = action(\"SCRAPEGRAPH_AI_LIST_SCHEDULED_JOBS\", {\n slug: \"scrapegraph_ai-list-scheduled-jobs\",\n name: \"List Scheduled Jobs\",\n description: \"Retrieve a paginated list of all scheduled scraping jobs for your account. Use this action to view and manage your scheduled jobs, including their configuration, cron schedules, and active status. Supports filtering by service type and active status.\",\n input: ScrapegraphAiListScheduledJobsInput,\n output: ScrapegraphAiListScheduledJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAA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,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,4CAA4C;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,11 +20,11 @@ declare const ScrapegraphAiListScheduledJobsOutput: z.ZodObject<{
|
|
|
20
20
|
next_run_at: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
21
21
|
service_type: z.ZodNullable<z.ZodString>;
|
|
22
22
|
cron_expression: z.ZodNullable<z.ZodString>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
page: z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
total: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
page_size: z.ZodNullable<z.ZodNumber>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const scrapegraphAiListScheduledJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
page?: number | undefined;
|
|
30
30
|
is_active?: string | undefined;
|
|
@@ -20,11 +20,11 @@ declare const ScrapegraphAiListScheduledJobsOutput: z.ZodObject<{
|
|
|
20
20
|
next_run_at: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
21
21
|
service_type: z.ZodNullable<z.ZodString>;
|
|
22
22
|
cron_expression: z.ZodNullable<z.ZodString>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
page: z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
total: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
page_size: z.ZodNullable<z.ZodNumber>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const scrapegraphAiListScheduledJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
page?: number | undefined;
|
|
30
30
|
is_active?: string | undefined;
|
|
@@ -19,7 +19,7 @@ const ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema = z.object({
|
|
|
19
19
|
next_run_at: z.unknown().describe("Timestamp of the next scheduled execution, or null if not scheduled").nullable().optional(),
|
|
20
20
|
service_type: z.string().describe("Type of service (e.g., 'smartscraper', 'markdownify', 'searchscraper')").nullable(),
|
|
21
21
|
cron_expression: z.string().describe("Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)").nullable()
|
|
22
|
-
}).describe("Schema for a single scheduled job.");
|
|
22
|
+
}).passthrough().describe("Schema for a single scheduled job.");
|
|
23
23
|
const scrapegraphAiListScheduledJobs = action("SCRAPEGRAPH_AI_LIST_SCHEDULED_JOBS", {
|
|
24
24
|
slug: "scrapegraph_ai-list-scheduled-jobs",
|
|
25
25
|
name: "List Scheduled Jobs",
|
|
@@ -30,7 +30,7 @@ const scrapegraphAiListScheduledJobs = action("SCRAPEGRAPH_AI_LIST_SCHEDULED_JOB
|
|
|
30
30
|
page: z.number().int().describe("Current page number").nullable(),
|
|
31
31
|
total: z.number().int().describe("Total number of scheduled jobs matching the filters").nullable(),
|
|
32
32
|
page_size: z.number().int().describe("Number of jobs per page").nullable()
|
|
33
|
-
}).describe("Response model for listing scheduled scraping jobs with pagination.")
|
|
33
|
+
}).passthrough().describe("Response model for listing scheduled scraping jobs with pagination.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { scrapegraphAiListScheduledJobs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-scheduled-jobs.mjs","names":[],"sources":["../../src/actions/list-scheduled-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiListScheduledJobsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n is_active: z.string().describe(\"Filter jobs by active status. Use 'true' to show only active jobs, 'false' for inactive jobs, or omit to show all jobs.\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of jobs to return per page. Must be between 1 and 100.\").optional(),\n service_type: z.string().describe(\"Filter jobs by service type (e.g., 'smartscraper', 'markdownify', 'searchscraper'). If not provided, returns jobs of all service types.\").optional(),\n}).describe(\"Request model for listing scheduled scraping jobs.\");\nconst ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the scheduled job\").nullable(),\n user_id: z.string().describe(\"User ID who owns this scheduled job\").nullable(),\n job_name: z.string().describe(\"Name of the scheduled job\").nullable(),\n is_active: z.boolean().describe(\"Whether the job is currently active and will run on schedule\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the job was created\").nullable(),\n job_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for the job, containing parameters like website_url, user_prompt, etc.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the job was last updated\").nullable(),\n last_run_at: z.unknown().describe(\"Timestamp of the last execution, or null if never run\").nullable().optional(),\n next_run_at: z.unknown().describe(\"Timestamp of the next scheduled execution, or null if not scheduled\").nullable().optional(),\n service_type: z.string().describe(\"Type of service (e.g., 'smartscraper', 'markdownify', 'searchscraper')\").nullable(),\n cron_expression: z.string().describe(\"Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)\").nullable(),\n}).describe(\"Schema for a single scheduled job.\");\nexport const ScrapegraphAiListScheduledJobsOutput = z.object({\n jobs: z.array(ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema).describe(\"List of scheduled jobs on the current page\"),\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of scheduled jobs matching the filters\").nullable(),\n page_size: z.number().int().describe(\"Number of jobs per page\").nullable(),\n}).describe(\"Response model for listing scheduled scraping jobs with pagination.\");\n\nexport const scrapegraphAiListScheduledJobs = action(\"SCRAPEGRAPH_AI_LIST_SCHEDULED_JOBS\", {\n slug: \"scrapegraph_ai-list-scheduled-jobs\",\n name: \"List Scheduled Jobs\",\n description: \"Retrieve a paginated list of all scheduled scraping jobs for your account. Use this action to view and manage your scheduled jobs, including their configuration, cron schedules, and active status. Supports filtering by service type and active status.\",\n input: ScrapegraphAiListScheduledJobsInput,\n output: ScrapegraphAiListScheduledJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACnK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"list-scheduled-jobs.mjs","names":[],"sources":["../../src/actions/list-scheduled-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiListScheduledJobsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n is_active: z.string().describe(\"Filter jobs by active status. Use 'true' to show only active jobs, 'false' for inactive jobs, or omit to show all jobs.\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of jobs to return per page. Must be between 1 and 100.\").optional(),\n service_type: z.string().describe(\"Filter jobs by service type (e.g., 'smartscraper', 'markdownify', 'searchscraper'). If not provided, returns jobs of all service types.\").optional(),\n}).describe(\"Request model for listing scheduled scraping jobs.\");\nconst ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the scheduled job\").nullable(),\n user_id: z.string().describe(\"User ID who owns this scheduled job\").nullable(),\n job_name: z.string().describe(\"Name of the scheduled job\").nullable(),\n is_active: z.boolean().describe(\"Whether the job is currently active and will run on schedule\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the job was created\").nullable(),\n job_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for the job, containing parameters like website_url, user_prompt, etc.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the job was last updated\").nullable(),\n last_run_at: z.unknown().describe(\"Timestamp of the last execution, or null if never run\").nullable().optional(),\n next_run_at: z.unknown().describe(\"Timestamp of the next scheduled execution, or null if not scheduled\").nullable().optional(),\n service_type: z.string().describe(\"Type of service (e.g., 'smartscraper', 'markdownify', 'searchscraper')\").nullable(),\n cron_expression: z.string().describe(\"Cron expression defining the schedule (e.g., '0 0 * * *' for daily at midnight)\").nullable(),\n}).passthrough().describe(\"Schema for a single scheduled job.\");\nexport const ScrapegraphAiListScheduledJobsOutput = z.object({\n jobs: z.array(ScrapegraphAiListScheduledJobs_ScheduledJobResponseSchema).describe(\"List of scheduled jobs on the current page\"),\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of scheduled jobs matching the filters\").nullable(),\n page_size: z.number().int().describe(\"Number of jobs per page\").nullable(),\n}).passthrough().describe(\"Response model for listing scheduled scraping jobs with pagination.\");\n\nexport const scrapegraphAiListScheduledJobs = action(\"SCRAPEGRAPH_AI_LIST_SCHEDULED_JOBS\", {\n slug: \"scrapegraph_ai-list-scheduled-jobs\",\n name: \"List Scheduled Jobs\",\n description: \"Retrieve a paginated list of all scheduled scraping jobs for your account. Use this action to view and manage your scheduled jobs, including their configuration, cron schedules, and active status. Supports filtering by service type and active status.\",\n input: ScrapegraphAiListScheduledJobsInput,\n output: ScrapegraphAiListScheduledJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACnK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAQ9D,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkD,EAAE,OAAO;EAC3D,MAAM,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,4CAA4C;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const ScrapegraphAiMarkdownifyStatusOutput = zod.z.object({
|
|
|
13
13
|
]).describe("Current status of the Markdownify job").nullable(),
|
|
14
14
|
request_id: zod.z.string().describe("The unique identifier of the Markdownify request").nullable(),
|
|
15
15
|
website_url: zod.z.string().describe("URL of the website being processed").nullable()
|
|
16
|
-
}).describe("Response model for Markdownify status checks.");
|
|
16
|
+
}).passthrough().describe("Response model for Markdownify status checks.");
|
|
17
17
|
const scrapegraphAiMarkdownifyStatus = require_action.action("SCRAPEGRAPH_AI_MARKDOWNIFY_STATUS", {
|
|
18
18
|
slug: "scrapegraph_ai-markdownify-status",
|
|
19
19
|
name: "Markdownify Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdownify-status.cjs","names":["z","action"],"sources":["../../src/actions/markdownify-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiMarkdownifyStatusInput = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the Markdownify request returned by the SCRAPEGRAPH_AI_MARKDOWNIFY action\"),\n}).describe(\"Request model for checking the status of a Markdownify job.\");\nexport const ScrapegraphAiMarkdownifyStatusOutput = z.object({\n error: z.string().describe(\"Error message if status is 'failed'; null otherwise\").nullable().optional(),\n result: z.string().describe(\"Markdown content if status is 'completed'; null otherwise\").nullable().optional(),\n status: z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Current status of the Markdownify job\").nullable(),\n request_id: z.string().describe(\"The unique identifier of the Markdownify request\").nullable(),\n website_url: z.string().describe(\"URL of the website being processed\").nullable(),\n}).describe(\"Response model for Markdownify status checks.\");\n\nexport const scrapegraphAiMarkdownifyStatus = action(\"SCRAPEGRAPH_AI_MARKDOWNIFY_STATUS\", {\n slug: \"scrapegraph_ai-markdownify-status\",\n name: \"Markdownify Status\",\n description: \"Check the status and retrieve results of a Markdownify webpage-to-Markdown conversion job. Use this action to poll for the status of an async Markdownify request started via SCRAPEGRAPH_AI_MARKDOWNIFY. Note: The ScrapeGraph AI API typically returns completed results synchronously, so this status endpoint is primarily useful for long-running conversions of large or complex webpages.\",\n input: ScrapegraphAiMarkdownifyStatusInput,\n output: ScrapegraphAiMarkdownifyStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EAC7I,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAc;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"markdownify-status.cjs","names":["z","action"],"sources":["../../src/actions/markdownify-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiMarkdownifyStatusInput = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the Markdownify request returned by the SCRAPEGRAPH_AI_MARKDOWNIFY action\"),\n}).describe(\"Request model for checking the status of a Markdownify job.\");\nexport const ScrapegraphAiMarkdownifyStatusOutput = z.object({\n error: z.string().describe(\"Error message if status is 'failed'; null otherwise\").nullable().optional(),\n result: z.string().describe(\"Markdown content if status is 'completed'; null otherwise\").nullable().optional(),\n status: z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Current status of the Markdownify job\").nullable(),\n request_id: z.string().describe(\"The unique identifier of the Markdownify request\").nullable(),\n website_url: z.string().describe(\"URL of the website being processed\").nullable(),\n}).passthrough().describe(\"Response model for Markdownify status checks.\");\n\nexport const scrapegraphAiMarkdownifyStatus = action(\"SCRAPEGRAPH_AI_MARKDOWNIFY_STATUS\", {\n slug: \"scrapegraph_ai-markdownify-status\",\n name: \"Markdownify Status\",\n description: \"Check the status and retrieve results of a Markdownify webpage-to-Markdown conversion job. Use this action to poll for the status of an async Markdownify request started via SCRAPEGRAPH_AI_MARKDOWNIFY. Note: The ScrapeGraph AI API typically returns completed results synchronously, so this status endpoint is primarily useful for long-running conversions of large or complex webpages.\",\n input: ScrapegraphAiMarkdownifyStatusInput,\n output: ScrapegraphAiMarkdownifyStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EAC7I,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAc;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const ScrapegraphAiMarkdownifyStatusOutput: z.ZodObject<{
|
|
|
15
15
|
}>>;
|
|
16
16
|
request_id: z.ZodNullable<z.ZodString>;
|
|
17
17
|
website_url: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const scrapegraphAiMarkdownifyStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
request_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,7 +15,7 @@ declare const ScrapegraphAiMarkdownifyStatusOutput: z.ZodObject<{
|
|
|
15
15
|
}>>;
|
|
16
16
|
request_id: z.ZodNullable<z.ZodString>;
|
|
17
17
|
website_url: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const scrapegraphAiMarkdownifyStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
request_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -16,7 +16,7 @@ const scrapegraphAiMarkdownifyStatus = action("SCRAPEGRAPH_AI_MARKDOWNIFY_STATUS
|
|
|
16
16
|
]).describe("Current status of the Markdownify job").nullable(),
|
|
17
17
|
request_id: z.string().describe("The unique identifier of the Markdownify request").nullable(),
|
|
18
18
|
website_url: z.string().describe("URL of the website being processed").nullable()
|
|
19
|
-
}).describe("Response model for Markdownify status checks.")
|
|
19
|
+
}).passthrough().describe("Response model for Markdownify status checks.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { scrapegraphAiMarkdownifyStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdownify-status.mjs","names":[],"sources":["../../src/actions/markdownify-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiMarkdownifyStatusInput = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the Markdownify request returned by the SCRAPEGRAPH_AI_MARKDOWNIFY action\"),\n}).describe(\"Request model for checking the status of a Markdownify job.\");\nexport const ScrapegraphAiMarkdownifyStatusOutput = z.object({\n error: z.string().describe(\"Error message if status is 'failed'; null otherwise\").nullable().optional(),\n result: z.string().describe(\"Markdown content if status is 'completed'; null otherwise\").nullable().optional(),\n status: z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Current status of the Markdownify job\").nullable(),\n request_id: z.string().describe(\"The unique identifier of the Markdownify request\").nullable(),\n website_url: z.string().describe(\"URL of the website being processed\").nullable(),\n}).describe(\"Response model for Markdownify status checks.\");\n\nexport const scrapegraphAiMarkdownifyStatus = action(\"SCRAPEGRAPH_AI_MARKDOWNIFY_STATUS\", {\n slug: \"scrapegraph_ai-markdownify-status\",\n name: \"Markdownify Status\",\n description: \"Check the status and retrieve results of a Markdownify webpage-to-Markdown conversion job. Use this action to poll for the status of an async Markdownify request started via SCRAPEGRAPH_AI_MARKDOWNIFY. Note: The ScrapeGraph AI API typically returns completed results synchronously, so this status endpoint is primarily useful for long-running conversions of large or complex webpages.\",\n input: ScrapegraphAiMarkdownifyStatusInput,\n output: ScrapegraphAiMarkdownifyStatusOutput,\n});\n"],"mappings":";;AAeA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiD,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EAC7I,CAAC,CAAC,CAAC,SAAS,6DAaH;CACP,QAbkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,KAAK;GAAC;GAAU;GAAc;GAAa;EAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,SAAS,+
|
|
1
|
+
{"version":3,"file":"markdownify-status.mjs","names":[],"sources":["../../src/actions/markdownify-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiMarkdownifyStatusInput = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the Markdownify request returned by the SCRAPEGRAPH_AI_MARKDOWNIFY action\"),\n}).describe(\"Request model for checking the status of a Markdownify job.\");\nexport const ScrapegraphAiMarkdownifyStatusOutput = z.object({\n error: z.string().describe(\"Error message if status is 'failed'; null otherwise\").nullable().optional(),\n result: z.string().describe(\"Markdown content if status is 'completed'; null otherwise\").nullable().optional(),\n status: z.enum([\"queued\", \"processing\", \"completed\", \"failed\"]).describe(\"Current status of the Markdownify job\").nullable(),\n request_id: z.string().describe(\"The unique identifier of the Markdownify request\").nullable(),\n website_url: z.string().describe(\"URL of the website being processed\").nullable(),\n}).passthrough().describe(\"Response model for Markdownify status checks.\");\n\nexport const scrapegraphAiMarkdownifyStatus = action(\"SCRAPEGRAPH_AI_MARKDOWNIFY_STATUS\", {\n slug: \"scrapegraph_ai-markdownify-status\",\n name: \"Markdownify Status\",\n description: \"Check the status and retrieve results of a Markdownify webpage-to-Markdown conversion job. Use this action to poll for the status of an async Markdownify request started via SCRAPEGRAPH_AI_MARKDOWNIFY. Note: The ScrapeGraph AI API typically returns completed results synchronously, so this status endpoint is primarily useful for long-running conversions of large or complex webpages.\",\n input: ScrapegraphAiMarkdownifyStatusInput,\n output: ScrapegraphAiMarkdownifyStatusOutput,\n});\n"],"mappings":";;AAeA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiD,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EAC7I,CAAC,CAAC,CAAC,SAAS,6DAaH;CACP,QAbkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,KAAK;GAAC;GAAU;GAAc;GAAa;EAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -11,18 +11,18 @@ const ScrapegraphAiSaveEndpointInput = zod.z.object({ suggestions: zod.z.array(z
|
|
|
11
11
|
location: zod.z.string().describe("Where the parameter is passed (query, path, body, header)."),
|
|
12
12
|
required: zod.z.boolean().describe("Whether this parameter is mandatory for the endpoint."),
|
|
13
13
|
description: zod.z.string().describe("Detailed description of what this parameter does.")
|
|
14
|
-
}).describe("Schema for defining a parameter in a custom endpoint.")).describe("List of parameters that the endpoint accepts. Use empty list if no parameters."),
|
|
14
|
+
}).passthrough().describe("Schema for defining a parameter in a custom endpoint.")).describe("List of parameters that the endpoint accepts. Use empty list if no parameters."),
|
|
15
15
|
target_url: zod.z.string().describe("The base URL or URL pattern that this endpoint will scrape."),
|
|
16
16
|
description: zod.z.string().describe("Description of what this endpoint does and when to use it."),
|
|
17
17
|
pydantic_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON Schema object defining the structure of extracted data. Must include 'type' and 'properties'."),
|
|
18
18
|
extraction_prompt: zod.z.string().describe("Natural language instructions for what data to extract from the target URL."),
|
|
19
19
|
interaction_steps: zod.z.array(zod.z.string()).describe("Optional list of browser interaction steps to perform before extraction (e.g., click buttons, wait for elements).").optional()
|
|
20
|
-
}).describe("Schema for a custom scraping endpoint configuration.")).describe("List of endpoint configurations to save. Each configuration defines a custom scraping endpoint with its parameters and extraction logic.") }).describe("Request schema for saving one or more custom scraping endpoint configurations.");
|
|
20
|
+
}).passthrough().describe("Schema for a custom scraping endpoint configuration.")).describe("List of endpoint configurations to save. Each configuration defines a custom scraping endpoint with its parameters and extraction logic.") }).describe("Request schema for saving one or more custom scraping endpoint configurations.");
|
|
21
21
|
const ScrapegraphAiSaveEndpointOutput = zod.z.object({
|
|
22
22
|
message: zod.z.string().default("Endpoint configurations saved successfully").describe("Confirmation message from the API.").nullable().optional(),
|
|
23
23
|
success: zod.z.boolean().default(true).describe("Whether the endpoint configurations were saved successfully.").nullable().optional(),
|
|
24
24
|
saved_count: zod.z.number().int().describe("Number of endpoint configurations that were saved.").nullable()
|
|
25
|
-
}).describe("Response schema after successfully saving endpoint configurations.");
|
|
25
|
+
}).passthrough().describe("Response schema after successfully saving endpoint configurations.");
|
|
26
26
|
const scrapegraphAiSaveEndpoint = require_action.action("SCRAPEGRAPH_AI_SAVE_ENDPOINT", {
|
|
27
27
|
slug: "scrapegraph_ai-save-endpoint",
|
|
28
28
|
name: "Save Endpoint Configuration",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-endpoint.cjs","names":["z","action"],"sources":["../../src/actions/save-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSaveEndpointInput = z.object({\n suggestions: z.array(z.object({\n method: z.string().default(\"POST\").describe(\"HTTP method for the endpoint (GET, POST, PUT, etc.).\").optional(),\n endpoint: z.string().describe(\"The endpoint path (e.g., /test-endpoint). Must be a valid URL path.\"),\n parameters: z.array(z.object({\n name: z.string().describe(\"Parameter name (alphanumeric, underscores, dots, and hyphens only).\"),\n type: z.string().describe(\"Parameter data type (e.g., string, integer, boolean).\"),\n is_url: z.boolean().default(false).describe(\"Whether this parameter is a URL that should be scraped.\").optional(),\n location: z.string().describe(\"Where the parameter is passed (query, path, body, header).\"),\n required: z.boolean().describe(\"Whether this parameter is mandatory for the endpoint.\"),\n description: z.string().describe(\"Detailed description of what this parameter does.\"),\n}).describe(\"Schema for defining a parameter in a custom endpoint.\")).describe(\"List of parameters that the endpoint accepts. Use empty list if no parameters.\"),\n target_url: z.string().describe(\"The base URL or URL pattern that this endpoint will scrape.\"),\n description: z.string().describe(\"Description of what this endpoint does and when to use it.\"),\n pydantic_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Must include 'type' and 'properties'.\"),\n extraction_prompt: z.string().describe(\"Natural language instructions for what data to extract from the target URL.\"),\n interaction_steps: z.array(z.string()).describe(\"Optional list of browser interaction steps to perform before extraction (e.g., click buttons, wait for elements).\").optional(),\n}).describe(\"Schema for a custom scraping endpoint configuration.\")).describe(\"List of endpoint configurations to save. Each configuration defines a custom scraping endpoint with its parameters and extraction logic.\"),\n}).describe(\"Request schema for saving one or more custom scraping endpoint configurations.\");\nexport const ScrapegraphAiSaveEndpointOutput = z.object({\n message: z.string().default(\"Endpoint configurations saved successfully\").describe(\"Confirmation message from the API.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the endpoint configurations were saved successfully.\").nullable().optional(),\n saved_count: z.number().int().describe(\"Number of endpoint configurations that were saved.\").nullable(),\n}).describe(\"Response schema after successfully saving endpoint configurations.\");\n\nexport const scrapegraphAiSaveEndpoint = action(\"SCRAPEGRAPH_AI_SAVE_ENDPOINT\", {\n slug: \"scrapegraph_ai-save-endpoint\",\n name: \"Save Endpoint Configuration\",\n description: \"Tool to save custom scraping endpoint configurations to ScrapeGraphAI. Use when you need to create reusable scraping endpoints with specific parameters and extraction logic.\",\n input: ScrapegraphAiSaveEndpointInput,\n output: ScrapegraphAiSaveEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC9B,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACjF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EAC1F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;EACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACtF,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,SAAS,gFAAgF;
|
|
1
|
+
{"version":3,"file":"save-endpoint.cjs","names":["z","action"],"sources":["../../src/actions/save-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSaveEndpointInput = z.object({\n suggestions: z.array(z.object({\n method: z.string().default(\"POST\").describe(\"HTTP method for the endpoint (GET, POST, PUT, etc.).\").optional(),\n endpoint: z.string().describe(\"The endpoint path (e.g., /test-endpoint). Must be a valid URL path.\"),\n parameters: z.array(z.object({\n name: z.string().describe(\"Parameter name (alphanumeric, underscores, dots, and hyphens only).\"),\n type: z.string().describe(\"Parameter data type (e.g., string, integer, boolean).\"),\n is_url: z.boolean().default(false).describe(\"Whether this parameter is a URL that should be scraped.\").optional(),\n location: z.string().describe(\"Where the parameter is passed (query, path, body, header).\"),\n required: z.boolean().describe(\"Whether this parameter is mandatory for the endpoint.\"),\n description: z.string().describe(\"Detailed description of what this parameter does.\"),\n}).passthrough().describe(\"Schema for defining a parameter in a custom endpoint.\")).describe(\"List of parameters that the endpoint accepts. Use empty list if no parameters.\"),\n target_url: z.string().describe(\"The base URL or URL pattern that this endpoint will scrape.\"),\n description: z.string().describe(\"Description of what this endpoint does and when to use it.\"),\n pydantic_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Must include 'type' and 'properties'.\"),\n extraction_prompt: z.string().describe(\"Natural language instructions for what data to extract from the target URL.\"),\n interaction_steps: z.array(z.string()).describe(\"Optional list of browser interaction steps to perform before extraction (e.g., click buttons, wait for elements).\").optional(),\n}).passthrough().describe(\"Schema for a custom scraping endpoint configuration.\")).describe(\"List of endpoint configurations to save. Each configuration defines a custom scraping endpoint with its parameters and extraction logic.\"),\n}).describe(\"Request schema for saving one or more custom scraping endpoint configurations.\");\nexport const ScrapegraphAiSaveEndpointOutput = z.object({\n message: z.string().default(\"Endpoint configurations saved successfully\").describe(\"Confirmation message from the API.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the endpoint configurations were saved successfully.\").nullable().optional(),\n saved_count: z.number().int().describe(\"Number of endpoint configurations that were saved.\").nullable(),\n}).passthrough().describe(\"Response schema after successfully saving endpoint configurations.\");\n\nexport const scrapegraphAiSaveEndpoint = action(\"SCRAPEGRAPH_AI_SAVE_ENDPOINT\", {\n slug: \"scrapegraph_ai-save-endpoint\",\n name: \"Save Endpoint Configuration\",\n description: \"Tool to save custom scraping endpoint configurations to ScrapeGraphAI. Use when you need to create reusable scraping endpoints with specific parameters and extraction logic.\",\n input: ScrapegraphAiSaveEndpointInput,\n output: ScrapegraphAiSaveEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;C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FAAgF;AAC5F,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,4CAA4C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,23 +12,25 @@ declare const ScrapegraphAiSaveEndpointInput: z.ZodObject<{
|
|
|
12
12
|
location: z.ZodString;
|
|
13
13
|
required: z.ZodBoolean;
|
|
14
14
|
description: z.ZodString;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
target_url: z.ZodString;
|
|
17
17
|
description: z.ZodString;
|
|
18
18
|
pydantic_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19
19
|
extraction_prompt: z.ZodString;
|
|
20
20
|
interaction_steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const ScrapegraphAiSaveEndpointOutput: z.ZodObject<{
|
|
24
24
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
25
25
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
26
26
|
saved_count: z.ZodNullable<z.ZodNumber>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const scrapegraphAiSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
suggestions: {
|
|
30
|
+
[x: string]: unknown;
|
|
30
31
|
endpoint: string;
|
|
31
32
|
parameters: {
|
|
33
|
+
[x: string]: unknown;
|
|
32
34
|
name: string;
|
|
33
35
|
type: string;
|
|
34
36
|
location: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-endpoint.d.cts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA
|
|
1
|
+
{"version":3,"file":"save-endpoint.d.cts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA;;;;;;;;;;;;;;;qBAMpC,MAAA"}
|