@keystrokehq/scrapegraph_ai 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 (250) 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/convert-webpage-to-markdown-v2.cjs +39 -0
  7. package/dist/actions/convert-webpage-to-markdown-v2.cjs.map +1 -0
  8. package/dist/actions/convert-webpage-to-markdown-v2.d.cts +9 -0
  9. package/dist/actions/convert-webpage-to-markdown-v2.d.cts.map +1 -0
  10. package/dist/actions/convert-webpage-to-markdown-v2.d.mts +9 -0
  11. package/dist/actions/convert-webpage-to-markdown-v2.d.mts.map +1 -0
  12. package/dist/actions/convert-webpage-to-markdown-v2.mjs +36 -0
  13. package/dist/actions/convert-webpage-to-markdown-v2.mjs.map +1 -0
  14. package/dist/actions/generate-schema.cjs +26 -0
  15. package/dist/actions/generate-schema.cjs.map +1 -0
  16. package/dist/actions/generate-schema.d.cts +9 -0
  17. package/dist/actions/generate-schema.d.cts.map +1 -0
  18. package/dist/actions/generate-schema.d.mts +9 -0
  19. package/dist/actions/generate-schema.d.mts.map +1 -0
  20. package/dist/actions/generate-schema.mjs +23 -0
  21. package/dist/actions/generate-schema.mjs.map +1 -0
  22. package/dist/actions/get-agentic-scraper-history.cjs +38 -0
  23. package/dist/actions/get-agentic-scraper-history.cjs.map +1 -0
  24. package/dist/actions/get-agentic-scraper-history.d.cts +9 -0
  25. package/dist/actions/get-agentic-scraper-history.d.cts.map +1 -0
  26. package/dist/actions/get-agentic-scraper-history.d.mts +9 -0
  27. package/dist/actions/get-agentic-scraper-history.d.mts.map +1 -0
  28. package/dist/actions/get-agentic-scraper-history.mjs +37 -0
  29. package/dist/actions/get-agentic-scraper-history.mjs.map +1 -0
  30. package/dist/actions/get-crawler-history.cjs +48 -0
  31. package/dist/actions/get-crawler-history.cjs.map +1 -0
  32. package/dist/actions/get-crawler-history.d.cts +9 -0
  33. package/dist/actions/get-crawler-history.d.cts.map +1 -0
  34. package/dist/actions/get-crawler-history.d.mts +9 -0
  35. package/dist/actions/get-crawler-history.d.mts.map +1 -0
  36. package/dist/actions/get-crawler-history.mjs +47 -0
  37. package/dist/actions/get-crawler-history.mjs.map +1 -0
  38. package/dist/actions/get-credits.cjs +20 -0
  39. package/dist/actions/get-credits.cjs.map +1 -0
  40. package/dist/actions/get-credits.d.cts +9 -0
  41. package/dist/actions/get-credits.d.cts.map +1 -0
  42. package/dist/actions/get-credits.d.mts +9 -0
  43. package/dist/actions/get-credits.d.mts.map +1 -0
  44. package/dist/actions/get-credits.mjs +17 -0
  45. package/dist/actions/get-credits.mjs.map +1 -0
  46. package/dist/actions/get-endpoint-suggestions.cjs +32 -0
  47. package/dist/actions/get-endpoint-suggestions.cjs.map +1 -0
  48. package/dist/actions/get-endpoint-suggestions.d.cts +9 -0
  49. package/dist/actions/get-endpoint-suggestions.d.cts.map +1 -0
  50. package/dist/actions/get-endpoint-suggestions.d.mts +9 -0
  51. package/dist/actions/get-endpoint-suggestions.d.mts.map +1 -0
  52. package/dist/actions/get-endpoint-suggestions.mjs +31 -0
  53. package/dist/actions/get-endpoint-suggestions.mjs.map +1 -0
  54. package/dist/actions/get-live-session-url.cjs +22 -0
  55. package/dist/actions/get-live-session-url.cjs.map +1 -0
  56. package/dist/actions/get-live-session-url.d.cts +9 -0
  57. package/dist/actions/get-live-session-url.d.cts.map +1 -0
  58. package/dist/actions/get-live-session-url.d.mts +9 -0
  59. package/dist/actions/get-live-session-url.d.mts.map +1 -0
  60. package/dist/actions/get-live-session-url.mjs +19 -0
  61. package/dist/actions/get-live-session-url.mjs.map +1 -0
  62. package/dist/actions/get-markdownify-history.cjs +35 -0
  63. package/dist/actions/get-markdownify-history.cjs.map +1 -0
  64. package/dist/actions/get-markdownify-history.d.cts +9 -0
  65. package/dist/actions/get-markdownify-history.d.cts.map +1 -0
  66. package/dist/actions/get-markdownify-history.d.mts +9 -0
  67. package/dist/actions/get-markdownify-history.d.mts.map +1 -0
  68. package/dist/actions/get-markdownify-history.mjs +34 -0
  69. package/dist/actions/get-markdownify-history.mjs.map +1 -0
  70. package/dist/actions/get-scrape-history.cjs +36 -0
  71. package/dist/actions/get-scrape-history.cjs.map +1 -0
  72. package/dist/actions/get-scrape-history.d.cts +9 -0
  73. package/dist/actions/get-scrape-history.d.cts.map +1 -0
  74. package/dist/actions/get-scrape-history.d.mts +9 -0
  75. package/dist/actions/get-scrape-history.d.mts.map +1 -0
  76. package/dist/actions/get-scrape-history.mjs +35 -0
  77. package/dist/actions/get-scrape-history.mjs.map +1 -0
  78. package/dist/actions/get-searchscraper-history.cjs +37 -0
  79. package/dist/actions/get-searchscraper-history.cjs.map +1 -0
  80. package/dist/actions/get-searchscraper-history.d.cts +9 -0
  81. package/dist/actions/get-searchscraper-history.d.cts.map +1 -0
  82. package/dist/actions/get-searchscraper-history.d.mts +9 -0
  83. package/dist/actions/get-searchscraper-history.d.mts.map +1 -0
  84. package/dist/actions/get-searchscraper-history.mjs +36 -0
  85. package/dist/actions/get-searchscraper-history.mjs.map +1 -0
  86. package/dist/actions/get-sitemap-history.cjs +33 -0
  87. package/dist/actions/get-sitemap-history.cjs.map +1 -0
  88. package/dist/actions/get-sitemap-history.d.cts +9 -0
  89. package/dist/actions/get-sitemap-history.d.cts.map +1 -0
  90. package/dist/actions/get-sitemap-history.d.mts +9 -0
  91. package/dist/actions/get-sitemap-history.d.mts.map +1 -0
  92. package/dist/actions/get-sitemap-history.mjs +32 -0
  93. package/dist/actions/get-sitemap-history.mjs.map +1 -0
  94. package/dist/actions/get-smartscraper-history.cjs +37 -0
  95. package/dist/actions/get-smartscraper-history.cjs.map +1 -0
  96. package/dist/actions/get-smartscraper-history.d.cts +9 -0
  97. package/dist/actions/get-smartscraper-history.d.cts.map +1 -0
  98. package/dist/actions/get-smartscraper-history.d.mts +9 -0
  99. package/dist/actions/get-smartscraper-history.d.mts.map +1 -0
  100. package/dist/actions/get-smartscraper-history.mjs +36 -0
  101. package/dist/actions/get-smartscraper-history.mjs.map +1 -0
  102. package/dist/actions/get-usage-timeline.cjs +25 -0
  103. package/dist/actions/get-usage-timeline.cjs.map +1 -0
  104. package/dist/actions/get-usage-timeline.d.cts +9 -0
  105. package/dist/actions/get-usage-timeline.d.cts.map +1 -0
  106. package/dist/actions/get-usage-timeline.d.mts +9 -0
  107. package/dist/actions/get-usage-timeline.d.mts.map +1 -0
  108. package/dist/actions/get-usage-timeline.mjs +24 -0
  109. package/dist/actions/get-usage-timeline.mjs.map +1 -0
  110. package/dist/actions/get-webhook-logs.cjs +30 -0
  111. package/dist/actions/get-webhook-logs.cjs.map +1 -0
  112. package/dist/actions/get-webhook-logs.d.cts +9 -0
  113. package/dist/actions/get-webhook-logs.d.cts.map +1 -0
  114. package/dist/actions/get-webhook-logs.d.mts +9 -0
  115. package/dist/actions/get-webhook-logs.d.mts.map +1 -0
  116. package/dist/actions/get-webhook-logs.mjs +29 -0
  117. package/dist/actions/get-webhook-logs.mjs.map +1 -0
  118. package/dist/actions/index.cjs +55 -0
  119. package/dist/actions/index.d.cts +28 -0
  120. package/dist/actions/index.d.mts +28 -0
  121. package/dist/actions/index.mjs +28 -0
  122. package/dist/actions/list-scheduled-jobs.cjs +39 -0
  123. package/dist/actions/list-scheduled-jobs.cjs.map +1 -0
  124. package/dist/actions/list-scheduled-jobs.d.cts +9 -0
  125. package/dist/actions/list-scheduled-jobs.d.cts.map +1 -0
  126. package/dist/actions/list-scheduled-jobs.d.mts +9 -0
  127. package/dist/actions/list-scheduled-jobs.d.mts.map +1 -0
  128. package/dist/actions/list-scheduled-jobs.mjs +38 -0
  129. package/dist/actions/list-scheduled-jobs.mjs.map +1 -0
  130. package/dist/actions/markdownify-status.cjs +27 -0
  131. package/dist/actions/markdownify-status.cjs.map +1 -0
  132. package/dist/actions/markdownify-status.d.cts +9 -0
  133. package/dist/actions/markdownify-status.d.cts.map +1 -0
  134. package/dist/actions/markdownify-status.d.mts +9 -0
  135. package/dist/actions/markdownify-status.d.mts.map +1 -0
  136. package/dist/actions/markdownify-status.mjs +24 -0
  137. package/dist/actions/markdownify-status.mjs.map +1 -0
  138. package/dist/actions/save-endpoint.cjs +36 -0
  139. package/dist/actions/save-endpoint.cjs.map +1 -0
  140. package/dist/actions/save-endpoint.d.cts +9 -0
  141. package/dist/actions/save-endpoint.d.cts.map +1 -0
  142. package/dist/actions/save-endpoint.d.mts +9 -0
  143. package/dist/actions/save-endpoint.d.mts.map +1 -0
  144. package/dist/actions/save-endpoint.mjs +33 -0
  145. package/dist/actions/save-endpoint.mjs.map +1 -0
  146. package/dist/actions/search-scraper-status.cjs +25 -0
  147. package/dist/actions/search-scraper-status.cjs.map +1 -0
  148. package/dist/actions/search-scraper-status.d.cts +9 -0
  149. package/dist/actions/search-scraper-status.d.cts.map +1 -0
  150. package/dist/actions/search-scraper-status.d.mts +9 -0
  151. package/dist/actions/search-scraper-status.d.mts.map +1 -0
  152. package/dist/actions/search-scraper-status.mjs +22 -0
  153. package/dist/actions/search-scraper-status.mjs.map +1 -0
  154. package/dist/actions/search-scraper.cjs +31 -0
  155. package/dist/actions/search-scraper.cjs.map +1 -0
  156. package/dist/actions/search-scraper.d.cts +9 -0
  157. package/dist/actions/search-scraper.d.cts.map +1 -0
  158. package/dist/actions/search-scraper.d.mts +9 -0
  159. package/dist/actions/search-scraper.d.mts.map +1 -0
  160. package/dist/actions/search-scraper.mjs +28 -0
  161. package/dist/actions/search-scraper.mjs.map +1 -0
  162. package/dist/actions/smart-crawler-status.cjs +33 -0
  163. package/dist/actions/smart-crawler-status.cjs.map +1 -0
  164. package/dist/actions/smart-crawler-status.d.cts +9 -0
  165. package/dist/actions/smart-crawler-status.d.cts.map +1 -0
  166. package/dist/actions/smart-crawler-status.d.mts +9 -0
  167. package/dist/actions/smart-crawler-status.d.mts.map +1 -0
  168. package/dist/actions/smart-crawler-status.mjs +32 -0
  169. package/dist/actions/smart-crawler-status.mjs.map +1 -0
  170. package/dist/actions/smart-scraper-start.cjs +45 -0
  171. package/dist/actions/smart-scraper-start.cjs.map +1 -0
  172. package/dist/actions/smart-scraper-start.d.cts +9 -0
  173. package/dist/actions/smart-scraper-start.d.cts.map +1 -0
  174. package/dist/actions/smart-scraper-start.d.mts +9 -0
  175. package/dist/actions/smart-scraper-start.d.mts.map +1 -0
  176. package/dist/actions/smart-scraper-start.mjs +42 -0
  177. package/dist/actions/smart-scraper-start.mjs.map +1 -0
  178. package/dist/actions/smart-scraper-status.cjs +23 -0
  179. package/dist/actions/smart-scraper-status.cjs.map +1 -0
  180. package/dist/actions/smart-scraper-status.d.cts +9 -0
  181. package/dist/actions/smart-scraper-status.d.cts.map +1 -0
  182. package/dist/actions/smart-scraper-status.d.mts +9 -0
  183. package/dist/actions/smart-scraper-status.d.mts.map +1 -0
  184. package/dist/actions/smart-scraper-status.mjs +20 -0
  185. package/dist/actions/smart-scraper-status.mjs.map +1 -0
  186. package/dist/actions/start-smart-crawler.cjs +37 -0
  187. package/dist/actions/start-smart-crawler.cjs.map +1 -0
  188. package/dist/actions/start-smart-crawler.d.cts +9 -0
  189. package/dist/actions/start-smart-crawler.d.cts.map +1 -0
  190. package/dist/actions/start-smart-crawler.d.mts +9 -0
  191. package/dist/actions/start-smart-crawler.d.mts.map +1 -0
  192. package/dist/actions/start-smart-crawler.mjs +34 -0
  193. package/dist/actions/start-smart-crawler.mjs.map +1 -0
  194. package/dist/actions/submit-feedback.cjs +25 -0
  195. package/dist/actions/submit-feedback.cjs.map +1 -0
  196. package/dist/actions/submit-feedback.d.cts +9 -0
  197. package/dist/actions/submit-feedback.d.cts.map +1 -0
  198. package/dist/actions/submit-feedback.d.mts +9 -0
  199. package/dist/actions/submit-feedback.d.mts.map +1 -0
  200. package/dist/actions/submit-feedback.mjs +22 -0
  201. package/dist/actions/submit-feedback.mjs.map +1 -0
  202. package/dist/actions/submit-product-feedback.cjs +34 -0
  203. package/dist/actions/submit-product-feedback.cjs.map +1 -0
  204. package/dist/actions/submit-product-feedback.d.cts +9 -0
  205. package/dist/actions/submit-product-feedback.d.cts.map +1 -0
  206. package/dist/actions/submit-product-feedback.d.mts +9 -0
  207. package/dist/actions/submit-product-feedback.d.mts.map +1 -0
  208. package/dist/actions/submit-product-feedback.mjs +31 -0
  209. package/dist/actions/submit-product-feedback.mjs.map +1 -0
  210. package/dist/actions/toonify.cjs +16 -0
  211. package/dist/actions/toonify.cjs.map +1 -0
  212. package/dist/actions/toonify.d.cts +9 -0
  213. package/dist/actions/toonify.d.cts.map +1 -0
  214. package/dist/actions/toonify.d.mts +9 -0
  215. package/dist/actions/toonify.d.mts.map +1 -0
  216. package/dist/actions/toonify.mjs +13 -0
  217. package/dist/actions/toonify.mjs.map +1 -0
  218. package/dist/actions/validate-api-key.cjs +19 -0
  219. package/dist/actions/validate-api-key.cjs.map +1 -0
  220. package/dist/actions/validate-api-key.d.cts +9 -0
  221. package/dist/actions/validate-api-key.d.cts.map +1 -0
  222. package/dist/actions/validate-api-key.d.mts +9 -0
  223. package/dist/actions/validate-api-key.d.mts.map +1 -0
  224. package/dist/actions/validate-api-key.mjs +16 -0
  225. package/dist/actions/validate-api-key.mjs.map +1 -0
  226. package/dist/app.cjs +9 -0
  227. package/dist/app.cjs.map +1 -0
  228. package/dist/app.d.cts +5 -0
  229. package/dist/app.d.cts.map +1 -0
  230. package/dist/app.d.mts +5 -0
  231. package/dist/app.d.mts.map +1 -0
  232. package/dist/app.mjs +10 -0
  233. package/dist/app.mjs.map +1 -0
  234. package/dist/catalog.cjs +15 -0
  235. package/dist/catalog.cjs.map +1 -0
  236. package/dist/catalog.d.cts +14 -0
  237. package/dist/catalog.d.cts.map +1 -0
  238. package/dist/catalog.d.mts +14 -0
  239. package/dist/catalog.d.mts.map +1 -0
  240. package/dist/catalog.mjs +15 -0
  241. package/dist/catalog.mjs.map +1 -0
  242. package/dist/execute.cjs +18 -0
  243. package/dist/execute.cjs.map +1 -0
  244. package/dist/execute.mjs +18 -0
  245. package/dist/execute.mjs.map +1 -0
  246. package/dist/index.cjs +60 -0
  247. package/dist/index.d.cts +30 -0
  248. package/dist/index.d.mts +30 -0
  249. package/dist/index.mjs +31 -0
  250. package/package.json +49 -0
