@keystrokehq/scrapfly 0.1.0

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.
Files changed (130) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/capture-screenshot-head.cjs +47 -0
  7. package/dist/actions/capture-screenshot-head.cjs.map +1 -0
  8. package/dist/actions/capture-screenshot-head.d.cts +9 -0
  9. package/dist/actions/capture-screenshot-head.d.cts.map +1 -0
  10. package/dist/actions/capture-screenshot-head.d.mts +9 -0
  11. package/dist/actions/capture-screenshot-head.d.mts.map +1 -0
  12. package/dist/actions/capture-screenshot-head.mjs +44 -0
  13. package/dist/actions/capture-screenshot-head.mjs.map +1 -0
  14. package/dist/actions/capture-screenshot.cjs +41 -0
  15. package/dist/actions/capture-screenshot.cjs.map +1 -0
  16. package/dist/actions/capture-screenshot.d.cts +9 -0
  17. package/dist/actions/capture-screenshot.d.cts.map +1 -0
  18. package/dist/actions/capture-screenshot.d.mts +9 -0
  19. package/dist/actions/capture-screenshot.d.mts.map +1 -0
  20. package/dist/actions/capture-screenshot.mjs +40 -0
  21. package/dist/actions/capture-screenshot.mjs.map +1 -0
  22. package/dist/actions/create-crawler.cjs +29 -0
  23. package/dist/actions/create-crawler.cjs.map +1 -0
  24. package/dist/actions/create-crawler.d.cts +9 -0
  25. package/dist/actions/create-crawler.d.cts.map +1 -0
  26. package/dist/actions/create-crawler.d.mts +9 -0
  27. package/dist/actions/create-crawler.d.mts.map +1 -0
  28. package/dist/actions/create-crawler.mjs +26 -0
  29. package/dist/actions/create-crawler.mjs.map +1 -0
  30. package/dist/actions/extract-data.cjs +57 -0
  31. package/dist/actions/extract-data.cjs.map +1 -0
  32. package/dist/actions/extract-data.d.cts +9 -0
  33. package/dist/actions/extract-data.d.cts.map +1 -0
  34. package/dist/actions/extract-data.d.mts +9 -0
  35. package/dist/actions/extract-data.d.mts.map +1 -0
  36. package/dist/actions/extract-data.mjs +54 -0
  37. package/dist/actions/extract-data.mjs.map +1 -0
  38. package/dist/actions/get-account-info.cjs +88 -0
  39. package/dist/actions/get-account-info.cjs.map +1 -0
  40. package/dist/actions/get-account-info.d.cts +9 -0
  41. package/dist/actions/get-account-info.d.cts.map +1 -0
  42. package/dist/actions/get-account-info.d.mts +9 -0
  43. package/dist/actions/get-account-info.d.mts.map +1 -0
  44. package/dist/actions/get-account-info.mjs +87 -0
  45. package/dist/actions/get-account-info.mjs.map +1 -0
  46. package/dist/actions/get-crawler-artifact.cjs +24 -0
  47. package/dist/actions/get-crawler-artifact.cjs.map +1 -0
  48. package/dist/actions/get-crawler-artifact.d.cts +9 -0
  49. package/dist/actions/get-crawler-artifact.d.cts.map +1 -0
  50. package/dist/actions/get-crawler-artifact.d.mts +9 -0
  51. package/dist/actions/get-crawler-artifact.d.mts.map +1 -0
  52. package/dist/actions/get-crawler-artifact.mjs +23 -0
  53. package/dist/actions/get-crawler-artifact.mjs.map +1 -0
  54. package/dist/actions/get-crawler-contents.cjs +31 -0
  55. package/dist/actions/get-crawler-contents.cjs.map +1 -0
  56. package/dist/actions/get-crawler-contents.d.cts +9 -0
  57. package/dist/actions/get-crawler-contents.d.cts.map +1 -0
  58. package/dist/actions/get-crawler-contents.d.mts +9 -0
  59. package/dist/actions/get-crawler-contents.d.mts.map +1 -0
  60. package/dist/actions/get-crawler-contents.mjs +30 -0
  61. package/dist/actions/get-crawler-contents.mjs.map +1 -0
  62. package/dist/actions/get-crawler-status.cjs +32 -0
  63. package/dist/actions/get-crawler-status.cjs.map +1 -0
  64. package/dist/actions/get-crawler-status.d.cts +9 -0
  65. package/dist/actions/get-crawler-status.d.cts.map +1 -0
  66. package/dist/actions/get-crawler-status.d.mts +9 -0
  67. package/dist/actions/get-crawler-status.d.mts.map +1 -0
  68. package/dist/actions/get-crawler-status.mjs +31 -0
  69. package/dist/actions/get-crawler-status.mjs.map +1 -0
  70. package/dist/actions/get-crawler-urls.cjs +26 -0
  71. package/dist/actions/get-crawler-urls.cjs.map +1 -0
  72. package/dist/actions/get-crawler-urls.d.cts +9 -0
  73. package/dist/actions/get-crawler-urls.d.cts.map +1 -0
  74. package/dist/actions/get-crawler-urls.d.mts +9 -0
  75. package/dist/actions/get-crawler-urls.d.mts.map +1 -0
  76. package/dist/actions/get-crawler-urls.mjs +23 -0
  77. package/dist/actions/get-crawler-urls.mjs.map +1 -0
  78. package/dist/actions/index.cjs +25 -0
  79. package/dist/actions/index.d.cts +13 -0
  80. package/dist/actions/index.d.mts +13 -0
  81. package/dist/actions/index.mjs +13 -0
  82. package/dist/actions/scrape-post.cjs +38 -0
  83. package/dist/actions/scrape-post.cjs.map +1 -0
  84. package/dist/actions/scrape-post.d.cts +9 -0
  85. package/dist/actions/scrape-post.d.cts.map +1 -0
  86. package/dist/actions/scrape-post.d.mts +9 -0
  87. package/dist/actions/scrape-post.d.mts.map +1 -0
  88. package/dist/actions/scrape-post.mjs +35 -0
  89. package/dist/actions/scrape-post.mjs.map +1 -0
  90. package/dist/actions/scrape-with-put.cjs +38 -0
  91. package/dist/actions/scrape-with-put.cjs.map +1 -0
  92. package/dist/actions/scrape-with-put.d.cts +9 -0
  93. package/dist/actions/scrape-with-put.d.cts.map +1 -0
  94. package/dist/actions/scrape-with-put.d.mts +9 -0
  95. package/dist/actions/scrape-with-put.d.mts.map +1 -0
  96. package/dist/actions/scrape-with-put.mjs +35 -0
  97. package/dist/actions/scrape-with-put.mjs.map +1 -0
  98. package/dist/actions/scrape.cjs +47 -0
  99. package/dist/actions/scrape.cjs.map +1 -0
  100. package/dist/actions/scrape.d.cts +9 -0
  101. package/dist/actions/scrape.d.cts.map +1 -0
  102. package/dist/actions/scrape.d.mts +9 -0
  103. package/dist/actions/scrape.d.mts.map +1 -0
  104. package/dist/actions/scrape.mjs +44 -0
  105. package/dist/actions/scrape.mjs.map +1 -0
  106. package/dist/app.cjs +9 -0
  107. package/dist/app.cjs.map +1 -0
  108. package/dist/app.d.cts +5 -0
  109. package/dist/app.d.cts.map +1 -0
  110. package/dist/app.d.mts +5 -0
  111. package/dist/app.d.mts.map +1 -0
  112. package/dist/app.mjs +10 -0
  113. package/dist/app.mjs.map +1 -0
  114. package/dist/catalog.cjs +15 -0
  115. package/dist/catalog.cjs.map +1 -0
  116. package/dist/catalog.d.cts +14 -0
  117. package/dist/catalog.d.cts.map +1 -0
  118. package/dist/catalog.d.mts +14 -0
  119. package/dist/catalog.d.mts.map +1 -0
  120. package/dist/catalog.mjs +15 -0
  121. package/dist/catalog.mjs.map +1 -0
  122. package/dist/execute.cjs +18 -0
  123. package/dist/execute.cjs.map +1 -0
  124. package/dist/execute.mjs +18 -0
  125. package/dist/execute.mjs.map +1 -0
  126. package/dist/index.cjs +30 -0
  127. package/dist/index.d.cts +15 -0
  128. package/dist/index.d.mts +15 -0
  129. package/dist/index.mjs +16 -0
  130. package/package.json +49 -0
