@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-live-session-url.d.cts","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-live-session-url.d.cts","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-live-session-url.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetLiveSessionUrlInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetLiveSessionUrlInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
timeout: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ScrapegraphAiGetLiveSessionUrlOutput: z.ZodObject<{
|
|
9
|
+
session_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
session_url: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const scrapegraphAiGetLiveSessionUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
url: string;
|
|
14
|
+
timeout?: number | undefined;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { scrapegraphAiGetLiveSessionUrl };
|
|
9
18
|
//# sourceMappingURL=get-live-session-url.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-live-session-url.d.mts","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-live-session-url.d.mts","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -9,9 +9,9 @@ const scrapegraphAiGetLiveSessionUrl = action("SCRAPEGRAPH_AI_GET_LIVE_SESSION_U
|
|
|
9
9
|
timeout: z.number().int().default(300).describe("Timeout for the live session in seconds. Default is 300 seconds (5 minutes).").optional()
|
|
10
10
|
}).describe("Request schema for getting a live browser session URL."),
|
|
11
11
|
output: z.object({
|
|
12
|
-
session_id: z.string().describe("Unique identifier for this live browser session. Use this ID to reference or track the session."),
|
|
13
|
-
session_url: z.string().describe("The URL to access the live browser session. Open this URL to interact with the browser.")
|
|
14
|
-
}).describe("Response schema containing the live session URL and session identifier.")
|
|
12
|
+
session_id: z.string().describe("Unique identifier for this live browser session. Use this ID to reference or track the session.").nullable(),
|
|
13
|
+
session_url: z.string().describe("The URL to access the live browser session. Open this URL to interact with the browser.").nullable()
|
|
14
|
+
}).passthrough().describe("Response schema containing the live session URL and session identifier.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { scrapegraphAiGetLiveSessionUrl };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-live-session-url.mjs","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetLiveSessionUrlInput
|
|
1
|
+
{"version":3,"file":"get-live-session-url.mjs","names":[],"sources":["../../src/actions/get-live-session-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetLiveSessionUrlInput = z.object({\n url: z.string().describe(\"The URL of the webpage to open in the live browser session. Must be a valid HTTP/HTTPS URL.\"),\n timeout: z.number().int().default(300).describe(\"Timeout for the live session in seconds. Default is 300 seconds (5 minutes).\").optional(),\n}).describe(\"Request schema for getting a live browser session URL.\");\nexport const ScrapegraphAiGetLiveSessionUrlOutput = z.object({\n session_id: z.string().describe(\"Unique identifier for this live browser session. Use this ID to reference or track the session.\").nullable(),\n session_url: z.string().describe(\"The URL to access the live browser session. Open this URL to interact with the browser.\").nullable(),\n}).passthrough().describe(\"Response schema containing the live session URL and session identifier.\");\n\nexport const scrapegraphAiGetLiveSessionUrl = action(\"SCRAPEGRAPH_AI_GET_LIVE_SESSION_URL\", {\n slug: \"scrapegraph_ai-get-live-session-url\",\n name: \"Get Live Session URL\",\n description: \"Tool to get a URL for a live browser session. Use when you need to interact with a webpage in real-time through a controlled browser environment.\",\n input: ScrapegraphAiGetLiveSessionUrlInput,\n output: ScrapegraphAiGetLiveSessionUrlOutput,\n});\n"],"mappings":";;AAaA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;EACtH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC5I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
|
|
@@ -7,21 +7,21 @@ const ScrapegraphAiGetMarkdownifyHistoryInput = zod.z.object({
|
|
|
7
7
|
}).describe("Request schema for retrieving the history of markdownify jobs.");
|
|
8
8
|
const ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = zod.z.object({
|
|
9
9
|
error: zod.z.string().describe("Error information if the request failed").nullable().optional(),
|
|
10
|
-
status: zod.z.string().describe("Current status of the request (e.g., queued, processing, completed, failed)"),
|
|
10
|
+
status: zod.z.string().describe("Current status of the request (e.g., queued, processing, completed, failed)").nullable(),
|
|
11
11
|
user_id: zod.z.string().describe("User identifier who initiated the request").nullable().optional(),
|
|
12
12
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the request").nullable().optional(),
|
|
13
13
|
usage_id: zod.z.string().describe("Usage tracking identifier").nullable().optional(),
|
|
14
14
|
request_id: zod.z.string().describe("Unique identifier for the markdownify request").nullable().optional(),
|
|
15
15
|
webpage_id: zod.z.string().describe("Identifier for the processed webpage").nullable().optional(),
|
|
16
16
|
finished_at: zod.z.string().describe("Timestamp when the request was completed").nullable().optional(),
|
|
17
|
-
website_url: zod.z.string().describe("URL of the website that was markdownified"),
|
|
17
|
+
website_url: zod.z.string().describe("URL of the website that was markdownified").nullable(),
|
|
18
18
|
requested_at: zod.z.string().describe("Timestamp when the request was initiated").nullable().optional(),
|
|
19
19
|
request_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters used for the markdownify request").nullable().optional()
|
|
20
|
-
}).describe("Schema representing a single markdownify request from the database.");
|
|
20
|
+
}).passthrough().describe("Schema representing a single markdownify request from the database.");
|
|
21
21
|
const ScrapegraphAiGetMarkdownifyHistoryOutput = zod.z.object({
|
|
22
22
|
next_key: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pagination key for retrieving the next page of results. Null if no more pages.").nullable().optional(),
|
|
23
23
|
requests: zod.z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe("List of markdownify requests for the current page")
|
|
24
|
-
}).describe("Response schema for markdownify history retrieval.");
|
|
24
|
+
}).passthrough().describe("Response schema for markdownify history retrieval.");
|
|
25
25
|
const scrapegraphAiGetMarkdownifyHistory = require_action.action("SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY", {
|
|
26
26
|
slug: "scrapegraph_ai-get-markdownify-history",
|
|
27
27
|
name: "Get Markdownify History",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markdownify-history.cjs","names":["z","action"],"sources":["../../src/actions/get-markdownify-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetMarkdownifyHistoryInput
|
|
1
|
+
{"version":3,"file":"get-markdownify-history.cjs","names":["z","action"],"sources":["../../src/actions/get-markdownify-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetMarkdownifyHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of markdownify jobs.\");\nconst ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = z.object({\n error: z.string().describe(\"Error information if the request failed\").nullable().optional(),\n status: z.string().describe(\"Current status of the request (e.g., queued, processing, completed, failed)\").nullable(),\n user_id: z.string().describe(\"User identifier who initiated the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.string().describe(\"Usage tracking identifier\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier for the processed webpage\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the request was completed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was markdownified\").nullable(),\n requested_at: z.string().describe(\"Timestamp when the request was initiated\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the markdownify request\").nullable().optional(),\n}).passthrough().describe(\"Schema representing a single markdownify request from the database.\");\nexport const ScrapegraphAiGetMarkdownifyHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe(\"List of markdownify requests for the current page\"),\n}).passthrough().describe(\"Response schema for markdownify history retrieval.\");\n\nexport const scrapegraphAiGetMarkdownifyHistory = action(\"SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY\", {\n slug: \"scrapegraph_ai-get-markdownify-history\",\n name: \"Get Markdownify History\",\n description: \"Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs. Use when you need to view past markdownify requests and their statuses.\",\n input: ScrapegraphAiGetMarkdownifyHistoryInput,\n output: ScrapegraphAiGetMarkdownifyHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAA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AC,SAAS,CAAC,CAAC,SAAS;CAC3J,UAAUA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,mDAAmD;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-markdownify-history.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetMarkdownifyHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetMarkdownifyHistoryInput: 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 ScrapegraphAiGetMarkdownifyHistoryOutput: z.ZodObject<{
|
|
9
|
+
next_key: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
11
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
status: z.ZodNullable<z.ZodString>;
|
|
13
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
usage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
webpage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
website_url: z.ZodNullable<z.ZodString>;
|
|
20
|
+
requested_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
request_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const scrapegraphAiGetMarkdownifyHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
page_size?: number | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { scrapegraphAiGetMarkdownifyHistory };
|
|
9
30
|
//# sourceMappingURL=get-markdownify-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markdownify-history.d.cts","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"mappings":";;;cAIa,uCAAA,
|
|
1
|
+
{"version":3,"file":"get-markdownify-history.d.cts","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;cAiBvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAKxC,kCAAA,gCAAkC,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-markdownify-history.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetMarkdownifyHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetMarkdownifyHistoryInput: 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 ScrapegraphAiGetMarkdownifyHistoryOutput: z.ZodObject<{
|
|
9
|
+
next_key: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
11
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
status: z.ZodNullable<z.ZodString>;
|
|
13
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
usage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
webpage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
website_url: z.ZodNullable<z.ZodString>;
|
|
20
|
+
requested_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
request_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const scrapegraphAiGetMarkdownifyHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
page_size?: number | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { scrapegraphAiGetMarkdownifyHistory };
|
|
9
30
|
//# sourceMappingURL=get-markdownify-history.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markdownify-history.d.mts","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"mappings":";;;cAIa,uCAAA,
|
|
1
|
+
{"version":3,"file":"get-markdownify-history.d.mts","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;cAiBvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAKxC,kCAAA,gCAAkC,wBAAA"}
|
|
@@ -7,17 +7,17 @@ const ScrapegraphAiGetMarkdownifyHistoryInput = z.object({
|
|
|
7
7
|
}).describe("Request schema for retrieving the history of markdownify jobs.");
|
|
8
8
|
const ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = z.object({
|
|
9
9
|
error: z.string().describe("Error information if the request failed").nullable().optional(),
|
|
10
|
-
status: z.string().describe("Current status of the request (e.g., queued, processing, completed, failed)"),
|
|
10
|
+
status: z.string().describe("Current status of the request (e.g., queued, processing, completed, failed)").nullable(),
|
|
11
11
|
user_id: z.string().describe("User identifier who initiated the request").nullable().optional(),
|
|
12
12
|
metadata: z.record(z.string(), z.unknown()).describe("Additional metadata associated with the request").nullable().optional(),
|
|
13
13
|
usage_id: z.string().describe("Usage tracking identifier").nullable().optional(),
|
|
14
14
|
request_id: z.string().describe("Unique identifier for the markdownify request").nullable().optional(),
|
|
15
15
|
webpage_id: z.string().describe("Identifier for the processed webpage").nullable().optional(),
|
|
16
16
|
finished_at: z.string().describe("Timestamp when the request was completed").nullable().optional(),
|
|
17
|
-
website_url: z.string().describe("URL of the website that was markdownified"),
|
|
17
|
+
website_url: z.string().describe("URL of the website that was markdownified").nullable(),
|
|
18
18
|
requested_at: z.string().describe("Timestamp when the request was initiated").nullable().optional(),
|
|
19
19
|
request_params: z.record(z.string(), z.unknown()).describe("Parameters used for the markdownify request").nullable().optional()
|
|
20
|
-
}).describe("Schema representing a single markdownify request from the database.");
|
|
20
|
+
}).passthrough().describe("Schema representing a single markdownify request from the database.");
|
|
21
21
|
const scrapegraphAiGetMarkdownifyHistory = action("SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY", {
|
|
22
22
|
slug: "scrapegraph_ai-get-markdownify-history",
|
|
23
23
|
name: "Get Markdownify History",
|
|
@@ -26,7 +26,7 @@ const scrapegraphAiGetMarkdownifyHistory = action("SCRAPEGRAPH_AI_GET_MARKDOWNIF
|
|
|
26
26
|
output: z.object({
|
|
27
27
|
next_key: z.record(z.string(), z.unknown()).describe("Pagination key for retrieving the next page of results. Null if no more pages.").nullable().optional(),
|
|
28
28
|
requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe("List of markdownify requests for the current page")
|
|
29
|
-
}).describe("Response schema for markdownify history retrieval.")
|
|
29
|
+
}).passthrough().describe("Response schema for markdownify history retrieval.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { scrapegraphAiGetMarkdownifyHistory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-markdownify-history.mjs","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetMarkdownifyHistoryInput
|
|
1
|
+
{"version":3,"file":"get-markdownify-history.mjs","names":[],"sources":["../../src/actions/get-markdownify-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetMarkdownifyHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of markdownify jobs.\");\nconst ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema = z.object({\n error: z.string().describe(\"Error information if the request failed\").nullable().optional(),\n status: z.string().describe(\"Current status of the request (e.g., queued, processing, completed, failed)\").nullable(),\n user_id: z.string().describe(\"User identifier who initiated the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request\").nullable().optional(),\n usage_id: z.string().describe(\"Usage tracking identifier\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the markdownify request\").nullable().optional(),\n webpage_id: z.string().describe(\"Identifier for the processed webpage\").nullable().optional(),\n finished_at: z.string().describe(\"Timestamp when the request was completed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was markdownified\").nullable(),\n requested_at: z.string().describe(\"Timestamp when the request was initiated\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the markdownify request\").nullable().optional(),\n}).passthrough().describe(\"Schema representing a single markdownify request from the database.\");\nexport const ScrapegraphAiGetMarkdownifyHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetMarkdownifyHistory_MarkdownifyRequestDBSchema).describe(\"List of markdownify requests for the current page\"),\n}).passthrough().describe(\"Response schema for markdownify history retrieval.\");\n\nexport const scrapegraphAiGetMarkdownifyHistory = action(\"SCRAPEGRAPH_AI_GET_MARKDOWNIFY_HISTORY\", {\n slug: \"scrapegraph_ai-get-markdownify-history\",\n name: \"Get Markdownify History\",\n description: \"Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs. Use when you need to view past markdownify requests and their statuses.\",\n input: ScrapegraphAiGetMarkdownifyHistoryInput,\n output: ScrapegraphAiGetMarkdownifyHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AA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GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,UAAU,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,mDAAmD;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -12,17 +12,17 @@ const ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = zod.z.object({
|
|
|
12
12
|
status: zod.z.string().describe("Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'").nullable().optional(),
|
|
13
13
|
user_id: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User identifier information for the request").nullable().optional(),
|
|
14
14
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata about the scrape request").nullable().optional(),
|
|
15
|
-
request_id: zod.z.string().describe("The unique identifier (UUID) of the scrape request"),
|
|
15
|
+
request_id: zod.z.string().describe("The unique identifier (UUID) of the scrape request").nullable(),
|
|
16
16
|
finished_at: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Timestamp information when the scrape request was completed or failed").nullable().optional(),
|
|
17
|
-
website_url: zod.z.string().describe("URL of the website that was scraped"),
|
|
17
|
+
website_url: zod.z.string().describe("URL of the website that was scraped").nullable(),
|
|
18
18
|
requested_at: zod.z.string().describe("ISO timestamp when the scrape request was submitted").nullable().optional(),
|
|
19
19
|
request_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameters used for the scrape request (e.g., user_prompt, output_schema)").nullable().optional(),
|
|
20
20
|
render_heavy_js: zod.z.boolean().describe("Whether heavy JavaScript rendering was enabled for this request").nullable().optional()
|
|
21
|
-
}).describe("Schema for an individual scrape request from the history.");
|
|
21
|
+
}).passthrough().describe("Schema for an individual scrape request from the history.");
|
|
22
22
|
const ScrapegraphAiGetScrapeHistoryOutput = zod.z.object({
|
|
23
23
|
next_key: zod.z.record(zod.z.string(), zod.z.unknown()).nullable(),
|
|
24
24
|
requests: zod.z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe("List of scrape requests with their status, results, and metadata")
|
|
25
|
-
}).describe("Response schema containing the history of scrape requests.");
|
|
25
|
+
}).passthrough().describe("Response schema containing the history of scrape requests.");
|
|
26
26
|
const scrapegraphAiGetScrapeHistory = require_action.action("SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY", {
|
|
27
27
|
slug: "scrapegraph_ai-get-scrape-history",
|
|
28
28
|
name: "Get Scrape History",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scrape-history.cjs","names":["z","action"],"sources":["../../src/actions/get-scrape-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetScrapeHistoryInput
|
|
1
|
+
{"version":3,"file":"get-scrape-history.cjs","names":["z","action"],"sources":["../../src/actions/get-scrape-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetScrapeHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of scrape requests to return per page. Maximum depends on API limits.\").optional(),\n}).describe(\"Request schema for retrieving the history of scrape jobs.\");\nconst ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = z.object({\n cost: z.number().int().describe(\"Number of credits consumed by this scrape request\").nullable().optional(),\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the scrape request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the scrape. Only present for completed requests.\").nullable().optional(),\n status: z.string().describe(\"Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier information for the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about the scrape request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the scrape request\").nullable(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp information when the scrape request was completed or failed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\").nullable(),\n requested_at: z.string().describe(\"ISO timestamp when the scrape request was submitted\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the scrape request (e.g., user_prompt, output_schema)\").nullable().optional(),\n render_heavy_js: z.boolean().describe(\"Whether heavy JavaScript rendering was enabled for this request\").nullable().optional(),\n}).passthrough().describe(\"Schema for an individual scrape request from the history.\");\nexport const ScrapegraphAiGetScrapeHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).nullable(),\n requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe(\"List of scrape requests with their status, results, and metadata\"),\n}).passthrough().describe(\"Response schema containing the history of scrape requests.\");\n\nexport const scrapegraphAiGetScrapeHistory = action(\"SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY\", {\n slug: \"scrapegraph_ai-get-scrape-history\",\n name: \"Get Scrape History\",\n description: \"Retrieve the history of scrape jobs from your ScrapeGraphAI account. Use this to check the status of past scrapes, view results, and track credit usage.\",\n input: ScrapegraphAiGetScrapeHistoryInput,\n output: ScrapegraphAiGetScrapeHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CA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AAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS;CACrD,UAAUA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kEAAkE;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-scrape-history.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetScrapeHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetScrapeHistoryInput: 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 ScrapegraphAiGetScrapeHistoryOutput: z.ZodObject<{
|
|
9
|
+
next_key: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
11
|
+
cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
|
+
request_id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
finished_at: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
website_url: z.ZodNullable<z.ZodString>;
|
|
20
|
+
requested_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
request_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
render_heavy_js: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const scrapegraphAiGetScrapeHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
page?: number | undefined;
|
|
27
|
+
page_size?: number | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { scrapegraphAiGetScrapeHistory };
|
|
9
31
|
//# sourceMappingURL=get-scrape-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scrape-history.d.cts","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"get-scrape-history.d.cts","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAkBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-scrape-history.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetScrapeHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetScrapeHistoryInput: 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 ScrapegraphAiGetScrapeHistoryOutput: z.ZodObject<{
|
|
9
|
+
next_key: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
11
|
+
cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
|
+
request_id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
finished_at: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
website_url: z.ZodNullable<z.ZodString>;
|
|
20
|
+
requested_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
request_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
render_heavy_js: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const scrapegraphAiGetScrapeHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
page?: number | undefined;
|
|
27
|
+
page_size?: number | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { scrapegraphAiGetScrapeHistory };
|
|
9
31
|
//# sourceMappingURL=get-scrape-history.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scrape-history.d.mts","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"get-scrape-history.d.mts","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAkBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -12,13 +12,13 @@ const ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = z.object({
|
|
|
12
12
|
status: z.string().describe("Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'").nullable().optional(),
|
|
13
13
|
user_id: z.record(z.string(), z.unknown()).describe("User identifier information for the request").nullable().optional(),
|
|
14
14
|
metadata: z.record(z.string(), z.unknown()).describe("Additional metadata about the scrape request").nullable().optional(),
|
|
15
|
-
request_id: z.string().describe("The unique identifier (UUID) of the scrape request"),
|
|
15
|
+
request_id: z.string().describe("The unique identifier (UUID) of the scrape request").nullable(),
|
|
16
16
|
finished_at: z.record(z.string(), z.unknown()).describe("Timestamp information when the scrape request was completed or failed").nullable().optional(),
|
|
17
|
-
website_url: z.string().describe("URL of the website that was scraped"),
|
|
17
|
+
website_url: z.string().describe("URL of the website that was scraped").nullable(),
|
|
18
18
|
requested_at: z.string().describe("ISO timestamp when the scrape request was submitted").nullable().optional(),
|
|
19
19
|
request_params: z.record(z.string(), z.unknown()).describe("Parameters used for the scrape request (e.g., user_prompt, output_schema)").nullable().optional(),
|
|
20
20
|
render_heavy_js: z.boolean().describe("Whether heavy JavaScript rendering was enabled for this request").nullable().optional()
|
|
21
|
-
}).describe("Schema for an individual scrape request from the history.");
|
|
21
|
+
}).passthrough().describe("Schema for an individual scrape request from the history.");
|
|
22
22
|
const scrapegraphAiGetScrapeHistory = action("SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY", {
|
|
23
23
|
slug: "scrapegraph_ai-get-scrape-history",
|
|
24
24
|
name: "Get Scrape History",
|
|
@@ -27,7 +27,7 @@ const scrapegraphAiGetScrapeHistory = action("SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY"
|
|
|
27
27
|
output: z.object({
|
|
28
28
|
next_key: z.record(z.string(), z.unknown()).nullable(),
|
|
29
29
|
requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe("List of scrape requests with their status, results, and metadata")
|
|
30
|
-
}).describe("Response schema containing the history of scrape requests.")
|
|
30
|
+
}).passthrough().describe("Response schema containing the history of scrape requests.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { scrapegraphAiGetScrapeHistory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-scrape-history.mjs","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetScrapeHistoryInput
|
|
1
|
+
{"version":3,"file":"get-scrape-history.mjs","names":[],"sources":["../../src/actions/get-scrape-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetScrapeHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of scrape requests to return per page. Maximum depends on API limits.\").optional(),\n}).describe(\"Request schema for retrieving the history of scrape jobs.\");\nconst ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema = z.object({\n cost: z.number().int().describe(\"Number of credits consumed by this scrape request\").nullable().optional(),\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the scrape request failed\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the scrape. Only present for completed requests.\").nullable().optional(),\n status: z.string().describe(\"Status of the scrape request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier information for the request\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about the scrape request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the scrape request\").nullable(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Timestamp information when the scrape request was completed or failed\").nullable().optional(),\n website_url: z.string().describe(\"URL of the website that was scraped\").nullable(),\n requested_at: z.string().describe(\"ISO timestamp when the scrape request was submitted\").nullable().optional(),\n request_params: z.record(z.string(), z.unknown()).describe(\"Parameters used for the scrape request (e.g., user_prompt, output_schema)\").nullable().optional(),\n render_heavy_js: z.boolean().describe(\"Whether heavy JavaScript rendering was enabled for this request\").nullable().optional(),\n}).passthrough().describe(\"Schema for an individual scrape request from the history.\");\nexport const ScrapegraphAiGetScrapeHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).nullable(),\n requests: z.array(ScrapegraphAiGetScrapeHistory_ScrapeRequestDBSchema).describe(\"List of scrape requests with their status, results, and metadata\"),\n}).passthrough().describe(\"Response schema containing the history of scrape requests.\");\n\nexport const scrapegraphAiGetScrapeHistory = action(\"SCRAPEGRAPH_AI_GET_SCRAPE_HISTORY\", {\n slug: \"scrapegraph_ai-get-scrape-history\",\n name: \"Get Scrape History\",\n description: \"Retrieve the history of scrape jobs from your ScrapeGraphAI account. Use this to check the status of past scrapes, view results, and track credit usage.\",\n input: ScrapegraphAiGetScrapeHistoryInput,\n output: ScrapegraphAiGetScrapeHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAMrF,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS;EACrD,UAAU,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kEAAkE;CACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -13,17 +13,17 @@ const ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = zod.z.
|
|
|
13
13
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the request.").nullable().optional(),
|
|
14
14
|
request_id: zod.z.string().describe("The unique identifier (UUID) of the searchscraper request.").nullable().optional(),
|
|
15
15
|
finished_at: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Information about when the request completed.").nullable().optional(),
|
|
16
|
-
user_prompt: zod.z.string().describe("The search query or prompt submitted by the user."),
|
|
16
|
+
user_prompt: zod.z.string().describe("The search query or prompt submitted by the user.").nullable(),
|
|
17
17
|
requested_at: zod.z.string().describe("ISO 8601 timestamp when the request was submitted.").nullable().optional(),
|
|
18
18
|
search_query: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details about the search query parameters.").nullable().optional(),
|
|
19
19
|
output_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The output schema used for structuring results.").nullable().optional(),
|
|
20
20
|
references_urls: zod.z.record(zod.z.string(), zod.z.unknown()).describe("URLs referenced during the search scraping process.").nullable().optional(),
|
|
21
21
|
extraction_query: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details about the extraction query parameters.").nullable().optional()
|
|
22
|
-
}).describe("Database model for a single searchscraper request in history.");
|
|
22
|
+
}).passthrough().describe("Database model for a single searchscraper request in history.");
|
|
23
23
|
const ScrapegraphAiGetSearchscraperHistoryOutput = zod.z.object({
|
|
24
24
|
next_key: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pagination token for fetching the next page of results. Null if no more pages.").nullable().optional(),
|
|
25
25
|
requests: zod.z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe("List of searchscraper requests in the history.")
|
|
26
|
-
}).describe("Response model for searchscraper history retrieval.");
|
|
26
|
+
}).passthrough().describe("Response model for searchscraper history retrieval.");
|
|
27
27
|
const scrapegraphAiGetSearchscraperHistory = require_action.action("SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY", {
|
|
28
28
|
slug: "scrapegraph_ai-get-searchscraper-history",
|
|
29
29
|
name: "Get Searchscraper History",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-searchscraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-searchscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSearchscraperHistoryInput
|
|
1
|
+
{"version":3,"file":"get-searchscraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-searchscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSearchscraperHistoryInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be 1 or greater.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request model for retrieving searchscraper job history.\");\nconst ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = z.object({\n error: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted search results (available when status is 'completed').\").nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'queued', 'processing', 'completed', or 'failed'.\").nullable().optional(),\n user_id: z.record(z.string(), z.unknown()).describe(\"User identifier associated with the request.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the request.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the searchscraper request.\").nullable().optional(),\n finished_at: z.record(z.string(), z.unknown()).describe(\"Information about when the request completed.\").nullable().optional(),\n user_prompt: z.string().describe(\"The search query or prompt submitted by the user.\").nullable(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted.\").nullable().optional(),\n search_query: z.record(z.string(), z.unknown()).describe(\"Details about the search query parameters.\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"The output schema used for structuring results.\").nullable().optional(),\n references_urls: z.record(z.string(), z.unknown()).describe(\"URLs referenced during the search scraping process.\").nullable().optional(),\n extraction_query: z.record(z.string(), z.unknown()).describe(\"Details about the extraction query parameters.\").nullable().optional(),\n}).passthrough().describe(\"Database model for a single searchscraper request in history.\");\nexport const ScrapegraphAiGetSearchscraperHistoryOutput = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe(\"List of searchscraper requests in the history.\"),\n}).passthrough().describe(\"Response model for searchscraper history retrieval.\");\n\nexport const scrapegraphAiGetSearchscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-searchscraper-history\",\n name: \"Get Searchscraper History\",\n description: \"Get the history of searchscraper jobs with pagination support. Use this to retrieve past searchscraper requests, their status, and results.\",\n input: ScrapegraphAiGetSearchscraperHistoryInput,\n output: ScrapegraphAiGetSearchscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,oEAAoEA,IAAAA,EAAE,OAAO;CACjF,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO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D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,UAAUA,IAAAA,EAAE,MAAM,iEAAiE,CAAC,CAAC,SAAS,gDAAgD;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-searchscraper-history.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetSearchscraperHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetSearchscraperHistoryInput: 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 ScrapegraphAiGetSearchscraperHistoryOutput: z.ZodObject<{
|
|
9
|
+
next_key: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
11
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
|
+
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
finished_at: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
user_prompt: z.ZodNullable<z.ZodString>;
|
|
19
|
+
requested_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
search_query: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
output_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
references_urls: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
|
+
extraction_query: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const scrapegraphAiGetSearchscraperHistory: 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 { scrapegraphAiGetSearchscraperHistory };
|
|
9
32
|
//# sourceMappingURL=get-searchscraper-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-searchscraper-history.d.cts","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"get-searchscraper-history.d.cts","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAmBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-searchscraper-history.d.ts
|
|
4
|
-
declare const ScrapegraphAiGetSearchscraperHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScrapegraphAiGetSearchscraperHistoryInput: 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 ScrapegraphAiGetSearchscraperHistoryOutput: z.ZodObject<{
|
|
9
|
+
next_key: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
11
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
|
+
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
finished_at: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
user_prompt: z.ZodNullable<z.ZodString>;
|
|
19
|
+
requested_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
search_query: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
output_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
references_urls: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
|
+
extraction_query: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const scrapegraphAiGetSearchscraperHistory: 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 { scrapegraphAiGetSearchscraperHistory };
|
|
9
32
|
//# sourceMappingURL=get-searchscraper-history.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-searchscraper-history.d.mts","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"get-searchscraper-history.d.mts","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAmBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA"}
|