@@ -0,0 +1,37 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-searchscraper-history.ts
4
+ const ScrapegraphAiGetSearchscraperHistoryInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination. Must be 1 or greater.").optional(),
6
+ page_size: zod.z.number().int().default(10).describe("Number of records per page. Must be between 1 and 100.").optional()
7
+ }).describe("Request model for retrieving searchscraper job history.");
8
+ const ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = zod.z.object({
9
+ error: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Error details if the request failed.").nullable().optional(),
10
+ result: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Extracted search results (available when status is 'completed').").nullable().optional(),
11
+ status: zod.z.string().describe("Current status of the request. Possible values: 'queued', 'processing', 'completed', or 'failed'.").nullable().optional(),
12
+ user_id: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User identifier associated with the request.").nullable().optional(),
13
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the request.").nullable().optional(),
14
+ request_id: zod.z.string().describe("The unique identifier (UUID) of the searchscraper request.").nullable().optional(),
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."),
17
+ requested_at: zod.z.string().describe("ISO 8601 timestamp when the request was submitted.").nullable().optional(),
18
+ search_query: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details about the search query parameters.").nullable().optional(),
19
+ output_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The output schema used for structuring results.").nullable().optional(),
20
+ references_urls: zod.z.record(zod.z.string(), zod.z.unknown()).describe("URLs referenced during the search scraping process.").nullable().optional(),
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.");
23
+ const ScrapegraphAiGetSearchscraperHistoryOutput = zod.z.object({
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
+ requests: zod.z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe("List of searchscraper requests in the history.")
26
+ }).describe("Response model for searchscraper history retrieval.");
27
+ const scrapegraphAiGetSearchscraperHistory = require_action.action("SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY", {
28
+ slug: "scrapegraph_ai-get-searchscraper-history",
29
+ name: "Get Searchscraper History",
30
+ description: "Get the history of searchscraper jobs with pagination support. Use this to retrieve past searchscraper requests, their status, and results.",
31
+ input: ScrapegraphAiGetSearchscraperHistoryInput,
32
+ output: ScrapegraphAiGetSearchscraperHistoryOutput
33
+ });
34
+ //#endregion
35
+ exports.scrapegraphAiGetSearchscraperHistory = scrapegraphAiGetSearchscraperHistory;
36
+
37
+ //# sourceMappingURL=get-searchscraper-history.cjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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.\"),\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}).describe(\"Database model for a single searchscraper request in history.\");\nexport const ScrapegraphAiGetSearchscraperHistoryOutput: z.ZodTypeAny = 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}).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: ScrapegraphAiGetSearchsc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AO,4CAA4C;CACrG,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-searchscraper-history.d.ts
4
+ declare const ScrapegraphAiGetSearchscraperHistoryInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetSearchscraperHistoryOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetSearchscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetSearchscraperHistory };
9
+ //# sourceMappingURL=get-searchscraper-history.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-searchscraper-history.d.cts","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAGY;AAAA,cAgBzD,0CAAA,EAA4C,CAAA,CAAE,UAGO;AAAA,cAErD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-searchscraper-history.d.ts
4
+ declare const ScrapegraphAiGetSearchscraperHistoryInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetSearchscraperHistoryOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetSearchscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetSearchscraperHistory };
9
+ //# sourceMappingURL=get-searchscraper-history.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-searchscraper-history.d.mts","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAGY;AAAA,cAgBzD,0CAAA,EAA4C,CAAA,CAAE,UAGO;AAAA,cAErD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,36 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-searchscraper-history.ts
4
+ const ScrapegraphAiGetSearchscraperHistoryInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination. Must be 1 or greater.").optional(),
6
+ page_size: z.number().int().default(10).describe("Number of records per page. Must be between 1 and 100.").optional()
7
+ }).describe("Request model for retrieving searchscraper job history.");
8
+ const ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema = z.object({
9
+ error: z.record(z.string(), z.unknown()).describe("Error details if the request failed.").nullable().optional(),
10
+ result: z.record(z.string(), z.unknown()).describe("Extracted search results (available when status is 'completed').").nullable().optional(),
11
+ status: z.string().describe("Current status of the request. Possible values: 'queued', 'processing', 'completed', or 'failed'.").nullable().optional(),
12
+ user_id: z.record(z.string(), z.unknown()).describe("User identifier associated with the request.").nullable().optional(),
13
+ metadata: z.record(z.string(), z.unknown()).describe("Additional metadata associated with the request.").nullable().optional(),
14
+ request_id: z.string().describe("The unique identifier (UUID) of the searchscraper request.").nullable().optional(),
15
+ finished_at: z.record(z.string(), z.unknown()).describe("Information about when the request completed.").nullable().optional(),
16
+ user_prompt: z.string().describe("The search query or prompt submitted by the user."),
17
+ requested_at: z.string().describe("ISO 8601 timestamp when the request was submitted.").nullable().optional(),
18
+ search_query: z.record(z.string(), z.unknown()).describe("Details about the search query parameters.").nullable().optional(),
19
+ output_schema: z.record(z.string(), z.unknown()).describe("The output schema used for structuring results.").nullable().optional(),
20
+ references_urls: z.record(z.string(), z.unknown()).describe("URLs referenced during the search scraping process.").nullable().optional(),
21
+ extraction_query: z.record(z.string(), z.unknown()).describe("Details about the extraction query parameters.").nullable().optional()
22
+ }).describe("Database model for a single searchscraper request in history.");
23
+ const scrapegraphAiGetSearchscraperHistory = action("SCRAPEGRAPH_AI_GET_SEARCHSCRAPER_HISTORY", {
24
+ slug: "scrapegraph_ai-get-searchscraper-history",
25
+ name: "Get Searchscraper History",
26
+ description: "Get the history of searchscraper jobs with pagination support. Use this to retrieve past searchscraper requests, their status, and results.",
27
+ input: ScrapegraphAiGetSearchscraperHistoryInput,
28
+ output: z.object({
29
+ next_key: z.record(z.string(), z.unknown()).describe("Pagination token for fetching the next page of results. Null if no more pages.").nullable().optional(),
30
+ requests: z.array(ScrapegraphAiGetSearchscraperHistory_SearchscraperRequestDBSchema).describe("List of searchscraper requests in the history.")
31
+ }).describe("Response model for searchscraper history retrieval.")
32
+ });
33
+ //#endregion
34
+ export { scrapegraphAiGetSearchscraperHistory };
35
+
36
+ //# sourceMappingURL=get-searchscraper-history.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-searchscraper-history.mjs","names":[],"sources":["../../src/actions/get-searchscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSearchscraperHistoryInput: z.ZodTypeAny = 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.ZodTypeAny = 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.\"),\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}).describe(\"Database model for a single searchscraper request in history.\");\nexport const ScrapegraphAiGetSearchscraperHistoryOutput: z.ZodTypeAny = 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}).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,4CAA0D,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CA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E,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAM3E,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsE,EAAE,OAAO;EAC/E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,UAAU,EAAE,MAAM,iEAAiE,CAAC,CAAC,SAAS,gDAAgD;CAChJ,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,33 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-sitemap-history.ts
4
+ const ScrapegraphAiGetSitemapHistoryInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination. Defaults to 1.").optional(),
6
+ page_size: zod.z.number().int().default(10).describe("Number of items per page. Defaults to 10.").optional()
7
+ }).describe("Request schema for retrieving the history of sitemap extraction jobs.");
8
+ const ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = zod.z.object({
9
+ status: zod.z.string().describe("Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')"),
10
+ user_id: zod.z.string().describe("Identifier of the user who made the request"),
11
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the sitemap extraction request").nullable().optional(),
12
+ api_key_id: zod.z.string().describe("Identifier of the API key used for this request"),
13
+ request_id: zod.z.string().describe("Unique identifier (UUID) of the sitemap extraction request"),
14
+ urls_count: zod.z.number().int().describe("Number of URLs found in the extracted sitemap"),
15
+ website_url: zod.z.string().describe("URL of the website from which the sitemap was extracted"),
16
+ requested_at: zod.z.string().describe("ISO 8601 timestamp indicating when the request was made"),
17
+ error_message: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Error details if the request failed. Contains error information as a dictionary.").nullable().optional()
18
+ }).describe("Model representing a single sitemap extraction job in the history.");
19
+ const ScrapegraphAiGetSitemapHistoryOutput = zod.z.object({
20
+ next_key: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pagination key for fetching the next page of results. Null if no more pages available.").nullable().optional(),
21
+ requests: zod.z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe("List of sitemap extraction jobs in the requested page")
22
+ }).describe("Response schema for sitemap extraction job history.");
23
+ const scrapegraphAiGetSitemapHistory = require_action.action("SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY", {
24
+ slug: "scrapegraph_ai-get-sitemap-history",
25
+ name: "Get Sitemap History",
26
+ description: "Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.",
27
+ input: ScrapegraphAiGetSitemapHistoryInput,
28
+ output: ScrapegraphAiGetSitemapHistoryOutput
29
+ });
30
+ //#endregion
31
+ exports.scrapegraphAiGetSitemapHistory = scrapegraphAiGetSitemapHistory;
32
+
33
+ //# sourceMappingURL=get-sitemap-history.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-sitemap-history.cjs","names":["z","action"],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\"),\n user_id: z.string().describe(\"Identifier of the user who made the request\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\"),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\"),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\"),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\"),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\"),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput: z.ZodTypeAny = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CA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AAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,uDAAuD;AAC7I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,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-sitemap-history.d.ts
4
+ declare const ScrapegraphAiGetSitemapHistoryInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetSitemapHistoryOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetSitemapHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetSitemapHistory };
9
+ //# sourceMappingURL=get-sitemap-history.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-sitemap-history.d.cts","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGgC;AAAA,cAYvE,oCAAA,EAAsC,CAAA,CAAE,UAGa;AAAA,cAErD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-sitemap-history.d.ts
4
+ declare const ScrapegraphAiGetSitemapHistoryInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetSitemapHistoryOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetSitemapHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetSitemapHistory };
9
+ //# sourceMappingURL=get-sitemap-history.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-sitemap-history.d.mts","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGgC;AAAA,cAYvE,oCAAA,EAAsC,CAAA,CAAE,UAGa;AAAA,cAErD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,32 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-sitemap-history.ts
4
+ const ScrapegraphAiGetSitemapHistoryInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination. Defaults to 1.").optional(),
6
+ page_size: z.number().int().default(10).describe("Number of items per page. Defaults to 10.").optional()
7
+ }).describe("Request schema for retrieving the history of sitemap extraction jobs.");
8
+ const ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema = z.object({
9
+ status: z.string().describe("Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')"),
10
+ user_id: z.string().describe("Identifier of the user who made the request"),
11
+ metadata: z.record(z.string(), z.unknown()).describe("Additional metadata associated with the sitemap extraction request").nullable().optional(),
12
+ api_key_id: z.string().describe("Identifier of the API key used for this request"),
13
+ request_id: z.string().describe("Unique identifier (UUID) of the sitemap extraction request"),
14
+ urls_count: z.number().int().describe("Number of URLs found in the extracted sitemap"),
15
+ website_url: z.string().describe("URL of the website from which the sitemap was extracted"),
16
+ requested_at: z.string().describe("ISO 8601 timestamp indicating when the request was made"),
17
+ error_message: z.record(z.string(), z.unknown()).describe("Error details if the request failed. Contains error information as a dictionary.").nullable().optional()
18
+ }).describe("Model representing a single sitemap extraction job in the history.");
19
+ const scrapegraphAiGetSitemapHistory = action("SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY", {
20
+ slug: "scrapegraph_ai-get-sitemap-history",
21
+ name: "Get Sitemap History",
22
+ description: "Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.",
23
+ input: ScrapegraphAiGetSitemapHistoryInput,
24
+ output: z.object({
25
+ next_key: z.record(z.string(), z.unknown()).describe("Pagination key for fetching the next page of results. Null if no more pages available.").nullable().optional(),
26
+ requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe("List of sitemap extraction jobs in the requested page")
27
+ }).describe("Response schema for sitemap extraction job history.")
28
+ });
29
+ //#endregion
30
+ export { scrapegraphAiGetSitemapHistory };
31
+
32
+ //# sourceMappingURL=get-sitemap-history.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-sitemap-history.mjs","names":[],"sources":["../../src/actions/get-sitemap-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSitemapHistoryInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Defaults to 1.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of items per page. Defaults to 10.\").optional(),\n}).describe(\"Request schema for retrieving the history of sitemap extraction jobs.\");\nconst ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Current status of the sitemap extraction job (e.g., 'completed', 'failed', 'processing')\"),\n user_id: z.string().describe(\"Identifier of the user who made the request\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the sitemap extraction request\").nullable().optional(),\n api_key_id: z.string().describe(\"Identifier of the API key used for this request\"),\n request_id: z.string().describe(\"Unique identifier (UUID) of the sitemap extraction request\"),\n urls_count: z.number().int().describe(\"Number of URLs found in the extracted sitemap\"),\n website_url: z.string().describe(\"URL of the website from which the sitemap was extracted\"),\n requested_at: z.string().describe(\"ISO 8601 timestamp indicating when the request was made\"),\n error_message: z.record(z.string(), z.unknown()).describe(\"Error details if the request failed. Contains error information as a dictionary.\").nullable().optional(),\n}).describe(\"Model representing a single sitemap extraction job in the history.\");\nexport const ScrapegraphAiGetSitemapHistoryOutput: z.ZodTypeAny = z.object({\n next_key: z.record(z.string(), z.unknown()).describe(\"Pagination key for fetching the next page of results. Null if no more pages available.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSitemapHistory_SitemapRequestItemSchema).describe(\"List of sitemap extraction jobs in the requested page\"),\n}).describe(\"Response schema for sitemap extraction job history.\");\n\nexport const scrapegraphAiGetSitemapHistory = action(\"SCRAPEGRAPH_AI_GET_SITEMAP_HISTORY\", {\n slug: \"scrapegraph_ai-get-sitemap-history\",\n name: \"Get Sitemap History\",\n description: \"Tool to retrieve the history of sitemap extraction jobs. Use when you need to view past sitemap extraction requests, their status, and results.\",\n input: ScrapegraphAiGetSitemapHistoryInput,\n output: ScrapegraphAiGetSitemapHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,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,2CAA2C,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,0DAAwE,EAAE,OAAO;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACtH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC3F,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAMhF,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgE,EAAE,OAAO;EACzE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnK,UAAU,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,uDAAuD;CAC7I,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,37 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-smartscraper-history.ts
4
+ const ScrapegraphAiGetSmartscraperHistoryInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination (starts at 1). Use to navigate through multiple pages of history.").optional(),
6
+ page_size: zod.z.number().int().default(10).describe("Number of records to return per page (1-100). Default is 10.").optional()
7
+ }).describe("Request schema for retrieving smartscraper job history.");
8
+ const ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = zod.z.object({
9
+ error: zod.z.unknown().describe("Error message explaining why the request failed. Only populated when status is 'failed'.").nullable().optional(),
10
+ result: zod.z.unknown().describe("Extracted data from the website. Only populated when status is 'completed'.").nullable().optional(),
11
+ status: zod.z.string().describe("Current status of the request: 'queued', 'processing', 'completed', or 'failed'").nullable().optional(),
12
+ user_id: zod.z.unknown().describe("Internal identifier for the user who submitted the request").nullable().optional(),
13
+ metadata: zod.z.unknown().describe("Additional metadata associated with the request").nullable().optional(),
14
+ request_id: zod.z.string().describe("The unique identifier (UUID) of the SmartScraper request"),
15
+ webpage_id: zod.z.unknown().describe("Internal identifier for the webpage being scraped").nullable().optional(),
16
+ finished_at: zod.z.unknown().describe("ISO 8601 timestamp when the request finished processing. Null if still in progress.").nullable().optional(),
17
+ user_prompt: zod.z.string().describe("The natural language prompt describing what information to extract"),
18
+ website_url: zod.z.unknown().describe("URL of the website being scraped. May be null if website_html was provided instead of a URL.").nullable().optional(),
19
+ requested_at: zod.z.string().describe("ISO 8601 timestamp when the request was submitted"),
20
+ output_schema: zod.z.unknown().describe("JSON Schema defining the structure of extracted data").nullable().optional(),
21
+ request_params: zod.z.unknown().describe("Parameters used for the scraping request (headers, cookies, output_schema, etc.)").nullable().optional()
22
+ }).describe("Individual smartscraper request record from history.");
23
+ const ScrapegraphAiGetSmartscraperHistoryOutput = zod.z.object({
24
+ next_key: zod.z.unknown().describe("Pagination token for fetching the next page of results. Null if no more pages.").nullable().optional(),
25
+ requests: zod.z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe("List of smartscraper requests in the current page, ordered by most recent first")
26
+ }).describe("Response schema containing smartscraper job history.");
27
+ const scrapegraphAiGetSmartscraperHistory = require_action.action("SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY", {
28
+ slug: "scrapegraph_ai-get-smartscraper-history",
29
+ name: "Get Smartscraper History",
30
+ description: "Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.",
31
+ input: ScrapegraphAiGetSmartscraperHistoryInput,
32
+ output: ScrapegraphAiGetSmartscraperHistoryOutput
33
+ });
34
+ //#endregion
35
+ exports.scrapegraphAiGetSmartscraperHistory = scrapegraphAiGetSmartscraperHistory;
36
+
37
+ //# sourceMappingURL=get-smartscraper-history.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-smartscraper-history.cjs","names":["z","action"],"sources":["../../src/actions/get-smartscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSmartscraperHistoryInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1). Use to navigate through multiple pages of history.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page (1-100). Default is 10.\").optional(),\n}).describe(\"Request schema for retrieving smartscraper job history.\");\nconst ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema: z.ZodTypeAny = z.object({\n error: z.unknown().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.unknown().describe(\"Extracted data from the website. Only populated when status is 'completed'.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.unknown().describe(\"Internal identifier for the user who submitted the request\").nullable().optional(),\n metadata: z.unknown().describe(\"Additional metadata associated with the request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\"),\n webpage_id: z.unknown().describe(\"Internal identifier for the webpage being scraped\").nullable().optional(),\n finished_at: z.unknown().describe(\"ISO 8601 timestamp when the request finished processing. Null if still in progress.\").nullable().optional(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\"),\n website_url: z.unknown().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted\"),\n output_schema: z.unknown().describe(\"JSON Schema defining the structure of extracted data\").nullable().optional(),\n request_params: z.unknown().describe(\"Parameters used for the scraping request (headers, cookies, output_schema, etc.)\").nullable().optional(),\n}).describe(\"Individual smartscraper request record from history.\");\nexport const ScrapegraphAiGetSmartscraperHistoryOutput: z.ZodTypeAny = z.object({\n next_key: z.unknown().describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe(\"List of smartscraper requests in the current page, ordered by most recent first\"),\n}).describe(\"Response schema containing smartscraper job history.\");\n\nexport const scrapegraphAiGetSmartscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-smartscraper-history\",\n name: \"Get Smartscraper History\",\n description: \"Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.\",\n input: ScrapegraphAiGetSmartscraperHistoryInput,\n output: ScrapegraphAiGetSmartscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kEAAgFA,IAAAA,EAAE,OAAO;CAC7F,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACrF,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,UAAUA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,iFAAiF;AAC/K,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,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-smartscraper-history.d.ts
4
+ declare const ScrapegraphAiGetSmartscraperHistoryInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetSmartscraperHistoryOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetSmartscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetSmartscraperHistory };
9
+ //# sourceMappingURL=get-smartscraper-history.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-smartscraper-history.d.cts","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAGa;AAAA,cAgBzD,yCAAA,EAA2C,CAAA,CAAE,UAGS;AAAA,cAEtD,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-smartscraper-history.d.ts
4
+ declare const ScrapegraphAiGetSmartscraperHistoryInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetSmartscraperHistoryOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetSmartscraperHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetSmartscraperHistory };
9
+ //# sourceMappingURL=get-smartscraper-history.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-smartscraper-history.d.mts","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAGa;AAAA,cAgBzD,yCAAA,EAA2C,CAAA,CAAE,UAGS;AAAA,cAEtD,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,36 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-smartscraper-history.ts
4
+ const ScrapegraphAiGetSmartscraperHistoryInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination (starts at 1). Use to navigate through multiple pages of history.").optional(),
6
+ page_size: z.number().int().default(10).describe("Number of records to return per page (1-100). Default is 10.").optional()
7
+ }).describe("Request schema for retrieving smartscraper job history.");
8
+ const ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema = z.object({
9
+ error: z.unknown().describe("Error message explaining why the request failed. Only populated when status is 'failed'.").nullable().optional(),
10
+ result: z.unknown().describe("Extracted data from the website. Only populated when status is 'completed'.").nullable().optional(),
11
+ status: z.string().describe("Current status of the request: 'queued', 'processing', 'completed', or 'failed'").nullable().optional(),
12
+ user_id: z.unknown().describe("Internal identifier for the user who submitted the request").nullable().optional(),
13
+ metadata: z.unknown().describe("Additional metadata associated with the request").nullable().optional(),
14
+ request_id: z.string().describe("The unique identifier (UUID) of the SmartScraper request"),
15
+ webpage_id: z.unknown().describe("Internal identifier for the webpage being scraped").nullable().optional(),
16
+ finished_at: z.unknown().describe("ISO 8601 timestamp when the request finished processing. Null if still in progress.").nullable().optional(),
17
+ user_prompt: z.string().describe("The natural language prompt describing what information to extract"),
18
+ website_url: z.unknown().describe("URL of the website being scraped. May be null if website_html was provided instead of a URL.").nullable().optional(),
19
+ requested_at: z.string().describe("ISO 8601 timestamp when the request was submitted"),
20
+ output_schema: z.unknown().describe("JSON Schema defining the structure of extracted data").nullable().optional(),
21
+ request_params: z.unknown().describe("Parameters used for the scraping request (headers, cookies, output_schema, etc.)").nullable().optional()
22
+ }).describe("Individual smartscraper request record from history.");
23
+ const scrapegraphAiGetSmartscraperHistory = action("SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY", {
24
+ slug: "scrapegraph_ai-get-smartscraper-history",
25
+ name: "Get Smartscraper History",
26
+ description: "Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.",
27
+ input: ScrapegraphAiGetSmartscraperHistoryInput,
28
+ output: z.object({
29
+ next_key: z.unknown().describe("Pagination token for fetching the next page of results. Null if no more pages.").nullable().optional(),
30
+ requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe("List of smartscraper requests in the current page, ordered by most recent first")
31
+ }).describe("Response schema containing smartscraper job history.")
32
+ });
33
+ //#endregion
34
+ export { scrapegraphAiGetSmartscraperHistory };
35
+
36
+ //# sourceMappingURL=get-smartscraper-history.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-smartscraper-history.mjs","names":[],"sources":["../../src/actions/get-smartscraper-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetSmartscraperHistoryInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (starts at 1). Use to navigate through multiple pages of history.\").optional(),\n page_size: z.number().int().default(10).describe(\"Number of records to return per page (1-100). Default is 10.\").optional(),\n}).describe(\"Request schema for retrieving smartscraper job history.\");\nconst ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema: z.ZodTypeAny = z.object({\n error: z.unknown().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.unknown().describe(\"Extracted data from the website. Only populated when status is 'completed'.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued', 'processing', 'completed', or 'failed'\").nullable().optional(),\n user_id: z.unknown().describe(\"Internal identifier for the user who submitted the request\").nullable().optional(),\n metadata: z.unknown().describe(\"Additional metadata associated with the request\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\"),\n webpage_id: z.unknown().describe(\"Internal identifier for the webpage being scraped\").nullable().optional(),\n finished_at: z.unknown().describe(\"ISO 8601 timestamp when the request finished processing. Null if still in progress.\").nullable().optional(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\"),\n website_url: z.unknown().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n requested_at: z.string().describe(\"ISO 8601 timestamp when the request was submitted\"),\n output_schema: z.unknown().describe(\"JSON Schema defining the structure of extracted data\").nullable().optional(),\n request_params: z.unknown().describe(\"Parameters used for the scraping request (headers, cookies, output_schema, etc.)\").nullable().optional(),\n}).describe(\"Individual smartscraper request record from history.\");\nexport const ScrapegraphAiGetSmartscraperHistoryOutput: z.ZodTypeAny = z.object({\n next_key: z.unknown().describe(\"Pagination token for fetching the next page of results. Null if no more pages.\").nullable().optional(),\n requests: z.array(ScrapegraphAiGetSmartscraperHistory_SmartscraperRequestDBSchema).describe(\"List of smartscraper requests in the current page, ordered by most recent first\"),\n}).describe(\"Response schema containing smartscraper job history.\");\n\nexport const scrapegraphAiGetSmartscraperHistory = action(\"SCRAPEGRAPH_AI_GET_SMARTSCRAPER_HISTORY\", {\n slug: \"scrapegraph_ai-get-smartscraper-history\",\n name: \"Get Smartscraper History\",\n description: \"Tool to retrieve the history of smartscraper jobs. Use when you need to view past scraping requests and their results.\",\n input: ScrapegraphAiGetSmartscraperHistoryInput,\n output: ScrapegraphAiGetSmartscraperHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyD,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACpJ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kEAAgF,EAAE,OAAO;CAC7F,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iFAA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-usage-timeline.ts
4
+ const ScrapegraphAiGetUsageTimelineInput = zod.z.object({ days: zod.z.enum([
5
+ "7",
6
+ "14",
7
+ "30",
8
+ "all"
9
+ ]).default("all").describe("Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.").optional() }).describe("Request schema for retrieving usage timeline statistics.");
10
+ const ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = zod.z.object({
11
+ service: zod.z.string().describe("Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper')."),
12
+ timestamp: zod.z.string().describe("ISO 8601 timestamp when the service was accessed.")
13
+ }).describe("Individual usage timeline entry representing a service usage event.");
14
+ const ScrapegraphAiGetUsageTimelineOutput = zod.z.object({ timeline: zod.z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe("Ordered list of service usage events with timestamps, suitable for chart rendering.") }).describe("Response schema containing usage timeline data for account visualization.");
15
+ const scrapegraphAiGetUsageTimeline = require_action.action("SCRAPEGRAPH_AI_GET_USAGE_TIMELINE", {
16
+ slug: "scrapegraph_ai-get-usage-timeline",
17
+ name: "Get Usage Timeline",
18
+ description: "Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.",
19
+ input: ScrapegraphAiGetUsageTimelineInput,
20
+ output: ScrapegraphAiGetUsageTimelineOutput
21
+ });
22
+ //#endregion
23
+ exports.scrapegraphAiGetUsageTimeline = scrapegraphAiGetUsageTimeline;
24
+
25
+ //# sourceMappingURL=get-usage-timeline.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-usage-timeline.cjs","names":["z","action"],"sources":["../../src/actions/get-usage-timeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetUsageTimelineInput: z.ZodTypeAny = z.object({\n days: z.enum([\"7\", \"14\", \"30\", \"all\"]).default(\"all\").describe(\"Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.\").optional(),\n}).describe(\"Request schema for retrieving usage timeline statistics.\");\nconst ScrapegraphAiGetUsageTimeline_TimelineEntrySchema: z.ZodTypeAny = z.object({\n service: z.string().describe(\"Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').\"),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the service was accessed.\"),\n}).describe(\"Individual usage timeline entry representing a service usage event.\");\nexport const ScrapegraphAiGetUsageTimelineOutput: z.ZodTypeAny = z.object({\n timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe(\"Ordered list of service usage events with timestamps, suitable for chart rendering.\"),\n}).describe(\"Response schema containing usage timeline data for account visualization.\");\n\nexport const scrapegraphAiGetUsageTimeline = action(\"SCRAPEGRAPH_AI_GET_USAGE_TIMELINE\", {\n slug: \"scrapegraph_ai-get-usage-timeline\",\n name: \"Get Usage Timeline\",\n description: \"Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.\",\n input: ScrapegraphAiGetUsageTimelineInput,\n output: ScrapegraphAiGetUsageTimelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAK;CAAM;CAAM;AAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,EAC1N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACpF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,UAAUA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qFAAqF,EACrK,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,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-usage-timeline.d.ts
4
+ declare const ScrapegraphAiGetUsageTimelineInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetUsageTimelineOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetUsageTimeline: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetUsageTimeline };
9
+ //# sourceMappingURL=get-usage-timeline.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-usage-timeline.d.cts","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEoB;AAAA,cAK1D,mCAAA,EAAqC,CAAA,CAAE,UAEoC;AAAA,cAE3E,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-usage-timeline.d.ts
4
+ declare const ScrapegraphAiGetUsageTimelineInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetUsageTimelineOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetUsageTimeline: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetUsageTimeline };
9
+ //# sourceMappingURL=get-usage-timeline.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-usage-timeline.d.mts","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEoB;AAAA,cAK1D,mCAAA,EAAqC,CAAA,CAAE,UAEoC;AAAA,cAE3E,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-usage-timeline.ts
4
+ const ScrapegraphAiGetUsageTimelineInput = z.object({ days: z.enum([
5
+ "7",
6
+ "14",
7
+ "30",
8
+ "all"
9
+ ]).default("all").describe("Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.").optional() }).describe("Request schema for retrieving usage timeline statistics.");
10
+ const ScrapegraphAiGetUsageTimeline_TimelineEntrySchema = z.object({
11
+ service: z.string().describe("Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper')."),
12
+ timestamp: z.string().describe("ISO 8601 timestamp when the service was accessed.")
13
+ }).describe("Individual usage timeline entry representing a service usage event.");
14
+ const scrapegraphAiGetUsageTimeline = action("SCRAPEGRAPH_AI_GET_USAGE_TIMELINE", {
15
+ slug: "scrapegraph_ai-get-usage-timeline",
16
+ name: "Get Usage Timeline",
17
+ description: "Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.",
18
+ input: ScrapegraphAiGetUsageTimelineInput,
19
+ output: z.object({ timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe("Ordered list of service usage events with timestamps, suitable for chart rendering.") }).describe("Response schema containing usage timeline data for account visualization.")
20
+ });
21
+ //#endregion
22
+ export { scrapegraphAiGetUsageTimeline };
23
+
24
+ //# sourceMappingURL=get-usage-timeline.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-usage-timeline.mjs","names":[],"sources":["../../src/actions/get-usage-timeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetUsageTimelineInput: z.ZodTypeAny = z.object({\n days: z.enum([\"7\", \"14\", \"30\", \"all\"]).default(\"all\").describe(\"Time range for usage timeline data. Choose '7' for last 7 days, '14' for last 14 days, '30' for last 30 days, or 'all' for complete history.\").optional(),\n}).describe(\"Request schema for retrieving usage timeline statistics.\");\nconst ScrapegraphAiGetUsageTimeline_TimelineEntrySchema: z.ZodTypeAny = z.object({\n service: z.string().describe(\"Name or identifier of the service that was used (e.g., 'smartscraper', 'searchscraper').\"),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the service was accessed.\"),\n}).describe(\"Individual usage timeline entry representing a service usage event.\");\nexport const ScrapegraphAiGetUsageTimelineOutput: z.ZodTypeAny = z.object({\n timeline: z.array(ScrapegraphAiGetUsageTimeline_TimelineEntrySchema).describe(\"Ordered list of service usage events with timestamps, suitable for chart rendering.\"),\n}).describe(\"Response schema containing usage timeline data for account visualization.\");\n\nexport const scrapegraphAiGetUsageTimeline = action(\"SCRAPEGRAPH_AI_GET_USAGE_TIMELINE\", {\n slug: \"scrapegraph_ai-get-usage-timeline\",\n name: \"Get Usage Timeline\",\n description: \"Tool to retrieve usage timeline statistics for your ScrapeGraphAI account. Use when you need to visualize or analyze service usage patterns over time.\",\n input: ScrapegraphAiGetUsageTimelineInput,\n output: ScrapegraphAiGetUsageTimelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO,EACvE,MAAM,EAAE,KAAK;CAAC;CAAK;CAAM;CAAM;AAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS,EAC1N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oDAAkE,EAAE,OAAO;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACpF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAKjF,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+D,EAAE,OAAO,EACxE,UAAU,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qFAAqF,EACrK,CAAC,CAAC,CAAC,SAAS,2EAOF;AACV,CAAC"}
@@ -0,0 +1,30 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-webhook-logs.ts
4
+ const ScrapegraphAiGetWebhookLogsInput = zod.z.object({ crawler_id: zod.z.string().describe("The unique identifier of the crawler job to retrieve webhook logs for. Obtained from starting a crawler job.") }).describe("Request model for retrieving webhook delivery logs for a crawler job.");
5
+ const ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema = zod.z.object({
6
+ url: zod.z.string().describe("The webhook URL that was called.").nullable().optional(),
7
+ status: zod.z.string().describe("Status of the webhook delivery (e.g., 'success', 'failed', 'pending').").nullable().optional(),
8
+ payload: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The payload that was sent to the webhook endpoint.").nullable().optional(),
9
+ timestamp: zod.z.string().describe("ISO 8601 timestamp of when the webhook was sent.").nullable().optional(),
10
+ crawler_id: zod.z.string().describe("The crawler job ID associated with this webhook.").nullable().optional(),
11
+ webhook_id: zod.z.string().describe("Unique identifier for this webhook delivery attempt.").nullable().optional(),
12
+ error_message: zod.z.string().describe("Error message if the webhook delivery failed.").nullable().optional(),
13
+ response_code: zod.z.number().int().describe("HTTP status code returned by the webhook endpoint.").nullable().optional(),
14
+ attempt_number: zod.z.number().int().describe("The attempt number for this delivery (for retries).").nullable().optional()
15
+ }).describe("Represents a single webhook delivery log entry.");
16
+ const ScrapegraphAiGetWebhookLogsOutput = zod.z.object({
17
+ logs: zod.z.array(ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema).describe("List of webhook delivery log entries for the specified crawler job.").nullable().optional(),
18
+ total_count: zod.z.number().int().describe("Total number of webhook delivery attempts.").nullable().optional()
19
+ }).describe("Response model for retrieving webhook delivery logs.");
20
+ const scrapegraphAiGetWebhookLogs = require_action.action("SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS", {
21
+ slug: "scrapegraph_ai-get-webhook-logs",
22
+ name: "Get Webhook Logs",
23
+ description: "Tool to retrieve webhook delivery logs for a crawler job. Use when you need to check the status and history of webhook notifications sent for a specific crawler execution.",
24
+ input: ScrapegraphAiGetWebhookLogsInput,
25
+ output: ScrapegraphAiGetWebhookLogsOutput
26
+ });
27
+ //#endregion
28
+ exports.scrapegraphAiGetWebhookLogs = scrapegraphAiGetWebhookLogs;
29
+
30
+ //# sourceMappingURL=get-webhook-logs.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-webhook-logs.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiGetWebhookLogsInput: z.ZodTypeAny = z.object({\n crawler_id: z.string().describe(\"The unique identifier of the crawler job to retrieve webhook logs for. Obtained from starting a crawler job.\"),\n}).describe(\"Request model for retrieving webhook delivery logs for a crawler job.\");\nconst ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The webhook URL that was called.\").nullable().optional(),\n status: z.string().describe(\"Status of the webhook delivery (e.g., 'success', 'failed', 'pending').\").nullable().optional(),\n payload: z.record(z.string(), z.unknown()).describe(\"The payload that was sent to the webhook endpoint.\").nullable().optional(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of when the webhook was sent.\").nullable().optional(),\n crawler_id: z.string().describe(\"The crawler job ID associated with this webhook.\").nullable().optional(),\n webhook_id: z.string().describe(\"Unique identifier for this webhook delivery attempt.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if the webhook delivery failed.\").nullable().optional(),\n response_code: z.number().int().describe(\"HTTP status code returned by the webhook endpoint.\").nullable().optional(),\n attempt_number: z.number().int().describe(\"The attempt number for this delivery (for retries).\").nullable().optional(),\n}).describe(\"Represents a single webhook delivery log entry.\");\nexport const ScrapegraphAiGetWebhookLogsOutput: z.ZodTypeAny = z.object({\n logs: z.array(ScrapegraphAiGetWebhookLogs_WebhookLogEntrySchema).describe(\"List of webhook delivery log entries for the specified crawler job.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of webhook delivery attempts.\").nullable().optional(),\n}).describe(\"Response model for retrieving webhook delivery logs.\");\n\nexport const scrapegraphAiGetWebhookLogs = action(\"SCRAPEGRAPH_AI_GET_WEBHOOK_LOGS\", {\n slug: \"scrapegraph_ai-get-webhook-logs\",\n name: \"Get Webhook Logs\",\n description: \"Tool to retrieve webhook delivery logs for a crawler job. Use when you need to check the status and history of webhook notifications sent for a specific crawler execution.\",\n input: ScrapegraphAiGetWebhookLogsInput,\n output: ScrapegraphAiGetWebhookLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EAChJ,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,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-webhook-logs.d.ts
4
+ declare const ScrapegraphAiGetWebhookLogsInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetWebhookLogsOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetWebhookLogs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetWebhookLogs };
9
+ //# sourceMappingURL=get-webhook-logs.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-webhook-logs.d.cts","names":[],"sources":["../../src/actions/get-webhook-logs.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEmC;AAAA,cAYvE,iCAAA,EAAmC,CAAA,CAAE,UAGiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-webhook-logs.d.ts
4
+ declare const ScrapegraphAiGetWebhookLogsInput: z.ZodTypeAny;
5
+ declare const ScrapegraphAiGetWebhookLogsOutput: z.ZodTypeAny;
6
+ declare const scrapegraphAiGetWebhookLogs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scrapegraphAiGetWebhookLogs };
9
+ //# sourceMappingURL=get-webhook-logs.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-webhook-logs.d.mts","names":[],"sources":["../../src/actions/get-webhook-logs.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEmC;AAAA,cAYvE,iCAAA,EAAmC,CAAA,CAAE,UAGiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}