@@ -0,0 +1,54 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scrapflyExtractData = action("SCRAPFLY_EXTRACT_DATA", {
4
+ slug: "scrapfly-extract-data",
5
+ name: "Extract Structured Data",
6
+ description: "Tool to extract structured data from HTML or other content using AI models, LLM prompts, or custom templates. Use when you need to parse web pages or documents into structured JSON data. Supports predefined extraction models for common types (articles, products, events) or custom extraction via prompts/templates.",
7
+ input: z.object({
8
+ url: z.string().describe("Base URL for converting relative URLs to absolute URLs in the extracted data. Useful when extracting links and images.").optional(),
9
+ charset: z.string().describe("Document charset encoding. Use 'auto' for automatic detection or specify a charset like 'utf-8', 'iso-8859-1', etc.").optional(),
10
+ content: z.string().describe("HTML, text, or structured content to extract data from. This will be sent as the request body."),
11
+ content_type: z.enum([
12
+ "text/html",
13
+ "text/plain",
14
+ "text/markdown",
15
+ "text/csv",
16
+ "application/json",
17
+ "application/ld+json",
18
+ "application/xml",
19
+ "application/xhtml+xml"
20
+ ]).describe("Content type of the document body. Required to properly parse the input content."),
21
+ webhook_name: z.string().describe("Webhook name for asynchronous processing. If provided, the extraction will be processed asynchronously and results sent to the webhook.").optional(),
22
+ extraction_model: z.enum([
23
+ "article",
24
+ "event",
25
+ "food_recipe",
26
+ "hotel",
27
+ "hotel_listing",
28
+ "job_listing",
29
+ "job_posting",
30
+ "organization",
31
+ "product",
32
+ "product_listing",
33
+ "real_estate_property",
34
+ "real_estate_property_listing",
35
+ "review_list",
36
+ "search_engine_results",
37
+ "social_media_post",
38
+ "software",
39
+ "stock",
40
+ "vehicle_ad",
41
+ "vehicle_ad_listing"
42
+ ]).describe("AI extraction models for structured data extraction.").optional(),
43
+ extraction_prompt: z.string().describe("Custom LLM prompt for extraction. Use this when you need custom extraction logic beyond predefined models. Cannot be used together with extraction_model or extraction_template.").optional(),
44
+ extraction_template: z.string().describe("JSON extraction template defining custom extraction rules. Cannot be used together with extraction_model or extraction_prompt.").optional()
45
+ }).describe("Request model for extracting structured data from content."),
46
+ output: z.object({
47
+ data: z.record(z.string(), z.unknown()).describe("Extracted structured data. The structure depends on the extraction method used (model, prompt, or template)."),
48
+ content_type: z.string().describe("Content type of the input document").nullable().optional()
49
+ }).describe("Response model for the extraction API.")
50
+ });
51
+ //#endregion
52
+ export { scrapflyExtractData };
53
+
54
+ //# sourceMappingURL=extract-data.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extract-data.mjs","names":[],"sources":["../../src/actions/extract-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapflyExtractDataInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Base URL for converting relative URLs to absolute URLs in the extracted data. Useful when extracting links and images.\").optional(),\n charset: z.string().describe(\"Document charset encoding. Use 'auto' for automatic detection or specify a charset like 'utf-8', 'iso-8859-1', etc.\").optional(),\n content: z.string().describe(\"HTML, text, or structured content to extract data from. This will be sent as the request body.\"),\n content_type: z.enum([\"text/html\", \"text/plain\", \"text/markdown\", \"text/csv\", \"application/json\", \"application/ld+json\", \"application/xml\", \"application/xhtml+xml\"]).describe(\"Content type of the document body. Required to properly parse the input content.\"),\n webhook_name: z.string().describe(\"Webhook name for asynchronous processing. If provided, the extraction will be processed asynchronously and results sent to the webhook.\").optional(),\n extraction_model: z.enum([\"article\", \"event\", \"food_recipe\", \"hotel\", \"hotel_listing\", \"job_listing\", \"job_posting\", \"organization\", \"product\", \"product_listing\", \"real_estate_property\", \"real_estate_property_listing\", \"review_list\", \"search_engine_results\", \"social_media_post\", \"software\", \"stock\", \"vehicle_ad\", \"vehicle_ad_listing\"]).describe(\"AI extraction models for structured data extraction.\").optional(),\n extraction_prompt: z.string().describe(\"Custom LLM prompt for extraction. Use this when you need custom extraction logic beyond predefined models. Cannot be used together with extraction_model or extraction_template.\").optional(),\n extraction_template: z.string().describe(\"JSON extraction template defining custom extraction rules. Cannot be used together with extraction_model or extraction_prompt.\").optional(),\n}).describe(\"Request model for extracting structured data from content.\");\nexport const ScrapflyExtractDataOutput: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Extracted structured data. The structure depends on the extraction method used (model, prompt, or template).\"),\n content_type: z.string().describe(\"Content type of the input document\").nullable().optional(),\n}).describe(\"Response model for the extraction API.\");\n\nexport const scrapflyExtractData = action(\"SCRAPFLY_EXTRACT_DATA\", {\n slug: \"scrapfly-extract-data\",\n name: \"Extract Structured Data\",\n description: \"Tool to extract structured data from HTML or other content using AI models, LLM prompts, or custom templates. Use when you need to parse web pages or documents into structured JSON data. Supports predefined extraction models for common types (articles, products, events) or custom extraction via prompts/templates.\",\n input: ScrapflyExtractDataInput,\n output: ScrapflyExtractDataOutput,\n});\n"],"mappings":";;AAmBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBoD,EAAE,OAAO;EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EAC5J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC7J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC7H,cAAc,EAAE,KAAK;GAAC;GAAa;GAAc;GAAiB;GAAY;GAAoB;GAAuB;GAAmB;EAAuB,CAAC,CAAC,CAAC,SAAS,kFAAkF;EACjQ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;EACtL,kBAAkB,EAAE,KAAK;GAAC;GAAW;GAAS;GAAe;GAAS;GAAiB;GAAe;GAAe;GAAgB;GAAW;GAAmB;GAAwB;GAAgC;GAAe;GAAyB;GAAqB;GAAY;GAAS;GAAc;EAAoB,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC5Z,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;EACpO,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,SAAS,4DAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8GAA8G;EAC/J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
@@ -0,0 +1,88 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-account-info.ts
4
+ const ScrapflyGetAccountInfoInput = zod.z.object({}).describe("Request model for retrieving Scrapfly account information. No parameters required.");
5
+ const ScrapflyGetAccountInfo_AccountDetailsSchema = zod.z.object({
6
+ currency: zod.z.string().describe("Currency used for billing"),
7
+ timezone: zod.z.string().describe("Account timezone"),
8
+ suspended: zod.z.boolean().describe("Whether the account is suspended"),
9
+ account_id: zod.z.string().describe("Unique account identifier"),
10
+ suspension_reason: zod.z.string().default("").describe("Reason for suspension if applicable").nullable().optional()
11
+ }).describe("Details about the Scrapfly account.");
12
+ const ScrapflyGetAccountInfo_ProjectDetailsSchema = zod.z.object({
13
+ name: zod.z.string().describe("Project name"),
14
+ tags: zod.z.array(zod.z.string()).describe("Tags assigned to the project").nullable().optional(),
15
+ budget_limit: zod.z.number().describe("Budget limit if set").nullable().optional(),
16
+ budget_spent: zod.z.number().describe("Budget spent so far").nullable().optional(),
17
+ quota_reached: zod.z.boolean().describe("Whether quota has been reached"),
18
+ allowed_networks: zod.z.array(zod.z.string()).describe("Allowed networks for this project").nullable().optional(),
19
+ allow_extra_usage: zod.z.boolean().describe("Whether extra usage is allowed"),
20
+ concurrency_limit: zod.z.number().int().describe("Concurrency limit if set").nullable().optional(),
21
+ scrape_request_count: zod.z.number().int().default(0).describe("Number of scrape requests made").nullable().optional(),
22
+ scrape_request_limit: zod.z.number().int().describe("Scrape request limit if set").nullable().optional()
23
+ }).describe("Details about the Scrapfly project.");
24
+ const ScrapflyGetAccountInfo_ScrapeUsageSchema = zod.z.object({
25
+ extra: zod.z.number().int().describe("Extra usage count"),
26
+ limit: zod.z.number().int().describe("Total limit for the period"),
27
+ current: zod.z.number().int().describe("Current usage count"),
28
+ remaining: zod.z.number().int().describe("Remaining requests"),
29
+ concurrent_limit: zod.z.number().int().describe("Concurrent request limit"),
30
+ concurrent_usage: zod.z.number().int().describe("Current concurrent usage"),
31
+ concurrent_remaining: zod.z.number().int().describe("Remaining concurrent requests")
32
+ }).describe("Scrape usage information.");
33
+ const ScrapflyGetAccountInfo_SpiderUsageSchema = zod.z.object({
34
+ limit: zod.z.number().int().describe("Spider limit"),
35
+ current: zod.z.number().int().describe("Current spider usage")
36
+ }).describe("Spider usage information.");
37
+ const ScrapflyGetAccountInfo_ScheduleUsageSchema = zod.z.object({
38
+ limit: zod.z.number().int().describe("Schedule limit"),
39
+ current: zod.z.number().int().describe("Current schedule usage")
40
+ }).describe("Schedule usage information.");
41
+ const ScrapflyGetAccountInfo_UsageDetailsSchema = zod.z.object({
42
+ scrape: ScrapflyGetAccountInfo_ScrapeUsageSchema.nullable(),
43
+ spider: ScrapflyGetAccountInfo_SpiderUsageSchema.nullable(),
44
+ schedule: ScrapflyGetAccountInfo_ScheduleUsageSchema.nullable()
45
+ }).describe("Usage information across different features.");
46
+ const ScrapflyGetAccountInfo_BillingPeriodSchema = zod.z.object({
47
+ end: zod.z.string().describe("Period end date"),
48
+ start: zod.z.string().describe("Period start date")
49
+ }).describe("Billing period information.");
50
+ const ScrapflyGetAccountInfo_PriceDetailsSchema = zod.z.object({
51
+ amount: zod.z.number().describe("Amount in currency"),
52
+ currency: zod.z.string().describe("Currency code")
53
+ }).describe("Price information.");
54
+ const ScrapflyGetAccountInfo_BillingDetailsSchema = zod.z.object({
55
+ plan_price: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),
56
+ ongoing_payment: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),
57
+ current_extra_scrape_request_price: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),
58
+ extra_scrape_request_price_per_10k: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable()
59
+ }).describe("Billing information for the subscription.");
60
+ const ScrapflyGetAccountInfo_SubscriptionDetailsSchema = zod.z.object({
61
+ usage: ScrapflyGetAccountInfo_UsageDetailsSchema.nullable(),
62
+ period: ScrapflyGetAccountInfo_BillingPeriodSchema.nullable(),
63
+ billing: ScrapflyGetAccountInfo_BillingDetailsSchema.nullable(),
64
+ plan_name: zod.z.string().describe("Name of the subscription plan"),
65
+ max_concurrency: zod.z.number().int().describe("Maximum concurrent requests"),
66
+ extra_scrape_allowed: zod.z.boolean().describe("Whether extra scraping is allowed")
67
+ }).describe("Subscription information.");
68
+ const ScrapflyGetAccountInfo_AccountDataSchema = zod.z.object({
69
+ account: ScrapflyGetAccountInfo_AccountDetailsSchema.nullable(),
70
+ project: ScrapflyGetAccountInfo_ProjectDetailsSchema.nullable(),
71
+ subscription: ScrapflyGetAccountInfo_SubscriptionDetailsSchema.nullable()
72
+ }).describe("Main data container for account information.");
73
+ const ScrapflyGetAccountInfoOutput = zod.z.object({
74
+ data: ScrapflyGetAccountInfo_AccountDataSchema.nullable(),
75
+ error: zod.z.string().describe("Error message if any").nullable().optional(),
76
+ successfull: zod.z.boolean().describe("Whether the request was successful")
77
+ }).describe("Response model for Scrapfly account information.");
78
+ const scrapflyGetAccountInfo = require_action.action("SCRAPFLY_GET_ACCOUNT_INFO", {
79
+ slug: "scrapfly-get-account-info",
80
+ name: "Get Scrapfly Account Information",
81
+ description: "Tool to retrieve Scrapfly account information. Use after authenticating to get API credit balance and usage stats. Returns comprehensive account data including subscription plan, usage statistics, billing info, and project settings.",
82
+ input: ScrapflyGetAccountInfoInput,
83
+ output: ScrapflyGetAccountInfoOutput
84
+ });
85
+ //#endregion
86
+ exports.scrapflyGetAccountInfo = scrapflyGetAccountInfo;
87
+
88
+ //# sourceMappingURL=get-account-info.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-info.cjs","names":["z","action"],"sources":["../../src/actions/get-account-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapflyGetAccountInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving Scrapfly account information. No parameters required.\");\nconst ScrapflyGetAccountInfo_AccountDetailsSchema: z.ZodTypeAny = z.object({\n currency: z.string().describe(\"Currency used for billing\"),\n timezone: z.string().describe(\"Account timezone\"),\n suspended: z.boolean().describe(\"Whether the account is suspended\"),\n account_id: z.string().describe(\"Unique account identifier\"),\n suspension_reason: z.string().default(\"\").describe(\"Reason for suspension if applicable\").nullable().optional(),\n}).describe(\"Details about the Scrapfly account.\");\nconst ScrapflyGetAccountInfo_ProjectDetailsSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Project name\"),\n tags: z.array(z.string()).describe(\"Tags assigned to the project\").nullable().optional(),\n budget_limit: z.number().describe(\"Budget limit if set\").nullable().optional(),\n budget_spent: z.number().describe(\"Budget spent so far\").nullable().optional(),\n quota_reached: z.boolean().describe(\"Whether quota has been reached\"),\n allowed_networks: z.array(z.string()).describe(\"Allowed networks for this project\").nullable().optional(),\n allow_extra_usage: z.boolean().describe(\"Whether extra usage is allowed\"),\n concurrency_limit: z.number().int().describe(\"Concurrency limit if set\").nullable().optional(),\n scrape_request_count: z.number().int().default(0).describe(\"Number of scrape requests made\").nullable().optional(),\n scrape_request_limit: z.number().int().describe(\"Scrape request limit if set\").nullable().optional(),\n}).describe(\"Details about the Scrapfly project.\");\nconst ScrapflyGetAccountInfo_ScrapeUsageSchema: z.ZodTypeAny = z.object({\n extra: z.number().int().describe(\"Extra usage count\"),\n limit: z.number().int().describe(\"Total limit for the period\"),\n current: z.number().int().describe(\"Current usage count\"),\n remaining: z.number().int().describe(\"Remaining requests\"),\n concurrent_limit: z.number().int().describe(\"Concurrent request limit\"),\n concurrent_usage: z.number().int().describe(\"Current concurrent usage\"),\n concurrent_remaining: z.number().int().describe(\"Remaining concurrent requests\"),\n}).describe(\"Scrape usage information.\");\nconst ScrapflyGetAccountInfo_SpiderUsageSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Spider limit\"),\n current: z.number().int().describe(\"Current spider usage\"),\n}).describe(\"Spider usage information.\");\nconst ScrapflyGetAccountInfo_ScheduleUsageSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Schedule limit\"),\n current: z.number().int().describe(\"Current schedule usage\"),\n}).describe(\"Schedule usage information.\");\nconst ScrapflyGetAccountInfo_UsageDetailsSchema: z.ZodTypeAny = z.object({\n scrape: ScrapflyGetAccountInfo_ScrapeUsageSchema.nullable(),\n spider: ScrapflyGetAccountInfo_SpiderUsageSchema.nullable(),\n schedule: ScrapflyGetAccountInfo_ScheduleUsageSchema.nullable(),\n}).describe(\"Usage information across different features.\");\nconst ScrapflyGetAccountInfo_BillingPeriodSchema: z.ZodTypeAny = z.object({\n end: z.string().describe(\"Period end date\"),\n start: z.string().describe(\"Period start date\"),\n}).describe(\"Billing period information.\");\nconst ScrapflyGetAccountInfo_PriceDetailsSchema: z.ZodTypeAny = z.object({\n amount: z.number().describe(\"Amount in currency\"),\n currency: z.string().describe(\"Currency code\"),\n}).describe(\"Price information.\");\nconst ScrapflyGetAccountInfo_BillingDetailsSchema: z.ZodTypeAny = z.object({\n plan_price: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),\n ongoing_payment: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),\n current_extra_scrape_request_price: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),\n extra_scrape_request_price_per_10k: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),\n}).describe(\"Billing information for the subscription.\");\nconst ScrapflyGetAccountInfo_SubscriptionDetailsSchema: z.ZodTypeAny = z.object({\n usage: ScrapflyGetAccountInfo_UsageDetailsSchema.nullable(),\n period: ScrapflyGetAccountInfo_BillingPeriodSchema.nullable(),\n billing: ScrapflyGetAccountInfo_BillingDetailsSchema.nullable(),\n plan_name: z.string().describe(\"Name of the subscription plan\"),\n max_concurrency: z.number().int().describe(\"Maximum concurrent requests\"),\n extra_scrape_allowed: z.boolean().describe(\"Whether extra scraping is allowed\"),\n}).describe(\"Subscription information.\");\nconst ScrapflyGetAccountInfo_AccountDataSchema: z.ZodTypeAny = z.object({\n account: ScrapflyGetAccountInfo_AccountDetailsSchema.nullable(),\n project: ScrapflyGetAccountInfo_ProjectDetailsSchema.nullable(),\n subscription: ScrapflyGetAccountInfo_SubscriptionDetailsSchema.nullable(),\n}).describe(\"Main data container for account information.\");\nexport const ScrapflyGetAccountInfoOutput: z.ZodTypeAny = z.object({\n data: ScrapflyGetAccountInfo_AccountDataSchema.nullable(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n successfull: z.boolean().describe(\"Whether the request was successful\"),\n}).describe(\"Response model for Scrapfly account information.\");\n\nexport const scrapflyGetAccountInfo = action(\"SCRAPFLY_GET_ACCOUNT_INFO\", {\n slug: \"scrapfly-get-account-info\",\n name: \"Get Scrapfly Account Information\",\n description: \"Tool to retrieve Scrapfly account information. Use after authenticating to get API credit balance and usage stats. Returns comprehensive account data including subscription plan, usage statistics, billing info, and project settings.\",\n input: ScrapflyGetAccountInfoInput,\n output: ScrapflyGetAccountInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACnK,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAChD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,eAAeA,IA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C,CAAC,SAAS,2CAA2C;AACvD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,OAAO,0CAA0C,SAAS;CAC1D,QAAQ,2CAA2C,SAAS;CAC5D,SAAS,4CAA4C,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC9D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACxE,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;AAChF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,SAAS,4CAA4C,SAAS;CAC9D,SAAS,4CAA4C,SAAS;CAC9D,cAAc,iDAAiD,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAM,yCAAyC,SAAS;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;AACxE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-account-info.d.ts
4
+ declare const ScrapflyGetAccountInfoInput: z.ZodTypeAny;
5
+ declare const ScrapflyGetAccountInfoOutput: z.ZodTypeAny;
6
+ declare const scrapflyGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapflyGetAccountInfo };
9
+ //# sourceMappingURL=get-account-info.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-info.d.cts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAwH;AAAA,cAqEvJ,4BAAA,EAA8B,CAAA,CAAE,UAIkB;AAAA,cAElD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-account-info.d.ts
4
+ declare const ScrapflyGetAccountInfoInput: z.ZodTypeAny;
5
+ declare const ScrapflyGetAccountInfoOutput: z.ZodTypeAny;
6
+ declare const scrapflyGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapflyGetAccountInfo };
9
+ //# sourceMappingURL=get-account-info.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-info.d.mts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAwH;AAAA,cAqEvJ,4BAAA,EAA8B,CAAA,CAAE,UAIkB;AAAA,cAElD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,87 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-account-info.ts
4
+ const ScrapflyGetAccountInfoInput = z.object({}).describe("Request model for retrieving Scrapfly account information. No parameters required.");
5
+ const ScrapflyGetAccountInfo_AccountDetailsSchema = z.object({
6
+ currency: z.string().describe("Currency used for billing"),
7
+ timezone: z.string().describe("Account timezone"),
8
+ suspended: z.boolean().describe("Whether the account is suspended"),
9
+ account_id: z.string().describe("Unique account identifier"),
10
+ suspension_reason: z.string().default("").describe("Reason for suspension if applicable").nullable().optional()
11
+ }).describe("Details about the Scrapfly account.");
12
+ const ScrapflyGetAccountInfo_ProjectDetailsSchema = z.object({
13
+ name: z.string().describe("Project name"),
14
+ tags: z.array(z.string()).describe("Tags assigned to the project").nullable().optional(),
15
+ budget_limit: z.number().describe("Budget limit if set").nullable().optional(),
16
+ budget_spent: z.number().describe("Budget spent so far").nullable().optional(),
17
+ quota_reached: z.boolean().describe("Whether quota has been reached"),
18
+ allowed_networks: z.array(z.string()).describe("Allowed networks for this project").nullable().optional(),
19
+ allow_extra_usage: z.boolean().describe("Whether extra usage is allowed"),
20
+ concurrency_limit: z.number().int().describe("Concurrency limit if set").nullable().optional(),
21
+ scrape_request_count: z.number().int().default(0).describe("Number of scrape requests made").nullable().optional(),
22
+ scrape_request_limit: z.number().int().describe("Scrape request limit if set").nullable().optional()
23
+ }).describe("Details about the Scrapfly project.");
24
+ const ScrapflyGetAccountInfo_ScrapeUsageSchema = z.object({
25
+ extra: z.number().int().describe("Extra usage count"),
26
+ limit: z.number().int().describe("Total limit for the period"),
27
+ current: z.number().int().describe("Current usage count"),
28
+ remaining: z.number().int().describe("Remaining requests"),
29
+ concurrent_limit: z.number().int().describe("Concurrent request limit"),
30
+ concurrent_usage: z.number().int().describe("Current concurrent usage"),
31
+ concurrent_remaining: z.number().int().describe("Remaining concurrent requests")
32
+ }).describe("Scrape usage information.");
33
+ const ScrapflyGetAccountInfo_SpiderUsageSchema = z.object({
34
+ limit: z.number().int().describe("Spider limit"),
35
+ current: z.number().int().describe("Current spider usage")
36
+ }).describe("Spider usage information.");
37
+ const ScrapflyGetAccountInfo_ScheduleUsageSchema = z.object({
38
+ limit: z.number().int().describe("Schedule limit"),
39
+ current: z.number().int().describe("Current schedule usage")
40
+ }).describe("Schedule usage information.");
41
+ const ScrapflyGetAccountInfo_UsageDetailsSchema = z.object({
42
+ scrape: ScrapflyGetAccountInfo_ScrapeUsageSchema.nullable(),
43
+ spider: ScrapflyGetAccountInfo_SpiderUsageSchema.nullable(),
44
+ schedule: ScrapflyGetAccountInfo_ScheduleUsageSchema.nullable()
45
+ }).describe("Usage information across different features.");
46
+ const ScrapflyGetAccountInfo_BillingPeriodSchema = z.object({
47
+ end: z.string().describe("Period end date"),
48
+ start: z.string().describe("Period start date")
49
+ }).describe("Billing period information.");
50
+ const ScrapflyGetAccountInfo_PriceDetailsSchema = z.object({
51
+ amount: z.number().describe("Amount in currency"),
52
+ currency: z.string().describe("Currency code")
53
+ }).describe("Price information.");
54
+ const ScrapflyGetAccountInfo_BillingDetailsSchema = z.object({
55
+ plan_price: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),
56
+ ongoing_payment: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),
57
+ current_extra_scrape_request_price: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),
58
+ extra_scrape_request_price_per_10k: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable()
59
+ }).describe("Billing information for the subscription.");
60
+ const ScrapflyGetAccountInfo_SubscriptionDetailsSchema = z.object({
61
+ usage: ScrapflyGetAccountInfo_UsageDetailsSchema.nullable(),
62
+ period: ScrapflyGetAccountInfo_BillingPeriodSchema.nullable(),
63
+ billing: ScrapflyGetAccountInfo_BillingDetailsSchema.nullable(),
64
+ plan_name: z.string().describe("Name of the subscription plan"),
65
+ max_concurrency: z.number().int().describe("Maximum concurrent requests"),
66
+ extra_scrape_allowed: z.boolean().describe("Whether extra scraping is allowed")
67
+ }).describe("Subscription information.");
68
+ const ScrapflyGetAccountInfo_AccountDataSchema = z.object({
69
+ account: ScrapflyGetAccountInfo_AccountDetailsSchema.nullable(),
70
+ project: ScrapflyGetAccountInfo_ProjectDetailsSchema.nullable(),
71
+ subscription: ScrapflyGetAccountInfo_SubscriptionDetailsSchema.nullable()
72
+ }).describe("Main data container for account information.");
73
+ const scrapflyGetAccountInfo = action("SCRAPFLY_GET_ACCOUNT_INFO", {
74
+ slug: "scrapfly-get-account-info",
75
+ name: "Get Scrapfly Account Information",
76
+ description: "Tool to retrieve Scrapfly account information. Use after authenticating to get API credit balance and usage stats. Returns comprehensive account data including subscription plan, usage statistics, billing info, and project settings.",
77
+ input: ScrapflyGetAccountInfoInput,
78
+ output: z.object({
79
+ data: ScrapflyGetAccountInfo_AccountDataSchema.nullable(),
80
+ error: z.string().describe("Error message if any").nullable().optional(),
81
+ successfull: z.boolean().describe("Whether the request was successful")
82
+ }).describe("Response model for Scrapfly account information.")
83
+ });
84
+ //#endregion
85
+ export { scrapflyGetAccountInfo };
86
+
87
+ //# sourceMappingURL=get-account-info.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-account-info.mjs","names":[],"sources":["../../src/actions/get-account-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapflyGetAccountInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving Scrapfly account information. No parameters required.\");\nconst ScrapflyGetAccountInfo_AccountDetailsSchema: z.ZodTypeAny = z.object({\n currency: z.string().describe(\"Currency used for billing\"),\n timezone: z.string().describe(\"Account timezone\"),\n suspended: z.boolean().describe(\"Whether the account is suspended\"),\n account_id: z.string().describe(\"Unique account identifier\"),\n suspension_reason: z.string().default(\"\").describe(\"Reason for suspension if applicable\").nullable().optional(),\n}).describe(\"Details about the Scrapfly account.\");\nconst ScrapflyGetAccountInfo_ProjectDetailsSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Project name\"),\n tags: z.array(z.string()).describe(\"Tags assigned to the project\").nullable().optional(),\n budget_limit: z.number().describe(\"Budget limit if set\").nullable().optional(),\n budget_spent: z.number().describe(\"Budget spent so far\").nullable().optional(),\n quota_reached: z.boolean().describe(\"Whether quota has been reached\"),\n allowed_networks: z.array(z.string()).describe(\"Allowed networks for this project\").nullable().optional(),\n allow_extra_usage: z.boolean().describe(\"Whether extra usage is allowed\"),\n concurrency_limit: z.number().int().describe(\"Concurrency limit if set\").nullable().optional(),\n scrape_request_count: z.number().int().default(0).describe(\"Number of scrape requests made\").nullable().optional(),\n scrape_request_limit: z.number().int().describe(\"Scrape request limit if set\").nullable().optional(),\n}).describe(\"Details about the Scrapfly project.\");\nconst ScrapflyGetAccountInfo_ScrapeUsageSchema: z.ZodTypeAny = z.object({\n extra: z.number().int().describe(\"Extra usage count\"),\n limit: z.number().int().describe(\"Total limit for the period\"),\n current: z.number().int().describe(\"Current usage count\"),\n remaining: z.number().int().describe(\"Remaining requests\"),\n concurrent_limit: z.number().int().describe(\"Concurrent request limit\"),\n concurrent_usage: z.number().int().describe(\"Current concurrent usage\"),\n concurrent_remaining: z.number().int().describe(\"Remaining concurrent requests\"),\n}).describe(\"Scrape usage information.\");\nconst ScrapflyGetAccountInfo_SpiderUsageSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Spider limit\"),\n current: z.number().int().describe(\"Current spider usage\"),\n}).describe(\"Spider usage information.\");\nconst ScrapflyGetAccountInfo_ScheduleUsageSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Schedule limit\"),\n current: z.number().int().describe(\"Current schedule usage\"),\n}).describe(\"Schedule usage information.\");\nconst ScrapflyGetAccountInfo_UsageDetailsSchema: z.ZodTypeAny = z.object({\n scrape: ScrapflyGetAccountInfo_ScrapeUsageSchema.nullable(),\n spider: ScrapflyGetAccountInfo_SpiderUsageSchema.nullable(),\n schedule: ScrapflyGetAccountInfo_ScheduleUsageSchema.nullable(),\n}).describe(\"Usage information across different features.\");\nconst ScrapflyGetAccountInfo_BillingPeriodSchema: z.ZodTypeAny = z.object({\n end: z.string().describe(\"Period end date\"),\n start: z.string().describe(\"Period start date\"),\n}).describe(\"Billing period information.\");\nconst ScrapflyGetAccountInfo_PriceDetailsSchema: z.ZodTypeAny = z.object({\n amount: z.number().describe(\"Amount in currency\"),\n currency: z.string().describe(\"Currency code\"),\n}).describe(\"Price information.\");\nconst ScrapflyGetAccountInfo_BillingDetailsSchema: z.ZodTypeAny = z.object({\n plan_price: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),\n ongoing_payment: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),\n current_extra_scrape_request_price: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),\n extra_scrape_request_price_per_10k: ScrapflyGetAccountInfo_PriceDetailsSchema.nullable(),\n}).describe(\"Billing information for the subscription.\");\nconst ScrapflyGetAccountInfo_SubscriptionDetailsSchema: z.ZodTypeAny = z.object({\n usage: ScrapflyGetAccountInfo_UsageDetailsSchema.nullable(),\n period: ScrapflyGetAccountInfo_BillingPeriodSchema.nullable(),\n billing: ScrapflyGetAccountInfo_BillingDetailsSchema.nullable(),\n plan_name: z.string().describe(\"Name of the subscription plan\"),\n max_concurrency: z.number().int().describe(\"Maximum concurrent requests\"),\n extra_scrape_allowed: z.boolean().describe(\"Whether extra scraping is allowed\"),\n}).describe(\"Subscription information.\");\nconst ScrapflyGetAccountInfo_AccountDataSchema: z.ZodTypeAny = z.object({\n account: ScrapflyGetAccountInfo_AccountDetailsSchema.nullable(),\n project: ScrapflyGetAccountInfo_ProjectDetailsSchema.nullable(),\n subscription: ScrapflyGetAccountInfo_SubscriptionDetailsSchema.nullable(),\n}).describe(\"Main data container for account information.\");\nexport const ScrapflyGetAccountInfoOutput: z.ZodTypeAny = z.object({\n data: ScrapflyGetAccountInfo_AccountDataSchema.nullable(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n successfull: z.boolean().describe(\"Whether the request was successful\"),\n}).describe(\"Response model for Scrapfly account information.\");\n\nexport const scrapflyGetAccountInfo = action(\"SCRAPFLY_GET_ACCOUNT_INFO\", {\n slug: \"scrapfly-get-account-info\",\n name: \"Get Scrapfly Account Information\",\n description: \"Tool to retrieve Scrapfly account information. Use after authenticating to get API credit balance and usage stats. Returns comprehensive account data including subscription plan, usage statistics, billing info, and project settings.\",\n input: ScrapflyGetAccountInfoInput,\n output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P,QAXwD,EAAE,OAAO;EACjE,MAAM,yCAAyC,SAAS;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;CACxE,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-crawler-artifact.ts
4
+ const ScrapflyGetCrawlerArtifactInput = zod.z.object({
5
+ type: zod.z.enum(["warc", "har"]).describe("The artifact format type. WARC format is recommended for large crawls with gzip compression."),
6
+ crawler_uuid: zod.z.string().describe("The unique identifier (UUID) of the crawler whose artifact you want to download.")
7
+ }).describe("Request model for downloading crawler artifacts as WARC or HAR archive files.");
8
+ const ScrapflyGetCrawlerArtifact_FileDownloadableSchema = zod.z.object({
9
+ name: zod.z.string().describe("Name of the file"),
10
+ s3url: zod.z.string().describe("S3 URL of the downloaded file."),
11
+ mimetype: zod.z.string().describe("Mime type of the file.")
12
+ });
13
+ const ScrapflyGetCrawlerArtifactOutput = zod.z.object({ content: ScrapflyGetCrawlerArtifact_FileDownloadableSchema.nullable() }).describe("Response model for crawler artifact download.");
14
+ const scrapflyGetCrawlerArtifact = require_action.action("SCRAPFLY_GET_CRAWLER_ARTIFACT", {
15
+ slug: "scrapfly-get-crawler-artifact",
16
+ name: "Get Crawler Artifact",
17
+ description: "Tool to download crawler artifact files in WARC or HAR format. Use when you need to retrieve the complete crawl results as an archive file. WARC format is recommended for large crawls as it includes gzip compression.",
18
+ input: ScrapflyGetCrawlerArtifactInput,
19
+ output: ScrapflyGetCrawlerArtifactOutput
20
+ });
21
+ //#endregion
22
+ exports.scrapflyGetCrawlerArtifact = scrapflyGetCrawlerArtifact;
23
+
24
+ //# sourceMappingURL=get-crawler-artifact.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-artifact.cjs","names":["z","action"],"sources":["../../src/actions/get-crawler-artifact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapflyGetCrawlerArtifactInput: z.ZodTypeAny = z.object({\n type: z.enum([\"warc\", \"har\"]).describe(\"The artifact format type. WARC format is recommended for large crawls with gzip compression.\"),\n crawler_uuid: z.string().describe(\"The unique identifier (UUID) of the crawler whose artifact you want to download.\"),\n}).describe(\"Request model for downloading crawler artifacts as WARC or HAR archive files.\");\nconst ScrapflyGetCrawlerArtifact_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const ScrapflyGetCrawlerArtifactOutput: z.ZodTypeAny = z.object({\n content: ScrapflyGetCrawlerArtifact_FileDownloadableSchema.nullable(),\n}).describe(\"Response model for crawler artifact download.\");\n\nexport const scrapflyGetCrawlerArtifact = action(\"SCRAPFLY_GET_CRAWLER_ARTIFACT\", {\n slug: \"scrapfly-get-crawler-artifact\",\n name: \"Get Crawler Artifact\",\n description: \"Tool to download crawler artifact files in WARC or HAR format. Use when you need to retrieve the complete crawl results as an archive file. WARC format is recommended for large crawls as it includes gzip compression.\",\n input: ScrapflyGetCrawlerArtifactInput,\n output: ScrapflyGetCrawlerArtifactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,8FAA8F;CACrI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;AACtH,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,SAAS,kDAAkD,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-crawler-artifact.d.ts
4
+ declare const ScrapflyGetCrawlerArtifactInput: z.ZodTypeAny;
5
+ declare const ScrapflyGetCrawlerArtifactOutput: z.ZodTypeAny;
6
+ declare const scrapflyGetCrawlerArtifact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapflyGetCrawlerArtifact };
9
+ //# sourceMappingURL=get-crawler-artifact.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-artifact.d.cts","names":[],"sources":["../../src/actions/get-crawler-artifact.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG4C;AAAA,cAM/E,gCAAA,EAAkC,CAAA,CAAE,UAEW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-crawler-artifact.d.ts
4
+ declare const ScrapflyGetCrawlerArtifactInput: z.ZodTypeAny;
5
+ declare const ScrapflyGetCrawlerArtifactOutput: z.ZodTypeAny;
6
+ declare const scrapflyGetCrawlerArtifact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapflyGetCrawlerArtifact };
9
+ //# sourceMappingURL=get-crawler-artifact.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-artifact.d.mts","names":[],"sources":["../../src/actions/get-crawler-artifact.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG4C;AAAA,cAM/E,gCAAA,EAAkC,CAAA,CAAE,UAEW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-crawler-artifact.ts
4
+ const ScrapflyGetCrawlerArtifactInput = z.object({
5
+ type: z.enum(["warc", "har"]).describe("The artifact format type. WARC format is recommended for large crawls with gzip compression."),
6
+ crawler_uuid: z.string().describe("The unique identifier (UUID) of the crawler whose artifact you want to download.")
7
+ }).describe("Request model for downloading crawler artifacts as WARC or HAR archive files.");
8
+ const ScrapflyGetCrawlerArtifact_FileDownloadableSchema = z.object({
9
+ name: z.string().describe("Name of the file"),
10
+ s3url: z.string().describe("S3 URL of the downloaded file."),
11
+ mimetype: z.string().describe("Mime type of the file.")
12
+ });
13
+ const scrapflyGetCrawlerArtifact = action("SCRAPFLY_GET_CRAWLER_ARTIFACT", {
14
+ slug: "scrapfly-get-crawler-artifact",
15
+ name: "Get Crawler Artifact",
16
+ description: "Tool to download crawler artifact files in WARC or HAR format. Use when you need to retrieve the complete crawl results as an archive file. WARC format is recommended for large crawls as it includes gzip compression.",
17
+ input: ScrapflyGetCrawlerArtifactInput,
18
+ output: z.object({ content: ScrapflyGetCrawlerArtifact_FileDownloadableSchema.nullable() }).describe("Response model for crawler artifact download.")
19
+ });
20
+ //#endregion
21
+ export { scrapflyGetCrawlerArtifact };
22
+
23
+ //# sourceMappingURL=get-crawler-artifact.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-artifact.mjs","names":[],"sources":["../../src/actions/get-crawler-artifact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapflyGetCrawlerArtifactInput: z.ZodTypeAny = z.object({\n type: z.enum([\"warc\", \"har\"]).describe(\"The artifact format type. WARC format is recommended for large crawls with gzip compression.\"),\n crawler_uuid: z.string().describe(\"The unique identifier (UUID) of the crawler whose artifact you want to download.\"),\n}).describe(\"Request model for downloading crawler artifacts as WARC or HAR archive files.\");\nconst ScrapflyGetCrawlerArtifact_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const ScrapflyGetCrawlerArtifactOutput: z.ZodTypeAny = z.object({\n content: ScrapflyGetCrawlerArtifact_FileDownloadableSchema.nullable(),\n}).describe(\"Response model for crawler artifact download.\");\n\nexport const scrapflyGetCrawlerArtifact = action(\"SCRAPFLY_GET_CRAWLER_ARTIFACT\", {\n slug: \"scrapfly-get-crawler-artifact\",\n name: \"Get Crawler Artifact\",\n description: \"Tool to download crawler artifact files in WARC or HAR format. Use when you need to retrieve the complete crawl results as an archive file. WARC format is recommended for large crawls as it includes gzip compression.\",\n input: ScrapflyGetCrawlerArtifactInput,\n output: ScrapflyGetCrawlerArtifactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,8FAA8F;CACrI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;AACtH,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,oDAAkE,EAAE,OAAO;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,SAAS,kDAAkD,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-crawler-contents.ts
4
+ const ScrapflyGetCrawlerContentsInput = zod.z.object({
5
+ url: zod.z.string().describe("Specific URL to query for single-URL retrieval. When specified, returns content only for this URL.").optional(),
6
+ limit: zod.z.number().int().describe("Number of items per page (default: 10, max: 50).").optional(),
7
+ plain: zod.z.boolean().describe("Return raw content without JSON wrapper. Only works with single URL queries (when 'url' parameter is specified).").optional(),
8
+ offset: zod.z.number().int().describe("Number of results to skip for pagination (default: 0).").optional(),
9
+ formats: zod.z.string().describe("Comma-separated list of content formats to retrieve. Available formats: html (raw HTML), clean_html (HTML with boilerplate removed), markdown (LLM-optimized markdown), text (plain text only), json (structured JSON), extracted_data (AI-extracted structured data), page_metadata (page metadata like title, description).").optional(),
10
+ crawler_uuid: zod.z.string().describe("The unique identifier (UUID) of the crawler whose contents you want to retrieve.")
11
+ }).describe("Request model for retrieving extracted content from crawled pages.");
12
+ const ScrapflyGetCrawlerContents_LinksResponseSchema = zod.z.object({
13
+ next: zod.z.string().describe("URL to the next page of results, if available.").nullable().optional(),
14
+ prev: zod.z.string().describe("URL to the previous page of results, if available.").nullable().optional(),
15
+ crawled_urls: zod.z.string().describe("URL to the /urls endpoint for this crawler.").nullable().optional()
16
+ }).describe("Pagination and navigation links for crawler contents.");
17
+ const ScrapflyGetCrawlerContentsOutput = zod.z.object({
18
+ links: ScrapflyGetCrawlerContents_LinksResponseSchema.nullable().optional(),
19
+ contents: zod.z.object({}).describe("Dictionary mapping URLs to their extracted content. Each URL maps to a dictionary of format names to content strings.").nullable().optional()
20
+ }).describe("Response model for crawler contents with pagination links.");
21
+ const scrapflyGetCrawlerContents = require_action.action("SCRAPFLY_GET_CRAWLER_CONTENTS", {
22
+ slug: "scrapfly-get-crawler-contents",
23
+ name: "Get Crawler Contents",
24
+ description: "Tool to retrieve extracted content from crawled pages. Supports multiple output formats including markdown, text, HTML, and JSON. Use when you need to access the actual content extracted during a crawl, with optional filtering by URL and format selection.",
25
+ input: ScrapflyGetCrawlerContentsInput,
26
+ output: ScrapflyGetCrawlerContentsOutput
27
+ });
28
+ //#endregion
29
+ exports.scrapflyGetCrawlerContents = scrapflyGetCrawlerContents;
30
+
31
+ //# sourceMappingURL=get-crawler-contents.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-contents.cjs","names":["z","action"],"sources":["../../src/actions/get-crawler-contents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapflyGetCrawlerContentsInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Specific URL to query for single-URL retrieval. When specified, returns content only for this URL.\").optional(),\n limit: z.number().int().describe(\"Number of items per page (default: 10, max: 50).\").optional(),\n plain: z.boolean().describe(\"Return raw content without JSON wrapper. Only works with single URL queries (when 'url' parameter is specified).\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination (default: 0).\").optional(),\n formats: z.string().describe(\"Comma-separated list of content formats to retrieve. Available formats: html (raw HTML), clean_html (HTML with boilerplate removed), markdown (LLM-optimized markdown), text (plain text only), json (structured JSON), extracted_data (AI-extracted structured data), page_metadata (page metadata like title, description).\").optional(),\n crawler_uuid: z.string().describe(\"The unique identifier (UUID) of the crawler whose contents you want to retrieve.\"),\n}).describe(\"Request model for retrieving extracted content from crawled pages.\");\nconst ScrapflyGetCrawlerContents_LinksResponseSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if available.\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page of results, if available.\").nullable().optional(),\n crawled_urls: z.string().describe(\"URL to the /urls endpoint for this crawler.\").nullable().optional(),\n}).describe(\"Pagination and navigation links for crawler contents.\");\nexport const ScrapflyGetCrawlerContentsOutput: z.ZodTypeAny = z.object({\n links: ScrapflyGetCrawlerContents_LinksResponseSchema.nullable().optional(),\n contents: z.object({}).describe(\"Dictionary mapping URLs to their extracted content. Each URL maps to a dictionary of format names to content strings.\").nullable().optional(),\n}).describe(\"Response model for crawler contents with pagination links.\");\n\nexport const scrapflyGetCrawlerContents = action(\"SCRAPFLY_GET_CRAWLER_CONTENTS\", {\n slug: \"scrapfly-get-crawler-contents\",\n name: \"Get Crawler Contents\",\n description: \"Tool to retrieve extracted content from crawled pages. Supports multiple output formats including markdown, text, HTML, and JSON. Use when you need to access the actual content extracted during a crawl, with optional filtering by URL and format selection.\",\n input: ScrapflyGetCrawlerContentsInput,\n output: ScrapflyGetCrawlerContentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACxI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+TAA+T,CAAC,CAAC,SAAS;CACvW,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;AACtH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAO,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-crawler-contents.d.ts
4
+ declare const ScrapflyGetCrawlerContentsInput: z.ZodTypeAny;
5
+ declare const ScrapflyGetCrawlerContentsOutput: z.ZodTypeAny;
6
+ declare const scrapflyGetCrawlerContents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapflyGetCrawlerContents };
9
+ //# sourceMappingURL=get-crawler-contents.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-contents.d.cts","names":[],"sources":["../../src/actions/get-crawler-contents.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOiC;AAAA,cAMpE,gCAAA,EAAkC,CAAA,CAAE,UAGwB;AAAA,cAE5D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-crawler-contents.d.ts
4
+ declare const ScrapflyGetCrawlerContentsInput: z.ZodTypeAny;
5
+ declare const ScrapflyGetCrawlerContentsOutput: z.ZodTypeAny;
6
+ declare const scrapflyGetCrawlerContents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapflyGetCrawlerContents };
9
+ //# sourceMappingURL=get-crawler-contents.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-contents.d.mts","names":[],"sources":["../../src/actions/get-crawler-contents.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOiC;AAAA,cAMpE,gCAAA,EAAkC,CAAA,CAAE,UAGwB;AAAA,cAE5D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,30 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-crawler-contents.ts
4
+ const ScrapflyGetCrawlerContentsInput = z.object({
5
+ url: z.string().describe("Specific URL to query for single-URL retrieval. When specified, returns content only for this URL.").optional(),
6
+ limit: z.number().int().describe("Number of items per page (default: 10, max: 50).").optional(),
7
+ plain: z.boolean().describe("Return raw content without JSON wrapper. Only works with single URL queries (when 'url' parameter is specified).").optional(),
8
+ offset: z.number().int().describe("Number of results to skip for pagination (default: 0).").optional(),
9
+ formats: z.string().describe("Comma-separated list of content formats to retrieve. Available formats: html (raw HTML), clean_html (HTML with boilerplate removed), markdown (LLM-optimized markdown), text (plain text only), json (structured JSON), extracted_data (AI-extracted structured data), page_metadata (page metadata like title, description).").optional(),
10
+ crawler_uuid: z.string().describe("The unique identifier (UUID) of the crawler whose contents you want to retrieve.")
11
+ }).describe("Request model for retrieving extracted content from crawled pages.");
12
+ const ScrapflyGetCrawlerContents_LinksResponseSchema = z.object({
13
+ next: z.string().describe("URL to the next page of results, if available.").nullable().optional(),
14
+ prev: z.string().describe("URL to the previous page of results, if available.").nullable().optional(),
15
+ crawled_urls: z.string().describe("URL to the /urls endpoint for this crawler.").nullable().optional()
16
+ }).describe("Pagination and navigation links for crawler contents.");
17
+ const scrapflyGetCrawlerContents = action("SCRAPFLY_GET_CRAWLER_CONTENTS", {
18
+ slug: "scrapfly-get-crawler-contents",
19
+ name: "Get Crawler Contents",
20
+ description: "Tool to retrieve extracted content from crawled pages. Supports multiple output formats including markdown, text, HTML, and JSON. Use when you need to access the actual content extracted during a crawl, with optional filtering by URL and format selection.",
21
+ input: ScrapflyGetCrawlerContentsInput,
22
+ output: z.object({
23
+ links: ScrapflyGetCrawlerContents_LinksResponseSchema.nullable().optional(),
24
+ contents: z.object({}).describe("Dictionary mapping URLs to their extracted content. Each URL maps to a dictionary of format names to content strings.").nullable().optional()
25
+ }).describe("Response model for crawler contents with pagination links.")
26
+ });
27
+ //#endregion
28
+ export { scrapflyGetCrawlerContents };
29
+
30
+ //# sourceMappingURL=get-crawler-contents.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-contents.mjs","names":[],"sources":["../../src/actions/get-crawler-contents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapflyGetCrawlerContentsInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Specific URL to query for single-URL retrieval. When specified, returns content only for this URL.\").optional(),\n limit: z.number().int().describe(\"Number of items per page (default: 10, max: 50).\").optional(),\n plain: z.boolean().describe(\"Return raw content without JSON wrapper. Only works with single URL queries (when 'url' parameter is specified).\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination (default: 0).\").optional(),\n formats: z.string().describe(\"Comma-separated list of content formats to retrieve. Available formats: html (raw HTML), clean_html (HTML with boilerplate removed), markdown (LLM-optimized markdown), text (plain text only), json (structured JSON), extracted_data (AI-extracted structured data), page_metadata (page metadata like title, description).\").optional(),\n crawler_uuid: z.string().describe(\"The unique identifier (UUID) of the crawler whose contents you want to retrieve.\"),\n}).describe(\"Request model for retrieving extracted content from crawled pages.\");\nconst ScrapflyGetCrawlerContents_LinksResponseSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, if available.\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page of results, if available.\").nullable().optional(),\n crawled_urls: z.string().describe(\"URL to the /urls endpoint for this crawler.\").nullable().optional(),\n}).describe(\"Pagination and navigation links for crawler contents.\");\nexport const ScrapflyGetCrawlerContentsOutput: z.ZodTypeAny = z.object({\n links: ScrapflyGetCrawlerContents_LinksResponseSchema.nullable().optional(),\n contents: z.object({}).describe(\"Dictionary mapping URLs to their extracted content. Each URL maps to a dictionary of format names to content strings.\").nullable().optional(),\n}).describe(\"Response model for crawler contents with pagination links.\");\n\nexport const scrapflyGetCrawlerContents = action(\"SCRAPFLY_GET_CRAWLER_CONTENTS\", {\n slug: \"scrapfly-get-crawler-contents\",\n name: \"Get Crawler Contents\",\n description: \"Tool to retrieve extracted content from crawled pages. Supports multiple output formats including markdown, text, HTML, and JSON. Use when you need to access the actual content extracted during a crawl, with optional filtering by URL and format selection.\",\n input: ScrapflyGetCrawlerContentsInput,\n output: ScrapflyGetCrawlerContentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACxI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+TAA+T,CAAC,CAAC,SAAS;CACvW,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;AACtH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,iDAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAMnE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,OAAO,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-crawler-status.ts
4
+ const ScrapflyGetCrawlerStatusInput = zod.z.object({ crawler_uuid: zod.z.string().describe("The unique identifier (UUID) of the crawler job to check status for.") }).describe("Request model for retrieving crawler status.");
5
+ const ScrapflyGetCrawlerStatus_CrawlerStateSchema = zod.z.object({
6
+ duration: zod.z.number().describe("Elapsed time in seconds since crawl started."),
7
+ urls_failed: zod.z.number().int().describe("Number of pages that failed to crawl."),
8
+ urls_skipped: zod.z.number().int().describe("Number of pages skipped (cached, excluded, or filtered out)."),
9
+ urls_visited: zod.z.number().int().describe("Number of pages successfully crawled."),
10
+ urls_to_crawl: zod.z.number().int().describe("Number of pending URLs in the queue."),
11
+ urls_extracted: zod.z.number().int().describe("Total number of URLs discovered."),
12
+ api_credit_used: zod.z.number().int().describe("Total API credits consumed by this crawler job.")
13
+ }).describe("Real-time progress metrics for the crawler.");
14
+ const ScrapflyGetCrawlerStatusOutput = zod.z.object({
15
+ state: ScrapflyGetCrawlerStatus_CrawlerStateSchema.nullable(),
16
+ status: zod.z.string().describe("Current crawler state: PENDING (queued), RUNNING (actively crawling), DONE (finished), or CANCELLED (stopped by user)."),
17
+ is_success: zod.z.boolean().describe("Outcome when finished: true if successful, false if failed, null while running.").nullable().optional(),
18
+ is_finished: zod.z.boolean().describe("Whether the crawler has stopped (true) or is still active (false)."),
19
+ stop_reason: zod.z.string().describe("Reason the crawl stopped (e.g., 'no_more_urls', 'page_limit', 'max_duration', 'user_cancelled'). Null while running.").nullable().optional(),
20
+ crawler_uuid: zod.z.string().describe("Unique identifier for the crawler job.")
21
+ }).describe("Response model for crawler status information.");
22
+ const scrapflyGetCrawlerStatus = require_action.action("SCRAPFLY_GET_CRAWLER_STATUS", {
23
+ slug: "scrapfly-get-crawler-status",
24
+ name: "Get Crawler Status",
25
+ description: "Tool to get the current status of a crawler including progress, pages crawled, and completion state. Use for polling workflow to monitor crawl progress.",
26
+ input: ScrapflyGetCrawlerStatusInput,
27
+ output: ScrapflyGetCrawlerStatusOutput
28
+ });
29
+ //#endregion
30
+ exports.scrapflyGetCrawlerStatus = scrapflyGetCrawlerStatus;
31
+
32
+ //# sourceMappingURL=get-crawler-status.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-status.cjs","names":["z","action"],"sources":["../../src/actions/get-crawler-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapflyGetCrawlerStatusInput: z.ZodTypeAny = z.object({\n crawler_uuid: z.string().describe(\"The unique identifier (UUID) of the crawler job to check status for.\"),\n}).describe(\"Request model for retrieving crawler status.\");\nconst ScrapflyGetCrawlerStatus_CrawlerStateSchema: z.ZodTypeAny = z.object({\n duration: z.number().describe(\"Elapsed time in seconds since crawl started.\"),\n urls_failed: z.number().int().describe(\"Number of pages that failed to crawl.\"),\n urls_skipped: z.number().int().describe(\"Number of pages skipped (cached, excluded, or filtered out).\"),\n urls_visited: z.number().int().describe(\"Number of pages successfully crawled.\"),\n urls_to_crawl: z.number().int().describe(\"Number of pending URLs in the queue.\"),\n urls_extracted: z.number().int().describe(\"Total number of URLs discovered.\"),\n api_credit_used: z.number().int().describe(\"Total API credits consumed by this crawler job.\"),\n}).describe(\"Real-time progress metrics for the crawler.\");\nexport const ScrapflyGetCrawlerStatusOutput: z.ZodTypeAny = z.object({\n state: ScrapflyGetCrawlerStatus_CrawlerStateSchema.nullable(),\n status: z.string().describe(\"Current crawler state: PENDING (queued), RUNNING (actively crawling), DONE (finished), or CANCELLED (stopped by user).\"),\n is_success: z.boolean().describe(\"Outcome when finished: true if successful, false if failed, null while running.\").nullable().optional(),\n is_finished: z.boolean().describe(\"Whether the crawler has stopped (true) or is still active (false).\"),\n stop_reason: z.string().describe(\"Reason the crawl stopped (e.g., 'no_more_urls', 'page_limit', 'max_duration', 'user_cancelled'). Null while running.\").nullable().optional(),\n crawler_uuid: z.string().describe(\"Unique identifier for the crawler job.\"),\n}).describe(\"Response model for crawler status information.\");\n\nexport const scrapflyGetCrawlerStatus = action(\"SCRAPFLY_GET_CRAWLER_STATUS\", {\n slug: \"scrapfly-get-crawler-status\",\n name: \"Get Crawler Status\",\n description: \"Tool to get the current status of a crawler including progress, pages crawled, and completion state. Use for polling workflow to monitor crawl progress.\",\n input: ScrapflyGetCrawlerStatusInput,\n output: ScrapflyGetCrawlerStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,cAAcA,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AAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-crawler-status.d.ts
4
+ declare const ScrapflyGetCrawlerStatusInput: z.ZodTypeAny;
5
+ declare const ScrapflyGetCrawlerStatusOutput: z.ZodTypeAny;
6
+ declare const scrapflyGetCrawlerStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapflyGetCrawlerStatus };
9
+ //# sourceMappingURL=get-crawler-status.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-crawler-status.d.cts","names":[],"sources":["../../src/actions/get-crawler-status.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEa;AAAA,cAU9C,8BAAA,EAAgC,CAAA,CAAE,UAOc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}