@keystrokehq/scrapegraph_ai 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.cjs +4 -4
- package/dist/actions/convert-webpage-to-markdown-v2.cjs.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.d.cts +38 -3
- package/dist/actions/convert-webpage-to-markdown-v2.d.cts.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.d.mts +38 -3
- package/dist/actions/convert-webpage-to-markdown-v2.d.mts.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.mjs +4 -4
- package/dist/actions/convert-webpage-to-markdown-v2.mjs.map +1 -1
- package/dist/actions/generate-schema.cjs +5 -5
- package/dist/actions/generate-schema.cjs.map +1 -1
- package/dist/actions/generate-schema.d.cts +16 -3
- package/dist/actions/generate-schema.d.cts.map +1 -1
- package/dist/actions/generate-schema.d.mts +16 -3
- package/dist/actions/generate-schema.d.mts.map +1 -1
- package/dist/actions/generate-schema.mjs +5 -5
- package/dist/actions/generate-schema.mjs.map +1 -1
- package/dist/actions/get-agentic-scraper-history.cjs +8 -8
- package/dist/actions/get-agentic-scraper-history.cjs.map +1 -1
- package/dist/actions/get-agentic-scraper-history.d.cts +27 -3
- package/dist/actions/get-agentic-scraper-history.d.cts.map +1 -1
- package/dist/actions/get-agentic-scraper-history.d.mts +27 -3
- package/dist/actions/get-agentic-scraper-history.d.mts.map +1 -1
- package/dist/actions/get-agentic-scraper-history.mjs +8 -8
- package/dist/actions/get-agentic-scraper-history.mjs.map +1 -1
- package/dist/actions/get-crawler-history.cjs +7 -7
- package/dist/actions/get-crawler-history.cjs.map +1 -1
- package/dist/actions/get-crawler-history.d.cts +36 -3
- package/dist/actions/get-crawler-history.d.cts.map +1 -1
- package/dist/actions/get-crawler-history.d.mts +36 -3
- package/dist/actions/get-crawler-history.d.mts.map +1 -1
- package/dist/actions/get-crawler-history.mjs +7 -7
- package/dist/actions/get-crawler-history.mjs.map +1 -1
- package/dist/actions/get-credits.cjs +3 -3
- package/dist/actions/get-credits.cjs.map +1 -1
- package/dist/actions/get-credits.d.cts +7 -3
- package/dist/actions/get-credits.d.cts.map +1 -1
- package/dist/actions/get-credits.d.mts +7 -3
- package/dist/actions/get-credits.d.mts.map +1 -1
- package/dist/actions/get-credits.mjs +3 -3
- package/dist/actions/get-credits.mjs.map +1 -1
- package/dist/actions/get-endpoint-suggestions.cjs +6 -6
- package/dist/actions/get-endpoint-suggestions.cjs.map +1 -1
- package/dist/actions/get-endpoint-suggestions.d.cts +21 -3
- package/dist/actions/get-endpoint-suggestions.d.cts.map +1 -1
- package/dist/actions/get-endpoint-suggestions.d.mts +21 -3
- package/dist/actions/get-endpoint-suggestions.d.mts.map +1 -1
- package/dist/actions/get-endpoint-suggestions.mjs +6 -6
- package/dist/actions/get-endpoint-suggestions.mjs.map +1 -1
- package/dist/actions/get-live-session-url.cjs +3 -3
- package/dist/actions/get-live-session-url.cjs.map +1 -1
- package/dist/actions/get-live-session-url.d.cts +12 -3
- package/dist/actions/get-live-session-url.d.cts.map +1 -1
- package/dist/actions/get-live-session-url.d.mts +12 -3
- package/dist/actions/get-live-session-url.d.mts.map +1 -1
- package/dist/actions/get-live-session-url.mjs +3 -3
- package/dist/actions/get-live-session-url.mjs.map +1 -1
- package/dist/actions/get-markdownify-history.cjs +4 -4
- package/dist/actions/get-markdownify-history.cjs.map +1 -1
- package/dist/actions/get-markdownify-history.d.cts +24 -3
- package/dist/actions/get-markdownify-history.d.cts.map +1 -1
- package/dist/actions/get-markdownify-history.d.mts +24 -3
- package/dist/actions/get-markdownify-history.d.mts.map +1 -1
- package/dist/actions/get-markdownify-history.mjs +4 -4
- package/dist/actions/get-markdownify-history.mjs.map +1 -1
- package/dist/actions/get-scrape-history.cjs +4 -4
- package/dist/actions/get-scrape-history.cjs.map +1 -1
- package/dist/actions/get-scrape-history.d.cts +25 -3
- package/dist/actions/get-scrape-history.d.cts.map +1 -1
- package/dist/actions/get-scrape-history.d.mts +25 -3
- package/dist/actions/get-scrape-history.d.mts.map +1 -1
- package/dist/actions/get-scrape-history.mjs +4 -4
- package/dist/actions/get-scrape-history.mjs.map +1 -1
- package/dist/actions/get-searchscraper-history.cjs +3 -3
- package/dist/actions/get-searchscraper-history.cjs.map +1 -1
- package/dist/actions/get-searchscraper-history.d.cts +26 -3
- package/dist/actions/get-searchscraper-history.d.cts.map +1 -1
- package/dist/actions/get-searchscraper-history.d.mts +26 -3
- package/dist/actions/get-searchscraper-history.d.mts.map +1 -1
- package/dist/actions/get-searchscraper-history.mjs +3 -3
- package/dist/actions/get-searchscraper-history.mjs.map +1 -1
- package/dist/actions/get-sitemap-history.cjs +9 -9
- package/dist/actions/get-sitemap-history.cjs.map +1 -1
- package/dist/actions/get-sitemap-history.d.cts +22 -3
- package/dist/actions/get-sitemap-history.d.cts.map +1 -1
- package/dist/actions/get-sitemap-history.d.mts +22 -3
- package/dist/actions/get-sitemap-history.d.mts.map +1 -1
- package/dist/actions/get-sitemap-history.mjs +9 -9
- package/dist/actions/get-sitemap-history.mjs.map +1 -1
- package/dist/actions/get-smartscraper-history.cjs +5 -5
- package/dist/actions/get-smartscraper-history.cjs.map +1 -1
- package/dist/actions/get-smartscraper-history.d.cts +26 -3
- package/dist/actions/get-smartscraper-history.d.cts.map +1 -1
- package/dist/actions/get-smartscraper-history.d.mts +26 -3
- package/dist/actions/get-smartscraper-history.d.mts.map +1 -1
- package/dist/actions/get-smartscraper-history.mjs +5 -5
- package/dist/actions/get-smartscraper-history.mjs.map +1 -1
- package/dist/actions/get-usage-timeline.cjs +4 -4
- package/dist/actions/get-usage-timeline.cjs.map +1 -1
- package/dist/actions/get-usage-timeline.d.cts +17 -3
- package/dist/actions/get-usage-timeline.d.cts.map +1 -1
- package/dist/actions/get-usage-timeline.d.mts +17 -3
- package/dist/actions/get-usage-timeline.d.mts.map +1 -1
- package/dist/actions/get-usage-timeline.mjs +4 -4
- 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 +20 -3
- package/dist/actions/get-webhook-logs.d.cts.map +1 -1
- package/dist/actions/get-webhook-logs.d.mts +20 -3
- package/dist/actions/get-webhook-logs.d.mts.map +1 -1
- 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 +13 -13
- package/dist/actions/list-scheduled-jobs.cjs.map +1 -1
- package/dist/actions/list-scheduled-jobs.d.cts +30 -3
- package/dist/actions/list-scheduled-jobs.d.cts.map +1 -1
- package/dist/actions/list-scheduled-jobs.d.mts +30 -3
- package/dist/actions/list-scheduled-jobs.d.mts.map +1 -1
- package/dist/actions/list-scheduled-jobs.mjs +13 -13
- package/dist/actions/list-scheduled-jobs.mjs.map +1 -1
- package/dist/actions/markdownify-status.cjs +4 -4
- package/dist/actions/markdownify-status.cjs.map +1 -1
- package/dist/actions/markdownify-status.d.cts +18 -3
- package/dist/actions/markdownify-status.d.cts.map +1 -1
- package/dist/actions/markdownify-status.d.mts +18 -3
- package/dist/actions/markdownify-status.d.mts.map +1 -1
- package/dist/actions/markdownify-status.mjs +4 -4
- package/dist/actions/markdownify-status.mjs.map +1 -1
- package/dist/actions/save-endpoint.cjs +4 -4
- package/dist/actions/save-endpoint.cjs.map +1 -1
- package/dist/actions/save-endpoint.d.cts +45 -3
- package/dist/actions/save-endpoint.d.cts.map +1 -1
- package/dist/actions/save-endpoint.d.mts +45 -3
- package/dist/actions/save-endpoint.d.mts.map +1 -1
- package/dist/actions/save-endpoint.mjs +4 -4
- package/dist/actions/save-endpoint.mjs.map +1 -1
- package/dist/actions/search-scraper-status.cjs +3 -3
- package/dist/actions/search-scraper-status.cjs.map +1 -1
- package/dist/actions/search-scraper-status.d.cts +16 -3
- package/dist/actions/search-scraper-status.d.cts.map +1 -1
- package/dist/actions/search-scraper-status.d.mts +16 -3
- package/dist/actions/search-scraper-status.d.mts.map +1 -1
- package/dist/actions/search-scraper-status.mjs +3 -3
- package/dist/actions/search-scraper-status.mjs.map +1 -1
- package/dist/actions/search-scraper.cjs +4 -4
- package/dist/actions/search-scraper.cjs.map +1 -1
- package/dist/actions/search-scraper.d.cts +24 -3
- package/dist/actions/search-scraper.d.cts.map +1 -1
- package/dist/actions/search-scraper.d.mts +24 -3
- package/dist/actions/search-scraper.d.mts.map +1 -1
- package/dist/actions/search-scraper.mjs +4 -4
- package/dist/actions/search-scraper.mjs.map +1 -1
- package/dist/actions/smart-crawler-status.cjs +7 -7
- package/dist/actions/smart-crawler-status.cjs.map +1 -1
- package/dist/actions/smart-crawler-status.d.cts +22 -3
- package/dist/actions/smart-crawler-status.d.cts.map +1 -1
- package/dist/actions/smart-crawler-status.d.mts +22 -3
- package/dist/actions/smart-crawler-status.d.mts.map +1 -1
- package/dist/actions/smart-crawler-status.mjs +7 -7
- package/dist/actions/smart-crawler-status.mjs.map +1 -1
- package/dist/actions/smart-scraper-start.cjs +4 -4
- package/dist/actions/smart-scraper-start.cjs.map +1 -1
- package/dist/actions/smart-scraper-start.d.cts +48 -3
- package/dist/actions/smart-scraper-start.d.cts.map +1 -1
- package/dist/actions/smart-scraper-start.d.mts +48 -3
- package/dist/actions/smart-scraper-start.d.mts.map +1 -1
- package/dist/actions/smart-scraper-start.mjs +4 -4
- package/dist/actions/smart-scraper-start.mjs.map +1 -1
- package/dist/actions/smart-scraper-status.cjs +4 -4
- package/dist/actions/smart-scraper-status.cjs.map +1 -1
- package/dist/actions/smart-scraper-status.d.cts +14 -3
- package/dist/actions/smart-scraper-status.d.cts.map +1 -1
- package/dist/actions/smart-scraper-status.d.mts +14 -3
- package/dist/actions/smart-scraper-status.d.mts.map +1 -1
- package/dist/actions/smart-scraper-status.mjs +4 -4
- 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 +47 -3
- package/dist/actions/start-smart-crawler.d.cts.map +1 -1
- package/dist/actions/start-smart-crawler.d.mts +47 -3
- package/dist/actions/start-smart-crawler.d.mts.map +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 +5 -5
- package/dist/actions/submit-feedback.cjs.map +1 -1
- package/dist/actions/submit-feedback.d.cts +16 -3
- package/dist/actions/submit-feedback.d.cts.map +1 -1
- package/dist/actions/submit-feedback.d.mts +16 -3
- package/dist/actions/submit-feedback.d.mts.map +1 -1
- package/dist/actions/submit-feedback.mjs +5 -5
- 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 +41 -3
- package/dist/actions/submit-product-feedback.d.cts.map +1 -1
- package/dist/actions/submit-product-feedback.d.mts +41 -3
- package/dist/actions/submit-product-feedback.d.mts.map +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 +9 -3
- package/dist/actions/toonify.d.cts.map +1 -1
- package/dist/actions/toonify.d.mts +9 -3
- package/dist/actions/toonify.d.mts.map +1 -1
- package/dist/actions/toonify.mjs +1 -1
- package/dist/actions/toonify.mjs.map +1 -1
- package/dist/actions/validate-api-key.cjs +2 -2
- package/dist/actions/validate-api-key.cjs.map +1 -1
- package/dist/actions/validate-api-key.d.cts +6 -3
- package/dist/actions/validate-api-key.d.cts.map +1 -1
- package/dist/actions/validate-api-key.d.mts +6 -3
- package/dist/actions/validate-api-key.d.mts.map +1 -1
- package/dist/actions/validate-api-key.mjs +2 -2
- package/dist/actions/validate-api-key.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -13,13 +13,13 @@ const ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = z.obje
|
|
|
13
13
|
metadata: z.record(z.string(), z.unknown()).describe("Additional metadata associated with the request.").nullable().optional(),
|
|
14
14
|
request_id: z.string().describe("The unique identifier (UUID) of the searchscraper request.").nullable().optional(),
|
|
15
15
|
finished_at: z.record(z.string(), z.unknown()).describe("Information about when the request completed.").nullable().optional(),
|
|
16
|
-
user_prompt: z.string().describe("The search query or prompt submitted by the user."),
|
|
16
|
+
user_prompt: z.string().describe("The search query or prompt submitted by the user.").nullable(),
|
|
17
17
|
requested_at: z.string().describe("ISO 8601 timestamp when the request was submitted.").nullable().optional(),
|
|
18
18
|
search_query: z.record(z.string(), z.unknown()).describe("Details about the search query parameters.").nullable().optional(),
|
|
19
19
|
output_schema: z.record(z.string(), z.unknown()).describe("The output schema used for structuring results.").nullable().optional(),
|
|
20
20
|
references_urls: z.record(z.string(), z.unknown()).describe("URLs referenced during the search scraping process.").nullable().optional(),
|
|
21
21
|
extraction_query: z.record(z.string(), z.unknown()).describe("Details about the extraction query parameters.").nullable().optional()
|
|
22
|
-
}).describe("Database model for a single searchscraper request in history.");
|
|
22
|
+
}).passthrough().describe("Database model for a single searchscraper request in history.");
|
|
23
23
|
const scrapegraphAiGetSearchscraperHistory = action("SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY", {
|
|
24
24
|
slug: "scrapegraph_ai-get-searchscraper-history",
|
|
25
25
|
name: "Get Searchscraper History",
|
|
@@ -28,7 +28,7 @@ const scrapegraphAiGetSearchscraperHistory = action("SCRAPEGRAPH_AI_GET_SEARCHSC
|
|
|
28
28
|
output: z.object({
|
|
29
29
|
next_key: z.record(z.string(), z.unknown()).describe("Pagination token for fetching the next page of results. Null if no more pages.").nullable().optional(),
|
|
30
30
|
requests: z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe("List of searchscraper requests in the history.")
|
|
31
|
-
}).describe("Response model for searchscraper history retrieval.")
|
|
31
|
+
}).passthrough().describe("Response model for searchscraper history retrieval.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { scrapegraphAiGetSearchscraperHistory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-searchscraper-history.mjs","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSearchscraperHistoryInput
|
|
1
|
+
{"version":3,"file":"get-searchscraper-history.mjs","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSearchscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving searchscraper job history.\");\nconst ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = z.object({\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted search results (available when status is 'completed').\").nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'queued', 'processing', 'completed', or 'failed'.\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier associated with the request.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the searchscraper request.\").nullable().optional(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Information about when the request completed.\").nullable().optional(),\n user_prompt: z.string().describe(\"The search query or prompt submitted by the user.\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted.\").nullable().optional(),\n search_query: z.record(z.string(), z.unknown()).describe(\"Details about the search query parameters.\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"The output schema used for structuring results.\").nullable().optional(),\n references_urls: z.record(z.string(), z.unknown()).describe(\"URLs referenced during the search scraping process.\").nullable().optional(),\n extraction_query: z.record(z.string(), z.unknown()).describe(\"Details about the extraction query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Database model for a single searchscraper request in history.\");\nexport const ScrapegraphAiGetSearchscraperHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe(\"List of searchscraper requests in the history.\"),\n}).passthrough().describe(\"Response model for searchscraper history retrieval.\");\n\nexport const scrapegraphAiGetSearchscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-searchscraper-history\",\n name: \"Get Searchscraper History\",\n description: \"Get the history of searchscraper jobs with pagination support. Use this to retrieve past searchscraper requests, their status, and results.\",\n input: ScrapegraphAiGetSearchscraperHistoryInput,\n output: ScrapegraphAiGetSearchscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC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iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAMzF,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,UAAU,EAAE,MAAM,iEAAiE,CAAC,CAAC,SAAS,gDAAgD;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -6,20 +6,20 @@ const ScrapegraphAiGetSitemapHistoryInput = zod.z.object({
|
|
|
6
6
|
page_size: zod.z.number().int().default(10).describe("Number of items per page. Defaults to 10.").optional()
|
|
7
7
|
}).describe("Request schema for retrieving the history of sitemap extraction jobs.");
|
|
8
8
|
const ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = zod.z.object({
|
|
9
|
-
status: zod.z.string().describe("Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')"),
|
|
10
|
-
user_id: zod.z.string().describe("Identifier of the user who made the request"),
|
|
9
|
+
status: zod.z.string().describe("Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')").nullable(),
|
|
10
|
+
user_id: zod.z.string().describe("Identifier of the user who made the request").nullable(),
|
|
11
11
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the sitemap extraction request").nullable().optional(),
|
|
12
|
-
api_key_id: zod.z.string().describe("Identifier of the API key used for this request"),
|
|
13
|
-
request_id: zod.z.string().describe("Unique identifier (UUID) of the sitemap extraction request"),
|
|
14
|
-
urls_count: zod.z.number().int().describe("Number of URLs found in the extracted sitemap"),
|
|
15
|
-
website_url: zod.z.string().describe("URL of the website from which the sitemap was extracted"),
|
|
16
|
-
requested_at: zod.z.string().describe("ISO 8601 timestamp indicating when the request was made"),
|
|
12
|
+
api_key_id: zod.z.string().describe("Identifier of the API key used for this request").nullable(),
|
|
13
|
+
request_id: zod.z.string().describe("Unique identifier (UUID) of the sitemap extraction request").nullable(),
|
|
14
|
+
urls_count: zod.z.number().int().describe("Number of URLs found in the extracted sitemap").nullable(),
|
|
15
|
+
website_url: zod.z.string().describe("URL of the website from which the sitemap was extracted").nullable(),
|
|
16
|
+
requested_at: zod.z.string().describe("ISO 8601 timestamp indicating when the request was made").nullable(),
|
|
17
17
|
error_message: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Error details if the request failed. Contains error information as a dictionary.").nullable().optional()
|
|
18
|
-
}).describe("Model representing a single sitemap extraction job in the history.");
|
|
18
|
+
}).passthrough().describe("Model representing a single sitemap extraction job in the history.");
|
|
19
19
|
const ScrapegraphAiGetSitemapHistoryOutput = zod.z.object({
|
|
20
20
|
next_key: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pagination key for fetching the next page of results. Null if no more pages available.").nullable().optional(),
|
|
21
21
|
requests: zod.z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe("List of sitemap extraction jobs in the requested page")
|
|
22
|
-
}).describe("Response schema for sitemap extraction job history.");
|
|
22
|
+
}).passthrough().describe("Response schema for sitemap extraction job history.");
|
|
23
23
|
const scrapegraphAiGetSitemapHistory = require_action.action("SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY", {
|
|
24
24
|
slug: "scrapegraph_ai-get-sitemap-history",
|
|
25
25
|
name: "Get Sitemap History",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sitemap-history.cjs","names":["z","action"],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput
|
|
1
|
+
{"version":3,"file":"get-sitemap-history.cjs","names":["z","action"],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who made the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\").nullable(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\").nullable(),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\").nullable(),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\").nullable(),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).passthrough().describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACjI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,UAAUA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,uDAAuD;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-sitemap-history.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetSitemapHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetSitemapHistoryInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScrapegraphAiGetSitemapHistoryOutput: z.ZodObject<{
|
|
9
|
+
next_key: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
11
|
+
status: z.ZodNullable<z.ZodString>;
|
|
12
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
+
api_key_id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
request_id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
urls_count: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
website_url: z.ZodNullable<z.ZodString>;
|
|
18
|
+
requested_at: z.ZodNullable<z.ZodString>;
|
|
19
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
declare const scrapegraphAiGetSitemapHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
page?: number | undefined;
|
|
24
|
+
page_size?: number | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { scrapegraphAiGetSitemapHistory };
|
|
9
28
|
//# sourceMappingURL=get-sitemap-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sitemap-history.d.cts","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-sitemap-history.d.cts","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAenC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-sitemap-history.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetSitemapHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetSitemapHistoryInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScrapegraphAiGetSitemapHistoryOutput: z.ZodObject<{
|
|
9
|
+
next_key: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
11
|
+
status: z.ZodNullable<z.ZodString>;
|
|
12
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
+
api_key_id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
request_id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
urls_count: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
website_url: z.ZodNullable<z.ZodString>;
|
|
18
|
+
requested_at: z.ZodNullable<z.ZodString>;
|
|
19
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
declare const scrapegraphAiGetSitemapHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
page?: number | undefined;
|
|
24
|
+
page_size?: number | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { scrapegraphAiGetSitemapHistory };
|
|
9
28
|
//# sourceMappingURL=get-sitemap-history.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sitemap-history.d.mts","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-sitemap-history.d.mts","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAenC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -6,16 +6,16 @@ const ScrapegraphAiGetSitemapHistoryInput = z.object({
|
|
|
6
6
|
page_size: z.number().int().default(10).describe("Number of items per page. Defaults to 10.").optional()
|
|
7
7
|
}).describe("Request schema for retrieving the history of sitemap extraction jobs.");
|
|
8
8
|
const ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({
|
|
9
|
-
status: z.string().describe("Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')"),
|
|
10
|
-
user_id: z.string().describe("Identifier of the user who made the request"),
|
|
9
|
+
status: z.string().describe("Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')").nullable(),
|
|
10
|
+
user_id: z.string().describe("Identifier of the user who made the request").nullable(),
|
|
11
11
|
metadata: z.record(z.string(), z.unknown()).describe("Additional metadata associated with the sitemap extraction request").nullable().optional(),
|
|
12
|
-
api_key_id: z.string().describe("Identifier of the API key used for this request"),
|
|
13
|
-
request_id: z.string().describe("Unique identifier (UUID) of the sitemap extraction request"),
|
|
14
|
-
urls_count: z.number().int().describe("Number of URLs found in the extracted sitemap"),
|
|
15
|
-
website_url: z.string().describe("URL of the website from which the sitemap was extracted"),
|
|
16
|
-
requested_at: z.string().describe("ISO 8601 timestamp indicating when the request was made"),
|
|
12
|
+
api_key_id: z.string().describe("Identifier of the API key used for this request").nullable(),
|
|
13
|
+
request_id: z.string().describe("Unique identifier (UUID) of the sitemap extraction request").nullable(),
|
|
14
|
+
urls_count: z.number().int().describe("Number of URLs found in the extracted sitemap").nullable(),
|
|
15
|
+
website_url: z.string().describe("URL of the website from which the sitemap was extracted").nullable(),
|
|
16
|
+
requested_at: z.string().describe("ISO 8601 timestamp indicating when the request was made").nullable(),
|
|
17
17
|
error_message: z.record(z.string(), z.unknown()).describe("Error details if the request failed. Contains error information as a dictionary.").nullable().optional()
|
|
18
|
-
}).describe("Model representing a single sitemap extraction job in the history.");
|
|
18
|
+
}).passthrough().describe("Model representing a single sitemap extraction job in the history.");
|
|
19
19
|
const scrapegraphAiGetSitemapHistory = action("SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY", {
|
|
20
20
|
slug: "scrapegraph_ai-get-sitemap-history",
|
|
21
21
|
name: "Get Sitemap History",
|
|
@@ -24,7 +24,7 @@ const scrapegraphAiGetSitemapHistory = action("SCRAPEGRAPH_AI_GET_SITEMAP_HISTOR
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
next_key: z.record(z.string(), z.unknown()).describe("Pagination key for fetching the next page of results. Null if no more pages available.").nullable().optional(),
|
|
26
26
|
requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe("List of sitemap extraction jobs in the requested page")
|
|
27
|
-
}).describe("Response schema for sitemap extraction job history.")
|
|
27
|
+
}).passthrough().describe("Response schema for sitemap extraction job history.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { scrapegraphAiGetSitemapHistory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sitemap-history.mjs","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput
|
|
1
|
+
{"version":3,"file":"get-sitemap-history.mjs","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who made the request\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\").nullable(),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\").nullable(),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\").nullable(),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\").nullable(),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).passthrough().describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: Scr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AO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnK,UAAU,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,uDAAuD;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -11,19 +11,19 @@ const ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = zod.z.ob
|
|
|
11
11
|
status: zod.z.string().describe("Current status of the request: 'queued', 'processing', 'completed', or 'failed'").nullable().optional(),
|
|
12
12
|
user_id: zod.z.unknown().describe("Internal identifier for the user who submitted the request").nullable().optional(),
|
|
13
13
|
metadata: zod.z.unknown().describe("Additional metadata associated with the request").nullable().optional(),
|
|
14
|
-
request_id: zod.z.string().describe("The unique identifier (UUID) of the SmartScraper request"),
|
|
14
|
+
request_id: zod.z.string().describe("The unique identifier (UUID) of the SmartScraper request").nullable(),
|
|
15
15
|
webpage_id: zod.z.unknown().describe("Internal identifier for the webpage being scraped").nullable().optional(),
|
|
16
16
|
finished_at: zod.z.unknown().describe("ISO 8601 timestamp when the request finished processing. Null if still in progress.").nullable().optional(),
|
|
17
|
-
user_prompt: zod.z.string().describe("The natural language prompt describing what information to extract"),
|
|
17
|
+
user_prompt: zod.z.string().describe("The natural language prompt describing what information to extract").nullable(),
|
|
18
18
|
website_url: zod.z.unknown().describe("URL of the website being scraped. May be null if website_html was provided instead of a URL.").nullable().optional(),
|
|
19
|
-
requested_at: zod.z.string().describe("ISO 8601 timestamp when the request was submitted"),
|
|
19
|
+
requested_at: zod.z.string().describe("ISO 8601 timestamp when the request was submitted").nullable(),
|
|
20
20
|
output_schema: zod.z.unknown().describe("JSON Schema defining the structure of extracted data").nullable().optional(),
|
|
21
21
|
request_params: zod.z.unknown().describe("Parameters used for the scraping request (headers, cookies, output_schema, etc.)").nullable().optional()
|
|
22
|
-
}).describe("Individual smartscraper request record from history.");
|
|
22
|
+
}).passthrough().describe("Individual smartscraper request record from history.");
|
|
23
23
|
const ScrapegraphAiGetSmartscraperHistoryOutput = zod.z.object({
|
|
24
24
|
next_key: zod.z.unknown().describe("Pagination token for fetching the next page of results. Null if no more pages.").nullable().optional(),
|
|
25
25
|
requests: zod.z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe("List of smartscraper requests in the current page, ordered by most recent first")
|
|
26
|
-
}).describe("Response schema containing smartscraper job history.");
|
|
26
|
+
}).passthrough().describe("Response schema containing smartscraper job history.");
|
|
27
27
|
const scrapegraphAiGetSmartscraperHistory = require_action.action("SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY", {
|
|
28
28
|
slug: "scrapegraph_ai-get-smartscraper-history",
|
|
29
29
|
name: "Get Smartscraper History",
|
|
@@ -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
|
|
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,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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,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,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"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-smartscraper-history.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetSmartscraperHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetSmartscraperHistoryInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScrapegraphAiGetSmartscraperHistoryOutput: z.ZodObject<{
|
|
9
|
+
next_key: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
10
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
11
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
12
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
15
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
16
|
+
request_id: z.ZodNullable<z.ZodString>;
|
|
17
|
+
webpage_id: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
18
|
+
finished_at: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
19
|
+
user_prompt: z.ZodNullable<z.ZodString>;
|
|
20
|
+
website_url: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
21
|
+
requested_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
output_schema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
23
|
+
request_params: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const scrapegraphAiGetSmartscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
page?: number | undefined;
|
|
28
|
+
page_size?: number | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { scrapegraphAiGetSmartscraperHistory };
|
|
9
32
|
//# sourceMappingURL=get-smartscraper-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-smartscraper-history.d.cts","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"mappings":";;;cAIa,wCAAA,
|
|
1
|
+
{"version":3,"file":"get-smartscraper-history.d.cts","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAmBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-smartscraper-history.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetSmartscraperHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetSmartscraperHistoryInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScrapegraphAiGetSmartscraperHistoryOutput: z.ZodObject<{
|
|
9
|
+
next_key: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
10
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
11
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
12
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
15
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
16
|
+
request_id: z.ZodNullable<z.ZodString>;
|
|
17
|
+
webpage_id: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
18
|
+
finished_at: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
19
|
+
user_prompt: z.ZodNullable<z.ZodString>;
|
|
20
|
+
website_url: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
21
|
+
requested_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
output_schema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
23
|
+
request_params: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const scrapegraphAiGetSmartscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
page?: number | undefined;
|
|
28
|
+
page_size?: number | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { scrapegraphAiGetSmartscraperHistory };
|
|
9
32
|
//# sourceMappingURL=get-smartscraper-history.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-smartscraper-history.d.mts","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"mappings":";;;cAIa,wCAAA,
|
|
1
|
+
{"version":3,"file":"get-smartscraper-history.d.mts","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAmBxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA"}
|
|
@@ -11,15 +11,15 @@ const ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object
|
|
|
11
11
|
status: z.string().describe("Current status of the request: 'queued', 'processing', 'completed', or 'failed'").nullable().optional(),
|
|
12
12
|
user_id: z.unknown().describe("Internal identifier for the user who submitted the request").nullable().optional(),
|
|
13
13
|
metadata: z.unknown().describe("Additional metadata associated with the request").nullable().optional(),
|
|
14
|
-
request_id: z.string().describe("The unique identifier (UUID) of the SmartScraper request"),
|
|
14
|
+
request_id: z.string().describe("The unique identifier (UUID) of the SmartScraper request").nullable(),
|
|
15
15
|
webpage_id: z.unknown().describe("Internal identifier for the webpage being scraped").nullable().optional(),
|
|
16
16
|
finished_at: z.unknown().describe("ISO 8601 timestamp when the request finished processing. Null if still in progress.").nullable().optional(),
|
|
17
|
-
user_prompt: z.string().describe("The natural language prompt describing what information to extract"),
|
|
17
|
+
user_prompt: z.string().describe("The natural language prompt describing what information to extract").nullable(),
|
|
18
18
|
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(),
|
|
19
|
-
requested_at: z.string().describe("ISO 8601 timestamp when the request was submitted"),
|
|
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
|
|
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,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,QAAQ,C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7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.").optional() }).describe("Request schema for retrieving usage timeline statistics.");
|
|
10
10
|
const ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = zod.z.object({
|
|
11
|
-
service: zod.z.string().describe("Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper')."),
|
|
12
|
-
timestamp: zod.z.string().describe("ISO 8601 timestamp when the service was accessed.")
|
|
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.");
|
|
11
|
+
service: zod.z.string().describe("Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').").nullable(),
|
|
12
|
+
timestamp: zod.z.string().describe("ISO 8601 timestamp when the service was accessed.").nullable()
|
|
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
|
|
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"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-usage-timeline.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetUsageTimelineInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetUsageTimelineInput: z.ZodObject<{
|
|
5
|
+
days: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
7: "7";
|
|
7
|
+
14: "14";
|
|
8
|
+
30: "30";
|
|
9
|
+
all: "all";
|
|
10
|
+
}>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ScrapegraphAiGetUsageTimelineOutput: z.ZodObject<{
|
|
13
|
+
timeline: z.ZodArray<z.ZodObject<{
|
|
14
|
+
service: z.ZodNullable<z.ZodString>;
|
|
15
|
+
timestamp: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const scrapegraphAiGetUsageTimeline: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
days?: "7" | "14" | "30" | "all" | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { scrapegraphAiGetUsageTimeline };
|
|
9
23
|
//# sourceMappingURL=get-usage-timeline.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage-timeline.d.cts","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"get-usage-timeline.d.cts","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAOlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-usage-timeline.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetUsageTimelineInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetUsageTimelineInput: z.ZodObject<{
|
|
5
|
+
days: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
7: "7";
|
|
7
|
+
14: "14";
|
|
8
|
+
30: "30";
|
|
9
|
+
all: "all";
|
|
10
|
+
}>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const ScrapegraphAiGetUsageTimelineOutput: z.ZodObject<{
|
|
13
|
+
timeline: z.ZodArray<z.ZodObject<{
|
|
14
|
+
service: z.ZodNullable<z.ZodString>;
|
|
15
|
+
timestamp: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const scrapegraphAiGetUsageTimeline: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
days?: "7" | "14" | "30" | "all" | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { scrapegraphAiGetUsageTimeline };
|
|
9
23
|
//# sourceMappingURL=get-usage-timeline.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage-timeline.d.mts","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"get-usage-timeline.d.mts","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAOlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -8,15 +8,15 @@ const ScrapegraphAiGetUsageTimelineInput = z.object({ days: z.enum([
|
|
|
8
8
|
"all"
|
|
9
9
|
]).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() }).describe("Request schema for retrieving usage timeline statistics.");
|
|
10
10
|
const ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({
|
|
11
|
-
service: z.string().describe("Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper')."),
|
|
12
|
-
timestamp: z.string().describe("ISO 8601 timestamp when the service was accessed.")
|
|
13
|
-
}).describe("Individual usage timeline entry representing a service usage event.");
|
|
11
|
+
service: z.string().describe("Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').").nullable(),
|
|
12
|
+
timestamp: z.string().describe("ISO 8601 timestamp when the service was accessed.").nullable()
|
|
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
|
|
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"}
|